Endpoint Based
EndpointEmbeddings ¶
Bases: BaseEmbeddings
An Embeddings component that uses an OpenAI API compatible endpoint.
Attributes:
Name | Type | Description |
---|---|---|
endpoint_url |
str
|
The url of an OpenAI API compatible endpoint. |
Source code in libs/kotaemon/kotaemon/embeddings/endpoint_based.py
run ¶
Returns: list[DocumentWithEmbedding]: embeddings