Skip to content

Commit baa827b

Browse files
committed
add ui doc.
1 parent 69c2d89 commit baa827b

4 files changed

Lines changed: 27 additions & 0 deletions

File tree

FinanceAgent/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,3 +128,18 @@ Supervisor ReAct Agent Multi turn:
128128
python3 $WORKDIR/GenAIExamples/FinanceAgent/tests/test.py --agent_role "supervisor" --ext_port $agent_port --multi-turn --stream
129129

130130
```
131+
132+
## How to interact with the agent system with UI
133+
134+
The UI microservice is launched in the previous step with the other microservices.
135+
To see the UI, open a web browser to `http://${ip_address}:5175` to access the UI. Note the `ip_address` here is the host IP of the UI microservice.
136+
137+
1. `create Admin Account` with a random value
138+
139+
2. use an opea agent endpoint, for example, the `Research Agent` endpoint `http://$ip_address:9096/v1`, which is a openai compatible api
140+
141+
![opea-agent-setting](assets/opea-agent-setting.png)
142+
143+
3. test opea agent with ui
144+
145+
![opea-agent-test](assets/opea-agent-test.png)
115 KB
Loading
378 KB
Loading

FinanceAgent/docker_compose/intel/hpu/gaudi/compose.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,3 +119,15 @@ services:
119119
MAX_TOTAL_TOKENS: ${MAX_TOTAL_TOKENS}
120120
DocSum_COMPONENT_NAME: ${DocSum_COMPONENT_NAME:-OpeaDocSumvLLM}
121121
restart: unless-stopped
122+
123+
agent-ui:
124+
image: opea/agent-ui:latest
125+
container_name: agent-ui
126+
environment:
127+
host_ip: ${host_ip}
128+
no_proxy: ${no_proxy}
129+
http_proxy: ${http_proxy}
130+
https_proxy: ${https_proxy}
131+
ports:
132+
- "5175:8080"
133+
ipc: host

0 commit comments

Comments
 (0)