A powerful AI-powered search application that combines neural search using Exa API with intelligent analysis using OpenAI GPT.
- Neural Search: Advanced semantic search powered by Exa API
- AI Analysis: Intelligent content analysis using OpenAI GPT
- Modern UI: Clean, responsive chat interface with dark theme
- Twitter/X Integration:
- Seamless Twitter content integration
- Display of Twitter photos and media
- Special handling of Twitter URLs and content
- Smart Summaries:
- Precise, direct answers
- Relevant supporting context
- Source-based analysis
- Media Support:
- Image display for articles and tweets
- Support for multiple image formats
- Responsive image grid layout
- Frontend: Streamlit
- Search Engine: Exa API
- AI Analysis: OpenAI GPT
- Language: Python 3.8+
- Clone the repository:
git clone <repository-url>
cd exaop
- Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Set up environment variables in
.env
:
EXA_API_KEY=your_exa_api_key
OPENAI_API_KEY=your_openai_api_key
MODEL_NAME=gpt-3.5-turbo
TEMPERATURE=0.7
MAX_RESULTS=20
- Start the application:
streamlit run app.py
- Open your browser and navigate to:
http://localhost:8501
- Enter your search query in the chat interface
exaop/
├── app.py # Main Streamlit application
├── exaop.py # Core search functionality
├── config.py # Configuration settings
├── requirements.txt # Project dependencies
├── .env # Environment variables
└── README.md # Documentation
- Neural search for relevant content
- Twitter/X content integration
- Real-time content crawling
- Multi-source result aggregation
- Individual source analysis
- Comprehensive summary generation
- Key point extraction
- Relevance scoring
- Modern dark theme
- Chat-like interaction
- Responsive design
- Image grid display
- Twitter content formatting
- Direct, precise answers
- Source attribution
- Image support
- Twitter media integration
- Expandable highlights
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
- Exa API for neural search capabilities
- OpenAI for GPT integration
- Streamlit for the web framework