We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1c7319 commit 5a55590Copy full SHA for 5a55590
lib/cohere/client.rb
@@ -59,7 +59,7 @@ def embed(
59
response = connection.post("embed") do |req|
60
req.body = {texts: texts}
61
req.body[:model] = model if model
62
- req.body[:input_type] = model if input_type
+ req.body[:input_type] = input_type if input_type
63
req.body[:truncate] = truncate if truncate
64
end
65
response.body
0 commit comments