<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Semantic Guardrails on</title><link>https://docs.protegrity.com/aiteam-edition/1.0.0/docs/ai_security/sgr/</link><description>Recent content in Semantic Guardrails on</description><generator>Hugo</generator><language>en</language><atom:link href="https://docs.protegrity.com/aiteam-edition/1.0.0/docs/ai_security/sgr/index.xml" rel="self" type="application/rss+xml"/><item><title>Prerequisites</title><link>https://docs.protegrity.com/aiteam-edition/1.0.0/docs/ai_security/sgr/prereqs/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/aiteam-edition/1.0.0/docs/ai_security/sgr/prereqs/</guid><description>&lt;p>Ensure that the following requirements are met before installing Semantic Guardrails with PPC.&lt;/p>
&lt;ul>
&lt;li>The jumpbox is registered and prepared. &lt;/br>
For more information about registering a jumpbox, refer to &lt;a href="https://docs.protegrity.com/aiteam-edition/1.0.0/docs/infrastructure/obtainingcreds/">Configuring Authentication for Protegrity AI Team Edition&lt;/a>.&lt;/li>
&lt;li>PPC is installed and accessible.&lt;/li>
&lt;li>For PII detection, Data Discovery service is installed.&lt;/li>
&lt;li>Access to relevant images is available.&lt;/li>
&lt;/ul></description></item><item><title>Installing Semantic Guardrails</title><link>https://docs.protegrity.com/aiteam-edition/1.0.0/docs/ai_security/sgr/sgr_installing/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/aiteam-edition/1.0.0/docs/ai_security/sgr/sgr_installing/</guid><description>&lt;p>This section describes the steps to install Semantic Guardrails.&lt;/p>
&lt;h2 id="1-installing-data-discovery">1. Installing Data Discovery&lt;/h2>
&lt;p>For PII detection, it is recommended to install Data Discovery services before installing Semantic Guardrails.&lt;/p>
&lt;p>For more information about installing Data Discovery service, refer to &lt;a href="https://docs.protegrity.com/aiteam-edition/1.0.0/docs/data_discovery/dd/install/">Installing Data Discovery&lt;/a>.&lt;/p>
&lt;p>To verify the Data Discovery service status, run the following command.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>kubectl get pods -n data-discovery
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="2-preparing-and-installing">2. Preparing and Installing&lt;/h2>
&lt;p>To install Semantic Guardrails, you must have access to the v1.1.1 helmchart.&lt;/p></description></item><item><title>Testing the Semantic Guardrails deployment</title><link>https://docs.protegrity.com/aiteam-edition/1.0.0/docs/ai_security/sgr/sgr_testing_deployment/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/aiteam-edition/1.0.0/docs/ai_security/sgr/sgr_testing_deployment/</guid><description>&lt;p>Perform the following steps to test the Semantic Guardrails deployment.&lt;/p>
&lt;h2 id="1-testing-semantic-guardrails-api">1. Testing Semantic Guardrails API&lt;/h2>
&lt;p>To test the Semantic Guardrails API endpoint, run the following command.&lt;/p>
&lt;blockquote>
&lt;p>&lt;strong>Note:&lt;/strong> The endpoints require authentication. For more information on creating a user with correct permissions and getting the JWT token, refer to &lt;a href="https://docs.protegrity.com/aiteam-edition/1.0.0/docs/infrastructure/infra_cli/">PPC documentation&lt;/a>.&lt;/p>&lt;/blockquote>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>GATEWAY_URL=$(kubectl get gateway pty-main -n api-gateway -o jsonpath=&amp;#39;{.status.addresses[0].value}&amp;#39;)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>USERNAME=&amp;#34;semantic_guardrails_user&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>PASSWORD=&amp;#34;Admin123!&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> 
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>YOUR_JWT_TOKEN=$(curl -sk -X POST &amp;#34;${GATEWAY_URL}/api/v1/auth/login/token&amp;#34; \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> -H &amp;#39;Content-Type: application/x-www-form-urlencoded&amp;#39; \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> -d &amp;#34;loginname=${USERNAME}&amp;amp;password=${PASSWORD}&amp;#34; \
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> -D - -o /dev/null | grep -i &amp;#39;pty_access_jwt_token&amp;#39; | awk &amp;#39;{print $2}&amp;#39; | tr -d &amp;#39;\r\n&amp;#39;)
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>The sample response appears as follows.&lt;/p></description></item><item><title>Configuring Semantic Guardrails</title><link>https://docs.protegrity.com/aiteam-edition/1.0.0/docs/ai_security/sgr/sgr_configurations/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/aiteam-edition/1.0.0/docs/ai_security/sgr/sgr_configurations/</guid><description>&lt;p>This service provides AI conversation scanning and semantic analysis capabilities for Semantic Guardrails.&lt;/p>
&lt;h2 id="api-endpoints">API Endpoints&lt;/h2>
&lt;p>This section provides an overview of the primary endpoints.&lt;/p>
&lt;table>
 &lt;thead>
 &lt;tr>
 &lt;th>Name&lt;/th>
 &lt;th>Endpoint&lt;/th>
 &lt;/tr>
 &lt;/thead>
 &lt;tbody>
 &lt;tr>
 &lt;td>Main API&lt;/td>
 &lt;td>&lt;code>/pty/semantic-guardrail/v1.1/conversations/messages/&lt;/code>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>Models API&lt;/td>
 &lt;td>&lt;code>/pty/semantic-guardrail/v1.1/domain-models/&lt;/code>&lt;/td>
 &lt;/tr>
 &lt;/tbody>
&lt;/table>
&lt;h2 id="configuration-variables">Configuration Variables&lt;/h2>
&lt;p>The &lt;code>semantic-guardrail&lt;/code> service can be configured by setting variables in the helm chart &lt;code>values.yaml&lt;/code>, or overriding them
with &lt;code>-f my.values.yaml&lt;/code>.&lt;/p>
&lt;h3 id="service-variables">Service variables&lt;/h3>
&lt;table>
 &lt;thead>
 &lt;tr>
 &lt;th>Key&lt;/th>
 &lt;th>Sub-Key&lt;/th>
 &lt;th>Description&lt;/th>
 &lt;/tr>
 &lt;/thead>
 &lt;tbody>
 &lt;tr>
 &lt;td>&lt;code>semanticGuardrailsAppConfig&lt;/code>&lt;/td>
 &lt;td>&lt;code>environment.LOG_LEVEL&lt;/code>&lt;/td>
 &lt;td>Sets the application log level, default is &lt;code>INFO&lt;/code>&lt;/td>
 &lt;/tr>
 &lt;/tbody>
&lt;/table>
&lt;h3 id="other-variables">Other variables&lt;/h3>
&lt;p>&lt;strong>Semantic Guardrails Service Configuration&lt;/strong>&lt;/p></description></item><item><title>Uninstalling Semantic Guardrails</title><link>https://docs.protegrity.com/aiteam-edition/1.0.0/docs/ai_security/sgr/sgr_uninstall/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/aiteam-edition/1.0.0/docs/ai_security/sgr/sgr_uninstall/</guid><description>&lt;p>Perform the following steps to uninstall Semantic Guardrails.&lt;/p>
&lt;h3 id="uninstalling-semantic-guardrails">Uninstalling Semantic-Guardrails&lt;/h3>
&lt;p>To uninstall &lt;code>semantic-guardrails&lt;/code>, run the following command.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>helm uninstall semantic-guardrails -n pty-semantic-guardrails
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h3 id="uninstalling-data-discovery">Uninstalling Data Discovery&lt;/h3>
&lt;p>If Data Discovery is not needed, then uninstall the Data Discovery service. &lt;!--For more information, refer to [Uninstalling Data Discovery](/docs/data_discovery/).-->&lt;/p>
&lt;p>To uninstall &lt;code>data discovery&lt;/code>, run the following command.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>helm uninstall data-discovery -n data-discovery
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item></channel></rss>