- Add vector store with sentence-transformers for semantic search - FastAPI backend with /chat and /health endpoints - Conversation state persistence via SQLite - OpenRouter integration with structured JSON responses - Discord bot with /ask slash command and reply-based follow-ups - Automated Gitea issue creation for unanswered questions - Docker support with docker-compose for easy deployment - Example rule file and ingestion script - Comprehensive documentation in README
23 lines
677 B
Plaintext
23 lines
677 B
Plaintext
# OpenRouter Configuration
|
|
OPENROUTER_API_KEY=your_openrouter_api_key_here
|
|
OPENROUTER_MODEL=stepfun/step-3.5-flash:free
|
|
|
|
# Discord Bot Configuration
|
|
DISCORD_BOT_TOKEN=your_discord_bot_token_here
|
|
DISCORD_GUILD_ID=your_guild_id_here # Optional, speeds up slash command sync
|
|
|
|
# Gitea Configuration (for issue creation)
|
|
GITEA_TOKEN=your_gitea_token_here
|
|
GITEA_OWNER=cal
|
|
GITEA_REPO=strat-chatbot
|
|
GITEA_BASE_URL=https://git.manticorum.com/api/v1
|
|
|
|
# Application Configuration
|
|
DATA_DIR=./data
|
|
RULES_DIR=./data/rules
|
|
CHROMA_DIR=./data/chroma
|
|
DB_URL=sqlite+aiosqlite:///./data/conversations.db
|
|
CONVERSATION_TTL=1800
|
|
TOP_K_RULES=10
|
|
EMBEDDING_MODEL=sentence-transformers/all-MiniLM-L6-v2
|