gkamradt / langchain-tutorials

Overview and tutorial of the LangChain Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ValidationError: 1 validation error for FewShotPromptTemplate example_selector instance of BaseExampleSelector expected (type=type_error.arbitrary_type; expected_arbitrary_type=BaseExampleSelector)

retroradioryan opened this issue · comments

Anyone know how I fix this error?

ValidationError: 1 validation error for FewShotPromptTemplate
example_selector
instance of BaseExampleSelector expected (type=type_error.arbitrary_type; expected_arbitrary_type=BaseExampleSelector)

Can you link to the tutorial and code this is coming from?

I just ran that code no problem. Can you confirm you're on the latest version of langchain?

Version: 0.0.153

That was the issue... Thanks!!!