Integrating Web Author with AI Positron Assistant Enterprise
The Oxygen XML Web Author server can include an Oxygen AI Positron Assistant Enterprise for Web Author plugin that provides the ability to use a specific AI engine (OpenAI, Microsoft Azure OpenAI, or Anthropic Claude) for chat purposes or to run useful predefined actions.
You can download the plugin from here: Web Author AI Positron Assistant Plugin Download. Then you can install the plugin in the Web Author or Content Fusion server.
- If you are an integrator using the Web Author Component in your own solution, you need to contact us to discuss the plugin's availability and licensing.
-
The AI Positron Assistant Enterprise side view appears in the UI only if it is properly licensed and configured by an administrator.
The connection details to the AI engine can be configured by following the steps below.
Configuring the Oxygen AI Positron Assistant Enterprise for Web Author Plugin
- Go to your Administration Page.
- Select Plugins.
-
Click the Configure icon next to the Oxygen AI Positron Assistant Enterprise for Web Author plugin to open the Plugin configuration dialog box.
-
In the AI Service tab, specify the connector and configure the necessary details:
- AI Connector
- Specifies the connector type: OpenAI, Microsoft Azure OpenAI or Anthropic Claude.
OpenAI:
If OpenAI is chosen as the connector type, the following settings are available:
- Address
- The web address of the OpenAI service. By default:
https://api.openai.com
. - API key
- The OpenAI API key necessary to work with the connector.
- Organization ID
- For users who belong to multiple organizations, they can specify which organization is used for an API request. Usage from these API requests will count as usage for the specified organization.
- Default model
- The default model is used for the chat view and for actions that do not explicitly specify a model.
- Enable text moderation
- This setting applies moderation (checks whether content complies with OpenAI's usage
policies) to both the input text sent to the AI service and the response received from
the AI service. It is enabled by default.Tip:
By default, when executing an action using the OpenAI connector, three requests are made:
- A moderation on input content request to
configured_web_address/v1/moderations
. - A completion request to
configured_web_address/v1/chat/completions
. -
A moderation on content returned by AI to
configured_web_address/v1/moderations
.If your AI service does not require moderation (for example, moderation is already made by chat/completions endpoint) you can disable it by unchecking this checkbox.
- A moderation on input content request to
MS Azure OpenAI:
If Microsoft Azure OpenAI is chosen as the connector type, the following settings are available:
- Endpoint
- The web address where the connector service is located. This value can be found in the
Keys & Endpoint section when examining your resource from the Azure
portal. For example:
https://your-company-name.openai.azure.com/
. - Deployment
- The deployment name that was chosen when the model was deployed in Microsoft Azure.
- API key
- The Microsoft Azure OpenAI Service key necessary to work with the connector.
- Vision-specific Settings
- Vision-specific settings are only used when images are attached in the Chat
panel or sent to the AI engine with specific actions (e.g. Generate Documentation
Draft).
- Vision - Endpoint
- Optional Azure AI deployment endpoint that can analyze images using
Vision. This setting specifies the web address where the connector
service is located. This value can be found in the Keys & Endpoint
section when examining your resource from the Azure portal. For example:
https://your-company-name.openai.azure.com/
. - Vision - Deployment
- Optional deployment name that was chosen when the Vision model was deployed in Microsoft Azure.
- Vision - API key
- Optional Microsoft Azure OpenAI Service for the endpoint that can analyze images using Vision.
Anthropic Claude:
If Anthropic Claude is chosen as the connector type, the following settings are available:
- Endpoint
- The web address where the connector service is located. By default, it is
https://api.anthropic.com/
. - API key
- The Anthropic Claude API key necessary to work with the connector.
- Model
- The Anthropic Claude model to use. By default, it is
claude-3-opus-20240229
.
- Optionally, you can configure a context and additional actions in the
Preferences tab:
- Context
- The context provides useful information about the user to the AI and is used in each action and chat request to create more relevant and personalized responses.
- Actions
-
- Load default actions
- Specifies if default actions are loaded.
- Additional actions
- You can use this option to specify a zip file that contains the additional actions configured in JSON files. Use the Upload actions button to upload the specified zip file. If a file has already been uploaded, it will be replaced with the new one. You can use the Remove actions button to remove the currently uploaded additional actions.
- Actions filter
- You can deselect any of the actions that you do not want presented in the list of available actions. Then, click the Apply button to save your changes.
- Click Apply.
Function Calls
Within the definition of custom actions, you can reference existing functions that are called by the AI engine to interact with the application. This gives actions more context information and generates more accurate responses from the AI.
The current available function reference values are:
get_current_document_plain_text_content
- Retrieves all plain text (e.g. without markup) from the current document open in the editor.get_current_document_marked_up_content
- Retrieves all text with markup from the current document open in the editor.get_content_around_caret
- Retrieves size-limited content around the current cursor location within the document open in the editor.
Also, in new chat sessions, the AI has access to content around the cursor location within the document open in the editor.