Skip to content

Commit

Permalink
Update_Technical_document (#85)
Browse files Browse the repository at this point in the history
* Update README.md for #53

* create launch.json to the project

* update documentation for #53
  • Loading branch information
s3861232 committed Sep 18, 2024
1 parent 03fc8ac commit b4c79a9
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "Python Sreamlit",
"type": "debugpy",
"request": "launch",
"module": "streamlit.web.cli",
"args": [
"run",
"${workspaceFolder}/demo_ui.py"
],
}
24 changes: 23 additions & 1 deletion example/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
# How to run UI locally

Please use VSCode `Run and Debug` to run the app.

* `Python Streamlit` for local inference and testing
* `Python Debugger` for launching the backend server in the production environment
![](./img/Screenshot%202024-08-18%20at%205.04.57 PM.png)


# For developer

After running the app, check address below

```bash

# Root router of the server
http://127.0.0.1:8000

# Swagger UI
http://127.0.0.1:8000/docs
```

![](./img/Screenshot%202024-08-07%20at%2010.28.05 AM.png)

# Demo for how to use openai API client to invoke voyager API

Expand All @@ -12,7 +35,6 @@ https://github.com/user-attachments/assets/75d5d380-20df-4d88-b94a-19bc4fabc224

## Installation


Make sure you execute the following command at the root of the project

```bash
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b4c79a9

Please sign in to comment.