Skip to content

answerplant/ollama_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Based on the Ollama tutorial for embedding models - https://ollama.com/blog/embedding-models The initial commit includes minor fixes: the ollama.embed parameter 'input' was set to 'input' instead of 'prompt' and the collection.query parameter 'query_embeddings' was altered to reference the first element of reponse["embeddings"] to retrieve the correct structure.

About

Demo for running models and embedding with ollama in Python

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages