feat: Support Fireworks embedding for ingest and tool

This commit is contained in:
2026-04-16 13:06:25 +05:30
parent a46d764336
commit 385f609e7b
13 changed files with 411 additions and 41 deletions
+36
View File
@@ -0,0 +1,36 @@
# Ask262 Environment Configuration
# Copy this file to .env and fill in your actual values
# Bun automatically loads .env files - no dotenv package needed!
# =============================================================================
# EMBEDDING PROVIDER CONFIGURATION
# =============================================================================
# Choose your embedding provider: "ollama" (local) or "fireworks" (cloud)
# Default: "ollama"
ASK262_EMBEDDING_PROVIDER=ollama
# =============================================================================
# OLLAMA (LOCAL) CONFIGURATION
# =============================================================================
# Ollama server URL (optional, defaults to http://localhost:11434)
# OLLAMA_HOST=http://localhost:11434
# =============================================================================
# FIREWORKS.AI (CLOUD) CONFIGURATION
# =============================================================================
# Required if using Fireworks embeddings
# Get your API key from: https://app.fireworks.ai/models/fireworks/qwen3-embedding-8b
# FIREWORKS_API_KEY=fw_xxxxxxxxxxxxxxxxxxxxxxxx
# Fireworks base URL (optional, defaults to https://api.fireworks.ai/inference/v1)
# FIREWORKS_BASE_URL=https://api.fireworks.ai/inference/v1
# =============================================================================
# HTTP SERVER CONFIGURATION
# =============================================================================
# Port for the HTTP MCP server (optional, defaults to 3000)
# ASK262_PORT=3000