from llama_index.llms.openai import OpenAI
- QueryPipeline and InputComponent: These are used for defining and managing query pipelines. They are part of the core functionalities provided by LlamaIndex. Source ()
from llama_index.core.query_pipeline import QueryPipeline, InputComponent
- Document: This is a data structure used for storing documents. It is part of the core functionalities provided by LlamaIndex. Source ()
from llama_index.core import Document
- TreeSummarize: This is a response synthesizer used for summarizing trees. It is part of the core functionalities provided by LlamaIndex. Source ()
from llama_index.core.response_synthesizers import TreeSummarize
- NodeWithScore and TextNode: These are data structures used for storing nodes with scores and text nodes respectively. They are part of the core functionalities provided by LlamaIndex. Source ()
from llama_index.core.schema import NodeWithScore, TextNode
- PromptTemplate: This is used for defining prompt templates. It is part of the core functionalities provided by LlamaIndex. Source ()
from llama_index.core import PromptTemplate
11
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------