From 73c194f304f827b55081b15524479f82a1b7d94c Mon Sep 17 00:00:00 2001 From: maszhongming Date: Tue, 16 Sep 2025 15:15:29 -0500 Subject: Initial commit --- cachegpt/joblib/kg_rag/utility/get_GPT_response/func_code.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 cachegpt/joblib/kg_rag/utility/get_GPT_response/func_code.py (limited to 'cachegpt/joblib/kg_rag/utility/get_GPT_response/func_code.py') diff --git a/cachegpt/joblib/kg_rag/utility/get_GPT_response/func_code.py b/cachegpt/joblib/kg_rag/utility/get_GPT_response/func_code.py new file mode 100644 index 0000000..20a5bd9 --- /dev/null +++ b/cachegpt/joblib/kg_rag/utility/get_GPT_response/func_code.py @@ -0,0 +1,5 @@ +# first line: 222 +@memory.cache +def get_GPT_response(instruction, system_prompt, chat_model_id, chat_deployment_id, temperature=0): + res = fetch_GPT_response(instruction, system_prompt, chat_model_id, chat_deployment_id, temperature) + return res -- cgit v1.2.3