Skip to content

Commit cce9031

Browse files
committed
minor readme changes
Signed-off-by: Mustafa <[email protected]>
1 parent ea35bed commit cce9031

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

FinanceAgent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The user interacts with the supervisor agent through the graphical UI. The super
3636

3737
![Finance Agent Architecture](assets/finance_agent_arch.png)
3838

39-
### OPEA Microservices Diagram
39+
### OPEA Microservices Diagram for Data Handling
4040
The architectural diagram of the `dataprep` microservice is shown below. We use [docling](https://github.com/docling-project/docling) to extract text from PDFs and URLs into markdown format. Both the full document content and tables are extracted. We then use an LLM to extract metadata from the document, including the company name, year, quarter, document type, and document title. The full document markdown then gets chunked, and LLM is used to summarize each chunk, and the summaries are embedded and saved to a vector database. Each table is also summarized by LLM and the summaries are embedded and saved to the vector database. The chunks and tables are also saved into a KV store. The pipeline is designed as such to improve retrieval accuracy of the `search_knowledge_base` tool used by the Question Answering worker agent.
4141

4242
![dataprep architecture](assets/fin_agent_dataprep.png)

FinanceAgent/docker_compose/intel/hpu/gaudi/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,26 +151,26 @@ Supervisor Agent multi turn:
151151
## Accessing the User Interface (UI)
152152

153153
The UI microservice is launched in the previous step with the other microservices.
154-
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.
154+
To see the UI, open a web browser to `http://${HOST_IP}:5175` to access the UI. Note the `HOST_IP` here is the host IP of the UI microservice.
155155

156156
1. Create Admin Account with a random value
157157

158158
2. Enter the endpoints in the `Connections` settings
159159

160160
First, click on the user icon in the upper right corner to open `Settings`. Click on `Admin Settings`. Click on `Connections`.
161161

162-
Then, enter the supervisor agent endpoint in the `OpenAI API` section: `http://${ip_address}:9090/v1`. Enter the API key as "empty". Add an arbitrary model id in `Model IDs`, for example, "opea_agent". The `ip_address` here should be the host ip of the agent microservice.
162+
Then, enter the supervisor agent endpoint in the `OpenAI API` section: `http://${HOST_IP}:9090/v1`. Enter the API key as "empty". Add an arbitrary model id in `Model IDs`, for example, "opea_agent". The `HOST_IP` here should be the host ip of the agent microservice.
163163

164-
Then, enter the dataprep endpoint in the `Icloud File API` section. You first need to enable `Icloud File API` by clicking on the button on the right to turn it into green and then enter the endpoint url, for example, `http://${ip_address}:6007/v1`. The `ip_address` here should be the host ip of the dataprep microservice.
164+
Then, enter the dataprep endpoint in the `Icloud File API` section. You first need to enable `Icloud File API` by clicking on the button on the right to turn it into green and then enter the endpoint url, for example, `http://${HOST_IP}:6007/v1`. The `HOST_IP` here should be the host ip of the dataprep microservice.
165165

166166
You should see screen like the screenshot below when the settings are done.
167167

168168
![opea-agent-setting](../../../../assets/ui_connections_settings.png)
169169

170170
3. Upload documents with UI
171171

172-
Click on the `Workplace` icon in the top left corner. Click `Knowledge`. Click on the "+" sign to the right of `Icloud Knowledge`. You can paste an url in the left hand side of the pop-up window, or upload a local file by click on the cloud icon on the right hand side of the pop-up window. Then click on the `Upload Confirm` button. Wait till the processing is done and the pop-up window will be closed on its own when the data ingestion is done. See the screenshot below.
173-
172+
Click on the `Workplace` icon in the top left corner. Click `Knowledge`. Click on the "+" sign to the right of `iCloud Knowledge`. You can paste an url in the left hand side of the pop-up window, or upload a local file by click on the cloud icon on the right hand side of the pop-up window. Then click on the `Upload Confirm` button. Wait till the processing is done and the pop-up window will be closed on its own when the data ingestion is done. See the screenshot below.
173+
Then, enter the dataprep endpoint in the `iCloud File API` section. You first need to enable `iCloud File API` by clicking on the button on the right to turn it into green and then enter the endpoint url, for example, `http://${HOST_IP}:6007/v1`. The `HOST_IP` here should be the host ip of the dataprep microservice.
174174
Note: the data ingestion may take a few minutes depending on the length of the document. Please wait patiently and do not close the pop-up window.
175175

176176
![upload-doc-ui](../../../../assets/upload_doc_ui.png)

FinanceAgent/tests/test_compose_on_gaudi.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,9 @@ echo "=================== #1 Building docker images===================="
272272
build_vllm_docker_image
273273
build_dataprep_agent_images
274274

275-
### for local test
276-
# build_agent_image_local
275+
# ## for local test
276+
# # build_agent_image_local
277+
277278
echo "=================== #1 Building docker images completed===================="
278279

279280
echo "=================== #2 Start vllm endpoint===================="

0 commit comments

Comments
 (0)