Skip to content

Commit

Permalink
Update backend/app/rag/embed_model_option.py
Browse files Browse the repository at this point in the history
Co-authored-by: Mini256 <[email protected]>
  • Loading branch information
lc-soft and Mini256 authored Dec 6, 2024
1 parent 17e153f commit 3f46007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/rag/embed_model_option.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class EmbeddingModelOption(BaseModel):
provider_description="The Serverless API of Gitee AI offers ready-to-use open-source model APIs for AI developers.",
provider_url="https://ai.gitee.com",
default_embedding_model="bge-large-zh-v1.5",
embedding_model_description=f"Find more information about Gitee AI Embeddings at https://ai.gitee.com/docs/openapi/v1#tag/serverless/POST/embeddings, we need a model with {settings.EMBEDDING_DIMS} dimensions.",
embedding_model_description=f"Find more information about Gitee AI Embeddings at https://ai.gitee.com/docs/openapi/v1#tag/serverless/POST/embeddings",
credentials_display_name="Gitee AI API Key",
credentials_description="The API key of Gitee AI, you can find it in https://ai.gitee.com/dashboard/settings/tokens",
credentials_type="str",
Expand Down

0 comments on commit 3f46007

Please sign in to comment.