Find answers from the community

Updated 2 years ago

Query engine

also, trying to follow this tutorial https://github.com/jerryjliu/llama_index/blob/main/examples/paul_graham_essay/TestEssay.ipynb

I get: GPTTreeIndex object has no attribute as_query_engine
L
n
a
17 comments
Are you on the latest 0.6 llama index version?
The examples were all updated to match the newest version
that must have been recent?
Last few days yup πŸ‘
hmm pip install llama-index -U still keeps mine at 0.5.27
how do I upgrade? delete and reinstall didn't work either.
Plain Text
Name: llama-index
Version: 0.5.27
Summary: Interface between LLMs and your data.
Home-page: https://github.com/jerryjliu/gpt_index
Author: 
Author-email: 
License: MIT
nevermind figured it out
Yea sorry! The install is weird for the alpha
What version has query engine support ? I am on 0.5.25 ?
0.6.x has the query engine support. It should also be the new default version from pip

pip install --upgrade llama-index
yesterday I had to run pip install llama-index==0.6.0a6
As of now, no need to specify the alpha version, it's officially the default now πŸ’ͺ
Add a reply
Sign up and join the conversation on Discord