Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
LLM clients, streaming, embeddings + similarity search, length-based routing, multimodal.
examples/models/
models_streaming_chat
models_embedding
models_routing
models_content_blocks
ContentPart::Image
COGNIS_OLLAMA_MODEL=llava
COGNIS_PROVIDER=ollama COGNIS_OLLAMA_MODEL=llama3.1 \ cargo run -p cognis-examples --example models_streaming_chat # For multimodal: ollama pull llava COGNIS_PROVIDER=ollama COGNIS_OLLAMA_MODEL=llava \ cargo run -p cognis-examples --example models_content_blocks
Client::from_env