Skip to content

Use Chromadb with Langchain and embedding from SentenceTransformer model #7818

Closed Answered by dmet6789
dmet6789 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello
Following the documentation of langchain It was more easy,
https://python.langchain.com/docs/modules/data_connection/text_embedding/integrations/sentence_transformers

my_model_name = "sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2"
embedding_model = SentenceTransformerEmbeddings(model_name=my_model_name)
regards

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@Gojo1729
Comment options

Comment options

You must be logged in to vote
1 reply
@Gojo1729
Comment options

Comment options

You must be logged in to vote
1 reply
@dosubot
Comment options

Answer selected by dmet6789
Comment options

You must be logged in to vote
1 reply
@bzr1
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants