Skip to content
New issue

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

consider langchain object temperature attr in generation #998

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

fealbuqu
Copy link

Addresses #886.

Taking into account solution made by this PR but also checks if temperature was set under langchain object.

This is critical because on TGI endpoints no generation is returned with such low value as 1e-8. And often langchain classes has the temperature attribute set during initialization.

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label May 30, 2024
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant