fix cannot import name 'EmptyIndex' from 'llama_index' (#558)

This commit is contained in:
Charles Packer 2023-12-01 18:09:29 -08:00 committed by GitHub
parent 6e144824aa
commit d06a603c21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,8 @@ import os
from typing import List, Optional
from llama_index import VectorStoreIndex, EmptyIndex, ServiceContext, set_global_service_context
from llama_index import VectorStoreIndex, ServiceContext, set_global_service_context
from llama_index.indices.empty.base import EmptyIndex
from llama_index.retrievers import VectorIndexRetriever
from llama_index.schema import TextNode