Closed simplexityware closed 1 month ago
ModuleNotFoundError Traceback (most recent call last) in <cell line: 2>() 1 from llama_index.core.query_pipeline import QueryPipeline as QP, InputComponent, FnComponent ----> 2 from dspy.predict.llamaindex import DSPyComponent, LlamaIndexModule 3 4 dspy_component = DSPyComponent( 5 dspy.ChainOfThought(GenerateAnswer)
ModuleNotFoundError: No module named 'dspy.predict.llamaindex'
Hi @simplexityware , this import works for me, but there's a related issue with DSPyComponent
ModuleNotFoundError Traceback (most recent call last) in <cell line: 2>()
1 from llama_index.core.query_pipeline import QueryPipeline as QP, InputComponent, FnComponent
----> 2 from dspy.predict.llamaindex import DSPyComponent, LlamaIndexModule
3
4 dspy_component = DSPyComponent(
5 dspy.ChainOfThought(GenerateAnswer)
ModuleNotFoundError: No module named 'dspy.predict.llamaindex'