
Announcements
Hi all,
I want to create a "chat with my database" type of chatbot.
For this I have deployed a azure function which consist of gpt and the database access.
In Copilot Studio I created copilot with a topic that gets triggered by a message.
I then call the azure function with "LastMessage.Text" as input and get the answer as the output.
So the user can improve on the answer the azure function should get the last three messages from User and gpt.
How can I accomplish this?
My first Idea would be to save the chat history as a variable but I am not sure how to do that.
Is this the right approach or can the chat history be accessed in another way?
How would I do that?
Thanks in advanced for any help!
Both are valid designs.
Manage a variable: Solved: Re: Integrate a PVA chatbot with Azure OpenAI Chat... - Power Platform Community (microsoft.com)
Access the transcript: Solved: I want to retrieve user bot conversations using di... - Power Platform Community (microsoft.com)