lifan0127 / ai-research-assistant

Aria is Your AI Research Assistant Powered by GPT Large Language Models
GNU Affero General Public License v3.0
1.06k stars 57 forks source link

Add GPT4o-2024-08-06 to list of model options. #115

Closed AssortedFantasy closed 3 months ago

AssortedFantasy commented 3 months ago

This version of GPT4o is 50% cheaper than the base one. $2.5/1M input tokens vs $5/1M input tokens. It was released yesterday.

Which considering how many tokens something like adding a PDF to context could cost this could be quite significant.

image

I built this locally and it seems to work for me. The correct model API requests appeared on my OpenAI API dashboard.

image image

lifan0127 commented 3 months ago

Hey @AssortedFantasy! Accordingly to OpenAI, gpt-4o will point to gpt-4o-2024-08-06 in the near future. So I don't feel a strong need to add it as an option.

https://platform.openai.com/docs/models/gpt-4o

image

As a super user, you can directly modify the model name via Zotero config editor, so that you can take advantage of the latest gpt-4o snapshot now.

image