Update app.py
Browse files
app.py
CHANGED
@@ -74,11 +74,11 @@ def research_write_review_topic(query: str) -> str:
|
|
74 |
|
75 |
with gr.Blocks() as server_info:
|
76 |
gr.Markdown("""
|
77 |
-
# MCP
|
78 |
|
79 |
-
I present to you
|
80 |
|
81 |
-
RAG Tool uses GroundX service to fetch the knowledge base. The knowledge base is a document that contains information about the SU-35 aircraft, including its features, capabilities, and specifications.
|
82 |
Please check [this PDF](https://airgroup2000.com/gallery/albums/userpics/32438/SU-35_TM_eng.pdf) to formulate queries on Sukhoi.
|
83 |
|
84 |
The Research Tool is implemented using multi-agent workflow using LlamaIndex (ResearchAgent, WriteAgent, and ReviewAgent).
|
@@ -102,7 +102,7 @@ with gr.Blocks() as server_info:
|
|
102 |
- Use the MCP RAG Tool tab above to query the knowledge base.
|
103 |
- Use the Research Tool tab above to write report on any topic.
|
104 |
|
105 |
-
## Demo
|
106 |
[Link to Demo on Youtube](https://youtu.be/wvHBqW2ABGg)
|
107 |
""")
|
108 |
|
@@ -125,8 +125,8 @@ research_tool = gr.Interface(
|
|
125 |
|
126 |
named_interfaces = {
|
127 |
"Project Information": server_info,
|
128 |
-
"
|
129 |
-
"Research a Topic
|
130 |
}
|
131 |
|
132 |
# Tab names and interfaces
|
@@ -136,7 +136,7 @@ interface_list = list(named_interfaces.values())
|
|
136 |
mcp_server = gr.TabbedInterface(
|
137 |
interface_list,
|
138 |
tab_names=tab_names,
|
139 |
-
title="π MCP
|
140 |
)
|
141 |
|
142 |
# Launch the MCP Server
|
|
|
74 |
|
75 |
with gr.Blocks() as server_info:
|
76 |
gr.Markdown("""
|
77 |
+
# MCP-Powered RAG and Research Topic
|
78 |
|
79 |
+
I present to you an MCP-powered RAG and Research.
|
80 |
|
81 |
+
RAG Tool uses the GroundX service to fetch the knowledge base. The knowledge base is a document that contains information about the SU-35 aircraft, including its features, capabilities, and specifications.
|
82 |
Please check [this PDF](https://airgroup2000.com/gallery/albums/userpics/32438/SU-35_TM_eng.pdf) to formulate queries on Sukhoi.
|
83 |
|
84 |
The Research Tool is implemented using multi-agent workflow using LlamaIndex (ResearchAgent, WriteAgent, and ReviewAgent).
|
|
|
102 |
- Use the MCP RAG Tool tab above to query the knowledge base.
|
103 |
- Use the Research Tool tab above to write report on any topic.
|
104 |
|
105 |
+
## Watch the Demo Video here
|
106 |
[Link to Demo on Youtube](https://youtu.be/wvHBqW2ABGg)
|
107 |
""")
|
108 |
|
|
|
125 |
|
126 |
named_interfaces = {
|
127 |
"Project Information": server_info,
|
128 |
+
"Search Knowledge Base": mcp_rag_tool,
|
129 |
+
"Research a Topic": research_tool
|
130 |
}
|
131 |
|
132 |
# Tab names and interfaces
|
|
|
136 |
mcp_server = gr.TabbedInterface(
|
137 |
interface_list,
|
138 |
tab_names=tab_names,
|
139 |
+
title="π MCP-Powered RAG and Research Topic π"
|
140 |
)
|
141 |
|
142 |
# Launch the MCP Server
|