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....
Solution:Jump to 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...
3 Replies
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.
Ok, thanks! Yes I want to add sample system messages and sample user messages to train ChatGPT
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