Raw Azure OpenAi chat completion response contains additional headers, which contain information about rate limits:
x-rate-limit-remaining-requests and x-ratelimit-remaining-tokens. Would it be possible to add these values to the Metadata dictionary in both OpenAIStreamingChatMessageContent and OpenAIChatMessageContent class? I find rate limit information useful, but in current .Net implementation there is no way to access it.
Raw Azure OpenAi chat completion response contains additional headers, which contain information about rate limits:
x-rate-limit-remaining-requests
andx-ratelimit-remaining-tokens
. Would it be possible to add these values to theMetadata
dictionary in bothOpenAIStreamingChatMessageContent
andOpenAIChatMessageContent
class? I find rate limit information useful, but in current .Net implementation there is no way to access it.