Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ashvardanian/polyglotbot
Bot we've build for the Poe.com hackathon at the AGI house to gather results from multiple LLMs and trigger specialized models on-demand
https://github.com/ashvardanian/polyglotbot
agents hackathon llm
Last synced: 2 months ago
JSON representation
Bot we've build for the Poe.com hackathon at the AGI house to gather results from multiple LLMs and trigger specialized models on-demand
- Host: GitHub
- URL: https://github.com/ashvardanian/polyglotbot
- Owner: ashvardanian
- License: apache-2.0
- Created: 2023-11-04T19:06:17.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-05T03:05:03.000Z (about 1 year ago)
- Last Synced: 2024-10-15T01:25:07.361Z (4 months ago)
- Topics: agents, hackathon, llm
- Language: Python
- Homepage: https://poe.com/PolyglotBotAI
- Size: 1.14 MB
- Stars: 4
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PolyglotBot
> Why prompt one model when you can prompt many?
![Polyglot icon](polyglot.png)
Prompt once and receive answers from GPT, Claude, Llama, Mistral and relevant popular bots all at once.
Compare responses, evaluate models, hear opinions from multiple sources, don’t just rely on one.
The system uses 4 models by default and triggers custom models for specific queries, when you ask culinary, psychology, or fitness-related questions.## Usage
To communicate with bot, please navigate to [poe.com and find the PolyglotBotAI](https://poe.com/PolyglotBotAI).
Alternatively, you can re-create the setup using Modal to serve the stateless backend:```sh
modal serve main.py
modal deploy main.py # if you are done building and want to ship ;)
```In case you update the list of available modal, make sure to manually trigger the update on the Quora or Poe side:
```sh
curl -X POST https://api.poe.com/bot/fetch_settings/PolyglotBotAI/$POE_ACCESS_TOKEN
```The system can use our custom RAG with Wikipedia and Arxiv papers, if provided the backend address:
```sh
curl -L "${WEB_SEARCH_BACKEND}/search?query=Text&top_k=5"
```## Setup
```sh
conda create -n polyglotbot python=3.10
conda activate polyglotbot
```