Spaces:
Runtime error
Runtime error
Streamlit demo + README refactoring
Browse files
README.md
CHANGED
|
@@ -1,14 +1,30 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
Follow the instructions below to run the Streamlit server locally.
|
| 6 |
|
| 7 |
-
###
|
| 8 |
|
| 9 |
Make sure you have Python `≥3.10` installed.
|
| 10 |
|
| 11 |
-
### Steps
|
| 12 |
|
| 13 |
These instructions were tested on macOS 13.6 Ventura with ARM CPU and Python `3.10.11`.
|
| 14 |
|
|
@@ -44,7 +60,7 @@ ENGINE_EMBEDDING = "<insert deployment embedding name>"
|
|
| 44 |
streamlit run knowledge_gpt/main.py
|
| 45 |
```
|
| 46 |
|
| 47 |
-
|
| 48 |
|
| 49 |
Run the following commands to build and run the Docker image.
|
| 50 |
|
|
@@ -56,10 +72,10 @@ docker run -p 8501:8501 ReferenceBot
|
|
| 56 |
|
| 57 |
Open http://localhost:8501 in your browser to access the app.
|
| 58 |
|
| 59 |
-
## Acknowledgements
|
| 60 |
|
| 61 |
We have built on-top of [KnowledgeGPT](https://github.com/mmz-001/knowledge_gpt) to enable the tool be be used with Azure OpenAI Services. Thus, all credit should go towards the original developers.
|
| 62 |
|
| 63 |
-
## License
|
| 64 |
|
| 65 |
Distributed under the MIT License. See [LICENSE](https://github.com/andreped/ReferenceBot/blob/main/LICENSE) for more information.
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: "ReferenceBot: KnowledgeGPT + Azure OpenAI = <3"
|
| 3 |
+
colorFrom: indigo
|
| 4 |
+
colorTo: indigo
|
| 5 |
+
sdk: streamlit
|
| 6 |
+
sdk_version: 1.27.2
|
| 7 |
+
app_port: 8501
|
| 8 |
+
emoji: 💬
|
| 9 |
+
pinned: false
|
| 10 |
+
license: mit
|
| 11 |
+
app_file: knowledge_gpt/main.py
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# [ReferenceBot](https://github.com/andreped/referencebot#referencebot)
|
| 15 |
+
|
| 16 |
+
[](https://opensource.org/licenses/MIT)
|
| 17 |
+
[](https://referencebot.streamlit.app)
|
| 18 |
+
|
| 19 |
+
# [Installation](https://github.com/andreped/referencebot#installation)
|
| 20 |
|
| 21 |
Follow the instructions below to run the Streamlit server locally.
|
| 22 |
|
| 23 |
+
### [Prerequisites](https://github.com/andreped/referencebot#prerequisites)
|
| 24 |
|
| 25 |
Make sure you have Python `≥3.10` installed.
|
| 26 |
|
| 27 |
+
### [Steps](https://github.com/andreped/referencebot#steps)
|
| 28 |
|
| 29 |
These instructions were tested on macOS 13.6 Ventura with ARM CPU and Python `3.10.11`.
|
| 30 |
|
|
|
|
| 60 |
streamlit run knowledge_gpt/main.py
|
| 61 |
```
|
| 62 |
|
| 63 |
+
# [Build with Docker](https://github.com/andreped/referencebot#build-with-docker)
|
| 64 |
|
| 65 |
Run the following commands to build and run the Docker image.
|
| 66 |
|
|
|
|
| 72 |
|
| 73 |
Open http://localhost:8501 in your browser to access the app.
|
| 74 |
|
| 75 |
+
## [Acknowledgements](https://github.com/andreped/referencebot#acknowledgements)
|
| 76 |
|
| 77 |
We have built on-top of [KnowledgeGPT](https://github.com/mmz-001/knowledge_gpt) to enable the tool be be used with Azure OpenAI Services. Thus, all credit should go towards the original developers.
|
| 78 |
|
| 79 |
+
## [License](https://github.com/andreped/referencebot#license)
|
| 80 |
|
| 81 |
Distributed under the MIT License. See [LICENSE](https://github.com/andreped/ReferenceBot/blob/main/LICENSE) for more information.
|