-
Notifications
You must be signed in to change notification settings - Fork 337
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
upload one chunk #744
upload one chunk #744
Conversation
What is the benefit of this instead of just creating a file on the fly and sending it through the existing endpoint? |
I opened an issue for this feat |
@steeeee99 thanks, reviewing soon |
chunk: str = Body( | ||
description="A chunk to upload in the cat memory", | ||
examples={"Example of chunk with length greater than 20"}, | ||
min_length=20 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there any particular reason for the choice of 20?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no particular reason, what value is best to have? 10 like here ?
Hey @pieroit, I'm uploading only a string, we need also metadata ? with which fields? |
Hi @steeeee99,
|
@steeeee99 any progress on this? |
Closing as this feat should be made according to #764 and not related to the rabbit hole |
Description
Added a new endpoint to upload and store just one chunk of text.
Related to issue #716
Type of change
Checklist: