Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: enable dynamic embedding models #1060 #1063

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

e7217
Copy link
Contributor

@e7217 e7217 commented Dec 19, 2024

This PR is related to issue #1060 .
I have tried to make it easier for users to apply embedding models that are not included in the embedding models list.

Below is how to apply the embedding model in the YAML file:

vectordb:
- name: autorag_test
  db_type: milvus
  embedding_model: 
  - type: huggingface
    model_name: intfloat/multilingual-e5-large-instruct
  ...

or

vectordb:
- name: autorag_test
  db_type: milvus
  embedding_model: 
  - type: openai
    model_name: text-embedding-3-small
  ...

However, the previous method can still be used:

vectordb:
- name: autorag_test
  db_type: milvus
  embedding_model: openai_embed_3_small
  ...

I have checked that this change does not impact the existing functionality.
I appreciate your review. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant