Git Product home page Git Product logo

Comments (6)

endolith avatar endolith commented on September 26, 2024 1

And gpt-4o-mini but it looks like that's already included, so this issue can be closed?

from open-interpreter.

KillianLucas avatar KillianLucas commented on September 26, 2024

This should work out of the box! As it's just a new model name, you can run interpreter --model openai/gpt-4o. By the next update, we will set this as the default model.

Let me know if that works @alperyilmaz, and thanks for opening this!

from open-interpreter.

alperyilmaz avatar alperyilmaz commented on September 26, 2024

It works!
I have a question about how things work, especially about images. When I paste an image and ask "what do you see?" I was expecting that the image is sent to openAI model gpt-4o and then gpt-4o can reply with what it sees in the image. But when I ask this question through open-interpreter, it lays out a plan like this:

  1. Load the Image: Load the image file from the specified path.
  2. Perform OCR: Use Tesseract to extract any text from the image.
  3. Analyze the Image: Provide information regarding the text and any detected features in the image.

So, if I understand correctly, it's not possible to take advantage of vision capabilities of gpt-4o. Did I understand that correctly? Or, am I using wrong prompts?

from open-interpreter.

Steve235lab avatar Steve235lab commented on September 26, 2024

@KillianLucas I think @alperyilmaz didn't run into problem to just chat with the new model, but when run OI with i --vision param would override the model setting of gpt-4o in profile with gpt-4-vision-preview(luckily, only for current conversation, not really modifying the profile file even there's an unexpected prompt "We have updated our profile file format. Would you like to migrate your profile file to the new format? No data will be lost."). This usually means the new model gpt-4o is not in the list of models that support vision mode defined in OI source code.

from open-interpreter.

Steve235lab avatar Steve235lab commented on September 26, 2024

I checked the source code found that if the --vision param was passed when launch, OI will load settings from a normal user unaccessible profile vision.yaml which will set the model to gpt-4-vision-preview. And because the version code of vision.yaml is still 0.2.1 (latest is 0.2.5), so it prints the profile migration prompt. BTW, the checking of if a model is a vision model is done with litellm.supports_vision.

from open-interpreter.

Steve235lab avatar Steve235lab commented on September 26, 2024

Just checked the latest version 1.37.16 of litellm, they have added the support of gpt-4o, so litellm.supports_vision should work correctly. However, OI still try to use libraries like PIL to analyze the image locally on user's machine. Worth more investigation.

from open-interpreter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.