We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Implement generate_with_metadata method for LLM classes.
generate_with_metadata
LLM
The method would return pydantic model with text output and metadata.
We have been requested to return log probs from LLM - the amount of work for generic version is almost the same
No response
The text was updated successfully, but these errors were encountered:
related to #261
Sorry, something went wrong.
does it have to be separate method? i think we can add metadata to the current generate method implementation
generate
kdziedzic68
No branches or pull requests
Feature description
Implement
generate_with_metadata
method forLLM
classes.The method would return pydantic model with text output and metadata.
Motivation
We have been requested to return log probs from LLM - the amount of work for generic version is almost the same
Additional context
No response
The text was updated successfully, but these errors were encountered: