Spaces:
Sleeping
Sleeping
Підготовка до перенесення в приватний репозиторій
Browse files- main.py +11 -0
- requirements.txt +3 -1
- src/config/settings.py +1 -1
main.py
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from src.agent import HealthcareAgent
|
2 |
+
# Initialize agent
|
3 |
+
agent = HealthcareAgent()
|
4 |
+
|
5 |
+
# Process a query
|
6 |
+
response = agent.process(
|
7 |
+
"What is the current ER occupancy and wait time?",
|
8 |
+
thread_id="example-thread"
|
9 |
+
)
|
10 |
+
|
11 |
+
print(response)
|
requirements.txt
CHANGED
@@ -23,4 +23,6 @@ flake8>=6.1.0
|
|
23 |
|
24 |
# Documentation
|
25 |
mkdocs>=1.5.0
|
26 |
-
mkdocs-material>=9.5.0
|
|
|
|
|
|
23 |
|
24 |
# Documentation
|
25 |
mkdocs>=1.5.0
|
26 |
+
mkdocs-material>=9.5.0
|
27 |
+
|
28 |
+
streamlit
|
src/config/settings.py
CHANGED
@@ -10,7 +10,7 @@ class Settings:
|
|
10 |
|
11 |
# OpenAI Configuration
|
12 |
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
|
13 |
-
MODEL_NAME = "gpt-4o-mini
|
14 |
MODEL_TEMPERATURE = 0
|
15 |
|
16 |
# LangGraph Configuration
|
|
|
10 |
|
11 |
# OpenAI Configuration
|
12 |
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
|
13 |
+
MODEL_NAME = "gpt-4o-mini"
|
14 |
MODEL_TEMPERATURE = 0
|
15 |
|
16 |
# LangGraph Configuration
|