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

Error reported when using Spark Model v3.5 to connect to DB-GPT #251

Open
dj-jack001 opened this issue Apr 2, 2024 · 1 comment
Open

Comments

@dj-jack001
Copy link

When I use the Spark model v3.5 to connect to DB-GPT, I can start the web service, but when entering the question , an error TypeError: BaseModel.validate() takes 2 positional arguments but 3 were given. I wonder if anyone has encountered this problem?
Snipaste_2024-04-02_11-39-06

@dj-jack001
Copy link
Author

By the way, I searched for the reason online and found that it might be a "pydantic" version problem, but DB-GPT requires the "pydantic" version < 2 and >= 1, while the pydantic version of the large language model requires >= 2.5. Is it related to a version conflict?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant