Coder Social home page Coder Social logo

casibase / casibase Goto Github PK

View Code? Open in Web Editor NEW
2.1K 25.0 297.0 19.42 MB

⚡️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

Home Page: https://casibase.org

License: Apache License 2.0

Go 99.51% Less 0.25% Dockerfile 0.17% Shell 0.07%
ai chatgpt gpt knowledge-base casibase langchain claude huggingface openai chatbot

casibase's Introduction

📦⚡️ 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

casibase's People

Contributors

cycai0312 avatar gcmutator avatar github-actions[bot] avatar hsluoyz avatar ilern avatar infinityay avatar kv-chiu avatar l2nce avatar martinrepo avatar palp1tate avatar selflocking avatar travisroad avatar wintbiit avatar yehong-z avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

casibase's Issues

Login input validation optimisation

When a user enters a username such as UserName or username, the backend validation should convert it to lowercase and their username in the database should also be converted to lowercase before validation is performed

Provide default avatar image like GitHub when the user doesn't set one and the gravatar.com is unaccessable

If the user doesn't set a custom avatar image, the Go backend (already implemented) will try to fetch avatar from gravatar.com. If gravatar.com is unaccessable (e.g. blocked in some areas), then the frontend will provide a default GitHub-identicon-style avatar image.

The default image is dynamically generated in frontend by this lib: https://github.com/stewartlord/identicon.js (can use username as hash for identicon).

Note: the default image is NOT stored in backend or DB.

Fix: https://forum.casbin.com/t/115

Forum website login error

Failed to use QQ Google or Github to login to forum.casbin.org

Login page remained 正在登录... after authorization via QQ Google or Github.

Integrate open-source mailing list functionality to our forum

An open-source community (including Casbin) usually uses a mailing list for community connections like questions, issues, annoucements, etc.

The mailing list is usually done by a self-maintained mailing list software like Mailman used by Nmap: https://nmap.org/mailman/listinfo (see more at: https://en.wikipedia.org/wiki/List_of_mailing_list_software) or an online service/provider like Google Groups used by Casbin: https://groups.google.com/g/casbin

A mailing list allows:

  1. All the people that subscribed the mailing list will receive Email notification whenever a person posts a new topic/thread or reply to an existing topic/thread/post.
  2. If a person replies to the Email he/she received, the reply will be collected by the mailing list for a central storage and also sent to all subscribers via Email.

This is similar to what a forum (like Casbin-Forum) does. Actually there are some work about forum & mailing list integration:

We also want to do it:

  1. A Casbin-Forum node can bind to a mailing list Email like: [email protected].
  2. A forum user can click a button to subscribe the node (aka the mailing list).
  3. All the posts and replies of that node will be bidirectionally synced with the mailing list.

Hope somebody can work on it.

Rename everywhere to the new name: Casnode

We have a new name: Casnode now! We need to rename everywhere (README, code, comments) with following rules:

  1. Casbin-Forum --> Casnode
  2. Casbin-forum --> Casnode
  3. casbin-forum --> casnode
  4. Casbin Forum --> Casnode
  5. Casbin forum --> Casnode
  6. casbin forum --> casnode

The ranking pages do not display correctly

On the main page, the ranking pages, for example ranking of wealth, are not operating. After clicking, the page show nothing.
Please fix this bug.
And in the posts, if you upload a video links, you cannot size up the video in PC. But it can be done in mobile phones.

Sync Casnode data with iframe via the comment plugin like Disqus

Casbin-forum can provide a "headless" mode (see what "headless" means by googling "Headless Chrome"): it doesn't provide the web UI, only the backend API is used.

A good scenario for this is the comment plugin like Disqus we used: https://casbin.org/docs/en/overview#comment-5283453205

  • The comments can map to the replies of the forum.
  • The page that comments attach to can map to the post/thread of the forum inside a node.
  • We also need to develop a JS plugin to let user website (like Casbin docs: https://casbin.org/) integrate with. The JS plugin will talk to a forum backend API.
  • The forum can also setup the web UI, but it's not required.
  • For our own usage (aka dogfood), we can map Casbin docs's comments to: https://forum.casbin.com/go/docs

image

Dark mode is not working

Dark mode is not working on clicking the toggle button beside the profile image

Casbin.Forum.-.Google.Chrome.2021-03-18.17-40-18_Trim.mp4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.