Preparing search index...
The search index is not available
LangChain.js - v0.2.0-rc.1
LangChain.js
langchain-community/llms/togetherai
TogetherAI
Class TogetherAI
Hierarchy
LLM
<
TogetherAICallOptions
>
TogetherAI
Index
Constructors
constructor
Properties
model
model
Name
repetition
Penalty
streaming
temperature
topK
topP
logprobs?
max
Tokens?
safety
Model?
stop?
inputs
Methods
completion
With
Retry
Constructors
constructor
new
TogetherAI
(
inputs
)
:
TogetherAI
Parameters
inputs
:
TogetherAIInputs
Returns
TogetherAI
Properties
model
model
:
string
model
Name
model
Name
:
string
repetition
Penalty
repetition
Penalty
:
number
= 1
streaming
streaming
:
boolean
= false
temperature
temperature
:
number
= 0.7
topK
topK
:
number
= 50
topP
topP
:
number
= 0.7
Optional
logprobs
logprobs
?:
number
Optional
max
Tokens
max
Tokens
?:
number
Optional
safety
Model
safety
Model
?:
string
Optional
stop
stop
?:
string
[]
Static
inputs
inputs
:
TogetherAIInputs
Methods
completion
With
Retry
completion
With
Retry
(
prompt
,
options
?
)
:
Promise
<
any
>
Parameters
prompt
:
string
Optional
options
:
Omit
<
TogetherAICallOptions
,
never
>
Returns
Promise
<
any
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
constructor
model
model
Name
repetition
Penalty
streaming
temperature
topK
topP
logprobs
max
Tokens
safety
Model
stop
inputs
completion
With
Retry
LangChain.js - v0.2.0-rc.1
langchain-anthropic
langchain-azure-openai
langchain-cloudflare
langchain-cohere
langchain-community
agents/toolkits
aws_sfn
base
connery
caches
cloudflare_kv
ioredis
momento
upstash_redis
callbacks/handlers
llmonitor
lunary
chains/graph_qa/cypher
chat_models
alibaba_tongyi
baiduwenxin
Loading...
Generated using
TypeDoc