-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
feat: add Context Chat OCP API #53859
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
Conversation
4dc4697 to
1290be2
Compare
|
Looks good! You can suppress psalm errors for the OCA\ContextChat classes by adding them to the psalm.xml suppress handler. |
0291146 to
ccbf226
Compare
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.
It would be nice to have a isContextChatAvailable method in the content manager so providers could even avoid calling submitContent if it's not available.
There could be a new section in the docs (after "Submitting ContentItem data") about this new method.
|
Ah, yes. Good point. OCA\ContextChat\Public\ContentManager would also have to implement this, then, which is a bit useless, but we can just return true there. |
6a256a8 to
87d4253
Compare
87d4253 to
70204ea
Compare
ChristophWurst
left a comment
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.
Some comments
c6efa0a to
fe7561d
Compare
Signed-off-by: Edward Ly <[email protected]>
Signed-off-by: Edward Ly <[email protected]>
…ContentManager Signed-off-by: Edward Ly <[email protected]>
Signed-off-by: Edward Ly <[email protected]>
Signed-off-by: Edward Ly <[email protected]>
Signed-off-by: Edward Ly <[email protected]>
fe7561d to
aafcbcc
Compare
|
Awesome! Great work @edward-ly |
Checklist