File "pydantic/main.py", line 331, in pydantic.main.BaseModel.__init__ pydantic.error_wrappers.ValidationError: 1 validation error for GPT4All n_ctx none is not an allowed value (type=type_error.none.not_allowed)
I got this bug . How could I do?
File "pydantic/main.py", line 331, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for GPT4All
n_ctx
none is not an allowed value (type=type_error.none.not_allowed)
See https://github.com/imartinez/privateGPT/issues/78#issuecomment-1545977382
You have to rename example.env to .env like explained in the README file.
thanks~
If this is solved please close this issue.
See #78 (comment) You have to rename
example.envto.envlike explained in theREADMEfile.
It did not fix the issue. Here is my error:
File "pydantic/main.py", line 341, in pydantic.main.BaseModel.init pydantic.error_wrappers.ValidationError: 1 validation error for GPT4All root Unable to instantiate model (type=value_error)