Several functions passes trough six argument verbatim to OpenAI client creation.
It causes to very long argument lists and increases technological debt.
Pass OpenAI client object instead of those six arguments to reduce
duplicated code and increase repeatability.
TODO: perform the same optimization with generate_data and cli too.
Several functions passes trough six argument verbatim to OpenAI client creation. It causes to very long argument lists and increases technological debt.
Pass OpenAI client object instead of those six arguments to reduce duplicated code and increase repeatability.
TODO: perform the same optimization with generate_data and cli too.
Signed-off-by: Costa Shulyupin costa.shul@redhat.com