Spaces:
Sleeping
Sleeping
File size: 3,097 Bytes
76aa573 f5f591a 76aa573 49655be 7528ee2 76aa573 dff029f 76aa573 7528ee2 f5f591a 9ec3492 f5f591a 7528ee2 dff029f 49655be 8346afa 5c443a3 dff029f 5c443a3 dff029f 7528ee2 49655be 7528ee2 dff029f b3b929b 7528ee2 c587d34 b3b929b 5c443a3 b3b929b 5c443a3 7f568ce 5c443a3 e2c922c 8a4e30b 5c443a3 b3b929b 76aa573 dff029f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
import gradio as gr
from datetime import datetime
from src.ui import sidebar_ui, dashboard_ui
from src.ui.session import session_state
custom_theme = gr.themes.Base(
primary_hue="blue",
secondary_hue="green",
neutral_hue="gray",
font=[gr.themes.GoogleFont("Open Sans"), "sans-serif"],
)
STATE = {
"running": False,
"date": datetime.now(),
"part_id": 0,
"cycle": 0,
"chat": [],
"status": {},
"data": {},
}
with gr.Blocks(theme=custom_theme) as demo:
# HEADER
gr.Markdown("# Efficiency Agent ⚡️️")
gr.Markdown("### *Efficiency Across Industries*")
gr.Markdown(
"""
This is a demo of an AI agent designed to assist industries and service providers in understanding and interpreting their operational metrics. The agent has access to real-time telemetry data that measures quality, downtime, and operational performance.
"""
)
state = gr.State(STATE)
# CHAT INTERFACE
sidebar_ui(state, width=700, visible=True)
# DASHBOARD
with gr.Tab("Dashboard"):
session_state(state)
dashboard_ui(state)
# DESCRIPTION
with gr.Tab("Readme"):
gr.Markdown(
"""
## Design
The agent is implemented using **Mistral AI** via the `mistral-medium-2505` LLM. Its capabilities have been enhanced with a chain-of-thought reasoning process, allowing it to `think`, `act`, `observe`, and `respond` effectively to user queries. The agent is presented through a **Gradio interface**, which is well-suited for both real-time visualization and LLM interaction.
[See video overview](https://drive.google.com/file/d/1qa7wDxZWQlmktBauNlP8QxYFYG6he_3D/view?usp=share_link)
---
## Purposes
I took inspiration from my experience in the manufacturing industry, where understanding operational metrics is crucial for efficiency. More specifically, gaining precise insights from over 30 real-time telemetry metrics is a game changer, allowing teams to focus on critical areas for improvement and optimization.
Also, as the know-how is embedded in the agent, the risk of knowledge loss is minimized, ensuring that valuable insights are retained and can be shared across the organization. Of course, this type of agent can be quickly adapted to various industry and service use cases such as manufacturing, cloud services, logistics, healthcare, and more.
---
## Personal Quote
I believe that continuous improvement and efficiency are key to success in any industry. Two years ago, I made a career shift from manufacturing to data science with a specific goal in mind: to leverage AI for operational excellence across various industries.
Today, I'm looking for opportunities to apply my expertise in AI, coupled with my passion for technology and operational excellence. Looking for a collaborator? I’d love to connect and see how we can create something great together!
[Send Mail](mailto:mriusero@icloud.com)
"""
)
if __name__ == "__main__":
demo.launch() |