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

Centralize the adding of models. #589

Open
Boiln opened this issue May 18, 2024 · 0 comments
Open

Centralize the adding of models. #589

Boiln opened this issue May 18, 2024 · 0 comments

Comments

@Boiln
Copy link

Boiln commented May 18, 2024

Please for everyones sake, add a .yml for loading the models.. so you don't have to edit 5555 different locations otherwise an error.

Something like:

models:
  - name: 'gpt-4'
    max_tokens: 8000
    cost:
      prompt: { price: 0.0, unit: 1000 }
      completion: { price: 0.0, unit: 1000 }
  - name: 'gpt-4-turbo'
    max_tokens: 128000
    cost:
      prompt: { price: 0.0, unit: 1000 }
      completion: { price: 0.0, unit: 1000 }
  - name: 'gpt-4o'
    max_tokens: 128000
    cost:
      prompt: { price: 0.005, unit: 1000 }
      completion: { price: 0.015, unit: 1000 }
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

1 participant