I'm using Ollama to run llm's. I can create embeddings for text and images, which I store in ChromaDB. The goal of all this, is to find content which best fits a question, so I can create a good answer. Here is how I create embeddings for text curl http://localhost:11434/api/embeddings -d '{ "model": "llama2", "prompt": "Here is an article about llamas..." }' and for images (base64) curl http://localhost:11434/api/generate -d '{ "model":...
Originally asked by Jeanluca Scaljeri on Stack Exchange (ai) (CC BY-SA 4.0).