TheoKanning / openai-java

OpenAI Api Client in Java
MIT License
4.79k stars 1.21k forks source link

Add support to GPT-4V #397

Open wangbin77 opened 1 year ago

wangbin77 commented 1 year 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 1 year ago

The PR #413 was submitted for this issue

namankhurpia commented 11 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 11 months ago

I can't wait any longer

stoerr commented 11 months ago

Yes, pleeeeease! 🥺 😄

namankhurpia commented 11 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