-
Begins the construction of an AI Service.
Configures chat model that will be used under the hood of the AI Service.
Configures the chat memory that will be used to preserve conversation history between method calls.
Configures the chat memory provider, which provides a dedicated instance of
ChatMemory
for each user/conversation.
Configures a content retriever to be invoked on every method call for retrieving relevant content
related to the user's message from an underlying data source
(e.g., an embedding store in the case of an
EmbeddingStoreContentRetriever
).
Configures a moderation model to be used for automatic content moderation.
Configures a retrieval augmentor to be invoked on every method call.
Deprecated, for removal: This API element is subject to removal in a future version.
Configures streaming chat model that will be used under the hood of the AI Service.
Configures the system message provider, which provides a system message to be used each time an AI service is invoked.
Configures the tool provider that the LLM can use
Configures the tools that the LLM can use.
Configures the tools that the LLM can use.
Configures the tools that the LLM can use.
-
contentRetriever(ContentRetriever)
(e.g.