<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Aura – </title>
    <link>/docs/atria/technical-operation/</link>
    <description>Recent content on Aura</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    
	  <atom:link href="/docs/atria/technical-operation/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Docs: </title>
      <link>/docs/atria/technical-operation/nlpaas-operational-flow/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/atria/technical-operation/nlpaas-operational-flow/</guid>
      <description>
        
        
        &lt;h1 id=&#34;nlp-as-a-service-operational-workflow&#34;&gt;NLP as a Service operational workflow&lt;/h1&gt;


&lt;div class=&#34;pageinfo pageinfo-primary&#34;&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;ATRIA&lt;/strong&gt;&lt;/em&gt; technical operational flow corresponding to the operation of the &lt;a href=&#34;../../../docs/atria/capabilities/nlp-aas/nlp-apps/&#34;&gt;NLP as a Service capability&lt;/a&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;h2 id=&#34;operational-flowchart&#34;&gt;Operational flowchart&lt;/h2&gt;
&lt;p&gt;The sequence diagram of the process executed by the NLP Apps capability is shown below:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code class=&#34;language-plantuml&#34; data-lang=&#34;plantuml&#34;&gt;@startuml
title NLP resolution API diagram
participant Application
participant Kernel #1add4d
participant AuraGatewayApi #76bbe7
Application -&amp;gt; Kernel: Create two-legged token with scope aura-ai-services:nlp-messaging:write
Note right of Kernel: this token needs refreshing
Kernel -&amp;gt; Application: Response two-legged token
Application -&amp;gt; Kernel: Request to aura-aiservices/nlp/query with token
Kernel -&amp;gt; AuraGatewayApi: Request to aiservices/nlp/query with token-info header
AuraGatewayApi -&amp;gt; AuraGatewayApi: Validate request
AuraGatewayApi -&amp;gt; AuraNLPApp: Request recognition
AuraGatewayApi -&amp;gt; AuraGatewayApi: generate response
AuraGatewayApi -&amp;gt; Kernel: response 200 and message
Kernel -&amp;gt; Application: response 200 and message
@enduml
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;br&gt;&lt;br&gt;
&lt;i&gt;NLP Apps operational sequence diagram&lt;/i&gt;&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Docs: </title>
      <link>/docs/atria/technical-operation/agent-operational-flow/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/atria/technical-operation/agent-operational-flow/</guid>
      <description>
        
        
        &lt;h1 id=&#34;agent-ai-operational-workflow&#34;&gt;Agent AI operational workflow&lt;/h1&gt;


&lt;div class=&#34;pageinfo pageinfo-primary&#34;&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;ATRIA&lt;/strong&gt;&lt;/em&gt; technical operational flow corresponding to the operation of the Agents AI capability&lt;/p&gt;

&lt;/div&gt;

&lt;h2 id=&#34;operational-flowchart&#34;&gt;Operational flowchart&lt;/h2&gt;
&lt;p&gt;The sequence diagram of the process executed by the agents AI capability is shown below:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code class=&#34;language-plantuml&#34; data-lang=&#34;plantuml&#34;&gt;@startuml
title Agent API diagram
participant Application
participant Kernel #1add4d
participant AuraGatewayApi #76bbe7
participant AgentsManager #0796f5
participant MongoDeviceRecommender #11f5cf
participant AtriaModelGateway #f58e11
participant AzureOpenAI #9476e7
Application -&amp;gt; Kernel: Create two-legged token with scope aura-ai-services:agents-messaging:write
Note right of Kernel: this token needs refreshing
Kernel -&amp;gt; Application: Response two-legged token
Application -&amp;gt; Kernel: Request to aura-aiservices/agents/messages with token and correlatorId (x-correlator)
Kernel -&amp;gt; AuraGatewayApi: Request to aiservices/agents/messages with token-info header and correlatorId
AuraGatewayApi -&amp;gt; AuraGatewayApi: Validate request
AuraGatewayApi -&amp;gt; AgentsManager: Send Request to an agent
AgentsManager -&amp;gt; AgentsManager: Check if the context exists &amp;amp;&amp;amp; retrieves it
AgentsManager -&amp;gt; AgentsManager: routing to the agents
AgentsManager -&amp;gt; MongoDeviceRecommender: Send Request to an agent with the context
MongoDeviceRecommender -&amp;gt; MongoDeviceRecommender: process the Request
group Agents process
  loop XX times
    MongoDeviceRecommender -&amp;gt; AtriaModelGateway: Send prompt to atria-model-gateway
    AtriaModelGateway -&amp;gt; AzureOpenAI: Send Request to ChatCompletation endpoint
    AzureOpenAI --&amp;gt; AtriaModelGateway: Response from AzureOpenAI
    AtriaModelGateway -&amp;gt; MongoDeviceRecommender: Response prompt
    MongoDeviceRecommender -&amp;gt; MongoDeviceRecommender: Analyze the response
  end
