Class: Portkey
Hierarchy
-
BaseLLM
↳
Portkey
Constructors
constructor
• new Portkey(init?
): Portkey
Parameters
Name | Type |
---|---|
init? | Partial <Portkey > |
Returns
Overrides
BaseLLM.constructor
Defined in
packages/core/src/llm/portkey.ts:78
Properties
apiKey
• Optional
apiKey: string
= undefined
Defined in
packages/core/src/llm/portkey.ts:72
baseURL
• Optional
baseURL: string
= undefined
Defined in
packages/core/src/llm/portkey.ts:73
llms
• Optional
llms: null
| [LLMOptions
] = undefined
Defined in
packages/core/src/llm/portkey.ts:75
mode
• Optional
mode: string
= undefined
Defined in
packages/core/src/llm/portkey.ts:74
session
• session: PortkeySession
Defined in
packages/core/src/llm/portkey.ts:76
Accessors
metadata
• get
metadata(): LLMMetadata