Thomas
Thomas4mo ago

train chatGPT on a conversation

Hi, I want to add several messages to a chat history for a chatGPT node. How do I do that? Here is a screenshop from make.com, see how they implemented it....
No description
Solution:
Yeah, as also mentioned by Christopher, @Thomas, You can simply modify the GPT node logic to have more roles and content accordingly, you can refer to this to edit the node - https://docs.buildship.com/basics/node#node-anatomy. I've attached an example of the specific open AI text GPT node with an example of more content and roles. Alternatively, you can use the Open AI Assistant node as well as it contains all the data of the chat history in the threadId - https://docs.buildship.com/ai-assistant/assistant...
No description
Jump to solution
3 Replies
Christopher30
Christopher304mo ago
If you use "OpenAI — Text Generator" node then you will have the option to add system prompt and user prompt (user message on Make). I guess if you want more than these two, you will need to modify the node either by using AI or your own coding skills.
Thomas
Thomas4mo ago
Ok, thanks! Yes I want to add sample system messages and sample user messages to train ChatGPT
Solution
Gaurav Chadha
Gaurav Chadha4mo ago
Yeah, as also mentioned by Christopher, @Thomas, You can simply modify the GPT node logic to have more roles and content accordingly, you can refer to this to edit the node - https://docs.buildship.com/basics/node#node-anatomy. I've attached an example of the specific open AI text GPT node with an example of more content and roles. Alternatively, you can use the Open AI Assistant node as well as it contains all the data of the chat history in the threadId - https://docs.buildship.com/ai-assistant/assistant
No description