PlexPt / chatgpt-java

ChatGPT Java SDK。支持 GPT-4o、 GPT4 API。开箱即用。An unofficial Java SDK for seamless integration with ChatGPT's GPT-3.5 and GPT-4 APIs. Ready-to-use, simple setup, and efficient for building AI-powered applications.
https://chat.plexpt.com/
GNU General Public License v3.0
3.6k stars 706 forks source link

图片询问好像不支持 detail参数 #302

Open YangXiao-logic opened 3 months ago

YangXiao-logic commented 3 months ago

图片询问好像不支持 response = client.chat.completions.create( model="gpt-4o", messages=[ { "role": "user", "content": [ {"type": "text", "text": "What's in this image?"}, { "type": "image_url", "image_url": { "url": "....", "detail": "low" }, }, ], } ], max_tokens=300, ) 比如这个请求中的detail参数

PlexPt commented 3 months ago

后续更新