DiscoveryModelFactory.KnowledgeBase 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.
A knowledgeBase.
public static Azure.AI.Discovery.KnowledgeBase KnowledgeBase(string name = default, string id = default, string bookshelfName = default, System.Collections.Generic.IEnumerable<Azure.AI.Discovery.StorageAssetReference> storageAssetReferences = default, string knowledgeBaseUrl = default, Azure.AI.Discovery.DiscoveryProvisioningState? provisioningState = default, Azure.ResponseError error = default, Azure.AI.Discovery.IndexingStatus? status = default, string createdByApiVersion = default, Azure.AI.Discovery.LastIndexingRun lastIndexingRun = default, DateTimeOffset? createdAt = default, string createdBy = default, Azure.AI.Discovery.DiscoveryActorType? createdByType = default, DateTimeOffset? lastModifiedAt = default, string lastModifiedBy = default, Azure.AI.Discovery.DiscoveryActorType? lastModifiedByType = default, System.Collections.Generic.IEnumerable<Azure.AI.Discovery.DiscoveryTag> tags = default, string description = default, string copilotInstruction = default);
static member KnowledgeBase : string * string * string * seq<Azure.AI.Discovery.StorageAssetReference> * string * Nullable<Azure.AI.Discovery.DiscoveryProvisioningState> * Azure.ResponseError * Nullable<Azure.AI.Discovery.IndexingStatus> * string * Azure.AI.Discovery.LastIndexingRun * Nullable<DateTimeOffset> * string * Nullable<Azure.AI.Discovery.DiscoveryActorType> * Nullable<DateTimeOffset> * string * Nullable<Azure.AI.Discovery.DiscoveryActorType> * seq<Azure.AI.Discovery.DiscoveryTag> * string * string -> Azure.AI.Discovery.KnowledgeBase
Public Shared Function KnowledgeBase (Optional name As String = Nothing, Optional id As String = Nothing, Optional bookshelfName As String = Nothing, Optional storageAssetReferences As IEnumerable(Of StorageAssetReference) = Nothing, Optional knowledgeBaseUrl As String = Nothing, Optional provisioningState As Nullable(Of DiscoveryProvisioningState) = Nothing, Optional error As ResponseError = Nothing, Optional status As Nullable(Of IndexingStatus) = Nothing, Optional createdByApiVersion As String = Nothing, Optional lastIndexingRun As LastIndexingRun = Nothing, Optional createdAt As Nullable(Of DateTimeOffset) = Nothing, Optional createdBy As String = Nothing, Optional createdByType As Nullable(Of DiscoveryActorType) = Nothing, Optional lastModifiedAt As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedBy As String = Nothing, Optional lastModifiedByType As Nullable(Of DiscoveryActorType) = Nothing, Optional tags As IEnumerable(Of DiscoveryTag) = Nothing, Optional description As String = Nothing, Optional copilotInstruction As String = Nothing) As KnowledgeBase
Parameters
- name
- String
The knowledgeBase name.
- id
- String
The ID for the resource.
- bookshelfName
- String
The name of the associated Bookshelf tracked resource.
- storageAssetReferences
- IEnumerable<StorageAssetReference>
Storage asset references to index.
- knowledgeBaseUrl
- String
URL to access the knowledge base.
- provisioningState
- Nullable<DiscoveryProvisioningState>
Provisioning state.
- error
- ResponseError
Error details if provisioning failed.
- status
- Nullable<IndexingStatus>
The status.
- createdByApiVersion
- String
The API version used to create this knowledge base.
- lastIndexingRun
- LastIndexingRun
The details of the most recent indexing run.
- createdAt
- Nullable<DateTimeOffset>
The timestamp when the resource was created.
- createdBy
- String
The ID of the user who created this resource.
- createdByType
- Nullable<DiscoveryActorType>
The type of user who created this resource.
- lastModifiedAt
- Nullable<DateTimeOffset>
The timestamp when the resource was last updated.
- lastModifiedBy
- String
The ID of the user who updated this resource.
- lastModifiedByType
- Nullable<DiscoveryActorType>
The type of user who updated this resource.
- tags
- IEnumerable<DiscoveryTag>
The tags.
- description
- String
The description.
- copilotInstruction
- String
The copilot instruction.
Returns
A new KnowledgeBase instance for mocking.