TheoKanning / openai-java

OpenAI Api Client in Java
MIT License
4.73k stars 1.19k forks source link

Add support to GPT-4V #397

Open wangbin77 opened 9 months ago

wangbin77 commented 9 months ago

support the content in chat completion with format as messages=[ { "role": "user", "content": [ {"type": "text", "text": "What’s in this image?"}, { "type": "image_url", "image_url": { "url": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg", }, }, ], } ],

JanCong commented 9 months ago

The PR #413 was submitted for this issue

namankhurpia commented 9 months ago

hi @wangbin77 Meanwhile feel free to use this https://github.com/namankhurpia/Easy-open-ai

This already has Vision API support :) Just created in 1 hr

caopengan commented 8 months ago

I can't wait any longer

stoerr commented 8 months ago

Yes, pleeeeease! 🥺 😄

namankhurpia commented 8 months ago

@caopengan and @stoerr

please can you guys try shifting here- https://github.com/namankhurpia/Easy-open-ai

I m solving all issues everyday, no one seems to update code here