You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
我们为当前的命令提供了主要的一些显式参数,例如
api_key
,endpoint
,model
等,但其实你还可以通过更多细节的个性化参数来改善你的文本生成效果,你可以参考 OpenAI 官方提供的API 文档 https://platform.openai.com/docs/api-reference/chat/create 了解具体的参数, 比较常用的是max_tokens
,seed
,stop
,temperature
等。Note
请注意,虽然你也可以传入
messages
,stream
,tools
等参数,但不推荐,因为模块内部有对其进行实现,传入这些参数可能导致一些不可预期的效果。你可以通过
config
这个参数(或它的别名settings
)来传入个性化参数,例如gpt "我需要你帮我做一份行程规划,上海三日游,预算不限。有小孩和老人,请尽量安排舒适一些" -config @{max_tokens=1000;temperature=1}
Beta Was this translation helpful? Give feedback.
All reactions