Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

litellm_model vision support #395

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

zyzhang1130
Copy link
Contributor

@zyzhang1130 zyzhang1130 commented Aug 8, 2024


name: Pull Request
about: Create a pull request

Description

Add vision modality support for some of the models supported by LiteLLM. For the LLMs that have vision modalities and support using URL to send images on LiteLLM platform, simply add URL of the image in the 'url' field in the relevant message to pass the image to the LLM API. (see docstring for an example)
reference: https://docs.litellm.ai/docs/completion/vision#checking-if-a-model-supports-vision

Checklist

Please check the following items before code is ready to be reviewed.

  • Code has passed all tests
  • Docstrings have been added/updated in Google Style
  • Documentation has been updated
  • Code is ready for review

@DavdGao DavdGao changed the title litellm_model vision support [WIP] [WIP] litellm_model vision support Aug 9, 2024
@zyzhang1130 zyzhang1130 changed the title [WIP] litellm_model vision support litellm_model vision support Aug 16, 2024
@zyzhang1130 zyzhang1130 marked this pull request as ready for review August 16, 2024 07:40
added reference url
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant