Project Diagram and Structure
Last updated
Last updated
Fana_LLM Project Structure/
├── src/ # Source code directory
│ ├── api/ # API-related components
│ │ ├── auth/ # Authentication mechanisms
│ │ ├── routes/ # API endpoint definitions
│ │ └── docs/ # API documentation
│ ├── chat/ # Chat functionality
│ │ ├── claude/ # Integration with Claude AI
│ │ └── openai/ # Integration with OpenAI
│ ├── data/ # Data management
│ │ ├── client/ # Client-side data
│ │ │ └── frontend/ # Frontend-specific data
│ │ ├── env/ # Environment variables and configuration
│ │ └── logs/ # Logging information
│ ├── diffusion/ # Image generation models
│ │ ├── stability_ai_dta/ # Stability AI diffusion model
│ │ └── replicate_sd30/ # Replicate's Stable Diffusion 3.0
│ ├── handlers/ # Various request handlers
│ │ ├── context/ # Context management
│ │ ├── faq/ # Frequently asked questions handling
│ │ ├── image_diffusion/ # Image generation handling
│ │ ├── image_vision/ # Image analysis handling
│ │ ├── task/ # Task management
│ │ ├── translate/ # Translation services
│ │ └── urls/ # URL handling
│ ├── storage/ # Data storage solutions
│ │ ├── db_supabase/ # Supabase database integration
│ │ ├── history_supabase/ # Chat history storage in Supabase
│ │ └── storage_azure/ # Azure storage integration
│ ├── triggers/ # Event triggers
│ │ ├── generate/ # Content generation triggers
│ │ ├── regenerate/ # Content regeneration triggers
│ │ └── greetings/ # Greeting message triggers
│ ├── utils/ # Utility functions
│ │ ├── embedding/ # Text embedding utilities
│ │ ├── system_prompt/ # System prompt management
│ │ └── tokenizer/ # Text tokenization utilities
│ ├── vision/ # Computer vision capabilities
│ │ ├── openai_gpt4v/ # OpenAI's GPT-4 Vision integration
│ │ └── vision_claude_sonnet35/ # Claude 3.5 Sonnet vision integration
│ └── main/ # Main application logic
├── requirements.txt # Python dependencies
├── dockerfile # Docker container configuration
└── compose.yml # Docker Compose service definitions