Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: LangChain has a hardcoded value for user_column parameter #9316

Open
martyna-mindsdb opened this issue Jun 7, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@martyna-mindsdb
Copy link
Contributor

Short description of current behavior

Using the LangChain model within MindsDB as below (that is, without defining user_column and with input column being input) results in an error:

image

This error is mitigated by defining user_column as below:

image

This issue seems to be caused by the hardcoded default value for user_column here:

DEFAULT_USER_COLUMN = 'question'

But removing this line of code results in a different error.

Video or screenshots

No response

Expected behavior

No response

How to reproduce the error

No response

Anything else?

No response

@martyna-mindsdb martyna-mindsdb added the bug Something isn't working label Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants