Files
Pygentic-AI/.env.example
Francis Secada 3bcc93267f feat: add Tavily web search tool and comparative multi-entity SWOT
- Add `search_web` tool backed by tavily-python for grounded research
- Extend SWOT pipeline to accept a primary entity plus optional comparison
  entities; agent prompt drives comparative analysis when comparators are
  present
- Add `primary_entity` / `comparison_entities` fields to SwotAnalysis model
- Wire new form fields (primary + comparison inputs) through router →
  utils → run_agent
- Render entity badges ("vs" header) in result template; fix pre-existing
  bug where iterating model.dict() leaked the `analysis` string into the
  SWOT card grid
- Add comparison-input and entity-badge SCSS components; recompile CSS
- Pin requires-python >=3.12 in pyproject.toml; lock tavily-python 0.7.21

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-02 20:36:42 -05:00

63 lines
1.5 KiB
Plaintext

# OpenAI Configuration
OPENAI_API_KEY=sk-proj-your-openai-api-key-here
OPENAI_MODEL=gpt-4o-mini
# OPENAI_MODEL=gpt-4o
# Anthropic Configuration
ANTHROPIC_API_KEY=sk-ant-your-anthropic-api-key-here
# Security
HTTPS_ONLY=False
SECRET_KEY=your-secret-key-here
# Local Database Configuration
LOCAL_DB_UN=pygentic_ai
LOCAL_DB_PW=your-local-db-password
LOCAL_DB_DB=fsecada_server
LOCAL_DB_HOST=localhost
LOCAL_DB_PORT=5433
# Cloud Database Configuration
CLOUD_DB_UN=pygentic_ai
CLOUD_DB_PW=your-cloud-db-password
CLOUD_DB_DB=fsecada_server
CLOUD_DB_HOST=pgserver.example.com
CLOUD_DB_PORT=5433
# Database Configuration
SQL_DIALECT=postgresql
# Application Environment
DEBUG=True
SERVER_ENV=dev
# Tavily Web Search
TAVILY_API_KEY=your-tavily-api-key-here
# Reddit API Configuration (for intelligence gathering)
REDDIT_MAX_INSIGHTS=5
REDDIT_MAX_INSIGHT_LENGTH=400
REDDIT_USER_AGENT=your-reddit-user-agent
REDDIT_CLIENT_ID=your-reddit-client-id
REDDIT_CLIENT_SECRET=your-reddit-client-secret
REDDIT_SUBREDDIT=python,kubernetes,devops,rust,selfhosted,algorithms,typescript,programming,webdev,strategy,DigitalMarketing,Entrepreneur
# Celery Configuration
CELERY_PORT=5052
FLOWER_USERNAME=admin
FLOWER_PASSWORD=your-flower-password-here
# Server Configuration
PORT=5051
INTERNAL_PORT=5051
WORKERS=4
TIMEOUT=120
# Docker Configuration (for compose.yaml)
IMAGE_TAG=main-latest
MEMORY_LIMIT=1024mb
MEMORY_RESERVATION=512mb
CELERY_MEMORY_LIMIT=512mb
CELERY_MEMORY_RESERVATION=256mb
DOCKER_HOST_IP=192.168.99.85