Error with ChatOpenAI

I get this python error in the instruction: chat = ChatOpenAI(temperature=0.0)

File “pydantic\main.py”, line 341, in pydantic.main.BaseModel.init
pydantic.error_wrappers.ValidationError: 1 validation error for PromptTemplate
root
Invalid format specifier (type=value_error)

Any help? all libraries versions seems corrects and compatibles. Im using windows10 with:

python 3.10.11
pydantic==1.10.9
langchain==0.0.195
langchainplus-sdk==0.0.8
openai==0.27.7
openapi-schema-pydantic==1.2.4

Have a look on this I found on google search:

1 Like