Skip to content

jmanhype/WeKnow-Information-Retrieval-Assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

WeKnowRAG

WeKnowRAG is an AI-powered question-answering system that combines web search capabilities with advanced language models. It uses the Perplexity API for web searches and OpenAI's GPT model for generating answers.

Features

  • Web search integration using Perplexity API
  • Answer generation using OpenAI's GPT model
  • Custom evaluation metric for answer quality
  • Token usage tracking
  • Interactive question-answering interface

Setup

  1. Clone the repository
  2. Install dependencies: pip install -r requirements.txt
  3. Set up environment variables:
    • OPENAI_API_KEY: Your OpenAI API key
    • PERPLEXITY_API_KEY: Your Perplexity API key

Usage

Run the main script:

python main.py

Follow the prompts to enter your questions and receive AI-generated answers.

Note

This project is for educational purposes. Ensure you comply with the terms of service for all APIs used.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages