-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Add new task types to the task processing API #12418
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
f463eaf to
83995f7
Compare
oleksandr-nc
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.
little things, so as not to be a bore I won't describe them further =)
| * ``system_prompt``: ``Text`` | ||
| * ``input``: ``Text`` | ||
| * ``history``: ``ListOfTexts`` | ||
| * ``tools``: ``Text`` This should be a JSON object formatted like the one expected by the OpenAI API: https://platform.openai.com/docs/api-reference/chat/create#chat-create-tools |
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.
The tools parameter should be a JSON object formatted according to the OpenAI API specifications: https://platform.openai.com/docs/api-reference/chat/create#chat-create-tools
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.
👍 done
| * ``'core:contextagent:interaction'``: This task allows chatting with an agent. It is implemented by ``\OCP\TaskProcessing\TaskTypes\ContextAgentInteraction`` | ||
| * Input shape: | ||
| * ``input``: ``Text`` | ||
| * ``confirmation``: ``Number`` Whether to confirm previously requested actions. 0 to reject, 1 to confirm. |
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.
0 or 0 , 1 or 1
or rephrased completly:
Boolean integer indicating whether to confirm previously requested actions: 0 to reject or 1 to confirm.
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.
👍 done
Signed-off-by: Julien Veyssier <[email protected]>
83995f7 to
9e5f3e3
Compare
These will be useful for the new Agency feature.