askAi
This function allows you to interact with the AI service.
Description
vcc.askAI(params)
This function allows you to interact with the AI service.
Parameters
systemMessage
(string) The system message to be sent to the AI service.
userMessage
(string) The user message to be sent to the AI service.
Return values
The response text from the AI service.
Example
vcc.askAI({systemMessage: "it's an email, rate the sender's mood (1-10, 10 is very angry) reply only with a number", userMessage: ctx.email.body});
Comments
Can’t find what you need? Use the comment section below to connect with others, get answers from our experts, or share your ideas with us.
There are no comments yet.