题意:通过OpenAI API调用某个功能,但似乎没有执行。
问题背景:
Using function calling, 'openai' does not execute the function, but it prints the function with parameters. Please see below:
在使用函数调用时,“openai”并没有执行该函数,而是打印出了带参数的函数。请查看以下示例:
I am using a local LLM (LLaMA 2) in Colaboratory.
我正在 Colaboratory 中使用本地 LLM(LLaMA 2)。
'openai' version installed: 0.27.8
!pip install openai==0.27.8
os.environ['OPENAI_A