Skip to content

Add usage parameter to chat completion functions - #5

Open
eltos wants to merge 2 commits into
deepset-ai:mainfrom
eltos:patch-1
Open

Add usage parameter to chat completion functions#5
eltos wants to merge 2 commits into
deepset-ai:mainfrom
eltos:patch-1

Conversation

@eltos

@eltos eltos commented Aug 12, 2026

Copy link
Copy Markdown

This adds support for token usage.
In a Haystack StreamingChunk this is contained in the meta field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant