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)
- Azure OpenAI: Upgrade TestFramework to STJ 6.0.9 HOT 1
- Constructors table needs to be completed correctly. HOT 1
- [BUG] Inconsistent types between creating virtualMachineConfig with .Protocol.Models and BatchClient.PoolOperations.CreatePool HOT 1
- [BUG] CreateReceiveLinkException (Unauthorized access) - even though RBAC on topic subscription was configured HOT 4
- [QUERY] Why were index aliases removed from Azure.Search.Documents 11.6.0? HOT 3
- [BUG] New ServiceBusMessage Body empty if BinaryData created with FromObjectAsJson method HOT 3
- How do we pass file ids in message creation on asssistants now? HOT 2
- Observability: uber [Se] task
- [FEATURE REQ] Custom Resource Attributes are not exported
- [FEATURE REQ] Unable to override specific field in Application Insights schema HOT 4
- Use JsonMarshal.GetRawUtf8Value instead of JsonElement.GetRawText HOT 1
- Use Utf8JsonWriter.WriteRawValue instead of JsonSerializer.Serialize HOT 1
- [BUG] ResourceManager.MachineLearning parameter validation error - MachineLearningRegistryDataVersionResource HOT 1
- [QUERY] How to ignore / drop HealthCheck request samples in Application Insights HOT 12
- [QUERY] Sampling Ratio Issue: Unexpected Number of Samples HOT 4
- [FEATURE REQ] [REST API parity] Blob list support BlobTraits.Permissions HOT 1
- [BUG] Soft deleted blobs get returned as part of Find Blobs by Tags API results. HOT 1
- ServiceBusClient.AcceptNextSessionAsync logs ServiceBusException as "exception" (not as verbose) after ServiceTimeout HOT 8
- [QUERY] Files from the Blob are downloaded with file guid instead of actual file name HOT 2
- [FEATURE REQ] Add Live Metrics support for .NET console / worker apps HOT 2
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.