From 80f7dea68fe805db046568d17eaaa4028ae38095 Mon Sep 17 00:00:00 2001 From: Ofek Weiss Date: Mon, 19 May 2025 14:21:58 +0300 Subject: [PATCH 1/3] removed todo --- ai_datastream/stream_parts.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ai_datastream/stream_parts.py b/ai_datastream/stream_parts.py index 0e6a710..94511f8 100644 --- a/ai_datastream/stream_parts.py +++ b/ai_datastream/stream_parts.py @@ -10,7 +10,6 @@ from typing import Any, Union -# todo - tool call start class DataStreamType: START_STEP = "f" FINISH_STEP = "e" From cd2aae31f6b1589a5c90c3601b36c6c947f05655 Mon Sep 17 00:00:00 2001 From: Ofek Weiss Date: Mon, 19 May 2025 14:27:41 +0300 Subject: [PATCH 2/3] update readme a bit --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9ce7456..62917aa 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,16 @@ -# Data Stream +# AI Data Stream -This module contains code for implementing Vercel AI SDK's "Data Stream Protocol". +This package contains an implementation of the Vercel AI SDK's "Data Stream Protocol". + +*Note: This is not an official package by Vercel, but rather a community-driven implementaion of the protocol for use with python frameworks.* ## Data Stream Protocol The Data Stream Protocol is a protocol for streaming ai chat response to the client. The protocol is described in the [Vercel AI SDK](https://sdk.vercel.ai/docs/ai-sdk-ui/stream-protocol#data-stream-protocol) documentation. +*Note: This package implements Vercel's Data Stream Protocol specification. All credit for the protocol design and specification belongs to Vercel. This implementation exists solely to empower developers with additional framework options, with no intention of competing with Vercel's offerings.* + The basic idea is that the server sends a stream of messages to the client, in the following format: ``` From 35bc48ae9018cdede8a70cc492a4a7c7a5e2b9ce Mon Sep 17 00:00:00 2001 From: Ofek Weiss Date: Mon, 19 May 2025 14:29:25 +0300 Subject: [PATCH 3/3] one note --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 62917aa..3ad2026 100644 --- a/README.md +++ b/README.md @@ -2,15 +2,13 @@ This package contains an implementation of the Vercel AI SDK's "Data Stream Protocol". -*Note: This is not an official package by Vercel, but rather a community-driven implementaion of the protocol for use with python frameworks.* +*Note: This is not an official package by Vercel, but rather a community-driven implementation of the protocol for use with python frameworks. All credit for the protocol design and specification belongs to Vercel. This implementation exists solely to empower developers with additional framework options, with no intention of competing with Vercel's offerings.* ## Data Stream Protocol The Data Stream Protocol is a protocol for streaming ai chat response to the client. The protocol is described in the [Vercel AI SDK](https://sdk.vercel.ai/docs/ai-sdk-ui/stream-protocol#data-stream-protocol) documentation. -*Note: This package implements Vercel's Data Stream Protocol specification. All credit for the protocol design and specification belongs to Vercel. This implementation exists solely to empower developers with additional framework options, with no intention of competing with Vercel's offerings.* - The basic idea is that the server sends a stream of messages to the client, in the following format: ```