MongoDBChatDataSource 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.
The MongoDBChatDataSource.
public class MongoDBChatDataSource : Azure.AI.OpenAI.Chat.AzureChatDataSource, System.ClientModel.Primitives.IJsonModel<Azure.AI.OpenAI.Chat.MongoDBChatDataSource>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.Chat.MongoDBChatDataSource>
type MongoDBChatDataSource = class
inherit AzureChatDataSource
interface IJsonModel<MongoDBChatDataSource>
interface IPersistableModel<MongoDBChatDataSource>
Public Class MongoDBChatDataSource
Inherits AzureChatDataSource
Implements IJsonModel(Of MongoDBChatDataSource), IPersistableModel(Of MongoDBChatDataSource)
- Inheritance
- Implements
Constructors
MongoDBChatDataSource() |
Obsolete.
Creates a new instance of MongoDBChatDataSource. |
Properties
AllowPartialResult |
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. |
AppName |
The name of the MongoDB application. |
Authentication |
The authentication options to use with the MongoDB data source. |
CollectionName |
The name of the MongoDB collection. |
EndpointName |
The name of the MongoDB cluster endpoint. |
IndexName |
The name of the MongoDB index. |
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. |
OutputContextFlags |
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. |
Explicit Interface Implementations
Applies to
Azure SDK for .NET