patterns-ai-core / langchainrb_rails

MIT License
204 stars 21 forks source link

Fix for ask method argument error #27

Closed ddyy closed 10 months ago

ddyy commented 10 months ago

This is a fix for https://github.com/andreibondarev/langchainrb_rails/issues/26 The ask method appears to be called with a single hash parameter as opposed to separate parameters for question and k.

andreibondarev commented 10 months ago

@ddyy Thank you for this PR! I already fixed it here: https://github.com/andreibondarev/langchainrb_rails/pull/30.