SDK - answer_text()
Embeds the query locally, then callsPOST /answer. LLM model: qwen2.5:0.5b-instruct (via Ollama on the host).
context_count: 0 and does not call Ollama.
Optional prompts and history
SDK - answer() with precomputed vector
If you already have a query embedding:HTTP client
You must supply bothquery and query_vector:
Requirements
- Store must contain uploaded documents (text or vector mode).
- Ollama must be running with
qwen2.5:0.5b-instruct(usemoorcheh-edge up --with-llmon Linux).
answer_stream() with MoorchehEdgeApiClient.
See API: Answer and CLI: answer.