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

docs: correct types for example #5188

Merged
merged 1 commit into from
Jan 18, 2025
Merged

Conversation

NitzanShwartz
Copy link
Contributor

@NitzanShwartz NitzanShwartz commented Jan 18, 2025

What does this PR address?

Changed the "prompt" parameter of the LanguageModel.generate method.
The previous type, int, does not match the parameter's description.
image

Fixes #(issue)
5187

Before submitting:

Incorrect type, prompt text should not be an int.
@NitzanShwartz NitzanShwartz requested a review from a team as a code owner January 18, 2025 10:59
@NitzanShwartz NitzanShwartz requested review from parano and removed request for a team January 18, 2025 10:59
@aarnphm aarnphm changed the title docs: modified LanguageModel.generate prompt parameter from int to str docs: correct types for example Jan 18, 2025
@aarnphm aarnphm merged commit e20f4cb into bentoml:main Jan 18, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants