Comments (4)
Hi
First response you get all Citations in response.AzureExtensionsContext.Citations then you start get chatUpdate.ContentUpdate text
await foreach (StreamingChatCompletionsUpdate chatUpdate in client.GetChatCompletionsStreaming(chatCompletionsOptions))
{
if (!string.IsNullOrEmpty(chatUpdate.ContentUpdate))
{
StreamMessage(chatUpdate.ContentUpdate);
aiResponse += chatUpdate.ContentUpdate;
}
if (chatUpdate.AzureExtensionsContext != null)
{
messageContext = chatUpdate.AzureExtensionsContext;
}
}
from azure-sdk-for-net.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @jpalvarezl @trrwilson.
from azure-sdk-for-net.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @jpalvarezl @trrwilson.
Any update on this please?
from azure-sdk-for-net.
Hi First response you get all Citations in response.AzureExtensionsContext.Citations then you start get chatUpdate.ContentUpdate text
await foreach (StreamingChatCompletionsUpdate chatUpdate in client.GetChatCompletionsStreaming(chatCompletionsOptions)) { if (!string.IsNullOrEmpty(chatUpdate.ContentUpdate)) { StreamMessage(chatUpdate.ContentUpdate); aiResponse += chatUpdate.ContentUpdate; } if (chatUpdate.AzureExtensionsContext != null) { messageContext = chatUpdate.AzureExtensionsContext; } }
Thank you! - that worked :)
from azure-sdk-for-net.
Related Issues (20)
- [BUG] EntityRecognitionSkill is deprecated, but EntityRecognitionSkillV3 is not public HOT 5
- [QUERY] "Invalid Audience" error instead of "Entity Not Found" HOT 12
- The pagesize parameter is not taken effect during the pageable operation
- Cognitive Vision Service Access Denied 401 Error
- AnalyzeDocumentFromUriAsync Does not exist HOT 5
- [BUG] OpenTelemetry Exporter for Monitor/App Insights omits LoggerRecord CategoryName HOT 3
- [BUG] Clarification on Handling Escape Characters in Azure Key Vault Secrets HOT 3
- [FEATURE REQ] Restore include options in DefaultAzureCredentialOptions. HOT 12
- [FEATURE REQ] Controlling the "type" name of an OTEL activity in Application Insights HOT 5
- [FEATURE REQ] SqlDatabaseResource.ExportAsync() / DatabaseExportDefinition to allow Managed Identity HOT 4
- Does uploading files by azure core is supported HOT 3
- [BUG] Unable to use Multipart Form data content types with Azure Core functionalities. HOT 3
- [BUG] Provisioning of zone redundant Hyperscale database with geo backup redundancy is not supported. Zone redundant Hyperscale databases must use either zone or geo zone backup redundancy. HOT 2
- Azure AI Translation Text Samples Issue HOT 1
- [QUERY] Monitoring ServiceBusProcessor HOT 7
- [QUERY] How to reproduce the dependency behavior from the app insights SDK? HOT 9
- Using LogExporter to connect to AppInsights and set message and Custom Dimensions field HOT 7
- [BUG] Persistence check failed exception on Windows HOT 4
- [BUG] Azure.AI.OpenAI: Exceeding rate limits results in a retry which ends with 401 Unauthorized HOT 5
- [QUERY] Integrating Azure AD Token Authorization in .NET by passing authorization token HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-sdk-for-net.