Artificial Intelligence, Machine Learning, Data Science, Python, Programming.
similarity of the query to the contextual summaries of the tables. 6. SQLDatabase object to connect to the above tables + SQLRetriever: from llama_index.core.retrievers import SQLRetriever from typing import List from llama_index.core.query_pipeline import FnComponent sql_retriever =