Skip to content

Correction:  #4

Closed
Closed
@Snarik

Description

@Snarik

Is there an existing issue for this?

  • I have searched the existing issues

Section for Correction

Chat API flow.

Correction

I'm not in the mood to create a fork of this repo, and you've disabled branches/PRs the way normal public repos do things, but here's some additional color to explain to your users how the endpoints work.

In the README.md at line 269 I recommend adding the following information:

This request begins it's life as an a POST request, but is transitioned to an EventStream-- most likely with a library like [fetch-event-source](https://github.com/Azure/fetch-event-source.).
Data is streamed from the `/conversation` endpoint until some done state is achieved, at which point the SSE connection closes. 
The data that came off the event listener is set as a local state in the UI and is subsequently passed to the moderations endpoint for approval. 

CONTRIBUTING.md

  • I have read the CONTRIBUTING.md

Metadata

Metadata

Labels

correctionCorrection, grammatical or other details. NOT out-of-date information

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions