eDosStationFull/lib/RCWPF/2026.2.701.462/Telerik.Documents.AI.Core.xml

243 lines
14 KiB
XML
Raw Permalink Normal View History

2026-08-18 12:15:26 +02:00
<?xml version="1.0"?>
<doc>
<assembly>
<name>Telerik.Documents.AI.Core</name>
</assembly>
<members>
<member name="T:Telerik.Documents.AI.Core.Embedding">
<summary>
Represents a text embedding consisting of the original text and its associated vector representation.
</summary>
</member>
<member name="M:Telerik.Documents.AI.Core.Embedding.#ctor(Telerik.Documents.AI.Core.IFragment,System.Single[])">
<summary>
Initializes a new instance of the Embedding class with the specified text and vector representation.
</summary>
<param name="fragment">The source fragment to associate with the embedding. Cannot be null.</param>
<param name="vector">The vector representation of the text. Cannot be null.</param>
</member>
<member name="P:Telerik.Documents.AI.Core.Embedding.Fragment">
<summary>
Gets the fragment content associated with this instance.
</summary>
</member>
<member name="P:Telerik.Documents.AI.Core.Embedding.Vector">
<summary>
Gets the vector representation as an array of single-precision floating-point values.
</summary>
</member>
<member name="T:Telerik.Documents.AI.Core.IContextFragmentsManager">
<summary>
Provides methods for splitting text into context fragments and joining them.
</summary>
</member>
<member name="M:Telerik.Documents.AI.Core.IContextFragmentsManager.SplitIntoFragments(System.String,System.Int32)">
<summary>
Splits the specified text into fragments suitable for processing, based on the model and encoding.
</summary>
<param name="text">The input text to split.</param>
<param name="maxTokenSizeOfSingleEmbedding">
The maximum token size for a single embedding.
</param>
<returns>An array of text fragments.</returns>
</member>
<member name="T:Telerik.Documents.AI.Core.IContextRetriever">
<summary>
Provides methods for retrieving relevant context from embeddings and managing text fragments.
</summary>
</member>
<member name="M:Telerik.Documents.AI.Core.IContextRetriever.GetContextAsync(System.String)">
<summary>
Gets the text representation of the relevant embeddings for the provided question.
</summary>
<param name="text">The user prompt to get relevant context for.</param>
<returns>The text representations of the relevant embeddings.</returns>
</member>
<member name="M:Telerik.Documents.AI.Core.IContextRetriever.SetContextAsync(System.String,System.Int32)">
<summary>
Asynchronously splits the specified text into fragments based on the provided embedding token size.
</summary>
<param name="text">The text to be divided into fragments. Cannot be null.</param>
<param name="embeddingTokenSize">The maximum number of tokens allowed in each fragment. Must be a positive integer.</param>
<returns>A task that represents the asynchronous operation of fragmenting the text.</returns>
</member>
<member name="T:Telerik.Documents.AI.Core.IEmbedder">
<summary>
Defines a contract for generating vector embeddings from a collection of text fragments asynchronously.
</summary>
<remarks>Implementations of this interface typically interact with machine learning models or external
services to produce embeddings. The returned embeddings correspond to the input fragments in order.</remarks>
</member>
<member name="M:Telerik.Documents.AI.Core.IEmbedder.EmbedAsync(System.Collections.Generic.IList{Telerik.Documents.AI.Core.IFragment})">
<summary>
Generates embeddings for the specified collection of text fragments asynchronously.
</summary>
<param name="fragments">A list of text fragments for which to generate embeddings. Each fragment represents a separate input to be
embedded. Cannot be null or contain null elements.</param>
<returns>A task that represents the asynchronous operation. The task result contains an array of Embedding objects
corresponding to each input fragment, in the same order as provided.</returns>
</member>
<member name="T:Telerik.Documents.AI.Core.IEmbeddingSettings">
<summary>
Represents configuration settings for generating embeddings using an AI model.
</summary>
</member>
<member name="P:Telerik.Documents.AI.Core.IEmbeddingSettings.ModelMaxInputTokenLimit">
<summary>
Gets the maximum input token limit the model allows.
</summary>
</member>
<member name="P:Telerik.Documents.AI.Core.IEmbeddingSettings.EmbeddingTokenSize">
<summary>
Gets the size in tokens of each embedding that will be generated.
</summary>
</member>
<member name="P:Telerik.Documents.AI.Core.IEmbeddingSettings.TokenizationEncoding">
<summary>
Gets the tokenization encoding.
</summary>
</member>
<member name="P:Telerik.Documents.AI.Core.IEmbeddingSettings.ModelId">
<summary>
Gets the ID of the model.
</summary>
</member>
<member name="T:Telerik.Documents.AI.Core.IFragment">
<summary>
Defines a fragment which can be converted to text representations suitable for context or embedding scenarios.
</summary>
</member>
<member name="M:Telerik.Documents.AI.Core.IFragment.ToContextText">
<summary>
Returns a string representation of the object's context suitable for display or logging.
</summary>
<returns>A string containing text suitable for adding to an LLM context.</returns>
</member>
<member name="M:Telerik.Documents.AI.Core.IFragment.ToEmbeddingText">
<summary>
Converts the current object to a plain text representation suitable for use in embedding models.
</summary>
<returns>A string containing the embedding-compatible text representation of the object.</returns>
</member>
<member name="T:Telerik.Documents.AI.Core.IFragments">
<summary>
Provides access to a collection of string fragments.
</summary>
</member>
<member name="P:Telerik.Documents.AI.Core.IFragments.Fragments">
<summary>
Gets the collection of fragments associated with the current instance.
</summary>
</member>
<member name="T:Telerik.Documents.AI.Core.ISimilarityCalculator">
<summary>
Defines methods for calculating similarity scores between a query and a set of text fragments, enabling
retrieval of the most relevant fragments based on semantic similarity.
</summary>
<remarks>Implementations of this interface typically use vector embeddings to measure semantic
similarity between the input question and provided fragments. Methods return an array of similarity scores,
ordered by relevance, which can be used to identify the closest matches. This interface is intended for use in
scenarios such as search, question answering, or recommendation systems where ranking by semantic similarity is
required.</remarks>
</member>
<member name="M:Telerik.Documents.AI.Core.ISimilarityCalculator.CalculateScores(System.String,System.Collections.Generic.IList{Telerik.Documents.AI.Core.Embedding})">
<param name="prompt">The input prompt to compare against the provided fragments. Cannot be null.</param>
<param name="embeddings">A list of embeddings representing the fragments to be compared. Cannot be null or empty.</param>
<returns>A task that represents the asynchronous operation. The task result contains an array of SimilarityScore objects,
each representing a fragment and its similarity score. The array will be empty if no fragments are similar.</returns>
</member>
<member name="T:Telerik.Documents.AI.Core.ISupportJsonEmbeddings">
<summary>
Defines behavior for settings working with embedding of json.
</summary>
</member>
<member name="P:Telerik.Documents.AI.Core.ISupportJsonEmbeddings.ProduceJsonFormattedContext">
<summary>
Determines whether the context sent to the model is in JSON or plain text format, if json format is applicable.
</summary>
<remarks>Plain text might consume more tokens but should lead to better results when asking the LLM.</remarks>
</member>
<member name="P:Telerik.Documents.AI.Core.ISupportJsonEmbeddings.TotalContextTokenLimit">
<summary>
Gets the maximum number of tokens allowed in the context to be sent to the model.
</summary>
</member>
<member name="T:Telerik.Documents.AI.Core.ISupportPlainTextEmbeddings">
<summary>
Defines behavior for settings working with embedding of plain text.
</summary>
</member>
<member name="P:Telerik.Documents.AI.Core.ISupportPlainTextEmbeddings.MaxNumberOfEmbeddingsIncludedInContext">
<summary>
Gets or sets the maximum number of embeddings to be sent to the model.
</summary>
</member>
<member name="T:Telerik.Documents.AI.Core.ITokensCounter">
<summary>
Defines a contract for counting tokens in a given input.
</summary>
<remarks>Implementations of this interface are responsible for analyzing input data and determining
the number of tokens it contains. The definition of a "token" may vary depending on the specific implementation
(e.g., words, characters, or other units of text).</remarks>
</member>
<member name="M:Telerik.Documents.AI.Core.ITokensCounter.Count(System.String)">
<summary>
Counts the number of tokens in the specified input.
</summary>
<param name="input">The input data to analyze.</param>
<returns>The number of tokens in the input.</returns>
</member>
<member name="T:Telerik.Documents.AI.Core.SimilarityScore`1">
<summary>
Represents a score indicating the similarity of an item to a reference point.
</summary>
<remarks>This structure is used to encapsulate the similarity score of an item, along with the item
itself. It is particularly useful in scenarios where items need to be ranked or sorted based on their similarity
to a reference point. The <see cref="F:Telerik.Documents.AI.Core.SimilarityScore`1.Comparer"/> ensures that items with the same similarity score are
distinguished by a unique index, which is useful for operations that require distinct results.</remarks>
<typeparam name="T">The type of the item being compared.</typeparam>
<param name="similarity">The similarity score indicating how closely the item matches the comparison criteria. Higher values represent
greater similarity.</param>
<param name="item">The item of type T that is associated with the similarity score.</param>
</member>
<member name="M:Telerik.Documents.AI.Core.SimilarityScore`1.#ctor(System.Single,`0)">
<summary>
Represents a score indicating the similarity of an item to a reference point.
</summary>
<remarks>This structure is used to encapsulate the similarity score of an item, along with the item
itself. It is particularly useful in scenarios where items need to be ranked or sorted based on their similarity
to a reference point. The <see cref="F:Telerik.Documents.AI.Core.SimilarityScore`1.Comparer"/> ensures that items with the same similarity score are
distinguished by a unique index, which is useful for operations that require distinct results.</remarks>
<typeparam name="T">The type of the item being compared.</typeparam>
<param name="similarity">The similarity score indicating how closely the item matches the comparison criteria. Higher values represent
greater similarity.</param>
<param name="item">The item of type T that is associated with the similarity score.</param>
</member>
<member name="P:Telerik.Documents.AI.Core.SimilarityScore`1.Similarity">
<summary>
Gets the similarity score between two compared entities.
</summary>
</member>
<member name="P:Telerik.Documents.AI.Core.SimilarityScore`1.Item">
<summary>
Gets the item of type <typeparamref name="T"/>.
</summary>
</member>
<member name="F:Telerik.Documents.AI.Core.SimilarityScore`1.Comparer">
<summary>
Gets a comparer that orders <see cref="T:Telerik.Documents.AI.Core.SimilarityScore`1"/> instances by descending similarity, using the
unique index as a tiebreaker.
</summary>
<remarks>This comparer is useful for sorting collections of <see cref="T:Telerik.Documents.AI.Core.SimilarityScore`1"/>
so that items with higher similarity values appear first. If two items have the same similarity, the one
with the lower unique index is considered less than the other.</remarks>
</member>
<member name="M:Telerik.Documents.AI.Core.SimilarityScore`1.ToString">
<summary>
Returns a string that represents the current object, including its similarity value and item.
</summary>
<returns>A string containing the similarity value and item of this instance, formatted for readability.</returns>
</member>
</members>
</doc>