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 e380c9a commit 2d552c8Copy full SHA for 2d552c8
lib/langchainrb_rails/active_record/hooks.rb
@@ -112,13 +112,15 @@ def similarity_search(query, k: 1)
112
# @param k [Integer] The number of results to have in context
113
# @yield [String] Stream responses back one String at a time
114
# @return [String] The answer to the question
115
- def ask(question, k: 4, &block)
+ # standard:disable Style/ArgumentsForwarding
116
+ 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
124
125
126
0 commit comments