Awesome
<h1 align="center">β‘Dialoqbase β‘</h1> <p align="center"> Create chatbots with ease </p> <div align="center"> </div>Dialoqbase is an open-source application designed to facilitate the creation of custom chatbots using a personalized knowledge base. The application leverages advanced language models to generate accurate and context-aware responses. Additionally, it utilizes PostgreSQL, a robust relational database management system, for efficient vector search operations and for storing the knowledge base.
Here's a demo of how it works (v0.0.23):
<div align="center"> </div>Want to check more demo videos? Follow me on Twitter or BlueSky for more updates.
Quick Deployments π
Railway (One-click deployment)
Installation π οΈ
- Clone the repository and navigate to the docker directory:
git clone https://github.com/n4ze3m/dialoqbase.git
cd dialoqbase/docker
- Edit the
.env
<!--(see the [Environment Variables](#environment-variables) section for more details)-->:
- On Linux:
nano .env
or
vim .env
- On Windows:
notepad .env
Set the DB_SECRET_KEY
varible.
- Run the docker-compose file:
docker-compose up -d
or
docker compose up -d
- Open your browser and go to
http://localhost:3000
. - Log in using the default credentials:
username: admin
password: admin
Important: After the first login, remember to change the default credentials.
Features π
- Create custom chatbots with your own knowledge base
- Utilize powerful language models to generate responses
- Utilize PostgreSQL for vector search and storing the knowledge base.
- Use any language models or embedding models you want
Stack π
- React
- Ant Design
- Node.js
- Fastify
- LangChain
- PostgreSQL
- Redis
- Rspack
- @waylaidwanderer/fastify-sse-v2 (Server-Sent Events)
Disclaimer β οΈ
Dialoqbase is a side project and is not ready for production. It is still in the early stages of development and may contain bugs and security issues. Use it at your own risk. Breaking changes may occur at any time without prior notice.
Roadmap πΊοΈ
Data loaders
Loader | Status |
---|---|
Website | β |
Plain text | β |
β | |
Web crawler | β |
Microsoft Word documents | β |
Github repository | β |
mp3 | β |
mp4 | β |
Sitemap | β |
Youtube | β |
Notion | β |
Language models
Provider | Models |
---|---|
OpenAI | gpt-3.5-turbo, gpt-3.5-turbo-16k, gpt-4, gpt-4-0613, gpt-3.5-instruct, gpt-3.5-turbo-1106, gpt-4-1106-preview |
Anthropic | Claude 1, Claude 2 |
chat-bison-001, Gemini | |
Fireworks | Llama 2, Mistral, Mixtral and more |
Local AI | Local AI models |
Ollama | All Ollama supported models |
Embedding models
Provider | Models | Status |
---|---|---|
OpenAI | text-embedding-ada-002 | β |
TensorFlow | universal-sentence-encoder | β |
Hugging Face | distilbert-base-uncased | β |
Cohere | Embed | β |
Huggingface Transformers.js | all-MiniLM-L6-v2 | β |
Ollama | Ollama embedding | β |
text-gecko-001, embedding-001 | β | |
Jina | Jina embedding | β |
need more ? create an issue...
Integrations
Type | Stage | Status |
---|---|---|
Web embed script | stable | β |
Telegram | beta | β |
Discord | beta | β |
Slack | development | β |
experimental | β |
need more ? create an issue...
This project is tested with BrowserStack.
Contributors β¨
<a href="https://github.com/n4ze3m/dialoqbase/graphs/contributors"> <img src="https://contrib.rocks/image?repo=n4ze3m/dialoqbase" /> </a>Interested in contributing? Check out the contributing guide.
Sponsors π
Dialoqbase nothing without the support of our wonderful sponsors. If you are interested in becoming a sponsor, please visit the sponsorship page.
Wonderful Sponsors
<a href="https://github.com/mjtechguy" target="_blank"><img src="https://avatars.githubusercontent.com/u/29070994?s=64&v=4"></a> <a href="https://github.com/senavi888" target="_blank"><img src="https://avatars.githubusercontent.com/u/161348858?s=64&v=4"></a> <a href="https://github.com/FarazPatankar" target="_blank"><img src="https://avatars.githubusercontent.com/u/10681116?s=64&v=4"></a>
And many more wonderful supporters from Ko-fi.