Skip to content

Commit

Permalink
Fixing external link formats
Browse files Browse the repository at this point in the history
  • Loading branch information
michelle-miller committed Oct 24, 2019
1 parent ac2d6fb commit 8501933
Show file tree
Hide file tree
Showing 42 changed files with 225 additions and 194 deletions.
4 changes: 2 additions & 2 deletions accessibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ lastupdated: "2019-06-11"

subcollection: assistant


---

{:shortdesc: .shortdesc}
{:new_window: target="_blank"}
{:external: target="_blank" .external}
{:deprecated: .deprecated}
{:important: .important}
{:note: .note}
Expand Down Expand Up @@ -42,4 +42,4 @@ The accessibility features in this product documentation allow users to do the f
- Use screen magnifiers to magnify what is displayed on the screen.
- Operate specific or equivalent features by using only the keyboard.

The documentation content is published in the IBM Cloud Docs site. For information about the accessibility of the site, see [Accessibility features for IBM Cloud](/docs/overview/accessibility?topic=overview-accessibility-platform).
The documentation content is published in the IBM Cloud Docs site. For information about the accessibility of the site, see [Accessibility features for IBM Cloud](/docs/overview/accessibility?topic=overview-accessibility-platform)(: external).
5 changes: 3 additions & 2 deletions api-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ subcollection: assistant
{:python: #python .ph data-hd-programlang='python'}
{:swift: data-hd-programlang='swift'}
{:new_window: target="_blank"}
{:external: target="_blank" .external}
{:shortdesc: .shortdesc}
{:screen: .screen}
{:pre: .pre}
Expand Down Expand Up @@ -260,7 +261,7 @@ Paste the example code into a file named `AssistantSimpleExample.java`. You can
**Note:** Make sure you have installed the Watson SDK for Python using `pip install --upgrade ibm-watson` or `easy_install --upgrade ibm-watson`.
{: python}

**Note:** Make sure you have installed the [Watson SDK for Java ![External link icon](../../icons/launch-glyph.svg "External link icon")](https://github.com/watson-developer-cloud/java-sdk/blob/master/README.md){: new_window}.
**Note:** Make sure you have installed the [Watson SDK for Java](https://github.com/watson-developer-cloud/java-sdk/blob/master/README.md){: external}.
{: java}

Assuming everything works as expected, the assistant returns the output from the dialog, which is then printed to the console:
Expand Down Expand Up @@ -847,4 +848,4 @@ Using the v2 API is the recommended way to build a runtime client application th

Note that if your app uses the v1 API, it communicates directly with the workspace, bypassing the orchestration and state-management capabilities of the assistant. This means that your application is responsible for managing state information using the context. Your application must maintain the context by saving the context received with each response and sending it back to the service with each new message request. (The v1 `/message` method always returns the context with each response.)

For more information about the v1 `/message` method and context, see the [v1 API Reference ![External link icon](../../icons/launch-glyph.svg "External link icon")](https://cloud.ibm.com/apidocs/assistant-v1#get-response-to-user-input){: new_window}.
For more information about the v1 `/message` method and context, see the [v1 API Reference](https://cloud.ibm.com/apidocs/assistant/assistant-v1#get-response-to-user-input){: external}.
3 changes: 2 additions & 1 deletion api-context.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ subcollection: assistant
{:python: #python .ph data-hd-programlang='python'}
{:swift: data-hd-programlang='swift'}
{:new_window: target="_blank"}
{:external: target="_blank" .external}
{:shortdesc: .shortdesc}
{:screen: .screen}
{:pre: .pre}
Expand Down Expand Up @@ -192,4 +193,4 @@ The output from this request includes not only the usual output, but also the co
}
```

For detailed information about how to access context variables using the API, see the [v2 API Reference ![External link icon](../../icons/launch-glyph.svg "External link icon")](https://{DomainName}/apidocs/assistant-v2#send-user-input-to-assistant){: new_window}.)
For detailed information about how to access context variables using the API, see the [v2 API Reference](https://{DomainName}/apidocs/assistant/assistant-v2#send-user-input-to-assistant){: external}.)
3 changes: 2 additions & 1 deletion api-dialog-responses.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ subcollection: assistant

{:shortdesc: .shortdesc}
{:new_window: target="_blank"}
{:external: target="_blank" .external}
{:deprecated: .deprecated}
{:important: .important}
{:note: .note}
Expand Down Expand Up @@ -59,7 +60,7 @@ It is the reponsibility of your client application to handle all response types
## Response types
{: #api-dialog-responses-types}

Each element of a response is of one of the supported response types (currently `image`, `option`, `pause`, `text`, and `suggestion`). Each response type is specified using a different set of JSON properties, so the properties included for each response will vary depending upon response type. For complete information about the response model of the `/message` API, see the [API Reference ![External link icon](../../icons/launch-glyph.svg "External link icon")](https://{DomainName}/apidocs/assistant-v2#send-user-input-to-assistant){: new_window}.)
Each element of a response is of one of the supported response types (currently `image`, `option`, `pause`, `text`, and `suggestion`). Each response type is specified using a different set of JSON properties, so the properties included for each response will vary depending upon response type. For complete information about the response model of the `/message` API, see the [API Reference](https://{DomainName}/apidocs/assistant/assistant-v2#send-user-input-to-assistant){: external}.)

This section describes the available response types and how they are represented in the `/message` API response JSON. (If you are using the Watson SDK, you can use the interfaces provided for your language to access the same objects.)

Expand Down
Loading

0 comments on commit 8501933

Please sign in to comment.