From a22133b191c0f7d6e282baef01fbf35fb825e74d Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Tue, 21 May 2024 19:57:50 -0700 Subject: [PATCH] Update utils.py --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.py b/utils.py index 8ab0c4d..97b22fc 100644 --- a/utils.py +++ b/utils.py @@ -7,7 +7,7 @@ from schemas import OpenAIChatMessage def stream_message_template(model: str, message: str): return { - "id": f"rag-{str(uuid.uuid4())}", + "id": f"{model}-{str(uuid.uuid4())}", "object": "chat.completion.chunk", "created": int(time.time()), "model": model,