quarkus-langchain4j icon indicating copy to clipboard operation
quarkus-langchain4j copied to clipboard

Cover the whole Ollama API

Open sebastienblanc opened this issue 1 year ago • 3 comments

I can see that Quarkus extension only covers the /api/generate Ollama endpoint but do we plan to cover everything like here https://github.com/langchain4j/langchain4j/blob/main/langchain4j-ollama/src/main/java/dev/langchain4j/model/ollama/OllamaApi.java ? I'm mostly interested in the embeddings endpoint. I can also try to contribute to this.

sebastienblanc avatar Dec 21 '23 08:12 sebastienblanc

We could certainly use the embeddings and chat models :)

geoand avatar Dec 21 '23 08:12 geoand

I was looking at the code and saw this https://github.com/quarkiverse/quarkus-langchain4j/blob/main/ollama/deployment/src/main/java/io/quarkiverse/langchain4j/ollama/deployment/OllamaProcessor.java#L56-L64 , did you start a first attempt for embedding ? Was it not working or just no time to implement it ?

sebastienblanc avatar Jan 02 '24 22:01 sebastienblanc

I honestly don't remember :)

geoand avatar Jan 03 '24 06:01 geoand