end
MongoDeviceRecommender -&amp;gt; AgentsManager: response 200 and message
AgentsManager -&amp;gt; AgentsManager: Store the context
AgentsManager --&amp;gt; AuraGatewayApi: response 200 and message
AuraGatewayApi -&amp;gt; AuraGatewayApi: process response
AuraGatewayApi -&amp;gt; AuraGatewayApi: generate response
AuraGatewayApi -&amp;gt; Kernel: response 200 and message
Kernel -&amp;gt; Application: response 200 and message
@enduml
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;br&gt;&lt;br&gt;&lt;/p&gt;
  &lt;figcaption&gt;&lt;i&gt;Agents AI operational sequence diagram&lt;/i&gt;&lt;/figcaption&gt;

      </description>
    </item>
    
    <item>
      <title>Docs: </title>
      <link>/docs/atria/technical-operation/generative-ai-operational-flow/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/atria/technical-operation/generative-ai-operational-flow/</guid>
      <description>
        
        
        &lt;h1 id=&#34;generative-ai-operational-workflow&#34;&gt;Generative AI operational workflow&lt;/h1&gt;


&lt;div class=&#34;pageinfo pageinfo-primary&#34;&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;ATRIA&lt;/strong&gt;&lt;/em&gt; technical operational flow corresponding to the operation of the &lt;a href=&#34;../../../docs/atria/capabilities/llm-experiences-builder/generative-ai/&#34;&gt;Generative AI capability&lt;/a&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;h2 id=&#34;operational-flowchart&#34;&gt;Operational flowchart&lt;/h2&gt;
&lt;p&gt;The sequence diagram of the process executed by the Generative AI capability is shown below:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code class=&#34;language-plantuml&#34; data-lang=&#34;plantuml&#34;&gt;@startuml
title Generative API diagram
participant Application
participant Kernel #1add4d
participant AuraGatewayApi #76bbe7
participant AtriaModelGateway #f58e11
participant AzureOpenAI #9476e7
Application -&amp;gt; Kernel: Create two-legged token with scope aura-aiservices:messaging:write
Note right of Kernel: this token needs refreshing
Kernel -&amp;gt; Application: Response two-legged token
Application -&amp;gt; Kernel: Request to aura-aiservices/generative/prompts with token and correlatorId (x-correlator)
Kernel -&amp;gt; AuraGatewayApi: Request to aiservices/generative/prompts with token-info header and correlatorId
AuraGatewayApi -&amp;gt; AuraGatewayApi: Validate request
AuraGatewayApi -&amp;gt; AuraGatewayApi: Generate prompt
AuraGatewayApi -&amp;gt; AtriaModelGateway: Send prompt to atria-model-gateway
AtriaModelGateway -&amp;gt; AzureOpenAI: Send Request to ChatCompletation endpoint
AzureOpenAI --&amp;gt; AtriaModelGateway: Response from AzureOpenAI
AtriaModelGateway -&amp;gt; AuraGatewayApi: Response prompt
AuraGatewayApi -&amp;gt; AuraGatewayApi: process atria-model-gateway response
AuraGatewayApi -&amp;gt; AuraGatewayApi: generate response
AuraGatewayApi -&amp;gt; Kernel: response 200 and message with session_id
Kernel -&amp;gt; Application: response 200 and message with session_id
@enduml
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;br&gt;&lt;br&gt;&lt;/p&gt;
  &lt;figcaption&gt;&lt;i&gt;Generative AI operational sequence diagram&lt;/i&gt;&lt;/figcaption&gt;

      </description>
    </item>
    
    <item>
      <title>Docs: </title>
      <link>/docs/atria/technical-operation/general-rag-operational-flow/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/atria/technical-operation/general-rag-operational-flow/</guid>
      <description>
        
        
        &lt;h1 id=&#34;atria-general-rag-operational-workflow&#34;&gt;ATRIA General RAG operational workflow&lt;/h1&gt;


&lt;div class=&#34;pageinfo pageinfo-primary&#34;&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;ATRIA&lt;/strong&gt;&lt;/em&gt; technical operational flow corresponding to the operation of the &lt;a href=&#34;../../../docs/atria/capabilities/llm-experiences-builder/rag/&#34;&gt;RAG capability&lt;/a&gt;, specifically to the so-named &lt;a href=&#34;../../../docs/atria/capabilities/llm-experiences-builder/rag/general-rag/&#34;&gt;General RAG&lt;/a&gt; predefined chain.&lt;/p&gt;

&lt;/div&gt;

&lt;h2 id=&#34;flow-diagram&#34;&gt;Flow diagram&lt;/h2&gt;
&lt;p&gt;&lt;i class=&#34;fa-solid fa-circle-info fa-xl&#34; style=&#34;color: #3267c3;&#34;&gt;&lt;/i&gt; Calls to the &lt;em&gt;&lt;strong&gt;atria-rag-server&lt;/strong&gt;&lt;/em&gt; component (AtriaRAG in the sequence diagram) executes the predefined RAG chain &lt;em&gt;&lt;strong&gt;General RAG&lt;/strong&gt;&lt;/em&gt;.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code class=&#34;language-plantuml&#34; data-lang=&#34;plantuml&#34;&gt;
@startuml
title RAG API diagram
participant Application
participant Kernel #1add4d
participant AuraGatewayApi #76bbe7
participant AtriaModelGateway #f58e11
participant AtriaRAG #f5de11
participant AzureOpenAI #9476e7

Application -&amp;gt; Kernel: Create two-legged token with scope aura-aiservices:messaging:write
Note right of Kernel: this token needs refreshing
Kernel -&amp;gt; Application: Response two-legged token
Application -&amp;gt; Kernel: Request to aura-aiservices/generative/prompts with token and correlatorId (x-correlator)
Kernel -&amp;gt; AuraGatewayApi: Request to aiservices/generative/prompts with token-info header and correlatorId
AuraGatewayApi -&amp;gt; AuraGatewayApi: Validate request
AuraGatewayApi -&amp;gt; AuraGatewayApi: Generate prompt
AuraGatewayApi -&amp;gt; AtriaModelGateway: Send prompt to atria-model-gateway
activate AtriaModelGateway
AtriaModelGateway -&amp;gt; AtriaRAG: 1.0: Enrich request 
activate AtriaRAG
AtriaRAG -&amp;gt; AtriaRAG: securityStg

opt translateStg.enabled == true
    AtriaRAG -&amp;gt; AtriaRAG: 1.1: Translate user query 
    AtriaRAG -&amp;gt; AtriaModelGateway: Send request to LLM 
    AtriaModelGateway -&amp;gt; AzureOpenAI: Send Request to ChatCompletation endpoint
    AzureOpenAI --&amp;gt; AtriaModelGateway: Response from AzureOpenAI
    AtriaModelGateway --&amp;gt; AtriaRAG: LLM response with translated query
end
opt cleanStg.enabled == true
    AtriaRAG -&amp;gt; AtriaRAG: 1.2: Clean the user query 
    AtriaRAG -&amp;gt; AtriaModelGateway: Send request to LLM 
    AtriaModelGateway -&amp;gt; AzureOpenAI: Send Request to ChatCompletation endpoint
    AzureOpenAI --&amp;gt; AtriaModelGateway: Response from AzureOpenAI
    AtriaModelGateway --&amp;gt; AtriaRAG: LLM response with new cleaned query

end
opt contextStg.enable == true
    alt Ask LLM
        AtriaRAG -&amp;gt; AtriaModelGateway: 1.3: Request LLM to validate the conversational context
        AtriaModelGateway -&amp;gt; AzureOpenAI: Send Request to ChatCompletation endpoint
        AzureOpenAI --&amp;gt; AtriaModelGateway: Response from AzureOpenAI
        AtriaModelGateway --&amp;gt; AtriaRAG: LLM response [SAME CONTEXT] or [DIFFERENT CONTEXT]
        AtriaRAG -&amp;gt; AtriaRAG: Recreate Query
    end
    alt Recreate Query 
        AtriaRAG -&amp;gt; AtriaModelGateway: 1.4: Call LLM to generate new question 
        AtriaModelGateway -&amp;gt; AzureOpenAI: Send Request to ChatCompletation endpoint
        AzureOpenAI --&amp;gt; AtriaModelGateway: Response from AzureOpenAI
        AtriaModelGateway --&amp;gt; AtriaRAG: Response with new question
    end
end

AtriaRAG -&amp;gt; AtriaRAG: retrievalStg

opt postFilteringStg.enable == true
    AtriaRAG -&amp;gt; AtriaRAG: Post Filtering 
    note right: Batch request
    AtriaRAG -&amp;gt; AtriaModelGateway: 1.5: Request LLM for each chunk 
    AtriaModelGateway -&amp;gt; AzureOpenAI: Send Request to ChatCompletation endpoint
    AzureOpenAI --&amp;gt; AtriaModelGateway: Response from AzureOpenAI
    AtriaModelGateway --&amp;gt; AtriaRAG: LLM response [RELEVANT] or [IGNORABLE]
end

AtriaRAG -&amp;gt; AtriaModelGateway: 1.6: Request LLM generativeStg 
AtriaModelGateway -&amp;gt; AzureOpenAI: Send Request to ChatCompletation endpoint
AzureOpenAI --&amp;gt; AtriaModelGateway: Response from AzureOpenAI 
AtriaModelGateway --&amp;gt; AtriaRAG: LLM response
AtriaRAG --&amp;gt; AtriaModelGateway: 2: Final response 
deactivate AtriaRAG
deactivate AtriaModelGateway

AtriaModelGateway -&amp;gt; AuraGatewayApi: Response Model Gateway
AuraGatewayApi -&amp;gt; AuraGatewayApi: process atria-model-gateway response
AuraGatewayApi -&amp;gt; AuraGatewayApi: generate response
AuraGatewayApi -&amp;gt; Kernel: response 200 and message with session_id
Kernel -&amp;gt; Application: response 200 and message with session_id

@enduml
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Docs: </title>
      <link>/docs/atria/technical-operation/germany-rag-operational-flow/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/atria/technical-operation/germany-rag-operational-flow/</guid>
      <description>
        
        
        &lt;h1 id=&#34;germany-atria-general-rag-operational-workflow&#34;&gt;Germany ATRIA General RAG operational workflow&lt;/h1&gt;


&lt;div class=&#34;pageinfo pageinfo-primary&#34;&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;ATRIA&lt;/strong&gt;&lt;/em&gt; technical operational flow corresponding to the operation of the &lt;a href=&#34;../../../docs/atria/capabilities/llm-experiences-builder/rag/&#34;&gt;RAG capability&lt;/a&gt;, specifically to the so-named &lt;a href=&#34;../../../docs/atria/capabilities/llm-experiences-builder/rag/general-rag/&#34;&gt;General RAG&lt;/a&gt; predefined chain, for one OB: Germany.&lt;/p&gt;

&lt;/div&gt;

&lt;h2 id=&#34;flow-diagram&#34;&gt;Flow diagram&lt;/h2&gt;
&lt;p&gt;&lt;i class=&#34;fa-solid fa-circle-info fa-xl&#34; style=&#34;color: #3267c3;&#34;&gt;&lt;/i&gt; Calls to the &lt;em&gt;&lt;strong&gt;atria-rag-server&lt;/strong&gt;&lt;/em&gt; component (AtriaRAG in the sequence diagram) executes the predefined RAG chain &lt;em&gt;&lt;strong&gt;General RAG&lt;/strong&gt;&lt;/em&gt;.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code class=&#34;language-plantuml&#34; data-lang=&#34;plantuml&#34;&gt;@startuml
title Germany RAG API diagram
participant Application
participant Kernel #1add4d
participant AuraGatewayApi #76bbe7
participant AtriaModelGateway #f58e11
participant AtriaRAG #f5de11
participant AzureOpenAI #9476e7

Application -&amp;gt; Kernel: Create two-legged token with scope aura-aiservices:messaging:write
Note right of Kernel: this token needs refreshing
Kernel -&amp;gt; Application: Response two-legged token
Application -&amp;gt; Kernel: Request to aura-aiservices/generative/prompts with token and correlatorId (x-correlator)
Kernel -&amp;gt; AuraGatewayApi: Request to aiservices/generative/prompts with token-info header and correlatorId
AuraGatewayApi -&amp;gt; AuraGatewayApi: Validate request
AuraGatewayApi -&amp;gt; AuraGatewayApi: Generate prompt
AuraGatewayApi -&amp;gt; AtriaModelGateway: Send prompt to atria-model-gateway
activate AtriaModelGateway
AtriaModelGateway -&amp;gt; AtriaRAG: 1.0: Enrich request 
activate AtriaRAG
AtriaRAG -&amp;gt; AtriaRAG: securityStg


    alt Ask LLM
        AtriaRAG -&amp;gt; AtriaModelGateway: 1.3: Request LLM to validate the conversational context
        AtriaModelGateway -&amp;gt; AzureOpenAI: Send Request to ChatCompletation endpoint
        AzureOpenAI --&amp;gt; AtriaModelGateway: Response from AzureOpenAI
        AtriaModelGateway --&amp;gt; AtriaRAG: LLM response [SAME CONTEXT] or [DIFFERENT CONTEXT]
        AtriaRAG -&amp;gt; AtriaRAG: Recreate Query
        AtriaRAG -&amp;gt; AtriaModelGateway: 1.4: Call LLM to generate new question 
        AtriaModelGateway -&amp;gt; AzureOpenAI: Send Request to ChatCompletation endpoint
        AzureOpenAI --&amp;gt; AtriaModelGateway: Response from AzureOpenAI
        AtriaModelGateway --&amp;gt; AtriaRAG: Response with new question
    end


AtriaRAG -&amp;gt; AtriaRAG: retrievalStg

AtriaRAG -&amp;gt; AtriaRAG: Post Filtering 
note right: Batch request
AtriaRAG -&amp;gt; AtriaModelGateway: 1.5: Request LLM for each chunk 
AtriaModelGateway -&amp;gt; AzureOpenAI: Send Request to ChatCompletation endpoint
AzureOpenAI --&amp;gt; AtriaModelGateway: Response from AzureOpenAI
AtriaModelGateway --&amp;gt; AtriaRAG: LLM response [RELEVANT] or [IGNORABLE]


AtriaRAG -&amp;gt; AtriaModelGateway: 1.6: Request LLM generativeStg 
AtriaModelGateway -&amp;gt; AzureOpenAI: Send Request to ChatCompletation endpoint
AzureOpenAI --&amp;gt; AtriaModelGateway: Response from AzureOpenAI 
AtriaModelGateway --&amp;gt; AtriaRAG: LLM response
AtriaRAG --&amp;gt; AtriaModelGateway: 2: Final response 
deactivate AtriaRAG
deactivate AtriaModelGateway

AtriaModelGateway -&amp;gt; AuraGatewayApi: Response Model Gateway
AuraGatewayApi -&amp;gt; AuraGatewayApi: process atria-model-gateway response
AuraGatewayApi -&amp;gt; AuraGatewayApi: generate response
AuraGatewayApi -&amp;gt; Kernel: response 200 and message with session_id
Kernel -&amp;gt; Application: response 200 and message with session_id

@enduml
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Docs: </title>
      <link>/docs/atria/technical-operation/ingestion-process-automation/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/atria/technical-operation/ingestion-process-automation/</guid>
      <description>
        
        
        &lt;h1 id=&#34;ingestion-process-automation&#34;&gt;Ingestion Process Automation&lt;/h1&gt;


&lt;div class=&#34;pageinfo pageinfo-primary&#34;&gt;
&lt;p&gt;Technical operational flow of RAG data processing, specifically the automation of the &lt;a href=&#34;../../../docs/atria/technical-components/atria-rag-generate-db/&#34;&gt;&lt;em&gt;&lt;strong&gt;atria-rag-generate-db&lt;/strong&gt;&lt;/em&gt;&lt;/a&gt; process&lt;/p&gt;

&lt;/div&gt;

&lt;h2 id=&#34;flow-diagram&#34;&gt;Flow diagram&lt;/h2&gt;
&lt;p&gt;&lt;i class=&#34;fa-solid fa-circle-info fa-xl&#34; style=&#34;color: #3267c3;&#34;&gt;&lt;/i&gt;Flow of calls made to launch the generate-db process.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code class=&#34;language-plantuml&#34; data-lang=&#34;plantuml&#34;&gt;@startuml
title Ingestion Process Automation Flow

&amp;#39; Define participants with themed colors and clear names
actor User

participant &amp;#34;Azure Blob Storage&amp;#34; as AzureStorage #A2C4E0
participant &amp;#34;Gateway API&amp;#34; as GatewayAPI #bfb1f2
participant &amp;#34;Config Watcher&amp;#34; as ConfigWatcher #f296ee
participant &amp;#34;Deployment API&amp;#34; as DeploymentAPI #f77cbc
participant &amp;#34;Generate DB Process&amp;#34; as GenerateDBProcess #D9EAD3


&amp;#39; === Upload Files Stage ===
User -&amp;gt; AzureStorage : Upload training files
AzureStorage --&amp;gt; User : Response 200 OK

&amp;#39; === Launch generate-db ===
User -&amp;gt; GatewayAPI : Request to /aura-services/v2/operations/data to launch ingestion process
GatewayAPI -&amp;gt; ConfigWatcher : Request to Config Watcher
ConfigWatcher -&amp;gt; GenerateDBProcess : Start generate-db process
GenerateDBProcess --&amp;gt; ConfigWatcher : Response 200 OK
ConfigWatcher --&amp;gt; GatewayAPI : Response 200 OK
GatewayAPI --&amp;gt; User : Response 200 OK


&amp;#39; === Processing Stage ===
GenerateDBProcess -&amp;gt; AzureStorage : Read training files
AzureStorage --&amp;gt; GenerateDBProcess : Response 200 OK
GenerateDBProcess -&amp;gt; GenerateDBProcess : Processing training files

&amp;#39; === Logs Querying ===
... Logging queries can occur anytime ...


User -&amp;gt; GatewayAPI : Request to /aura-services/v2/operations/data/{presetId}/logs
GatewayAPI -&amp;gt; ConfigWatcher : Request to get logs
ConfigWatcher -&amp;gt; DeploymentAPI : Response 200 OK
DeploymentAPI --&amp;gt; ConfigWatcher : Response 200 OK
ConfigWatcher --&amp;gt; GatewayAPI : Response 200 OK
GatewayAPI --&amp;gt; User : Response 200 OK

&amp;#39; === Status Query ===
... Status queries can occur anytime ...

&amp;#39; === Status process ===
User -&amp;gt; GatewayAPI : Request to /aura-services/v2/operations/data/{presetId}/status to get status
GatewayAPI -&amp;gt; ConfigWatcher : Request to get status
ConfigWatcher -&amp;gt; DeploymentAPI : Response 200 OK
DeploymentAPI --&amp;gt; ConfigWatcher : Response 200 OK
ConfigWatcher --&amp;gt; GatewayAPI : Response 200 OK
GatewayAPI --&amp;gt; User : Response 200 OK


@enduml
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Docs: </title>
      <link>/docs/atria/technical-operation/reload-config-by-redis-events/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/atria/technical-operation/reload-config-by-redis-events/</guid>
      <description>
        
        
        &lt;h1 id=&#34;reload-config-by-redis-event-in-rag-and-model-gateway&#34;&gt;Reload config by Redis event in RAG and Model Gateway&lt;/h1&gt;


&lt;div class=&#34;pageinfo pageinfo-primary&#34;&gt;
&lt;p&gt;Description of the process for updating and reloading &lt;em&gt;&lt;strong&gt;ATRIA&lt;/strong&gt;&lt;/em&gt; configuration by means of Redis events&lt;/p&gt;

&lt;/div&gt;

