Spaces:
Sleeping
Sleeping
Merge pull request #9 from macrocosm-os/hotfix/readme-update
Browse files
README.md
CHANGED
|
@@ -108,7 +108,7 @@ Responses from the `/chat` endpoint are handled by two classes: `StreamChunk` an
|
|
| 108 |
To test the API locally, you can use the following curl command:
|
| 109 |
|
| 110 |
```bash
|
| 111 |
-
curl --no-buffer -X POST http://0.0.0.0:10000/chat/ -H "api_key: <ACCESS_KEY>" -d '{"k": 5, "timeout": 15, "roles": ["user"], "messages": ["Tell me a happy story about a rabbit and a turtle that meet on a budget cruise around Northern Ireland"]}'
|
| 112 |
```
|
| 113 |
> Note: Use the `--no-buffer` flag to ensure that the response is streamed back to the client.
|
| 114 |
|
|
@@ -150,4 +150,3 @@ You can find out more about the project by visiting the [Macrocosmos website](ht
|
|
| 150 |
[](https://twitter.com/MacrocosmosAI)
|
| 151 |
[](www.linkedin.com/in/MacrocosmosAI)
|
| 152 |
[](https://opensource.org/licenses/MIT)
|
| 153 |
-
|
|
|
|
| 108 |
To test the API locally, you can use the following curl command:
|
| 109 |
|
| 110 |
```bash
|
| 111 |
+
curl --no-buffer -X POST http://0.0.0.0:10000/chat/ -H "api_key: <ACCESS_KEY>" -H "Content-Type: application/json" -d '{"k": 5, "timeout": 15, "roles": ["user"], "messages": ["Tell me a happy story about a rabbit and a turtle that meet on a budget cruise around Northern Ireland"]}'
|
| 112 |
```
|
| 113 |
> Note: Use the `--no-buffer` flag to ensure that the response is streamed back to the client.
|
| 114 |
|
|
|
|
| 150 |
[](https://twitter.com/MacrocosmosAI)
|
| 151 |
[](www.linkedin.com/in/MacrocosmosAI)
|
| 152 |
[](https://opensource.org/licenses/MIT)
|
|
|