Skip to main content

Documentation Index

Fetch the complete documentation index at: https://cognis.vasanth.xyz/llms.txt

Use this file to discover all available pages before exploring further.

Observability examples enact what you’d add to a production deployment. Sources under examples/observability/.
NameScenarioSource
obs_event_systemAdd lightweight LLM-call timing logs without changing the chain code — attach a TimedLogger Observer.src
obs_evaluationRegression eval — given 5 known (question, expected_answer) pairs, score the agent. Run in CI.src
obs_health_monitoringPre-flight provider check — verify the LLM is reachable at startup; fail fast with a clear error.src

How to run

COGNIS_PROVIDER=ollama COGNIS_OLLAMA_MODEL=llama3.1 \
  cargo run -p cognis-examples --example obs_evaluation

See also

Callbacks & observers

The user guide.

Trace with Langfuse

Production observability.

Evaluation

Datasets, scorers, reports.