Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
712:configure_stages [2026/02/10 14:33] – [AI Feature Proxy Configuration: How to use HTTP proxies with AI Ressources] Prinz, Patrick712:configure_stages [2026/02/13 14:11] (current) Prinz, Patrick
Line 523: Line 523:
             <cg-property name="isEmbeddingModel" value="true"/>             <cg-property name="isEmbeddingModel" value="true"/>
         </cg-host>         </cg-host>
 +    </cg-type>
 +</cg>
 +</code>
 +
 +AI translate feature configuration:
 +
 +**Version**
 +
 +The API of the AI Translator has the version 3.0 and will be set like following: <cg-property name="version" value="3.0"/>
 +
 +**Request Type**
 +
 +The request type differs depending on the type of connection you’re using to the service.
 +
 +__For globally accessible services the configuration is:__ ''<cg-property name="request_type" value="translate"/>''
 +
 +__For virtual network access (mind the v in front of 3.0):__ ''<cg-property name="request_type" value="translator/text/v3.0/translate"/>''
 +
 +**Region**
 +
 +The region is an optional header. If the region property is not set, the translate service requests a translation from the closest available data centre. As we provide our services in Europe and USA only, there are just a few possible combinations for our configuration. ''<cg-property name="region" value="eastus"/>''
 +
 +<code ->
 +<cg>
 +    <cg-type name="other_systems_go_here">
     </cg-type>     </cg-type>
     <cg-type name="microsoftTranslateService">     <cg-type name="microsoftTranslateService">
Line 531: Line 556:
             <cg-property name="version" value="3.0"/>             <cg-property name="version" value="3.0"/>
             <cg-property name="request_type" value="translate"/>             <cg-property name="request_type" value="translate"/>
 +            <!-- if using a virtual network configuration the request type has to be like following -->
 +            <!-- <cg-property name="request_type" value="translator/text/v3.0/translate"/> -->
         </cg-host>         </cg-host>
     </cg-type>     </cg-type>
Line 582: Line 609:
 <code -> <code ->
 <cg-host ident="chatModel" url="${ai.model.url}" displayName="dummy_display_name"> <cg-host ident="chatModel" url="${ai.model.url}" displayName="dummy_display_name">
-  <cg-property name="user" value="${ai.security.user}"/> +  <cg-property name="user" ../> 
-  <cg-property name="key" value="${ai.model.key}"/> +  <cg-property name="key" .../> 
-  <cg-property name="deployment_name" value="gpt-4o"/>+  <cg-property name="deployment_name" ... /> 
 +  
   <cg-property name="proxy" value="<proxy_ident>" />   <cg-property name="proxy" value="<proxy_ident>" />
 <cg-host/> <cg-host/>