Skip to content

Commit 867fb35

Browse files
authored
conversation.message(input) explanation
A better description for the input argument because is not specified either that it must be a JSON or the input text must be in a field named "text".
1 parent ab2738a commit 867fb35

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

watson_developer_cloud/conversation_v1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def message(self,
276276
Get a response to a user's input.
277277
278278
:param str workspace_id: Unique identifier of the workspace.
279-
:param InputData input: An input object that includes the input text.
279+
:param JSON input: A JSON object that includes the input text in the field 'text' (for example: {"text": "Hi!"})
280280
:param bool alternate_intents: Whether to return more than one intent. Set to `true` to return all matching intents.
281281
:param Context context: State information for the conversation. Continue a conversation by including the context object from the previous response.
282282
:param list[RuntimeEntity] entities: Include the entities from the previous response when they do not need to change and to prevent Watson from trying to identify them.

0 commit comments

Comments
 (0)