-
Notifications
You must be signed in to change notification settings - Fork 159
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
feat: Add session tag in key-value format #1851
base: main
Are you sure you want to change the base?
Conversation
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.
How about using(or updating) ai.backend.cli.params.CommaSeparatedKVListParamType
?
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.
We have customized column schemas in ai.backend.manager.models.base
.
It will be good for performance to set a constraint in SQL but how about making(or updating) a column schema?
ai.backend.manager.models.base.StructuredJSONColumn
would work but it might need update.
close #390
The session tag function, which previously saved text like a regular memo, can now be saved in key-value format.
The key is limited to a maximum of 128 characters, and the value is limited to a maximum of 256 characters.
Input requires the form 'key1=value1, key2=value2, ...'.
Checklist: (if applicable)
ai.backend.test
docs
directory