Closed connor-mccorm closed 1 year ago
🤖
Hello,
Thank you for reporting this issue. The error you're encountering, TypeError: Argument 'description' has incorrect type (expected str, got tuple)
, seems to be related to the Pydantic library, which is used in LlamaIndex.
Based on a similar issue that was resolved in the past (#7817), the problem might be due to the version of Pydantic you're using. The solution in that case was to install a specific version of Pydantic, version 1.10.12, by running pip install pydantic==1.10.12
.
Please try this solution and let us know if it resolves your issue. If not, we may need more information to further investigate the problem.
Best, Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
If you want to continue the conversation, start your reply with @dosu-bot.
Brillian! Will try now, thank you!
Nice it worked. Thank you for the super fast reply!
Bug Description
Running the following command in a jupyter notebook:
Getting the following error:
I will start looking into this, but I imagine you all have more expertise so would appreciate some guidance/a quick fix if possible.
Version
latest - 0.8.38
Steps to Reproduce
Run the following command in a python shell with 0.8.38 version of llama_index
Relevant Logs/Tracbacks