-
Hi, I've some difficulties to use not openai embeddings. In reference with the example provided in chat-multi-extract-3.py at the beginning of the code I added this definition:
then I've added this:
just after the original code:
The program runs until it needs to create the embeddings the this happens
Following the original code with the added lines
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Thanks for trying Langroid. The problem is that this line:
does not actually change the vecdb, since the |
Beta Was this translation helpful? Give feedback.
solved:
I changed this:
embed_cfg = SentenceTransformerEmbeddings()
in
embed_cfg = SentenceTransformerEmbeddingsConfig()
Thanks.