Class: abstract
BaseEmbedding
Extended by
HuggingFaceEmbedding
DeepInfraEmbedding
GeminiEmbedding
MistralAIEmbedding
MultiModalEmbedding
OpenAIEmbedding
Ollama
Implements
Constructors
new BaseEmbedding()
new BaseEmbedding():
BaseEmbedding
Returns
Properties
embedBatchSize
embedBatchSize:
number
=DEFAULT_EMBED_BATCH_SIZE
Source
packages/llamaindex/src/embeddings/types.ts:21
embedInfo?
optional
embedInfo:EmbeddingInfo
Source
packages/llamaindex/src/embeddings/types.ts:22
Methods
getQueryEmbedding()
getQueryEmbedding(
query
):Promise
<null
|number
[]>
Parameters
• query: MessageContentDetail
Returns
Promise
<null
| number
[]>