Documentation

AI Agent

Snello exposes an AI assistant through a backend chat endpoint powered by Quarkus LangChain4j.

Chat endpoint

POST /api/chat

The assistant can read metadata, inspect records, and suggest payloads for create or update operations.

Available providers

  • OpenAI
  • Google Gemini

Provider switch

Model selection is controlled by one property:

snello.aitype=openai
snello.aitype=google-ai-gemini

Environment variables

  • OPENAI_API_KEY
  • GEMINI_API_KEY

Example runtime commands

./mvnw quarkus:dev -Dsnello.aitype=openai
./mvnw quarkus:dev -Dsnello.aitype=google-ai-gemini