haystack/releasenotes/notes/allow-parameters-for-openai-generator-8ce86ba1bac80817.yaml
Ulises M 6f8834d036
feat: add and expose api_params for OpenAIGenerator in LLMEvaluator based classes (#7987)
* initial support for api_params

* add tests and reno

* resolve suggestions and add integration test

* fix mypy

---------

Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com>
2024-07-11 13:14:03 +02:00

7 lines
287 B
YAML

---
features:
- |
LLM based evaluators can pass in supported OpenAIGenerator parameters via api_params.
This allows for custom generation_kwargs, changing the api_base_url (for local evaluation),
and all other supported parameters as described in the OpenAIGenerator docs.