Created
March 31, 2023 19:58
-
-
Save rschwabco/870a09e4e96749880669bddf344c2149 to your computer and use it in GitHub Desktop.
trace
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Output exceeds the size limit. Open the full output data in a text editor | |
--------------------------------------------------------------------------- | |
ImportError Traceback (most recent call last) | |
Cell In[16], line 1 | |
----> 1 from llama_index import ( | |
2 GPTPineconeIndex, | |
3 GPTSimpleKeywordTableIndex, | |
4 SimpleDirectoryReader, | |
5 LLMPredictor, | |
6 ServiceContext | |
7 ) | |
8 from langchain.llms.openai import OpenAIChat, OpenAI | |
9 import requests | |
File ~/minicoda/lib/python3.10/site-packages/llama_index/__init__.py:18 | |
15 from llama_index.embeddings.openai import OpenAIEmbedding | |
17 # structured | |
---> 18 from llama_index.indices.common.struct_store.base import SQLDocumentContextBuilder | |
19 from llama_index.indices.composability.graph import ComposableGraph | |
20 from llama_index.indices.empty import GPTEmptyIndex | |
File ~/minicoda/lib/python3.10/site-packages/llama_index/indices/common/struct_store/base.py:9 | |
7 from llama_index.data_structs.node_v2 import Node | |
8 from llama_index.data_structs.table import StructDatapoint | |
----> 9 from llama_index.indices.response.builder import ResponseBuilder, TextChunk | |
10 from llama_index.indices.service_context import ServiceContext | |
... | |
33 ) | |
34 from llama_index.indices.service_context import ServiceContext | |
35 from llama_index.optimization.optimizer import BaseTokenUsageOptimizer | |
ImportError: cannot import name 'RESPONSE_TEXT_TYPE' from partially initialized module 'llama_index.indices.response.builder' (most likely due to a circular import) (/Users/roie-schwaber-cohen/minicoda/lib/python3.10/site-packages/llama_index/indices/response/builder.py) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment