This project is a collection of command-line clients for searching and retrieving answers to user questions using various language models and search engines.
- Query Google's search engine for answers to questions
- Use OpenAI's GPT-3.5-turbo to generate answers based on the information found in search results
- Interactive command-line interface for user input
- Integrated with Bing's Chat, also known as Sydney, using the SydneyClient (https://github.com/vsakkas/sydney.py)
- Provides the ability to run chat sessions in Russian language using Google's Bard chat (https://github.com/dsdanielpark/Bard-API)
- Python 3.10 or higher
- Poetry for package management
- Clone the repository:
git clone https://github.com/kolommik/gh_llm_clients.git
- Navigate to the project directory:
cd gh_llm_clients
- Install dependencies using Poetry:
poetry install
- Activate the virtual environment:
poetry shell
To start the command-line client, run:
python src/searcher_console_app.py
Follow the prompts to enter your question and view the generated answers.
To run the tests using 'pytest', run the following command:
poetry run pytest