microsoft / ai-chat-protocol

A library + API spec for easily streaming generative AI output to your chat applications.
MIT License
115 stars 17 forks source link

Update spec and samples to jsonl MIME type #65

Closed rohit-ganguly closed 3 months ago

rohit-ganguly commented 3 months ago

Closing #57

This pull request involves changes across several files, primarily aimed at transitioning from newline-delimited JSON (NDJSON) to JSON Lines (jsonl) format. This includes changes in the Content-Type header in HTTP responses, modifications in import statements, and updates in the documentation.

Changes related to Content-Type:

Changes related to import statements:

Changes in documentation: