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

CLI tool for showing the models available from OpenAI models.json #70

Closed
simonw opened this issue Jul 1, 2023 · 1 comment
Closed
Labels
enhancement New feature or request

Comments

@simonw
Copy link
Owner

simonw commented Jul 1, 2023

This would be really useful as a debugging tool.

It's potentially a bit confusing though since it would return models like text-embedding-ada-002 that this tool may not be able to work with, plus potential confusion over the difference between llm models list and llm openai models

But I think that confusion is worth risking.

@simonw simonw added the enhancement New feature or request label Jul 1, 2023
simonw added a commit that referenced this issue Jul 1, 2023
simonw added a commit that referenced this issue Jul 1, 2023
@simonw
Copy link
Owner Author

simonw commented Jul 1, 2023

Help output: https://github.com/simonw/llm/blob/8611aa13939d6859246f2377face5b94390006b2/docs/help.md#llm-openai---help

Demo:

llm openai models
id                                       owned_by                         created            
whisper-1                                openai-internal                  2023-02-27T13:13:04
babbage                                  openai                           2022-04-07T12:07:29
davinci                                  openai                           2022-04-07T12:31:14
text-davinci-edit-001                    openai                           2022-04-12T17:19:39
gpt-4-0314                               openai                           2023-06-27T09:13:30
...

Or with --json:

llm openai models --json
[
    {
        "id": "whisper-1",
        "object": "model",
        "created": 1677532384,
        "owned_by": "openai-internal",
        "permission": [

@simonw simonw closed this as completed Jul 1, 2023
simonw added a commit that referenced this issue Jul 10, 2023
simonw added a commit that referenced this issue Jul 10, 2023
simonw added a commit that referenced this issue Jul 10, 2023
simonw added a commit that referenced this issue Jul 10, 2023
simonw added a commit that referenced this issue Jul 10, 2023
simonw added a commit that referenced this issue Jul 10, 2023
simonw added a commit that referenced this issue Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant