Class: TogetherLLM
Extends
Constructors
new TogetherLLM()
new TogetherLLM(
init
?):TogetherLLM
Parameters
• init?: Partial
<OpenAI
>
Returns
Overrides
Source
packages/core/src/llm/together.ts:5
Properties
additionalChatOptions?
optional
additionalChatOptions:OpenAIAdditionalChatOptions
Inherited from
OpenAI
. additionalChatOptions
Source
packages/core/src/llm/openai.ts:167
additionalSessionOptions?
optional
additionalSessionOptions:Omit
<Partial
<ClientOptions
>,"apiKey"
|"timeout"
|"maxRetries"
>
Inherited from
OpenAI
. additionalSessionOptions
Source
packages/core/src/llm/openai.ts:174
apiKey?
optional
apiKey:string
=undefined
Inherited from
Source
packages/core/src/llm/openai.ts:170
maxRetries
maxRetries:
number
Inherited from
Source
packages/core/src/llm/openai.ts:171
maxTokens?
optional
maxTokens:number
Inherited from
Source
packages/core/src/llm/openai.ts:166
model
model:
string
Inherited from
Source
packages/core/src/llm/openai.ts:163
session
session:
OpenAISession
Inherited from
Source
packages/core/src/llm/openai.ts:173
temperature
temperature:
number
Inherited from
Source
packages/core/src/llm/openai.ts:164
timeout?
optional
timeout:number
Inherited from
Source
packages/core/src/llm/openai.ts:172
topP
topP:
number
Inherited from
Source
packages/core/src/llm/openai.ts:165
Accessors
metadata
get
metadata():LLMMetadata
Returns
Source
packages/core/src/llm/openai.ts:236
supportToolCall
get
supportToolCall():boolean
Returns
boolean
Source
packages/core/src/llm/openai.ts:232
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:313