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 2d552c8 commit 0a9d67eCopy full SHA for 0a9d67e
lib/langchainrb_rails/active_record/hooks.rb
@@ -113,14 +113,14 @@ def similarity_search(query, k: 1)
113
# @yield [String] Stream responses back one String at a time
114
# @return [String] The answer to the question
115
# standard:disable Style/ArgumentsForwarding
116
- def ask(question, k: 4, &block)
+ def ask(question, k: 4, &block)
117
class_variable_get(:@@provider).ask(
118
question: question,
119
k: k,
120
&block
121
).chat_completion
122
end
123
- # standard:enable Style/ArgumentsForwarding
+ # standard:enable Style/ArgumentsForwarding
124
125
126
0 commit comments