Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Creating Translation Provider Plug-ins
======
This section provides an overview of how to create a translation provider plug-in, which allows applications like Var:ProductName to interact with automated translation engines, third-party translation memory implementations or other translation engines.
This section provides an overview of how to create a translation provider plug-in, which allows applications like Var:ProductName to interact with automated translation engines, including AI-based NMT and LLM models, third-party translation memory implementations or other translation engines.

Overview
-----
Expand Down
19 changes: 18 additions & 1 deletion articles/hints_tips/AI_Companion/AICompanion.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# How to implement AI Companion
The AI Companion API facilitates LLM integration in Trados Studio for translating or reviewing documents.
The AI Assistant consists of two components: the [Translation Provider](../../../apiconcepts/translationmemory/translation_provider_plugin.md) and the AI Companion, as described here. The AI Companion API facilitates LLM integration in Trados Studio for translating or reviewing documents.

## Add the Sdl.LanguagePlatform.TranslationMemoryApi assembly to your project
You can add the `Sdl.LanguagePlatform.TranslationMemoryApi` assembly by using the following Trados Studio template in Visual Studio:
Expand All @@ -26,6 +26,23 @@ These data models are used in implementing an AI Companion plugin for Trados Stu

The data models used in communicating between an AI Companion and Trados Studio are found under the `Sdl.LanguagePlatform.TranslationMemoryApi.LiteBCM` namespace.

For easier navigation, the Lite BCM diagram was split in three separate sections.

### Structure
This section represents the top-most structure of the Lite BCM model.

<img style="display:block; " src="images/LiteBcmStructure.svg" />

### File Skeleton
This section shows what the file skeleton can contain. This section is referred by the Structure section.

<img style="display:block; " src="images/LiteBcmSkeleton.svg" />

### Markup (Content)
This section shows how markup data is represented to hold the actual content of the documents. This section is referred by the Structure section.

<img style="display:block; " src="images/LiteBcmMarkup.svg" />

## Sample Implementation
The following example illustrates a basic implementation of the [IAICompanion](../../../api/translationmemory/Sdl.LanguagePlatform.TranslationMemoryApi.AICompanion.IAICompanion.yml) interface.

Expand Down
4 changes: 4 additions & 0 deletions articles/hints_tips/AI_Companion/images/LiteBcmMarkup.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions articles/hints_tips/AI_Companion/images/LiteBcmSkeleton.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions articles/hints_tips/AI_Companion/images/LiteBcmStructure.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.