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

Add support for gpt-4-turbo in llamaindex-multi-model #1853

Closed
Prem95 opened this issue Apr 16, 2024 · 1 comment
Closed

Add support for gpt-4-turbo in llamaindex-multi-model #1853

Prem95 opened this issue Apr 16, 2024 · 1 comment

Comments

@Prem95
Copy link

Prem95 commented Apr 16, 2024

Current llama-index package is outdated and does not support the new gpt-4-turbo which got out of preview.

Add the dependencies in poetry or install after PGPT_PROFILES=openai make run

poetry add llama-index-multi-modal-llms-openai

Reference in llama_index/llms/openai/utils.py

"gpt-4": 8192,
"gpt-4-32k": 32768,
turbo models (Turbo, JSON mode)
"gpt-4-1106-preview": 128000,
"gpt-4-0125-preview": 128000,
"gpt-4-turbo-preview": 128000,
# multimodal model
"gpt-4-vision-preview": 128000,
"gpt-4-turbo-2024-04-09": 128000,
"gpt-4-turbo": 128000
@jaluma
Copy link
Collaborator

jaluma commented Jul 10, 2024

Fixed here

@jaluma jaluma closed this as completed Jul 10, 2024
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

No branches or pull requests

2 participants