Dec 2010, 6.15 PM, Thoraipakkam, Chennai. Gavin alights from the shared auto, thinking to himself, "for god's sake it's my first date ever and can I for once afford to have a non-creased t-shirt travelling in this over-cramped vehicle, great choice." His mind shifts to the attire selection, "well this is my best, I wore this in Helsinki, Blue Levi's Jeans, Black Puma T-Shirt, albeit all purchased on discount from T. Nagar Saravana Stores. Are these fake? I don’t want to know the answer," he thinks to himself. He looks down at his most dear possession, his black Fossil, time is 6.25. We have been meeting regularly in office, however this is the moment of truth. "Time to call Rachel, buddy," he says to himself. As he reaches for his phone and the thought of calling Rachel races through his mind, his heart starts pounding at a speed he had felt only once—as a 6th grade student in military school when he had to jump and climb the 10-foot wall of...
Snowflake Loader for LLM Recently my second contribution to Llamaindex "SnowflakeReader" was merged to Lllamahub repository. This loader connects to Snowflake (using SQLAlchemy under the hood). The user specifies a query and extracts Document objects corresponding to the results. This loader is designed to be used as a way to load data into LlamaIndex and/or subsequently used as a Tool in a LangChain Agent. Usage Option 1: Pass your own SQLAlchemy Engine object of the database connection Here's an example usage of the SnowflakeReader. from llama_index import download_loader SnowflakeReader = download_loader ( 'SnowflakeReader' ) reader = SnowflakeReader ( engine = your_sqlalchemy_engine , ) query = "SELECT * FROM your_table" documents = reader . load_data ( query = query ) Option 2: Pass the required parameters to esstablish Snowflake connection Here's an example usage of the SnowflakeReader. from llama_index import down...