databendlabs-x / askbend

AskBend: SQL-based Knowledge Base Search and Completion using Databend
https://ask.databend.rs
Apache License 2.0
191 stars 15 forks source link

Use of open-source model #38

Open Bachstelze opened 1 year ago

Bachstelze commented 1 year ago

Is it possible to use LLaMa as vector embeddings?

BohuTANG commented 1 year ago

Sure, But still trying to figure out what the API of LLaMa is, some docs about it? Now, Databend uses the OpenAI API doc here:

https://platform.openai.com/docs/guides/embeddings/what-are-embeddings

Bachstelze commented 1 year ago

LLaMA are Open and Efficient Foundation Language Models. Though I think that the decoder architecture isn't suitable for information retrival. Open ai uses probably encoder Models like sentence Bert or sentence similarity Models.