URGENT - Does anyone have an alternative to OpenAI's embeddings API?
I do have alternative to GPT's API (e.g. Anthropic Claude) but I'm not able to use them without embeddings API (used to generate semantic representation of my knowledge base and also to create embeddings from user's queries). We need to have an alternative to OpenAI's embeddings as a fallback in case of outages.
btown|2 years ago
Highly recommend preemptively saving multiple types of embeddings for each of your objects; that way, you can shift to an alternate query embedding at any time, or combine the results from multiple vector searches. As one of my favorite quotes from Contact says: "first rule in government spending: why build one when you can have two at twice the price?" https://www.youtube.com/watch?v=EZ2nhHNtpmk
nonfamous|2 years ago
capableweb|2 years ago
thecal|2 years ago
tropicalbeach|2 years ago
kordlessagain|2 years ago
The plan is to add Llama 2 completions to the processors, which would include dictionary completion (keyterm/sentiment/etc), chat completion, code completion, for reasons exactly like what we're discussing.
Here's the code for the Instructor embeddings: https://github.com/FeatureBaseDB/Laminoid/blob/main/sloth/sl...
To do Instructor embeddings, do the imports then reference the embed() function. It goes without saying that these vectors can't be mixed with other types of vectors, so you would have to reindex your data to make them compatible.
politelemon|2 years ago
enoch2090|2 years ago
rolisz|2 years ago
Silasdev|2 years ago
TeMPOraL|2 years ago
m3kw9|2 years ago
fitzoh|2 years ago
comment_ran|2 years ago
[deleted]
unknown|2 years ago
[deleted]
unknown|2 years ago
[deleted]