From 58285c9e2a259f424f311b85717fdcc38ecdb448 Mon Sep 17 00:00:00 2001 From: Tejas Mahajan <141305477+mahajantejas@users.noreply.github.com> Date: Wed, 21 Aug 2024 12:43:40 +0530 Subject: [PATCH] Update RAG using OpenAI file search assistant.md --- .../RAG using OpenAI file search assistant.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/4. Integrations/RAG using OpenAI file search assistant.md b/docs/4. Integrations/RAG using OpenAI file search assistant.md index b52697367..cf734d7e9 100644 --- a/docs/4. Integrations/RAG using OpenAI file search assistant.md +++ b/docs/4. Integrations/RAG using OpenAI file search assistant.md @@ -70,6 +70,7 @@ _this is the function body passed in the subsequent webhooks to answer follow up Following section shows how to use `voice-filesearch-gpt` webhook function to take users' voice notes as inputs and provide a text and voice note output response in the desired langauge Screenshot 2024-08-21 at 12 05 00 PM + 0. Get the sample flow here [Sample flow ](https://drive.google.com/file/d/1nOch0H5JTLSasSddeGvggP44vH9IV8Vk/view?usp=sharing) @@ -77,16 +78,15 @@ Following section shows how to use `voice-filesearch-gpt` webhook function to ta Screenshot 2024-08-21 at 12 05 17 PM 2. Go to `function body` and pass the following parameter -` -{ +`{ "contact": "@contact", "speech": "@results.audio_query.input", - "assistant_id": "asst_xxxx", + "assistant_id": "asst_OvmKO60CQOnHlwmnpPqqzTel", "remove_citation": true, "source_language": "@contact.language", "target_language": "hindi" -} -` + +}` Screenshot 2024-08-21 at 12 21 57 PM