Skip to content

Make integration with API-based LLMs generic and extendable by users #953

@dcecchini

Description

@dcecchini

Some users may use OpenAI or HF inference that we currently support as hubs, but other users may be working on a custom LLM and have the model running on a different hub. We could extend the API implementation to be generic such that the user can specify the parameters to connect to any API and how to parse the results.

For example, the user may define the URL and parameters of their API, and a function to parse the results. In this way, any API system could be supported by LangTest.

Two tools to have in mind: vLLM and HugginFace Text Generation Inference

Metadata

Metadata

Labels

v2.1.0Issue or request to be done in v2.1.0 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions