ComfyChat: ChatGPT Interactions with a Node-Based UI
I'm excited to share my latest project, ComfyChat, which introduces a new way to interact with the ChatGPT API. Drawing inspiration from the user-friendly and intuitive node editor interface of Comfy UI.
Key Features of ComfyChat:
Node-Based Conversation Editor: At the heart of ComfyChat is a node editor that allows users to visually map out and edit conversations with ChatGPT. This interface makes it possible to manage the flow of a conversation intuitively. Users can add, edit, or remove parts of the conversation, enabling a more efficient and targeted interaction with ChatGPT. For instance, if you're seeking specific React code and the response includes unnecessary details, you can easily trim the conversation to focus on just the code, optimizing ChatGPT's context for future queries.
Flexibility in Conversation Paths:
Another exciting feature of ComfyChat is the ability to branch out the conversation. You can create multiple input nodes linked to a single output, essentially forming a tree-like structure. This offers the flexibility to explore different angles or follow-up questions without losing the context of the original conversation.
Integration of Speech-to-Text and Text-to-Speech APIs:
Recognizing the growing importance of voice interfaces, ComfyChat includes both Speech-to-Text (STT) and Text-to-Speech (TTS) functionalities. Although the STT API isn't available in the OpenAI JavaScript library yet, I've integrated it directly, providing a seamless voice transcription experience.
Technologies Used:
ComfyChat is built using React, Zustand, and React Flow. The connection to the OpenAI API is handled through the JavaScript library, ensuring smooth and reliable interactions.
Creative Director | Creative Technologist | Filmmaker
8 个月Lucid app made something similar, only for prototyping purposes (sadly) that is actually quite powerful. Is it like ComfyUI that you can export the flow as an API call?
Senior Managing Director
9 个月Felipe Melo Very Informative. Thank you for sharing.