How to Select a Specific OpenAI Assistant in Trados AI Assistant? Default Assistant Always Used

Hi everyone,

I would be happy if someone could help me and point me into the right direction. Maybe I am trying something that simply isn't possible with Studio.
So, what I am trying to achieve:

I am using Trados Studio 2024 with the integrated AI Assistant to improve translations and text quality via the OpenAI API. I have set up multiple Assistants on the OpenAI platform, each tailored to my specific needs.

My Goal:
I want Trados Studio to call a specific OpenAI Assistant, rather than always using the default Assistant.

My Current Configuration:
Provider: OpenAI
Endpoint: api.openai.com/.../completions
Model: gpt-4-turbo
API Key: My personal OpenAI API key
Completion Type: Chat Completion
However, there is no option in Trados Studio AI Assistant settings to specify an assistant_id. As a result, every request defaults to OpenAI’s standard Assistant instead of my custom-trained Assistant.

What I Have Tried So Far:
Changed the API endpoint to api.openai.com/.../threads → Trados throws a connection error.
Created a dedicated API key for my desired Assistant → Trados still defaults to the standard Assistant.
Tried a system prompt workaround → didn't work.
My Question:
Is there a way to select a specific OpenAI Assistant in Trados Studio 2024, instead of always using the default one?
If not directly, is there a workaround, or could this be achieved through a script or plugin?

Looking forward to your insights and solutions!

Thanks in advance!

emoji
  • "Probability score": 0.7

    "Question improvement suggestion": Please provide more information about the error message you received when you changed the API endpoint. Also, it would be helpful if you could share the steps you took for the system prompt workaround.

    In the meantime, based on the information you have provided, here is a suggested answer to your question:

    Hello,

    From your description, it seems you are trying to use a specific OpenAI Assistant with Trados Studio 2024. Currently, Trados Studio's AI Assistant does not support the selection of a specific OpenAI Assistant. It defaults to the standard Assistant provided by OpenAI.

    The AI Assistant in Trados Studio 2024 uses a Large Language Model as a translation provider and adds editing prompts. It also uses your termbase for terminology-aware translation results. However, the ability to specify an assistant_id is not currently available in the Trados Studio AI Assistant settings.

    The error you encountered when changing the API endpoint is likely because Trados Studio is not designed to connect to the threads endpoint of the OpenAI API. Similarly, creating a dedicated API key for your desired Assistant won't change the default Assistant used by Trados Studio.

    As for a workaround, it's not clear what you tried with the system prompt. However, it's worth noting that any workaround would likely involve significant changes to how Trados Studio interacts with the OpenAI API, which may not be feasible without changes to the software itself.

    As for the possibility of achieving this through a script or plugin, it's theoretically possible. However, it would require a deep understanding of both the OpenAI API and Trados Studio's plugin architecture. It's also worth noting that such a script or plugin could potentially violate the terms of service of either OpenAI or Trados Studio, so it's important to check with both companies before proceeding.

    In conclusion, while it's understandable that you'd want to use a specific OpenAI Assistant with Trados Studio, it's currently not possible with the existing software. It may be worth reaching out to Trados Studio's development team to suggest this as a feature for future versions of the software.

    I hope this answer addressed your question. If not, please reject the answer, add the question improvement suggestion information, and click the RWS Community AI checkbox on the right to try again.

    RWS Community AI

    emoji