/casibase

⚡️Open-source AI LangChain-like RAG (Retrieval-Augmented Generation) knowledge database with web UI and Enterprise SSO⚡️, supports OpenAI, Azure, LLaMA, Google Gemini, HuggingFace, Claude, Grok, etc., chat bot demo: https://demo.casibase.com, admin UI demo: https://demo-admin.casibase.com

Primary LanguageGoApache License 2.0Apache-2.0

📦⚡️ Casibase

Open-source AI LangChain-like RAG (Retrieval-Augmented Generation) knowledge database with web UI and Enterprise SSO, supports OpenAI, Azure, LLaMA, Google Gemini, HuggingFace, Claude, Grok, etc.,

semantic-release docker pull casbin/casibase GitHub Workflow Status (branch) GitHub Release Docker Image Version (latest semver)

Go Report Card license GitHub issues GitHub stars GitHub forks Crowdin Discord

Online Demo

Chat Bot

Admin UI

Documentation

https://casibase.org

Architecture

Casibase contains 2 parts:

Name Description Language
Frontend User interface for Casibase JavaScript + React
Backend Server-side logic and API for Casibase Golang + Beego + Python + Flask + MySQL

0-Architecture-casibase

Supported Models

Language Model

Model Sub Type Link
OpenAI gpt-4-32k-0613,gpt-4-32k-0314,gpt-4-32k,gpt-4-0613,gpt-4-0314,gpt-4,gpt-3.5-turbo-0613,gpt-3.5-turbo-0301,gpt-3.5-turbo-16k,gpt-3.5-turbo-16k-0613,gpt-3.5-turbo,text-davinci-003,text-davinci-002,text-curie-001,text-babbage-001,text-ada-001,text-davinci-001,davinci-instruct-beta,davinci,curie-instruct-beta,curie,ada,babbage OpenAI
Hugging Face meta-llama/Llama-2-7b, tiiuae/falcon-180B, bigscience/bloom, gpt2, baichuan-inc/Baichuan2-13B-Chat, THUDM/chatglm2-6b Hugging Face
Claude claude-2, claude-v1, claude-v1-100k, claude-instant-v1, claude-instant-v1-100k, claude-v1.3, claude-v1.3-100k, claude-v1.2, claude-v1.0, claude-instant-v1.1, claude-instant-v1.1-100k, claude-instant-v1.0 Claude
OpenRouter google/palm-2-codechat-bison, google/palm-2-chat-bison, openai/gpt-3.5-turbo, openai/gpt-3.5-turbo-16k, openai/gpt-4, openai/gpt-4-32k, anthropic/claude-2, anthropic/claude-instant-v1, meta-llama/llama-2-13b-chat, meta-llama/llama-2-70b-chat, palm-2-codechat-bison, palm-2-chat-bison, gpt-3.5-turbo, gpt-3.5-turbo-16k, gpt-4, gpt-4-32k, claude-2, claude-instant-v1, llama-2-13b-chat, llama-2-70b-chat OpenRouter
Ernie ERNIE-Bot, ERNIE-Bot-turbo, BLOOMZ-7B, Llama-2 Ernie
iFlytek spark-v1.5, spark-v2.0 iFlytek
ChatGLM chatglm2-6b ChatGLM
MiniMax abab5-chat MiniMax
Local custom-model Local Computer

Embedding Model

Model Sub Type Link
OpenAI AdaSimilarity, BabbageSimilarity, CurieSimilarity, DavinciSimilarity, AdaSearchDocument, AdaSearchQuery, BabbageSearchDocument, BabbageSearchQuery, CurieSearchDocument, CurieSearchQuery, DavinciSearchDocument, DavinciSearchQuery, AdaCodeSearchCode, AdaCodeSearchText, BabbageCodeSearchCode, BabbageCodeSearchText, AdaEmbeddingV2 OpenAI
Hugging Face sentence-transformers/all-MiniLM-L6-v2 Hugging Face
Cohere embed-english-v2.0, embed-english-light-v2.0, embed-multilingual-v2.0 Cohere
Ernie default Ernie
Local custom-embedding Local Computer

Documentation

https://casibase.org

Install

https://casibase.org/docs/basic/server-installation

How to contact?

Discord: https://discord.gg/5rPsrAzK7S

Contribute

For Casibase, if you have any questions, you can give issues, or you can also directly start Pull Requests(but we recommend giving issues first to communicate with the community).

License

Apache-2.0