Skip to content

Add list models function in BaseLLMClient #27

Description

@uripeled2

We can add and abstract method to BaseLLMClient like:
def list_models(**kwargs) -> list[str]
And then we need to implement it in the different clients, we can add a static constants that will return the LLMs names or we can make a call to the relative urls.
Here is OpenAI docs for this kind of endpoint: https://platform.openai.com/docs/api-reference/models/list

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions