Relative Content

Tag Archive for pythonllama-index

llamaindex python program execution endless

I hope someone can help me with llamaindex. I try to play with it, and I am at the beginning. I have created a program for indexing a PDF document (741 pages). This program is in main.py.

llamaindex python program execution endless

I hope someone can help me with llamaindex. I try to play with it, and I am at the beginning. I have created a program for indexing a PDF document (741 pages). This program is in main.py.

llama_index.indices.list.retrievers import error

from llama_index import GPTListIndex from llama_index.indices.list.retrievers import ListIndexLLMRetriever documents = SimpleDirectoryReader(‘./data’).load_data() index = GPTListIndex.from_documents(documents, service_context=service_context) retriever = ListIndexLLMRetriever() …. I try to import my python program with python 3.8.1 and 3.11.0 pip install llama-index==0.5.6 pip install langchain==0.0.148 these versions are suggested in this github https://github.com/langchain-ai/langchain/issues/4064 but all get the error message: ModuleNotFoundError: No module named […]

llama_index.indices.list.retrievers import error

from llama_index import GPTListIndex from llama_index.indices.list.retrievers import ListIndexLLMRetriever documents = SimpleDirectoryReader(‘./data’).load_data() index = GPTListIndex.from_documents(documents, service_context=service_context) retriever = ListIndexLLMRetriever() …. I try to import my python program with python 3.8.1 and 3.11.0 pip install llama-index==0.5.6 pip install langchain==0.0.148 these versions are suggested in this github https://github.com/langchain-ai/langchain/issues/4064 but all get the error message: ModuleNotFoundError: No module named […]

llama_index.indices.list.retrievers import error

from llama_index import GPTListIndex from llama_index.indices.list.retrievers import ListIndexLLMRetriever documents = SimpleDirectoryReader(‘./data’).load_data() index = GPTListIndex.from_documents(documents, service_context=service_context) retriever = ListIndexLLMRetriever() …. I try to import my python program with python 3.8.1 and 3.11.0 pip install llama-index==0.5.6 pip install langchain==0.0.148 these versions are suggested in this github https://github.com/langchain-ai/langchain/issues/4064 but all get the error message: ModuleNotFoundError: No module named […]

python llama_index.indices.list.retrievers import error

from llama_index import GPTListIndex from llama_index.indices.list.retrievers import ListIndexLLMRetriever documents = SimpleDirectoryReader(‘./data’).load_data() index = GPTListIndex.from_documents(documents, service_context=service_context) retriever = ListIndexLLMRetriever() …. I try to import my python program with python 3.8.1 and 3.11.0 pip install llama-index==0.5.6 pip install langchain==0.0.148 these versions are suggested in this github https://github.com/langchain-ai/langchain/issues/4064 but all get the error message: ModuleNotFoundError: No module named […]