Skip to content

Commit 0183ade

Browse files
chore: clarify readme.md
1 parent c718ede commit 0183ade

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,14 +168,17 @@ Run your application and this will allow you to test the assistant.
168168

169169
Then you can test the assistant.
170170
1. First, you need to create a thread. You can create one
171-
by sending a POST request to the `/assistant/threads` endpoint with the **empty body**.
171+
by sending a POST request to the `/assistant/threads` endpoint with the **empty object in the body**.
172172
2. Then you can send a message to the assistant by sending a POST request to the `/assistant/chat` endpoint with the following body:
173173
```json
174174
{
175175
"threadId": "your-thread-id",
176176
"content": "Hello, how are you?"
177177
}
178178
```
179+
3. The assistant will respond with a message. You can send more messages to the assistant by sending a POST request to the `/assistant/chat` endpoint with the same body as in step 2.
180+
181+
Congrats! You have successfully integrated the AI Assistant library into your NestJS application. 🎉
179182

180183
---
181184

0 commit comments

Comments
 (0)