Skip to content

Commit c291d2f

Browse files
Merge branch '1-finish-hooking-up-the-chat-component-to-accept-stream-from-api-endpoints' of https://github.com/chriscarrollsmith/openai-assistants-python-quickstart into 1-finish-hooking-up-the-chat-component-to-accept-stream-from-api-endpoints
2 parents b642243 + 4696436 commit c291d2f

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

README.md

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -38,27 +38,7 @@ uv run create_assistant.py
3838
uv run uvicorn main:app --host 0.0.0.0 --port 8000 --reload
3939
```
4040

41-
### 6. Navigate to [http://localhost:3000](http://localhost:3000).
42-
43-
## Overview
44-
45-
### Pages
46-
47-
- Basic Chat Example: [http://localhost:3000/examples/basic-chat](http://localhost:3000/examples/basic-chat)
48-
- Function Calling Example: [http://localhost:3000/examples/function-calling](http://localhost:3000/examples/function-calling)
49-
- File Search Example: [http://localhost:3000/examples/file-search](http://localhost:3000/examples/file-search)
50-
- Full-featured Example: [http://localhost:3000/examples/all](http://localhost:3000/examples/all)
51-
52-
### Main Components
53-
54-
- `templates/components/chat.html` - handles chat rendering, [streaming](https://platform.openai.com/docs/assistants/overview?context=with-streaming), and [function call](https://platform.openai.com/docs/assistants/tools/function-calling/quickstart?context=streaming&lang=node.js) forwarding
55-
- `templates/components/file-viewer.html` - handles uploading, fetching, and deleting files for [file search](https://platform.openai.com/docs/assistants/tools/file-search)
56-
57-
### Endpoints
58-
59-
- `api/assistants` - `POST`: create assistant (only used at startup)
60-
- `api/assistants/threads` - `POST`: create new thread
61-
- `api/assistants/threads/[threadId]/messages` - `POST`: send message to assistant
41+
### 6. Navigate to [http://localhost:8000](http://localhost:8000).
6242
- `api/assistants/threads/[threadId]/actions` - `POST`: inform assistant of the result of a function it decided to call
6343
- `api/assistants/files` - `GET`/`POST`/`DELETE`: fetch, upload, and delete assistant files for file search
6444

0 commit comments

Comments
 (0)