Class: FireworksLLM
Hierarchy
-
↳
FireworksLLM
Constructors
constructor
• new FireworksLLM(init?
): FireworksLLM
Parameters
Name | Type |
---|---|
init? | Partial <OpenAI > |
Returns
Overrides
Defined in
packages/core/src/llm/fireworks.ts:5
Properties
additionalChatOptions
• Optional
additionalChatOptions: OpenAIAdditionalChatOptions
Inherited from
Defined in
packages/core/src/llm/open_ai.ts:159
additionalSessionOptions
• Optional
additionalSessionOptions: Omit
<Partial
<ClientOptions
>, "apiKey"
| "timeout"
| "maxRetries"
>
Inherited from
OpenAI.additionalSessionOptions
Defined in
packages/core/src/llm/open_ai.ts:166
apiKey
• Optional
apiKey: string
= undefined
Inherited from
Defined in
packages/core/src/llm/open_ai.ts:162
maxRetries
• maxRetries: number
Inherited from
Defined in
packages/core/src/llm/open_ai.ts:163
maxTokens
• Optional
maxTokens: number
Inherited from
Defined in
packages/core/src/llm/open_ai.ts:158
model
• model: string
Inherited from
Defined in
packages/core/src/llm/open_ai.ts:155
session
• session: OpenAISession
Inherited from
Defined in
packages/core/src/llm/open_ai.ts:165
temperature
• temperature: number
Inherited from
Defined in
packages/core/src/llm/open_ai.ts:156
timeout
• Optional
timeout: number
Inherited from
Defined in
packages/core/src/llm/open_ai.ts:164
topP
• topP: number
Inherited from
Defined in
packages/core/src/llm/open_ai.ts:157
Accessors
metadata
• get
metadata(): LLMMetadata
& OpenAIAdditionalMetadata
Returns
LLMMetadata
& OpenAIAdditionalMetadata
Inherited from
OpenAI.metadata
Defined in
packages/core/src/llm/open_ai.ts:224
Methods
chat
▸ chat(params
): Promise
<AsyncIterable
<ChatResponseChunk
>>
Parameters
Name | Type |
---|---|
params | LLMChatParamsStreaming <OpenAIAdditionalChatOptions > |
Returns
Promise
<AsyncIterable
<ChatResponseChunk
>>