AILanguageQuestionAnsweringAuthoringModelFactory.QuestionAnsweringProject Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of QuestionAnsweringProject.
public static Azure.AI.Language.QuestionAnswering.Authoring.QuestionAnsweringProject QuestionAnsweringProject(string projectName = default, string description = default, string language = default, bool? isMultilingualResource = default, Azure.AI.Language.QuestionAnswering.Authoring.ProjectSettings settings = default, DateTimeOffset? createdDateTime = default, DateTimeOffset? lastModifiedDateTime = default, DateTimeOffset? lastDeployedDateTime = default, bool? isConfiguredSemanticRankingEnabled = default);
static member QuestionAnsweringProject : string * string * string * Nullable<bool> * Azure.AI.Language.QuestionAnswering.Authoring.ProjectSettings * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<bool> -> Azure.AI.Language.QuestionAnswering.Authoring.QuestionAnsweringProject
Public Shared Function QuestionAnsweringProject (Optional projectName As String = Nothing, Optional description As String = Nothing, Optional language As String = Nothing, Optional isMultilingualResource As Nullable(Of Boolean) = Nothing, Optional settings As ProjectSettings = Nothing, Optional createdDateTime As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedDateTime As Nullable(Of DateTimeOffset) = Nothing, Optional lastDeployedDateTime As Nullable(Of DateTimeOffset) = Nothing, Optional isConfiguredSemanticRankingEnabled As Nullable(Of Boolean) = Nothing) As QuestionAnsweringProject
Parameters
- projectName
- String
Name of the project.
- description
- String
Description of the project.
- language
- String
Language of the text records. This is BCP-47 representation of a language. For example, use "en" for English; "es" for Spanish etc. If not set, use "en" for English as default.
Resource enabled for multiple languages across projects or not.
- settings
- ProjectSettings
Configurable settings of the Project.
- createdDateTime
- Nullable<DateTimeOffset>
Project creation date-time.
- lastModifiedDateTime
- Nullable<DateTimeOffset>
Represents the project last modified date-time.
- lastDeployedDateTime
- Nullable<DateTimeOffset>
Represents the project last deployment date-time.
Returns
A new QuestionAnsweringProject instance for mocking.