Open YangXiao-logic opened 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参数
后续更新
图片询问好像不支持 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参数