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

Add max_input and max_tokens parameters to KnowledgeBrainQA constructor #2247

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

StanGirard
Copy link
Collaborator

This pull request adds the max_input and max_tokens parameters to the KnowledgeBrainQA constructor. These parameters allow for setting the maximum input length and maximum number of tokens for the KnowledgeBrainQA model. This provides more flexibility and control over the input size and tokenization process.

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Feb 22, 2024
Copy link

vercel bot commented Feb 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
quivrapp 🔄 Building (Inspect) Visit Preview Feb 22, 2024 11:38pm

@dosubot dosubot bot added the area: backend Related to backend functionality or under the /backend directory label Feb 22, 2024
@StanGirard StanGirard merged commit e4f9201 into main Feb 22, 2024
1 of 4 checks passed
StanGirard added a commit that referenced this pull request Feb 22, 2024
🤖 I have created a release *beep* *boop*
---


## 0.0.210 (2024-02-22)

## What's Changed
* feat: Update memory allocation in task definition by @StanGirard in
#2243
* fix: get_brain_details API to include user_id parameter by @StanGirard
in #2242
* feat(chat): Add follow up questions functionality by @StanGirard in
#2241
* Reduce sampling rate for Sentry traces by @StanGirard in
#2245
* Revert "feat(chat): Add follow up questions functionality" by
@StanGirard in #2246
* Add max_input and max_tokens parameters to KnowledgeBrainQA
constructor by @StanGirard in #2247


**Full Changelog**:
v0.0.209...v0.0.210

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: backend Related to backend functionality or under the /backend directory size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant