Skip to content

Commit 3aeabab

Browse files
louie-tsaimkbhanda
andcommitted
Update tutorial/OpenTelemetry/OpenTelemetry_OPEA_Guide.rst
Co-authored-by: Malini Bhandaru <malini.bhandaru@intel.com> Signed-off-by: Tsai, Louie <louie.tsai@intel.com>
1 parent 8c91ae7 commit 3aeabab

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

tutorial/OpenTelemetry/OpenTelemetry_OPEA_Guide.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ The Grafana UI web page can be accessed using the following URL.
9191

9292

9393
To view the pre-defined dashboards, click on the "Dashboard" tab located on the left-hand side of the Grafana UI.
94-
This will allow you to explore various dashboards that have been set up to visualize telemetry metrics effectively.
94+
This will allow you to explore the available dashboards to visualize telemetry metrics. They also serve as examples that you can customize.
9595

9696

9797
.. image:: assets/grafana_dashboard_init.png

tutorial/OpenTelemetry/deploy/AgentQnA.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ Initially, all agents in the example are set up.
1616
In the scenario below, the React Agent, SQL Agent, and RAG Agent are utilized within the AgentQnA example.
1717
![jaeger_init](../assets/agent_jaeger_init.png)
1818

19-
By expanding the React Agent, the ReactAgentNodeLama is identified as the core function implementing the ReactAgent.
19+
By expanding the React Agent, the ReactAgentNodeLlama is identified as the core function implementing the ReactAgent.
2020
![jaeger_react_init](../assets/agent_jaeger_react_init.png)
2121

22-
Following [AgentQnA validate services session](https://github.com/opea-project/GenAIExamples/tree/main/AgentQnA#validate-services) to test AgentQnA with pre-defined questions.
22+
Follow the steps in [AgentQnA validate services session](https://github.com/opea-project/GenAIExamples/tree/main/AgentQnA#validate-services) to test the AgentQnA application with some pre-defined questions.
2323
![jaeger_q](../assets/agent_questions.png)
2424

2525
Once the agents respond to the two questions, four traces will be displayed along the timeline.
@@ -37,17 +37,17 @@ Within each AgentNodeLlama __call__ function, the language model (LLM) is then e
3737
determining how to proceed based on the data obtained.
3838
![jaeger_sql](../assets/agent_jaeger_sql_spans.png)
3939

40-
For the second question, the ReActAgentNodeLlama is invoked first, following a similar process as with the first question.
40+
For the second question, the ReActAgentNodeLlama is invoked first, following a similar process follow as in the first question.
4141
The 'search_sql_database' tool is called to retrieve relevant data, and the language model (LLM) is used to reason through the subsequent steps.
4242
![jaeger_react2](../assets/agent_jaeger_react_2_spans.png)
4343

4444
Fewer reasoning steps are required to answer the second question compared to the first.
45-
By tracing these functions, it becomes easier to understand the number of reasoning steps involved across different questions.
45+
By tracing these functions, it becomes easier to understand the number of reasoning steps involved across the different questions.
4646
![jaeger_sql](../assets/agent_jaeger_sql_2_spans.png)
4747

4848
The OPEA Agent components allow for the integration of new tools into the React Agent when existing tools fail to provide answers.
49-
To demonstrate how the React Agent utilizes different tools to obtain optimal answers, a pre-defined question is modified.
50-
As a result, the React Agent is unable to find answers in both the SQL and RAG databases.
49+
We demonstrate how the React Agent utilizes different tools to obtain optimal answers by modifying a pre-defined question.
50+
The modification leaves the React Agent unable to find answers in both the SQL and RAG databases.
5151
Consequently, the React Agent must employ the newly added web search tool to address the question regarding the most streamed albums on Spotify in 2024.
5252

5353
![jaeger_q_w](../assets/agent_questions_web.png)
@@ -66,7 +66,7 @@ If the React Agent were to use other tools instead of 'search_web_base', additio
6666
![jaeger_react_1_w](../assets/agent_jaeger_react_spans_1_webq.png)
6767

6868
For the second question, the React Agent initially utilized the 'search_sql_database' tool instead of 'search_web_base'.
69-
The SQL Agent spent approximately two minutes on reasoning, as it was unable to find an answer.
69+
The SQL Agent spent approximately two minutes on reasoning, but it was unable to find an answer.
7070
After the 'search_sql_database' tool failed to provide an answer, the React Agent switched to the 'search_web_base' tool, quickly locating the answer.
7171
![jaeger_react_2_w](../assets/agent_jaeger_react_spans_2_webq.png)
7272

@@ -82,7 +82,7 @@ enabling users to effectively manage and optimize the application.
8282
### AgentQnA MicroServices Dashboard
8383

8484
This dashboard provides metrics for services within the AgentQnA microservices.
85-
By clicking the job_name, supported service names such as supervisor-react-agent, worker-rag-agent and worker-sql-agent will be showed.
85+
By clicking the job_name, supported service names such as supervisor-react-agent, worker-rag-agent and worker-sql-agent will be shown.
8686
Select one of the supported services from the list.
8787
![grafana_mega_list](../assets/agent_grafana_mega_list.png)
8888

0 commit comments

Comments
 (0)