From 6e495776899eb53e1e9b97c270eabb1552d480d2 Mon Sep 17 00:00:00 2001 From: tanuprasad530 Date: Tue, 2 Dec 2025 09:29:26 +0530 Subject: [PATCH 1/2] Update Filesearch Using OpenAI Assistants.md - `remove_citation` param removed from filesearch function steps documentation. - Replaced a screenshot in step 3 (on how to use filesearch function in the flows). - Made changes in the sample flow and linked the revised flow. - In step 4, corrected this line - "If `AI_response` was the result name, the variable would be `@results.AI_response.message`" as results cannot be uppercase. - Replaced the screenshot in step 5 (conversational memory) where remove_citation was a param. --- .../Filesearch Using OpenAI Assistants.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/5. Integrations/Filesearch Using OpenAI Assistants.md b/docs/5. Integrations/Filesearch Using OpenAI Assistants.md index 9adadaaee4..9c67c8b0c7 100644 --- a/docs/5. Integrations/Filesearch Using OpenAI Assistants.md +++ b/docs/5. Integrations/Filesearch Using OpenAI Assistants.md @@ -104,18 +104,16 @@ _Screenshot of example flow set up is given below_ - In `question` parameter enter the flow variable containing the question asked by the user. In the given example `question` is the `result name`, hence provided `@result.question` in the question parameter. - In `assistant_id` enter the assistant id obtained in step 4 of "How to Create an OpenAI Assistant in Glific" -- In `remove_citation` enter `true` to prevent cryptic citation marks from showing up in the response. - Screenshot 2025-08-09 at 1 17 28 AM + Screenshot 2025-12-02 at 9 18 23 AM #### Step 4: Display the Assistant's response - Once the Webhook is updated, add a `Send Message` node and enter `@results.gptresponse.message` variable to receive the AI response. -- In the given example `gptresponse` is the `result name` (refer step2). If `AI_response` was the result name, the variable would be `@results.AI_response.message`. +- In the given example `gptresponse` is the `result name` (refer step2). If `ai_response` was the result name, the variable would be `@results.ai_response.message`. Screenshot 2025-08-09 at 1 28 11 AM - [Sample Flow](https://drive.google.com/file/d/1-RcFXdEpeuqlb27RWNRpWNdZ9PNZzBSz/view) Click on the Sample Flow link to import it and explore how it works. - + [Sample Flow](https://drive.google.com/file/d/10wGUil1l2SGfOZdWQQOO935OK-6BdZV1/view?usp=sharing) Click on the Sample Flow link to import it and explore how it works. ### Conversational Memory When a user asks a follow-up question, the assistant uses thread ID to remember the earlier conversation. This helps it give better answers by understanding the context of what was already asked. @@ -125,7 +123,7 @@ When a user asks a follow-up question, the assistant uses thread ID to remember - This parameter should be set to the value `@results.previouswebhookname.thread_id`. - In the example shown, the previous webhook result name is gptresponse. So the thread ID should be referenced as - `@results.gptresponse.thread_id`. -Screenshot 2025-08-09 at 1 33 23 AM +Screenshot 2025-12-02 at 9 20 12 AM - In question parameter enter the flow variable containing the follow up question asked by the user. In the given example `result_5` is the result name, hence provided `@results.result_5` in the question parameter. From 0a9537c6dd204de3acfe591b3caf8b2893c6cc5b Mon Sep 17 00:00:00 2001 From: Tejas Mahajan <141305477+mahajantejas@users.noreply.github.com> Date: Tue, 2 Dec 2025 16:46:42 +0530 Subject: [PATCH 2/2] Update docs/5. Integrations/Filesearch Using OpenAI Assistants.md Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- docs/5. Integrations/Filesearch Using OpenAI Assistants.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/5. Integrations/Filesearch Using OpenAI Assistants.md b/docs/5. Integrations/Filesearch Using OpenAI Assistants.md index 9c67c8b0c7..f3f1c2736b 100644 --- a/docs/5. Integrations/Filesearch Using OpenAI Assistants.md +++ b/docs/5. Integrations/Filesearch Using OpenAI Assistants.md @@ -109,7 +109,7 @@ _Screenshot of example flow set up is given below_ #### Step 4: Display the Assistant's response - Once the Webhook is updated, add a `Send Message` node and enter `@results.gptresponse.message` variable to receive the AI response. -- In the given example `gptresponse` is the `result name` (refer step2). If `ai_response` was the result name, the variable would be `@results.ai_response.message`. +- In the given example `gptresponse` is the `result name` (refer to Step 2). If `ai_response` was the result name, the variable would be `@results.ai_response.message`. Screenshot 2025-08-09 at 1 28 11 AM