Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

GetDataFromPlaceBaseAction.cs 506 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  1. namespace LuisActions.Samples
  2. {
  3. using System;
  4. using System.ComponentModel.DataAnnotations;
  5. using Microsoft.Cognitive.LUIS.ActionBinding;
  6. [Serializable]
  7. public abstract class GetDataFromPlaceBaseAction : BaseLuisAction
  8. {
  9. /// <summary>
  10. /// Location (Required)
  11. /// </summary>
  12. [Required(ErrorMessage = "Please provide a location")]
  13. [Location(ErrorMessage = "Please provide a valid location")]
  14. public string Place { get; set; }
  15. }
  16. }
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...