Skip to content

YanniKouloumbis/chatbot-ui

 
 

Repository files navigation

Chatbot UI x window.ai

Chatbot UI allows simplifies the connection between the Chatbot UI kit and any chat model (OpenAI, Cohere, GPT) by leveraging ChatbotUI Frontend and window.ai) decentralized LLM key handling.

The idea is that as an LLM App developer, you shouldn't have to care about what models are being used and what are the users credentials. This is a huge friction point at the moment given that you have to either pay for the credits upfront or add a section for users to paste their own key (with the associated trust issues).

Try out the app here!

Upvote us on Skylight AI here!

Chatbot UI

Built by:

Updates

Chatbot UI x window.ai will be updated over time. Expect frequent improvements.

We currently support GTP4 and GPT3.5-turbo. Open to contributions with integrations that support:

  • GPTNeo
  • Cohere
  • Local

Given that those are all the models that window.ai supports at the moment.

Next up:

  • Allow model to be changed via the UI
  • Add support for GPTNeo
  • Add support for Cohere
  • Add support for Local

Recent updates:

  • Everything from Chatbot UI until 3/27/23 including:
    • Prompt templates
    • Regenerate & edit responses
    • Folders
    • Search chat content
    • Stop message generation
    • Import/Export chats
    • Custom system prompt
    • Error handling
    • Search conversations
    • Code syntax highlighting
    • Toggle sidebar
    • Conversation naming
    • Github flavored markdown
    • Markdown support

Modifications

Modify the chat interface in components/Chat.

Modify the sidebar interface in components/Sidebar.

Modify the system prompt in utils/index.ts.

Deploy

Vercel

Live demo: here

Host your own live version of Chatbot UI with Vercel.

Deploy with Vercel

Replit

Fork Chatbot UI on Replit here.

Docker

  • Not yet supported. Open to contributions.

Running Locally

1. Clone Repo

git clone 

2. Install Dependencies

npm i

3. Provide OpenAI API Key

No need! It is all handled by WindowAI.

4. Run App

npm run dev

5. Use It

You should be able to start chatting.

Configuration

When deploying the application, the following environment variables can be set:

Demo:

We have a live demo of the site hosted on Vercel that you can check out here

Contact

If you have any questions, feel free to reach to join the windowAI discord or ping [Yanni}() or Alex, co-founder of WindowAI and former CTO of OpenSea.

About

An open source ChatGPT UI, powered by window.ai.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.2%
  • Other 1.8%