Skip to content
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

[CLU] renaming confidenceScore to confidence and making targetKind public #25551

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ internal AnalyzeConversationResult() { }
public partial class AnswerSpan
{
internal AnswerSpan() { }
public double? ConfidenceScore { get { throw null; } }
public double? Confidence { get { throw null; } }
public int? Length { get { throw null; } }
public int? Offset { get { throw null; } }
public string Text { get { throw null; } }
Expand Down Expand Up @@ -63,7 +63,7 @@ public partial class ConversationEntity
{
internal ConversationEntity() { }
public string Category { get { throw null; } }
public float ConfidenceScore { get { throw null; } }
public float Confidence { get { throw null; } }
public int Length { get { throw null; } }
public System.Collections.Generic.IReadOnlyList<string> ListKeys { get { throw null; } }
public int Offset { get { throw null; } }
Expand All @@ -73,7 +73,7 @@ public partial class ConversationIntent
{
internal ConversationIntent() { }
public string Category { get { throw null; } }
public float ConfidenceScore { get { throw null; } }
public float Confidence { get { throw null; } }
}
public partial class ConversationParameters : Azure.AI.Language.Conversations.AnalysisParameters
{
Expand All @@ -96,22 +96,22 @@ internal ConversationResult() { }
public static partial class ConversationsModelFactory
{
public static Azure.AI.Language.Conversations.AnalyzeConversationResult AnalyzeConversationResult(string query = null, string detectedLanguage = null, Azure.AI.Language.Conversations.BasePrediction prediction = null) { throw null; }
public static Azure.AI.Language.Conversations.AnswerSpan AnswerSpan(string text = null, double? confidenceScore = default(double?), int? offset = default(int?), int? length = default(int?)) { throw null; }
public static Azure.AI.Language.Conversations.AnswerSpan AnswerSpan(string text = null, double? confidence = default(double?), int? offset = default(int?), int? length = default(int?)) { throw null; }
public static Azure.AI.Language.Conversations.BasePrediction BasePrediction(Azure.AI.Language.Conversations.ProjectKind projectKind = default(Azure.AI.Language.Conversations.ProjectKind), string topIntent = null) { throw null; }
public static Azure.AI.Language.Conversations.ConversationEntity ConversationEntity(string category = null, string text = null, int offset = 0, int length = 0, float confidenceScore = 0f, System.Collections.Generic.IEnumerable<string> listKeys = null) { throw null; }
public static Azure.AI.Language.Conversations.ConversationIntent ConversationIntent(string category = null, float confidenceScore = 0f) { throw null; }
public static Azure.AI.Language.Conversations.ConversationEntity ConversationEntity(string category = null, string text = null, int offset = 0, int length = 0, float confidence = 0f, System.Collections.Generic.IEnumerable<string> listKeys = null) { throw null; }
public static Azure.AI.Language.Conversations.ConversationIntent ConversationIntent(string category = null, float confidence = 0f) { throw null; }
public static Azure.AI.Language.Conversations.ConversationPrediction ConversationPrediction(Azure.AI.Language.Conversations.ProjectKind projectKind = default(Azure.AI.Language.Conversations.ProjectKind), string topIntent = null, System.Collections.Generic.IEnumerable<Azure.AI.Language.Conversations.ConversationIntent> intents = null, System.Collections.Generic.IEnumerable<Azure.AI.Language.Conversations.ConversationEntity> entities = null) { throw null; }
public static Azure.AI.Language.Conversations.ConversationResult ConversationResult(string query = null, string detectedLanguage = null, Azure.AI.Language.Conversations.ConversationPrediction prediction = null) { throw null; }
public static Azure.AI.Language.Conversations.ConversationTargetIntentResult ConversationTargetIntentResult(Azure.AI.Language.Conversations.TargetKind targetKind = default(Azure.AI.Language.Conversations.TargetKind), string apiVersion = null, double confidenceScore = 0, Azure.AI.Language.Conversations.ConversationResult result = null) { throw null; }
public static Azure.AI.Language.Conversations.KnowledgeBaseAnswer KnowledgeBaseAnswer(System.Collections.Generic.IEnumerable<string> questions = null, string answer = null, double? confidenceScore = default(double?), int? id = default(int?), string source = null, System.Collections.Generic.IReadOnlyDictionary<string, string> metadata = null, Azure.AI.Language.Conversations.KnowledgeBaseAnswerDialog dialog = null, Azure.AI.Language.Conversations.AnswerSpan answerSpan = null) { throw null; }
public static Azure.AI.Language.Conversations.ConversationTargetIntentResult ConversationTargetIntentResult(Azure.AI.Language.Conversations.TargetKind targetKind = default(Azure.AI.Language.Conversations.TargetKind), string apiVersion = null, double confidence = 0, Azure.AI.Language.Conversations.ConversationResult result = null) { throw null; }
public static Azure.AI.Language.Conversations.KnowledgeBaseAnswer KnowledgeBaseAnswer(System.Collections.Generic.IEnumerable<string> questions = null, string answer = null, double? confidence = default(double?), int? id = default(int?), string source = null, System.Collections.Generic.IReadOnlyDictionary<string, string> metadata = null, Azure.AI.Language.Conversations.KnowledgeBaseAnswerDialog dialog = null, Azure.AI.Language.Conversations.AnswerSpan answerSpan = null) { throw null; }
public static Azure.AI.Language.Conversations.KnowledgeBaseAnswerDialog KnowledgeBaseAnswerDialog(bool? isContextOnly = default(bool?), System.Collections.Generic.IEnumerable<Azure.AI.Language.Conversations.KnowledgeBaseAnswerPrompt> prompts = null) { throw null; }
public static Azure.AI.Language.Conversations.KnowledgeBaseAnswerPrompt KnowledgeBaseAnswerPrompt(int? displayOrder = default(int?), int? qnaId = default(int?), string displayText = null) { throw null; }
public static Azure.AI.Language.Conversations.KnowledgeBaseAnswers KnowledgeBaseAnswers(System.Collections.Generic.IEnumerable<Azure.AI.Language.Conversations.KnowledgeBaseAnswer> answers = null) { throw null; }
public static Azure.AI.Language.Conversations.LuisTargetIntentResult LuisTargetIntentResult(Azure.AI.Language.Conversations.TargetKind targetKind = default(Azure.AI.Language.Conversations.TargetKind), string apiVersion = null, double confidenceScore = 0, object result = null) { throw null; }
public static Azure.AI.Language.Conversations.NoneLinkedTargetIntentResult NoneLinkedTargetIntentResult(Azure.AI.Language.Conversations.TargetKind targetKind = default(Azure.AI.Language.Conversations.TargetKind), string apiVersion = null, double confidenceScore = 0, Azure.AI.Language.Conversations.ConversationResult result = null) { throw null; }
public static Azure.AI.Language.Conversations.NoneLinkedTargetIntentResult NoneLinkedTargetIntentResult(Azure.AI.Language.Conversations.TargetKind targetKind = default(Azure.AI.Language.Conversations.TargetKind), string apiVersion = null, double confidence = 0, Azure.AI.Language.Conversations.ConversationResult result = null) { throw null; }
public static Azure.AI.Language.Conversations.OrchestratorPrediction OrchestratorPrediction(Azure.AI.Language.Conversations.ProjectKind projectKind = default(Azure.AI.Language.Conversations.ProjectKind), string topIntent = null, System.Collections.Generic.IReadOnlyDictionary<string, Azure.AI.Language.Conversations.TargetIntentResult> intents = null) { throw null; }
public static Azure.AI.Language.Conversations.QuestionAnsweringTargetIntentResult QuestionAnsweringTargetIntentResult(Azure.AI.Language.Conversations.TargetKind targetKind = default(Azure.AI.Language.Conversations.TargetKind), string apiVersion = null, double confidenceScore = 0, Azure.AI.Language.Conversations.KnowledgeBaseAnswers result = null) { throw null; }
public static Azure.AI.Language.Conversations.TargetIntentResult TargetIntentResult(Azure.AI.Language.Conversations.TargetKind targetKind = default(Azure.AI.Language.Conversations.TargetKind), string apiVersion = null, double confidenceScore = 0) { throw null; }
public static Azure.AI.Language.Conversations.QuestionAnsweringTargetIntentResult QuestionAnsweringTargetIntentResult(Azure.AI.Language.Conversations.TargetKind targetKind = default(Azure.AI.Language.Conversations.TargetKind), string apiVersion = null, double confidence = 0, Azure.AI.Language.Conversations.KnowledgeBaseAnswers result = null) { throw null; }
public static Azure.AI.Language.Conversations.TargetIntentResult TargetIntentResult(Azure.AI.Language.Conversations.TargetKind targetKind = default(Azure.AI.Language.Conversations.TargetKind), string apiVersion = null, double confidence = 0) { throw null; }
}
public partial class ConversationsProject
{
Expand All @@ -129,7 +129,7 @@ public partial class KnowledgeBaseAnswer
internal KnowledgeBaseAnswer() { }
public string Answer { get { throw null; } }
public Azure.AI.Language.Conversations.AnswerSpan AnswerSpan { get { throw null; } }
public double? ConfidenceScore { get { throw null; } }
public double? Confidence { get { throw null; } }
public Azure.AI.Language.Conversations.KnowledgeBaseAnswerDialog Dialog { get { throw null; } }
public int? Id { get { throw null; } }
public System.Collections.Generic.IReadOnlyDictionary<string, string> Metadata { get { throw null; } }
Expand Down Expand Up @@ -218,7 +218,8 @@ public partial class TargetIntentResult
{
internal TargetIntentResult() { }
public string ApiVersion { get { throw null; } }
public double ConfidenceScore { get { throw null; } }
public double Confidence { get { throw null; } }
public Azure.AI.Language.Conversations.TargetKind TargetKind { get { throw null; } set { } }
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public readonly partial struct TargetKind : System.IEquatable<Azure.AI.Language.Conversations.TargetKind>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Console.WriteLine("Intents:");
foreach (ConversationIntent intent in conversationPrediction.Intents)
{
Console.WriteLine($"Category:{intent.Category}");
Console.WriteLine($"Confidence Score:{intent.ConfidenceScore}");
Console.WriteLine($"Confidence:{intent.Confidence}");
Console.WriteLine();
}

Expand All @@ -38,7 +38,7 @@ foreach (ConversationEntity entity in conversationPrediction.Entities)
Console.WriteLine($"Text: {entity.Text}");
Console.WriteLine($"Offset: {entity.Offset}");
Console.WriteLine($"Length: {entity.Length}");
Console.WriteLine($"Confidence Score: {entity.ConfidenceScore}");
Console.WriteLine($"Confidence: {entity.Confidence}");
Console.WriteLine();
}
```
Expand All @@ -57,7 +57,7 @@ Console.WriteLine("Intents:");
foreach (ConversationIntent intent in conversationPrediction.Intents)
{
Console.WriteLine($"Category:{intent.Category}");
Console.WriteLine($"Confidence Score:{intent.ConfidenceScore}");
Console.WriteLine($"Confidence:{intent.Confidence}");
Console.WriteLine();
}

Expand All @@ -68,7 +68,7 @@ foreach (ConversationEntity entity in conversationPrediction.Entities)
Console.WriteLine($"Text: {entity.Text}");
Console.WriteLine($"Offset: {entity.Offset}");
Console.WriteLine($"Length: {entity.Length}");
Console.WriteLine($"Confidence Score: {entity.ConfidenceScore}");
Console.WriteLine($"Confidence: {entity.Confidence}");
Console.WriteLine();
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ if (targetIntentResult.TargetKind == TargetKind.QuestionAnswering)
foreach (KnowledgeBaseAnswer answer in qnaAnswers.Answers)
{
Console.WriteLine($"Answer: {answer.Answer}");
Console.WriteLine($"Confidence Score: {answer.ConfidenceScore}");
Console.WriteLine($"Confidence: {answer.Confidence}");
Console.WriteLine($"Source: {answer.Source}");
Console.WriteLine();
}
Expand Down Expand Up @@ -83,7 +83,7 @@ if (targetIntentResult.TargetKind == TargetKind.Conversation)
foreach (ConversationIntent intent in conversationPrediction.Intents)
{
Console.WriteLine($"Intent Category: {intent.Category}");
Console.WriteLine($"Confidence Score: {intent.ConfidenceScore}");
Console.WriteLine($"Confidence: {intent.Confidence}");
Console.WriteLine();
}

Expand All @@ -92,7 +92,7 @@ if (targetIntentResult.TargetKind == TargetKind.Conversation)
{
Console.WriteLine($"Entity Text: {entitiy.Text}");
Console.WriteLine($"Entity Category: {entitiy.Category}");
Console.WriteLine($"Confidence Score: {entitiy.ConfidenceScore}");
Console.WriteLine($"Confidence: {entitiy.Confidence}");
Console.WriteLine($"Starting Position: {entitiy.Offset}");
Console.WriteLine($"Length: {entitiy.Length}");
Console.WriteLine();
Expand Down
Loading