AzureCosmosDBChatExtensionConfiguration Class
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 specific representation of configurable options for Azure Cosmos DB when using it as an Azure OpenAI chat extension.
public class AzureCosmosDBChatExtensionConfiguration : Azure.AI.OpenAI.AzureChatExtensionConfiguration, System.ClientModel.Primitives.IJsonModel<Azure.AI.OpenAI.AzureCosmosDBChatExtensionConfiguration>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.AzureCosmosDBChatExtensionConfiguration>
type AzureCosmosDBChatExtensionConfiguration = class
inherit AzureChatExtensionConfiguration
interface IJsonModel<AzureCosmosDBChatExtensionConfiguration>
interface IPersistableModel<AzureCosmosDBChatExtensionConfiguration>
Public Class AzureCosmosDBChatExtensionConfiguration
Inherits AzureChatExtensionConfiguration
Implements IJsonModel(Of AzureCosmosDBChatExtensionConfiguration), IPersistableModel(Of AzureCosmosDBChatExtensionConfiguration)
- Inheritance
- Implements
Constructors
AzureCosmosDBChatExtensionConfiguration() |
Initializes a new instance of AzureCosmosDBChatExtensionConfiguration. |
Properties
Authentication |
The authentication method to use when accessing the defined data source. Each data source type supports a specific set of available authentication methods; please see the documentation of the data source for supported mechanisms. If not otherwise provided, On Your Data will attempt to use System Managed Identity (default credential) authentication. Please note OnYourDataAuthenticationOptions is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include OnYourDataAccessTokenAuthenticationOptions, OnYourDataApiKeyAuthenticationOptions, OnYourDataConnectionStringAuthenticationOptions, OnYourDataEncodedApiKeyAuthenticationOptions, OnYourDataKeyAndKeyIdAuthenticationOptions, OnYourDataSystemAssignedManagedIdentityAuthenticationOptions and OnYourDataUserAssignedManagedIdentityAuthenticationOptions. |
ContainerName |
The name of the Azure Cosmos DB resource container. |
DatabaseName |
The MongoDB vCore database name to use with Azure Cosmos DB. |
DocumentCount |
The configured top number of documents to feature for the configured query. |
FieldMappingOptions |
Customized field mapping behavior to use when interacting with the search index. |
IndexName |
The MongoDB vCore index name to use with Azure Cosmos DB. |
RoleInformation |
Give the model instructions about how it should behave and any context it should reference when generating a response. You can describe the assistant's personality and tell it how to format responses. There's a 100 token limit for it, and it counts against the overall token limit. |
ShouldRestrictResultScope |
Whether queries should be restricted to use of indexed data. |
Strictness |
The configured strictness of the search relevance filtering. The higher of strictness, the higher of the precision but lower recall of the answer. |
VectorizationSource |
The embedding dependency for vector search. Please note OnYourDataVectorizationSource is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include OnYourDataEndpointVectorizationSource, OnYourDataDeploymentNameVectorizationSource and OnYourDataModelIdVectorizationSource. |
Explicit Interface Implementations
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for