You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do we need a category creation API? I thought we only allow users to add existing categories to articles for now.
Since we got some feedbacks from Flow, and we already added the ~4 additional categories. So I think we can have that API, and only use by team or AI model ?
The text was updated successfully, but these errors were encountered:
I have one thing to add:
Should we allow website users inputting aiModel and aiConfidence in CreateArticleCategory?
I think in the resolver we should restrict the appId that can provide aiModel and aiConfidence.
We can have all our AIs under the same appId and give different userId to different AI models. The userId / appId is designed so that each different "app" can manage their own userId.
When AI scripts invoke CreateArticleCategory it will send secret key to API server, which API server recognizes in checkSecret and sets corresponding appId for resolvers to use. This is exactly how rumors-line-bot communicates with rumors-api, we can re-use the mechanism to achieve server-to-server communication between our API and the AIs.
The text was updated successfully, but these errors were encountered: