Skip to content

OE-Void/Search.tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Fireplexity CLI

A command-line interface for AI-powered web search with source citations, supporting both Gemini and Groq AI models.

Features

  • ๐Ÿ” Web search powered by Firecrawl
  • ๐Ÿค– AI-powered responses with Gemini or Groq
  • ๐Ÿ“š Source citations with references
  • ๐Ÿ’ฌ Interactive chat interface
  • ๐Ÿš€ Fast and efficient

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/fireplexity-cli.git
    cd fireplexity-cli
  2. Install dependencies:

    pip install -r requirements.txt
  3. Create a .env file and add your API keys:

    cp .env.example .env
    # Edit .env with your API keys

Configuration

You'll need the following API keys:

  1. Firecrawl API Key - Required for web search
  2. Gemini API Key or Groq API Key - For AI responses

Usage

Run the CLI:

python -m fireplexity.cli

Environment Variables

  • FIRECRAWL_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)

Example

$ 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! ๐Ÿ‘‹

License

MIT

About

Search tool for LLMs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages