Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jaypyles/PerplexiBot
Researching the web with AI. Powered by https://github.com/jaypyles/FreeAskInternet-API.
https://github.com/jaypyles/PerplexiBot
ai discord free gpt openai self-hosted
Last synced: 2 months ago
JSON representation
Researching the web with AI. Powered by https://github.com/jaypyles/FreeAskInternet-API.
- Host: GitHub
- URL: https://github.com/jaypyles/PerplexiBot
- Owner: jaypyles
- License: mit
- Created: 2024-04-16T00:36:22.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-06-28T01:41:47.000Z (6 months ago)
- Last Synced: 2024-10-15T07:47:11.711Z (2 months ago)
- Topics: ai, discord, free, gpt, openai, self-hosted
- Language: Python
- Homepage:
- Size: 220 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PerplexiBot
An open-source, self-hosted, Discord bot, built to allow users to use GPT 3.5 Web/self-hosted Ollama models, alongside SearXNG.
Powered by https://github.com/jaypyles/FreeAskInternet-API.Based on https://perplexity.ai
## Deployment Guide
- Create a Discord bot at https://discord.com/developers/
- Give your Bot intents to read messages and create messages```
git clone https://github.com/jaypyles/PerplexiBot.git
cd PerplexiBot
touch .env
```Add your bot's token to the .env file.
```
TOKEN="..."
````make build up`
## Example
![send](https://github.com/jaypyles/PerplexiBot/blob/master/doc/send.png)
![response](https://github.com/jaypyles/PerplexiBot/blob/master/doc/response.png)## Ollama Guide
Provide the `OLLAMA_MODEL` and `GPT_MODEL` environmental variables in the `perplexibot` service and add the `OLLAMA_HOST` environmental variable to the `backend` service.
```yml
perplexibot:
container_name: perplexibot
environment:
- GPT_MODEL=ollama
- OLLAMA_MODEL=orca-mini
build:
context: "./"
networks:
- search
backend:
image: jpyles0524/freeaskinternetapi:latest
container_name: searchbackend
depends_on:
- llm-freegpt35
environment:
- OLLAMA_HOST=http://ollama:11434
restart: on-failure
networks:
- search
```