79614313

Date: 2025-05-09 14:20:18
Score: 3
Natty:
Report link

I figured that the error was caused due to strict pydantic definitions, which stop us from defining any new instance variables in the inherited class definition. Although I could not find any workarounds that worked with llama_index, langchain had more flexible definition so switched packages in the end.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Akash