&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Once a preset or application &lt;a href=&#34;../../../docs/atria/technical-guidelines/configuration/modify-atria-configuration/&#34;&gt;&lt;em&gt;&lt;strong&gt;configuration&lt;/strong&gt;&lt;/em&gt;&lt;/a&gt; has been modified, a Redis &lt;a href=&#34;../../../docs/components/aura-configuration-api/use-synchronization-by-events/&#34;&gt;&lt;em&gt;&lt;strong&gt;event&lt;/strong&gt;&lt;/em&gt;&lt;/a&gt; is automatically triggered to the &lt;code&gt;PresetConfiguration&lt;/code&gt; and &lt;code&gt;ApplicationConfiguration&lt;/code&gt; channels.&lt;/p&gt;
&lt;p&gt;The components &lt;em&gt;&lt;strong&gt;atria-model-gateway&lt;/strong&gt;&lt;/em&gt; and &lt;em&gt;&lt;strong&gt;atria-rag-server&lt;/strong&gt;&lt;/em&gt; are subscribed to these channels and once an event arrives, they launch the configuration update process.&lt;/p&gt;
&lt;p&gt;This process is transparent to the user.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Docs: </title>
      <link>/docs/atria/technical-operation/feedback-operational-flow/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/atria/technical-operation/feedback-operational-flow/</guid>
      <description>
        
        
        &lt;h1 id=&#34;feedback-capability-operational-workflow&#34;&gt;Feedback capability operational workflow&lt;/h1&gt;


&lt;div class=&#34;pageinfo pageinfo-primary&#34;&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;ATRIA&lt;/strong&gt;&lt;/em&gt; technical operational flow corresponding to the operation of the &lt;a href=&#34;../../../docs/atria/capabilities/generative-feedback-functional-overview/&#34;&gt;&lt;strong&gt;feedback capability&lt;/strong&gt;&lt;/a&gt; that can be used for Generative AI and RAG capabilities&lt;/p&gt;

&lt;/div&gt;

&lt;h2 id=&#34;flow-diagram&#34;&gt;Flow diagram&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code class=&#34;language-plantuml&#34; data-lang=&#34;plantuml&#34;&gt;@startuml
title Feedback API diagram
participant Application
participant Kernel #1add4d
participant AuraGatewayApi #76bbe7
Note right of Application: The application has made a previous request to `aiservices/generative/prompts` on which it will give feedback. Use the correlatorId sending in the request and the session_id received in the response. View Generative API diagram
Application -&amp;gt; Kernel: Request to aiservices/{session_id}/feedback with token and msg_corrId: correlatorId
Kernel -&amp;gt; AuraGatewayApi: Request to aiservices/{session_id}/feedback with token-info header and msg_corrId: correlatorId
AuraGatewayApi -&amp;gt; AuraGatewayApi: Validate request
AuraGatewayApi -&amp;gt; AuraGatewayApi: Covert message to format atria-model-gateway
AuraGatewayApi -&amp;gt; AtriaModelGateway: Send feedback to atria-model-gateway
AtriaModelGateway -&amp;gt; AuraGatewayApi: Response feedback
AuraGatewayApi -&amp;gt; AuraGatewayApi: process atria-model-gateway response
AuraGatewayApi -&amp;gt; AuraGatewayApi: generate response
AuraGatewayApi -&amp;gt; Kernel: response 204
Kernel -&amp;gt; Application: response 204


@enduml
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;br&gt;&lt;br&gt;&lt;/p&gt;
&lt;figcaption&gt;&lt;i&gt;Generative feedback sequence diagram&lt;/i&gt;&lt;/figcaption&gt;
&lt;/p&gt;
&lt;h3 id=&#34;request&#34;&gt;Request&lt;/h3&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;curl --location &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;https://api.environment.baikalplatform.com/aura-aiservices/v1/{session_id}/feedback&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&lt;/span&gt;--header &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;x-correlator: &amp;lt;uuid2&amp;gt;&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&lt;/span&gt;--header &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;Content-Type: application/json&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&lt;/span&gt;--header &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;Accept: application/json&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&lt;/span&gt;--header &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;Authorization: Bearer {token}&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&lt;/span&gt;--data &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;  &amp;#34;application&amp;#34;: {    
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;    &amp;#34;name&amp;#34;: &amp;#34;app-name&amp;#34;,    
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;  },
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;  &amp;#34;value&amp;#34;: true,  
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;  &amp;#34;msg_corrId&amp;#34;: &amp;#34;{previous-x-correlator}&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;}&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
      </description>
    </item>
    
  </channel>
</rss>
