CosmosChatDataSource 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.
Represents a data source configuration that will use an Azure CosmosDB resource.
public class CosmosChatDataSource : Azure.AI.OpenAI.Chat.ChatDataSource, System.ClientModel.Primitives.IJsonModel<Azure.AI.OpenAI.Chat.CosmosChatDataSource>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.Chat.CosmosChatDataSource>
type CosmosChatDataSource = class
inherit ChatDataSource
interface IJsonModel<CosmosChatDataSource>
interface IPersistableModel<CosmosChatDataSource>
Public Class CosmosChatDataSource
Inherits ChatDataSource
Implements IJsonModel(Of CosmosChatDataSource), IPersistableModel(Of CosmosChatDataSource)
- Inheritance
- Implements
Constructors
CosmosChatDataSource() |
Obsolete.
Initializes a new instance of CosmosChatDataSource. |
Properties
AllowPartialResults |
If set to true, the system will allow partial search results to be used and the request will fail if all partial queries fail. If not specified or specified as false, the request will fail if any search query fails. |
Authentication |
The authentication options to use with the Azure CosmosDB data source. |
ContainerName |
Gets the container name. |
DatabaseName |
Gets the database name. |
FieldMappings |
Gets the index field mappings. |
IndexName |
Gets the index name. |
InScope |
Whether queries should be restricted to use of the indexed data. |
MaxSearchQueries |
The maximum number of rewritten queries that should be sent to the search provider for a single user message. By default, the system will make an automatic determination. |
OutputContexts |
The |
Strictness |
The configured strictness of the search relevance filtering. Higher strictness will increase precision but lower recall of the answer. |
TopNDocuments |
The configured number of documents to feature in the query. |
VectorizationSource |
The vectorization dependency used for embeddings. |