A command-line interface for AI-powered web search with source citations, supporting both Gemini and Groq AI models.
- ๐ Web search powered by Firecrawl
- ๐ค AI-powered responses with Gemini or Groq
- ๐ Source citations with references
- ๐ฌ Interactive chat interface
- ๐ Fast and efficient
-
Clone the repository:
git clone https://github.com/yourusername/fireplexity-cli.git cd fireplexity-cli -
Install dependencies:
pip install -r requirements.txt
-
Create a
.envfile and add your API keys:cp .env.example .env # Edit .env with your API keys
You'll need the following API keys:
- Firecrawl API Key - Required for web search
- Gemini API Key or Groq API Key - For AI responses
Run the CLI:
python -m fireplexity.cliFIRECRAWL_API_KEY: Your Firecrawl API key (required)GEMINI_API_KEY: Your Google Gemini API key (optional if using Groq)GROQ_API_KEY: Your Groq API key (optional if using Gemini)
$ python -m fireplexity.cli
Fireplexity CLI - AI-Powered Web Search
Type 'exit' or 'quit' to end the session.
You: What is the latest news about AI?
[Searching the web...]
[Generating response...]
Response:
Here's the latest news about AI:
1. [Recent breakthrough in AI models...]
2. [New AI legislation being discussed...]
Sources:
[1] Latest AI Developments - https://example.com/ai-news
[2] AI in 2024 - https://example.com/ai-trends
You: exit
Goodbye! ๐
MIT