Add HF endpoint in embedder (#1436)

This commit is contained in:
Dev Khant
2024-06-21 21:27:21 +05:30
committed by GitHub
parent b43a116b3c
commit f6ddd5ffc5
4 changed files with 28 additions and 2 deletions

View File

@@ -224,6 +224,7 @@ Alright, let's dive into what each key means in the yaml config above:
- `model` (String): The specific model used for text embedding, 'text-embedding-ada-002'.
- `vector_dimension` (Integer): The vector dimension of the embedding model. [Defaults](https://github.com/embedchain/embedchain/blob/main/embedchain/models/vector_dimensions.py)
- `api_key` (String): The API key for the embedding model.
- `endpoint` (String): The endpoint for the HuggingFace embedding model.
- `deployment_name` (String): The deployment name for the embedding model.
- `title` (String): The title for the embedding model for Google Embedder.
- `task_type` (String): The task type for the embedding model for Google Embedder.