Class: FireworksLLM
Extends
Constructors
new FireworksLLM()
new FireworksLLM(
init
?):FireworksLLM
Parameters
• init?: Partial
<OpenAI
>
Returns
Overrides
Source
packages/core/src/llm/fireworks.ts:5
Properties
additionalChatOptions?
optional
additionalChatOptions:OpenAIAdditionalChatOptions
Inherited from
OpenAI
. additionalChatOptions
Source
packages/core/src/llm/openai.ts:161
additionalSessionOptions?
optional
additionalSessionOptions:Omit
<Partial
<ClientOptions
>,"apiKey"
|"timeout"
|"maxRetries"
>
Inherited from
OpenAI
. additionalSessionOptions
Source
packages/core/src/llm/openai.ts:168
apiKey?
optional
apiKey:string
=undefined
Inherited from
Source
packages/core/src/llm/openai.ts:164
maxRetries
maxRetries:
number
Inherited from
Source
packages/core/src/llm/openai.ts:165
maxTokens?
optional
maxTokens:number
Inherited from
Source
packages/core/src/llm/openai.ts:160
model
model:
string
Inherited from
Source
packages/core/src/llm/openai.ts:157
session
session:
OpenAISession
Inherited from
Source
packages/core/src/llm/openai.ts:167
temperature
temperature:
number
Inherited from
Source
packages/core/src/llm/openai.ts:158
timeout?
optional
timeout:number
Inherited from
Source
packages/core/src/llm/openai.ts:166
topP
topP:
number
Inherited from
Source
packages/core/src/llm/openai.ts:159
Accessors
metadata
get
metadata():LLMMetadata
Returns
Source
packages/core/src/llm/openai.ts:224
supportToolCall
get
supportToolCall():boolean
Returns
boolean
Source
packages/core/src/llm/openai.ts:220
Methods
chat()
chat(params)
chat(
params
):Promise
<AsyncIterable
<ChatResponseChunk
<ToolCallLLMMessageOptions
>>>
Parameters
• params: LLMChatParamsStreaming
<OpenAIAdditionalChatOptions
, ToolCallLLMMessageOptions
>
Returns
Promise
<AsyncIterable
<ChatResponseChunk
<ToolCallLLMMessageOptions
>>>
Inherited from
Source
packages/core/src/llm/openai.ts:301
chat(params)
chat(
params
):Promise
<ChatResponse
<ToolCallLLMMessageOptions
>>
Parameters
• params: LLMChatParamsNonStreaming
<OpenAIAdditionalChatOptions
, ToolCallLLMMessageOptions
>
Returns
Promise
<ChatResponse
<ToolCallLLMMessageOptions
>>
Inherited from
Source
packages/core/src/llm/openai.ts:307