Skip to content

Conversation

@julien-nc
Copy link
Member

These will be useful for the new Agency feature.

Copy link
Contributor

@oleksandr-nc oleksandr-nc left a 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
Copy link
Contributor

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

Copy link
Member Author

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.
Copy link
Contributor

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 done

@julien-nc julien-nc force-pushed the enh/noid/taskpro-new-task-types branch from 83995f7 to 9e5f3e3 Compare December 6, 2024 11:56
@julien-nc julien-nc enabled auto-merge December 6, 2024 11:56
@julien-nc julien-nc merged commit 2ae78ad into master Dec 6, 2024
12 checks passed
@julien-nc julien-nc deleted the enh/noid/taskpro-new-task-types branch December 6, 2024 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants