-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Closed
Copy link
Labels
good first issueGood for newcomersGood for newcomersquestionFurther information is requestedFurther information is requested
Description
Question Validation
- I have searched both the documentation and discord for an answer.
Question
Today when I was trying the DocumenSummaryIndex, I got the following error:
TypeError: got an unexpected keyword argument 'show_progress'
Here is the code
response_synthesizer = get_response_synthesizer(
response_mode="tree_summarize",
use_async=True
)
d = 1024
faiss_index = faiss.IndexFlatL2(d)
vector_store = FaissVectorStore(faiss_index=faiss_index)
storage_context = StorageContext.from_defaults(
vector_store=vector_store,
)
doc_summary_index = DocumentSummaryIndex.from_documents(
docs,
llm=ollama_llm,
# embed_model=embed_model,
transformations=[splitter],
response_synthesizer=response_synthesizer,
show_progress=True,
storage_context=storage_context
)
Both my llama-index or llama-index-core are version 0.14.12.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomersquestionFurther information is requestedFurther information is requested