...
Table of Contents | ||
---|---|---|
|
...
Code Block |
---|
{ "name": "function_name", "description": "Subscribe user to a tunnel block 67923e109cf6cf5c3ca547c3", "strict": true, "parameters": { "type": "object", "properties": { "tunnel_block_id": { "type": "string", "description": "Id in description" } }, "required": ["tunnel_block_id"], "additionalProperties": false } } |
Note |
---|
IMPORTANT!
|
...
Go to the Assistants section on the OpenAI platform and create or select an existing AI Assistant.
Navigate to the System instructions section of your AI Assistant.
Add a condition to the base instruction or a condition file specifying when the assistant should call the function. Example:
"If the client asks about membership, provide information about membership and then activate the function (function_name)"
In the Functions section of your assistant, enter the function execution command (function_name).
Insert the JSON code of the function and specify tunnel_block_id in the description of your function.
Now, the AI Assistant will analyze client dialogues and, based on their messages, execute the appropriate actions on the platform.
Note |
---|
You can also write in the description of your function, which allows you to sign leads on several different blocks in the sales tunnel, for one additional function. |
5. Testing and Verifying the Function
...