-
Notifications
You must be signed in to change notification settings - Fork 3
More OpenAPI examples #7
base: main
Are you sure you want to change the base?
Conversation
await SkillImportExample(); | ||
|
||
// Example semantic skill for generating PlayFab segments | ||
string[] questions = new string[] |
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.
"How do I create a segment for players with high risk of churn who have spent over $100?" | ||
}; | ||
|
||
foreach (string q in questions) |
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.
question
"Do I have a segment that filters for Canadian players?", | ||
}; | ||
|
||
foreach (string q in questions) |
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.
@@ -26,7 +26,7 @@ public class SystemStep | |||
/// Gets or sets the variables for the action | |||
/// </summary> | |||
[JsonPropertyName("action_variables")] | |||
public Dictionary<string, string>? ActionVariables { get; set; } | |||
public Dictionary<string, object>? ActionVariables { get; set; } |
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.
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.
I believe I changed this after running into some serialization issues with the playfab api body. I'll see if I can get it working without these changes
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.
We can also create our own planner
{ | ||
"How do I create a segment for Android players in Canada?", | ||
"How do I create a segment for players with high risk of churn who have spent over $100?" | ||
}; |
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.
Can we make the two distinct list of questions into one?
(and then have something like the action-planner picking one of your skills to do the job)
Motivation and Context
Description
Contribution Checklist