Thanks to visit codestin.com
Credit goes to github.com

Skip to content

A simple AI chat UI to connect to OpenAI v1 compatible API streaming endpoints (E.g. lm-studio). Supports markdown, code and math highlighting and uses local-storage for chat history. Careful: Can make snarky remarks.

License

Notifications You must be signed in to change notification settings

smucclaw/ai-chat

 
 

Repository files navigation

AI Chat

A simple AI chat UI to connect to OpenAI v1 compatible API streaming endpoints.

Supports markdown, code and math highlighting and uses local-storage for chat history. Supports a few tool calls:

  1. Basic web search with Google Custom Search credentials
  2. Basic weather lookup from OpenMeteo
  3. User chat history inquiries
  4. Basic reasoning if you ask it to do research
  5. Solving simple math
  6. Generate images
  7. Improve social media posts

Getting started

I can recommend LM Studio to run server APIs. Use a decently capable model as Chat Model and a fast, easy to run one as Summary Model. The latter enables automatic naming of conversations and the suggestion of follow-up topics.

Hint: In the index.html is a max-length of 33,000 characters hardcoded. Adjust to your preferences.


Project by Thomas Gorissen

Published under MIT License

About

A simple AI chat UI to connect to OpenAI v1 compatible API streaming endpoints (E.g. lm-studio). Supports markdown, code and math highlighting and uses local-storage for chat history. Careful: Can make snarky remarks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 70.3%
  • JavaScript 28.3%
  • CSS 1.4%