diff options
Diffstat (limited to 'cachegpt/joblib/kg_rag/utility/get_GPT_response')
| -rw-r--r-- | cachegpt/joblib/kg_rag/utility/get_GPT_response/func_code.py | 5 |
1 files changed, 5 insertions, 0 deletions
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 |
