From the course: Automate Your Work with n8n (No Code Required)
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Generating responses with OpenAI
From the course: Automate Your Work with n8n (No Code Required)
Generating responses with OpenAI
- [Instructor] So we have the node to receive messages, we have our AI agent with a very complete prompt, and we have our product catalog Google Sheet loaded as context. The one thing we need, the next building block is the chat model. So you click this connector from the chat model of the AI agent and you search for OpenAI, and you click the OpenAI chat model. So we will have an OpenAI model enabling our AI agent to reply the chat messages. The first thing you need to do is the authentication. If you don't yet have OpenAI account or an OpenAI API key, you need to create it. You can follow the materials on the exercise file of the course to create the account and generate the API key so that you can proceed with the next steps of this course. In my case, I have already done all of that. So what it looks like is this page where you paste your API key here, and in the top, you get this green message that it is working…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.