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
runtimeis not null?newBedrockChatClient(runtime,modelId):
38
38
thrownewArgumentNullException(nameof(runtime));
39
39
40
-
/// <summary>Gets an <see cref="IChatClient"/> for the specified <see cref="IAmazonBedrockRuntime"/> instance.</summary>
41
-
/// <param name="runtime">The runtime instance to be represented as an <see cref="IChatClient"/>.</param>
40
+
/// <summary>Gets an <see cref="IEmbeddingGenerator{TInput, TEmbedding}"/> for the specified <see cref="IAmazonBedrockRuntime"/> instance.</summary>
41
+
/// <param name="runtime">The runtime instance to be represented as an <see cref="IEmbeddingGenerator{TInput, TEmbedding}"/>.</param>
42
42
/// <param name="modelId">
43
43
/// The default model ID to use when no model is specified in a request. If not specified,
44
-
/// a model must be provided in the <see cref="ChatOptions.ModelId"/> passed to <see cref="IChatClient.CompleteAsync"/>
45
-
/// or <see cref="IChatClient.CompleteStreamingAsync"/>.
44
+
/// a model must be provided in the <see cref="EmbeddingGenerationOptions.ModelId"/> passed to <see cref="IEmbeddingGenerator{TInput, TEmbedding}.GenerateAsync"/>.
46
45
/// </param>
47
46
/// <param name="dimensions">
48
47
/// The default number of dimensions to request be generated. This will be overridden by a <see cref="EmbeddingGenerationOptions.Dimensions"/>
49
48
/// if that is specified to a request. If neither is specified, the default for the model will be used.
50
49
/// </param>
51
-
/// <returns>A <see cref="IChatClient"/> instance representing the <see cref="IAmazonBedrockRuntime"/> instance.</returns>
DefaultLogger.Debug(e,"Unable to serialize ChatOptions.AdditionalProperties[\"{PropertyName}\"] of type {PropertyType}",prop.Key,prop.Value?.GetType());
725
+
DefaultLogger.Debug(e,"Unable to serialize ChatOptions.AdditionalProperties[\"{0}\"] of type {1}",prop.Key,prop.Value?.GetType());
0 commit comments