| Chatmate allows you to customize and combine multiple chat chains (gpt4 chat completions) and document retrievals. Chat components can be customized by all the regular openai api parameters and allow you to refer to other chat components in the system prompt and user message. For example, you could have a chat component that generates a list of actions that should be taken to solve a users query, then refer to this component in another chat component that uses the actions list in it's system prompt. You can refer to other by components by typing "@" in the rich text editors. Any available components (components that you can refer to without creating a circular dependency) will show up. Document components allow you to embed any number of documents (pdf, txt, json, md, mdx, html) and query them by cosine similarity for a given search query. The search query can also depend on chat components (i.e. You can make a "Standalone question" component which turns the user query into a standalone question (question + chat context) and then use this as your search query to retrieve more relevant documents). I would like to implement conditional components and code components next. Conditional components will use gpt4 function calls to select a component to run, and code componts will run code in a sandbox (with network support). I'm also working on exposing the chatbots as an api and a multitenat domain (i.e. {projectname}.chatmate.dev) so that chatbots can be used in your own projects or shared. Let me know what you think. Any feedback is appreciated! |
I found a couple bugs:
- I tried the service by making 2 components, but when I tried to chat with them, they received a "<p><span ...><span ...>User input</span></span></p>" instead of my actual messages.
- When trying to pass one component's output as another's input, I couldn't edit the "User message" field. Content-editable was set to false.
Also (less importantly):
- Once logged in, I couldn't access the (helpful to understand the UX) loom video—had to open an incognito tab. - The loom video would benefit from a voiceover; had to watch it more than once. - The Sign up/Sign in panel remains open even after logging in.
QQ, considering the costs of GPT-4 queries, I'm curious, how do you plan to monetize?
Kudos for launching, great job overall, and I'm excited to see how this evolves!