Class: TogetherLLM
Unified language model interface
Extends
Constructors
new TogetherLLM()
new TogetherLLM(
init
?):TogetherLLM
Parameters
• init?: Omit
<Partial
<OpenAI
>, "session"
>
Returns
Overrides
Defined in
packages/llamaindex/src/llm/together.ts:5
Properties
additionalChatOptions?
optional
additionalChatOptions:OpenAIAdditionalChatOptions
Inherited from
Defined in
packages/providers/openai/dist/index.d.ts:309
additionalSessionOptions?
optional
additionalSessionOptions:Omit
<Partial
<ClientOptions
>,"apiKey"
|"maxRetries"
|"timeout"
>
Inherited from
OpenAI
.additionalSessionOptions
Defined in
packages/providers/openai/dist/index.d.ts:313
apiKey?
optional
apiKey:string
Inherited from
Defined in
packages/providers/openai/dist/index.d.ts:310
lazySession()
lazySession: () =>
Promise
<LLMInstance
>
Returns
Promise
<LLMInstance
>
Inherited from
Defined in
packages/providers/openai/dist/index.d.ts:314
maxRetries
maxRetries:
number
Inherited from
Defined in
packages/providers/openai/dist/index.d.ts:311
maxTokens?
optional
maxTokens:number
Inherited from
Defined in
packages/providers/openai/dist/index.d.ts:308
model
model:
string
&object
|ChatModel
Inherited from
Defined in
packages/providers/openai/dist/index.d.ts:305
temperature
temperature:
number
Inherited from
Defined in
packages/providers/openai/dist/index.d.ts:306
timeout?
optional
timeout:number
Inherited from
Defined in
packages/providers/openai/dist/index.d.ts:312
topP
topP:
number
Inherited from
Defined in
packages/providers/openai/dist/index.d.ts:307
Accessors
metadata
Get Signature
get metadata():
LLMMetadata
&object
Returns
LLMMetadata
& object
Inherited from
Defined in
packages/providers/openai/dist/index.d.ts:321
session
Get Signature
get session():
Promise
<LLMInstance
>