Find answers from the community

Updated 6 months ago

Hi everyone. Very general question here

Hi everyone. Very general question here. I'm having a hard time getting code generated with GPT or Claude to run. It seems to reference pre 0.10 packages and my suspicion is that a lot of packages moved recently. Is this true? Are there AI assistants that can generate llamaindex code reliably?

As a human I'm also finding that current examples are hard to find. Some things such as the PDFReader location are deeply nested but seem like they "should" be in a more accessible location (e.g.from llama_index.readers.file.docs.base import PDFReader). Am I approaching development, docs and code gen all wrong?
L
d
3 comments
pdf reader is imported from from llama_index.readers.file import PDFReader
v0.10.x refactored slightly, to make every integration a namespaced package
Is there some LLM that can reliably generate llamaindex code? I'm moving to the more established, if inferior, langchain based on my current experience.
Add a reply
Sign up and join the conversation on Discord