To install TrustTest python package

uv add trusttest
# install all optional dependencies
uv add trusttest --all-extras
TrustTest uses uv for project dependency management. While pip is fully supported, we encourage using uv.Learn more about

Optional Dependencies

TrustTest provides several optional dependencies to make the library as lightweight as possible. You can install based on your needs:

LLM Provider Integrations

  • Google AI Integration
uv add "trusttest[google]"
  • OpenAI Integration
uv add "trusttest[openai]"
  • DeepSeek Integration
uv add "trusttest[deepseek]"
  • Anthropic Integration
uv add "trusttest[anthropic]"
  • Ollama Integration
uv add "trusttest[ollama]"
  • vLLM Integration
uv add "trusttest[vllm]"

RAG Integrations

  • Azure Search Integration
uv add "trusttest[rag-azure]"
  • Upstash Vector Integration
uv add "trusttest[rag-upstash]"
  • Neo4j Integration
uv add "trusttest[rag-neo4j]"

You can also install multiple optional dependencies at once by combining them with commas:

uv add "trusttest[rag-azure,openai,anthropic]"