ConversationsModelFactory.NamedEntity 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 NamedEntity.
public static Azure.AI.Language.Conversations.Models.NamedEntity NamedEntity (string text = default, string category = default, string subcategory = default, int offset = 0, int length = 0, double confidenceScore = 0);
static member NamedEntity : string * string * string * int * int * double -> Azure.AI.Language.Conversations.Models.NamedEntity
Public Shared Function NamedEntity (Optional text As String = Nothing, Optional category As String = Nothing, Optional subcategory As String = Nothing, Optional offset As Integer = 0, Optional length As Integer = 0, Optional confidenceScore As Double = 0) As NamedEntity
Parameters
- text
- String
Entity text as appears in the request.
- category
- String
Entity type.
- subcategory
- String
(Optional) Entity sub type.
- offset
- Int32
Start position for the entity text. Use of different 'stringIndexType' values can affect the offset returned.
- length
- Int32
Length for the entity text. Use of different 'stringIndexType' values can affect the length returned.
- confidenceScore
- Double
Confidence score between 0 and 1 of the extracted entity.
Returns
A new NamedEntity instance for mocking.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET