-
Notifications
You must be signed in to change notification settings - Fork 4.9k
update generated code, add connections + indexes #49476
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: feature/azure-ai-projects-1dp
Are you sure you want to change the base?
Changes from all commits
8abede6
0d9dbf4
990e486
18d016d
e9bb8c2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
// <auto-generated/> | ||
//// <auto-generated/> | ||
|
||
#nullable disable | ||
//#nullable disable | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
//using System; | ||
//using System.Collections.Generic; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. here also commented code There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. check all places |
||
//using System.Linq; | ||
|
||
namespace Azure.AI.Projects.OneDP | ||
{ | ||
/// <summary> Fields describing the final run outcome, including status, output messages, and usage. </summary> | ||
public partial class RunOutputs | ||
{ | ||
} | ||
//namespace Azure.AI.Projects.OneDP | ||
//{ | ||
// /// <summary> Fields describing the final run outcome, including status, output messages, and usage. </summary> | ||
// public partial class RunOutputs | ||
// { | ||
// } | ||
|
||
/// <summary> Extension methods for RunOutputs. </summary> | ||
public static class RunOutputsExtensions | ||
{ | ||
public static IEnumerable<string> GetTextMessages(this RunOutputs runOutputs) | ||
{ | ||
return runOutputs.Messages | ||
.SelectMany(chatMsg => chatMsg.Content) | ||
.OfType<TextContent>() | ||
.Select(textContent => textContent.Text); | ||
} | ||
} | ||
} | ||
// /// <summary> Extension methods for RunOutputs. </summary> | ||
// public static class RunOutputsExtensions | ||
// { | ||
// public static IEnumerable<string> GetTextMessages(this RunOutputs runOutputs) | ||
// { | ||
// return runOutputs.Messages | ||
// .SelectMany(chatMsg => chatMsg.Content) | ||
// .OfType<TextContent>() | ||
// .Select(textContent => textContent.Text); | ||
// } | ||
// } | ||
//} |
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is commented code needed?