You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Restore EmbeddingGeneratorExtensions members as obsolete
* Restore ChatThreadId as obsolete
* Restore ChatResponse.ChatThreadId and ChatResponseUpdate.ChatThreadId as obsolete.
* Remove the tests for obsolete members
* Remove the Embeddings tests for obsolete members
/// <param name="value">A value from which an embedding will be generated.</param>
95
+
/// <param name="options">The embedding generation options to configure the request.</param>
96
+
/// <param name="cancellationToken">The <see cref="CancellationToken"/> to monitor for cancellation requests. The default is <see cref="CancellationToken.None"/>.</param>
97
+
/// <returns>The generated embedding for the specified <paramref name="value"/>.</returns>
98
+
/// <exception cref="ArgumentNullException"><paramref name="generator"/> is <see langword="null"/>.</exception>
99
+
/// <exception cref="ArgumentNullException"><paramref name="value"/> is <see langword="null"/>.</exception>
100
+
/// <exception cref="InvalidOperationException">The generator did not produce exactly one embedding.</exception>
101
+
/// <remarks>
102
+
/// This operation is equivalent to using <see cref="GenerateAsync"/> and returning the
/// <param name="value">A value from which an embedding will be generated.</param>
149
+
/// <param name="options">The embedding generation options to configure the request.</param>
150
+
/// <param name="cancellationToken">The <see cref="CancellationToken"/> to monitor for cancellation requests. The default is <see cref="CancellationToken.None"/>.</param>
151
+
/// <returns>
152
+
/// The generated embedding for the specified <paramref name="value"/>.
153
+
/// </returns>
154
+
/// <exception cref="ArgumentNullException"><paramref name="generator"/> is <see langword="null"/>.</exception>
155
+
/// <exception cref="ArgumentNullException"><paramref name="value"/> is <see langword="null"/>.</exception>
156
+
/// <exception cref="InvalidOperationException">The generator did not produce exactly one embedding.</exception>
157
+
/// <remarks>
158
+
/// This operations is equivalent to using <see cref="IEmbeddingGenerator{TInput, TEmbedding}.GenerateAsync"/> with a
159
+
/// collection composed of the single <paramref name="value"/> and then returning the first embedding element from the
0 commit comments