Class: Portkey
Unified language model interface
Implements
Constructors
constructor
• new Portkey(init?
)
Parameters
Name | Type |
---|---|
init? | Partial <Portkey > |
Defined in
packages/core/src/llm/LLM.ts:812
Properties
apiKey
• Optional
apiKey: string
= undefined
Defined in
packages/core/src/llm/LLM.ts:805
baseURL
• Optional
baseURL: string
= undefined
Defined in
packages/core/src/llm/LLM.ts:806
callbackManager
• Optional
callbackManager: CallbackManager
Defined in
packages/core/src/llm/LLM.ts:810
hasStreaming
• hasStreaming: boolean
= true
Implementation of
Defined in
packages/core/src/llm/LLM.ts:803
llms
• Optional
llms: null
| [LLMOptions
] = undefined
Defined in
packages/core/src/llm/LLM.ts:808
mode
• Optional
mode: string
= undefined
Defined in
packages/core/src/llm/LLM.ts:807
session
• session: PortkeySession
Defined in
packages/core/src/llm/LLM.ts:809
Accessors
metadata
• get
metadata(): LLMMetadata
Returns
Implementation of
Defined in
packages/core/src/llm/LLM.ts:830