The ChatFriendli class is used to interact with Friendli inference Endpoint models. This requires your Friendli Token and Friendli Team which is autoloaded if not specified.

Hierarchy

  • BaseChatModel<BaseChatModelCallOptions>
    • ChatFriendli

Constructors

Properties

baseUrl: string = "https://inference.friendli.ai"
model: string = "llama-2-13b-chat"
frequencyPenalty?: number
friendliTeam?: string
friendliToken?: string
maxTokens?: number
modelKwargs?: Record<string, unknown>
stop?: string[]
temperature?: number
topP?: number

Generated using TypeDoc