Fantastic tool - have a question re: Assistants. #11
-
First off let me say this set of nodes is great. I have been wanting to play with LLM's in a low code environment for a while, and this is just fantastic. I am struggling a bit on how to put together a flow that would let me chat with an existing OpenAI assistant that I've created via OpenAI's web-based interface. I have read through the API docs but since I am not really a programmer, I am struggling with how to set up the thread and actually submit a query and get a reply. I wonder if this might be a useful example flow to include with the project? Since Assistants can be created via the OpenAI web interface, having an example of how to actually chat with them via NodeRed would be very instructive for folks with less of a programming background. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
Great to hear that you're finding this project useful. And thanks for the Assistants nudge. |
Beta Was this translation helpful? Give feedback.
@Hyperlooper - Here's a basic example showcasing an Assistant conversation without using Function (JavaScript) nodes.
To get started, you'll need to import this flow into your Node-RED environment, drop your Assistant's name into the
Start New Conversation
Inject node, then trigger that node after deploying your updated flow. You can also update theuser
messages in both theStart New Conversation
andContinue Conversation
Inject nodes according to your needs.This flow can be streamlined with the use of a couple of Function nodes; I plan to share a second flow demonstrating just that. Cheers!