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

embeddings #39

Open
kosik opened this issue May 7, 2024 · 1 comment
Open

embeddings #39

kosik opened this issue May 7, 2024 · 1 comment

Comments

@kosik
Copy link

kosik commented May 7, 2024

Hello, i see your example of how to generate embeddings, but it is not evident how to use the response afterwards.

Do we need to supply the response as in input parameter to generate method?
How to procced with the embeddings between LLama server restarts ?

Could you please advise on it?

https://amithkoujalgi.github.io/ollama4j/docs/apis-generate/generate-embeddings
https://ollama.com/blog/embedding-models

@AgentSchmecker
Copy link
Contributor

Hi, using the embedding API of ollama does Not provide any persistent information but ist rather one entrypoint towards RAG systems.

I'll try to provide a simple RAG roundtrip in the near Future, but this does not apply directly to this library, as ist focused solely on connecting to ollama.

Greetings!

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

No branches or pull requests

2 participants