This is an automated email from the ASF dual-hosted git repository.

skrawcz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/burr.git


The following commit(s) were added to refs/heads/main by this push:
     new b1804947 Update OpenAI model in conversational RAG example
b1804947 is described below

commit b18049476f7c94c46b0815910c9ecf3b4efb7d47
Author: preethamk88 <[email protected]>
AuthorDate: Tue Dec 30 12:44:27 2025 +0530

    Update OpenAI model in conversational RAG example
---
 examples/conversational-rag/graph_db_example/application.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/conversational-rag/graph_db_example/application.py 
b/examples/conversational-rag/graph_db_example/application.py
index 04275422..fd2261cc 100644
--- a/examples/conversational-rag/graph_db_example/application.py
+++ b/examples/conversational-rag/graph_db_example/application.py
@@ -145,7 +145,7 @@ def AI_create_cypher_query(state: State, client: 
openai.Client) -> tuple[dict, S
     messages = state["chat_history"]
     # Call the function
     response = client.chat.completions.create(
-        model="gpt-4-turbo-preview",
+        model="gpt-4o-mini",
         messages=messages,
         tools=[run_cypher_query_tool_description],
         tool_choice="auto",
@@ -193,7 +193,7 @@ def AI_generate_response(state: State, client: 
openai.Client) -> tuple[dict, Sta
     """AI step to generate the response."""
     messages = state["chat_history"]
     response = client.chat.completions.create(
-        model="gpt-4-turbo-preview",
+        model="gpt-4o-mini",
         messages=messages,
     )  # get a new response from the model where it can see the function 
response
     response_message = response.choices[0].message

Reply via email to