Skip to content

Commit 5110438

Browse files
chore: improve wording and structure
1 parent 3f17a11 commit 5110438

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,18 +158,15 @@ Run your application and this will allow you to test the assistant.
158158
# use this if you are using the repository:
159159
npm run start:dev
160160

161-
# if you are using NestJS please check the npm scripts in the package.json file
161+
# if you are using your own NestJS application, please check the npm scripts in the package.json file
162162
# defualt command for NestJS is:
163163
npm run start
164164
```
165165

166166
Then you can test the assistant.
167167
1. First, you need to create a thread. You can create one
168-
by sending a POST request to the `/assistant/threads` endpoint with the empty body:
169-
```
170-
{}
171-
```
172-
2. Then you can send a message to the assistant by sending a POST request to the `/assistant/chat` endpoint with the following body.
168+
by sending a POST request to the `/assistant/threads` endpoint with the **empty body**.
169+
2. Then you can send a message to the assistant by sending a POST request to the `/assistant/chat` endpoint with the following body:
173170
```json
174171
{
175172
"threadId": "your-thread-id",

0 commit comments

Comments
 (0)