简体   繁体   中英

python openai ChatGPT CLI: response is truncated from API

After pip install openai , I tried:

openai api completions.create -e text-davinci-003 -p "what means soyboy in French?"

I get

Le terme « soyboy » n'est pas courant en

The text is not finished/truncated.

What I did wrong?

CF https://github.com/openai/openai-python

openai api completions.create -e text-davinci-003 --help

and

openai api completions.create -e text-davinci-003 -M 1000 -p "what means soyboy in French?"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2025 STACKOOM.COM