Class: TogetherEmbedding()
Extends
TogetherEmbedding<
Options
>(nodes
,options
?):Promise
<BaseNode
<Metadata
>[]>
Type Parameters
• Options extends Record
<string
, unknown
>
Parameters
• options?: Options
Returns
Defined in
packages/llamaindex/src/embeddings/together.ts:4
Constructors
new TogetherEmbedding()
new TogetherEmbedding(
init
?):TogetherEmbedding
Parameters
• init?: Partial
<OpenAIEmbedding
>
Returns
Overrides
Defined in
packages/llamaindex/src/embeddings/together.ts:5
Properties
additionalSessionOptions?
optional
additionalSessionOptions:Omit
<Partial
<ClientOptions
>,"apiKey"
|"timeout"
|"maxRetries"
>
other session options for OpenAI
Inherited from
OpenAIEmbedding
.additionalSessionOptions
Defined in
packages/llamaindex/src/embeddings/OpenAIEmbedding.ts:50
apiKey?
optional
apiKey:string
=undefined
api key
Inherited from
Defined in
packages/llamaindex/src/embeddings/OpenAIEmbedding.ts:44
dimensions?
optional
dimensions:number
number of dimensions of the resulting vector, for models that support choosing fewer dimensions. undefined will default to model default
Inherited from
Defined in
packages/llamaindex/src/embeddings/OpenAIEmbedding.ts:39
embedBatchSize
embedBatchSize:
number
Inherited from
OpenAIEmbedding
.embedBatchSize
Defined in
packages/core/dist/embeddings/index.d.ts:34
embedInfo?
optional
embedInfo:EmbeddingInfo
Inherited from
Defined in
packages/core/dist/embeddings/index.d.ts:35
id
id:
string