├── LICENSE ├── PITS_APP ├── app.py ├── cache │ └── .gitignore ├── conversation_engine.py ├── document_uploader.py ├── global_settings.py ├── index_builder.py ├── index_storage │ └── .gitignore ├── ingestion_storage │ └── .gitignore ├── logging_functions.py ├── quiz_UI.py ├── quiz_builder.py ├── requirements.txt ├── session_data │ └── .gitignore ├── session_functions.py ├── slides.py ├── training_UI.py ├── training_material_builder.py └── user_onboarding.py ├── README.md ├── ch10 ├── files │ ├── sample_document1.txt │ └── sample_document2.txt ├── sample_get_prompts.py ├── sample_metadata_custom_prompt_templates.py ├── sample_metadata_summary_extractor.py └── sample_update_prompts.py ├── ch11 └── .gitignore ├── ch2 ├── files │ ├── sample_document1.txt │ └── sample_document2.txt └── sample1.py ├── ch3 ├── sample_App_Chat_About_Messi.py ├── sample_Create_Doc.py ├── sample_Create_Doc_from_Wiki.py ├── sample_Create_Node.py ├── sample_Create_Node_Relationships.py ├── sample_Create_and_Query_Index.py ├── sample_Customize_LLM.py ├── sample_LLM_parameters.py └── sample_TokenTextSplitter.py ├── ch4 ├── files │ ├── db │ │ └── example.db │ ├── others │ │ ├── sample.html │ │ ├── sample.json │ │ └── sample.md │ ├── sample_document1.txt │ └── sample_document2.txt ├── sample_Estimate_Costs.py ├── sample_IngestionPipeline.py ├── sample_PII_scrub.py ├── sample_extractor_Custom.py ├── sample_extractor_EntityExtractor.py ├── sample_extractor_KeywordExtractor.py ├── sample_extractor_QuestionAnsweredExtractor.py ├── sample_extractor_SummaryExtractor.py ├── sample_extractor_TitleExtractor.py ├── sample_node_creation1.py ├── sample_node_creation2.py ├── sample_parser_HTMLNodeParser.py ├── sample_parser_HierarchicalNodeParser.py ├── sample_parser_JSONNodeParser.py ├── sample_parser_LangchainNodeParser.py ├── sample_parser_MarkdownNodeParser.py ├── sample_parser_SentenceWindowNodeParser.py ├── sample_parser_SimpleFileNodeParser.py ├── sample_parser_in_ServiceContext.py ├── sample_reader_DatabaseReader.py ├── sample_reader_DiscordReader.py ├── sample_reader_GitHubRepositoryReader.py ├── sample_reader_OpenMap.py ├── sample_reader_S3Reader.py ├── sample_reader_SimpleDirectoryReader.py ├── sample_reader_SimpleWebPageReader.py ├── sample_splitter_CodeSplitter.py └── sample_splitter_TokenTextSplitter.py ├── ch5 ├── chroma_database │ ├── c682bd4d-855c-4ed1-9894-22884774223d │ │ ├── data_level0.bin │ │ ├── header.bin │ │ ├── length.bin │ │ └── link_lists.bin │ └── chroma.sqlite3 ├── cost_prediction_samples │ └── fluffy_the_cat.txt ├── data │ └── sample.md ├── files │ ├── others │ │ ├── sample.html │ │ ├── sample.json │ │ └── sample.md │ ├── sample_document1.txt │ └── sample_document2.txt ├── index_cache │ ├── default__vector_store.json │ ├── docstore.json │ ├── graph_store.json │ ├── image__vector_store.json │ └── index_store.json ├── sample_ChromaDB.py ├── sample_ComposableGraph.py ├── sample_DocumentSummaryIndex.py ├── sample_KeywordTableIndex.py ├── sample_KnowledgeGraphIndex.py ├── sample_SummaryIndex.py ├── sample_TreeIndex.py ├── sample_VectorStoreIndex.py ├── sample_cost_estimation1.py ├── sample_cost_estimation2.py ├── sample_local_embedding.py ├── sample_persist.py └── sample_persist_reload.py ├── ch6 ├── files │ ├── others │ │ ├── sample.html │ │ ├── sample.json │ │ └── sample.md │ ├── sample_document1.txt │ └── sample_document2.txt ├── sample_bm25_retriever.py ├── sample_decompose_query_transform.py ├── sample_metadata_filters.py ├── sample_openai_question_generator.py ├── sample_retriever_async.py ├── sample_retriever_direct.py ├── sample_retriever_from_index1.py ├── sample_retriever_tools.py └── sample_selectors.py ├── ch7 ├── files │ ├── other │ │ └── sample_fluffy_the_cat.txt │ ├── sample │ │ ├── sample_document1.txt │ │ ├── sample_document2.txt │ │ └── sample_document3.txt │ ├── sample_document1.txt │ └── sample_document2.txt ├── sample_KeywordNode_Postprocessor.py ├── sample_Langchain_Output_Parser.py ├── sample_Metadata_Replacement_Postprocessor.py ├── sample_Router_Query_Engine.py ├── sample_Similarity_Postprocessor.py ├── sample_SubQuestion_Query_Engine.py ├── sample_low_level_query_engine.py └── sample_response_synthesizer.py ├── ch8 ├── files │ ├── database │ │ └── employees.db │ ├── sample_document1.txt │ └── sample_document2.txt ├── other │ ├── sample_document1.txt │ ├── sample_document2.txt │ └── sample_document3.txt ├── sample_agentrunner.py ├── sample_chat_memory.py ├── sample_condense_question.py ├── sample_context_chat_engine.py ├── sample_function_tool.py ├── sample_llmcompiler_agent.py ├── sample_loandandsearch_toolspec.py ├── sample_ondemandloader_tool.py ├── sample_openai_agent.py ├── sample_simple_chat_engine.py └── sample_simple_chat_engine_custom_LLM.py └── ch9 ├── evaluation_data └── pairwise_evaluator_dataset.json ├── files ├── database │ └── employees.db ├── sample_document1.txt └── sample_document2.txt ├── requirements.txt ├── sample_eval_phoenix.py ├── sample_llama_packs_zephyr.py ├── sample_lm_studio_LLM.py ├── sample_neutrino.py └── sample_tracing_phoenix2.py /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/LICENSE -------------------------------------------------------------------------------- /PITS_APP/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/PITS_APP/app.py -------------------------------------------------------------------------------- /PITS_APP/cache/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PITS_APP/conversation_engine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/PITS_APP/conversation_engine.py -------------------------------------------------------------------------------- /PITS_APP/document_uploader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/PITS_APP/document_uploader.py -------------------------------------------------------------------------------- /PITS_APP/global_settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/PITS_APP/global_settings.py -------------------------------------------------------------------------------- /PITS_APP/index_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/PITS_APP/index_builder.py -------------------------------------------------------------------------------- /PITS_APP/index_storage/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PITS_APP/ingestion_storage/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PITS_APP/logging_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/PITS_APP/logging_functions.py -------------------------------------------------------------------------------- /PITS_APP/quiz_UI.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/PITS_APP/quiz_UI.py -------------------------------------------------------------------------------- /PITS_APP/quiz_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/PITS_APP/quiz_builder.py -------------------------------------------------------------------------------- /PITS_APP/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/PITS_APP/requirements.txt -------------------------------------------------------------------------------- /PITS_APP/session_data/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PITS_APP/session_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/PITS_APP/session_functions.py -------------------------------------------------------------------------------- /PITS_APP/slides.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/PITS_APP/slides.py -------------------------------------------------------------------------------- /PITS_APP/training_UI.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/PITS_APP/training_UI.py -------------------------------------------------------------------------------- /PITS_APP/training_material_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/PITS_APP/training_material_builder.py -------------------------------------------------------------------------------- /PITS_APP/user_onboarding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/PITS_APP/user_onboarding.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/README.md -------------------------------------------------------------------------------- /ch10/files/sample_document1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch10/files/sample_document1.txt -------------------------------------------------------------------------------- /ch10/files/sample_document2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch10/files/sample_document2.txt -------------------------------------------------------------------------------- /ch10/sample_get_prompts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch10/sample_get_prompts.py -------------------------------------------------------------------------------- /ch10/sample_metadata_custom_prompt_templates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch10/sample_metadata_custom_prompt_templates.py -------------------------------------------------------------------------------- /ch10/sample_metadata_summary_extractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch10/sample_metadata_summary_extractor.py -------------------------------------------------------------------------------- /ch10/sample_update_prompts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch10/sample_update_prompts.py -------------------------------------------------------------------------------- /ch11/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ch2/files/sample_document1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch2/files/sample_document1.txt -------------------------------------------------------------------------------- /ch2/files/sample_document2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch2/files/sample_document2.txt -------------------------------------------------------------------------------- /ch2/sample1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch2/sample1.py -------------------------------------------------------------------------------- /ch3/sample_App_Chat_About_Messi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch3/sample_App_Chat_About_Messi.py -------------------------------------------------------------------------------- /ch3/sample_Create_Doc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch3/sample_Create_Doc.py -------------------------------------------------------------------------------- /ch3/sample_Create_Doc_from_Wiki.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch3/sample_Create_Doc_from_Wiki.py -------------------------------------------------------------------------------- /ch3/sample_Create_Node.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch3/sample_Create_Node.py -------------------------------------------------------------------------------- /ch3/sample_Create_Node_Relationships.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch3/sample_Create_Node_Relationships.py -------------------------------------------------------------------------------- /ch3/sample_Create_and_Query_Index.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch3/sample_Create_and_Query_Index.py -------------------------------------------------------------------------------- /ch3/sample_Customize_LLM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch3/sample_Customize_LLM.py -------------------------------------------------------------------------------- /ch3/sample_LLM_parameters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch3/sample_LLM_parameters.py -------------------------------------------------------------------------------- /ch3/sample_TokenTextSplitter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch3/sample_TokenTextSplitter.py -------------------------------------------------------------------------------- /ch4/files/db/example.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/files/db/example.db -------------------------------------------------------------------------------- /ch4/files/others/sample.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/files/others/sample.html -------------------------------------------------------------------------------- /ch4/files/others/sample.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/files/others/sample.json -------------------------------------------------------------------------------- /ch4/files/others/sample.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/files/others/sample.md -------------------------------------------------------------------------------- /ch4/files/sample_document1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/files/sample_document1.txt -------------------------------------------------------------------------------- /ch4/files/sample_document2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/files/sample_document2.txt -------------------------------------------------------------------------------- /ch4/sample_Estimate_Costs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/sample_Estimate_Costs.py -------------------------------------------------------------------------------- /ch4/sample_IngestionPipeline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/sample_IngestionPipeline.py -------------------------------------------------------------------------------- /ch4/sample_PII_scrub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/sample_PII_scrub.py -------------------------------------------------------------------------------- /ch4/sample_extractor_Custom.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/sample_extractor_Custom.py -------------------------------------------------------------------------------- /ch4/sample_extractor_EntityExtractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/sample_extractor_EntityExtractor.py -------------------------------------------------------------------------------- /ch4/sample_extractor_KeywordExtractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/sample_extractor_KeywordExtractor.py -------------------------------------------------------------------------------- /ch4/sample_extractor_QuestionAnsweredExtractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/sample_extractor_QuestionAnsweredExtractor.py -------------------------------------------------------------------------------- /ch4/sample_extractor_SummaryExtractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/sample_extractor_SummaryExtractor.py -------------------------------------------------------------------------------- /ch4/sample_extractor_TitleExtractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/sample_extractor_TitleExtractor.py -------------------------------------------------------------------------------- /ch4/sample_node_creation1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/sample_node_creation1.py -------------------------------------------------------------------------------- /ch4/sample_node_creation2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/sample_node_creation2.py -------------------------------------------------------------------------------- /ch4/sample_parser_HTMLNodeParser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/sample_parser_HTMLNodeParser.py -------------------------------------------------------------------------------- /ch4/sample_parser_HierarchicalNodeParser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/sample_parser_HierarchicalNodeParser.py -------------------------------------------------------------------------------- /ch4/sample_parser_JSONNodeParser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/sample_parser_JSONNodeParser.py -------------------------------------------------------------------------------- /ch4/sample_parser_LangchainNodeParser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/sample_parser_LangchainNodeParser.py -------------------------------------------------------------------------------- /ch4/sample_parser_MarkdownNodeParser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/sample_parser_MarkdownNodeParser.py -------------------------------------------------------------------------------- /ch4/sample_parser_SentenceWindowNodeParser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/sample_parser_SentenceWindowNodeParser.py -------------------------------------------------------------------------------- /ch4/sample_parser_SimpleFileNodeParser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/sample_parser_SimpleFileNodeParser.py -------------------------------------------------------------------------------- /ch4/sample_parser_in_ServiceContext.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/sample_parser_in_ServiceContext.py -------------------------------------------------------------------------------- /ch4/sample_reader_DatabaseReader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/sample_reader_DatabaseReader.py -------------------------------------------------------------------------------- /ch4/sample_reader_DiscordReader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/sample_reader_DiscordReader.py -------------------------------------------------------------------------------- /ch4/sample_reader_GitHubRepositoryReader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/sample_reader_GitHubRepositoryReader.py -------------------------------------------------------------------------------- /ch4/sample_reader_OpenMap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/sample_reader_OpenMap.py -------------------------------------------------------------------------------- /ch4/sample_reader_S3Reader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/sample_reader_S3Reader.py -------------------------------------------------------------------------------- /ch4/sample_reader_SimpleDirectoryReader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/sample_reader_SimpleDirectoryReader.py -------------------------------------------------------------------------------- /ch4/sample_reader_SimpleWebPageReader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/sample_reader_SimpleWebPageReader.py -------------------------------------------------------------------------------- /ch4/sample_splitter_CodeSplitter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/sample_splitter_CodeSplitter.py -------------------------------------------------------------------------------- /ch4/sample_splitter_TokenTextSplitter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch4/sample_splitter_TokenTextSplitter.py -------------------------------------------------------------------------------- /ch5/chroma_database/c682bd4d-855c-4ed1-9894-22884774223d/data_level0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch5/chroma_database/c682bd4d-855c-4ed1-9894-22884774223d/data_level0.bin -------------------------------------------------------------------------------- /ch5/chroma_database/c682bd4d-855c-4ed1-9894-22884774223d/header.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch5/chroma_database/c682bd4d-855c-4ed1-9894-22884774223d/header.bin -------------------------------------------------------------------------------- /ch5/chroma_database/c682bd4d-855c-4ed1-9894-22884774223d/length.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch5/chroma_database/c682bd4d-855c-4ed1-9894-22884774223d/length.bin -------------------------------------------------------------------------------- /ch5/chroma_database/c682bd4d-855c-4ed1-9894-22884774223d/link_lists.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ch5/chroma_database/chroma.sqlite3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch5/chroma_database/chroma.sqlite3 -------------------------------------------------------------------------------- /ch5/cost_prediction_samples/fluffy_the_cat.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch5/cost_prediction_samples/fluffy_the_cat.txt -------------------------------------------------------------------------------- /ch5/data/sample.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch5/data/sample.md -------------------------------------------------------------------------------- /ch5/files/others/sample.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch5/files/others/sample.html -------------------------------------------------------------------------------- /ch5/files/others/sample.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch5/files/others/sample.json -------------------------------------------------------------------------------- /ch5/files/others/sample.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch5/files/others/sample.md -------------------------------------------------------------------------------- /ch5/files/sample_document1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch5/files/sample_document1.txt -------------------------------------------------------------------------------- /ch5/files/sample_document2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch5/files/sample_document2.txt -------------------------------------------------------------------------------- /ch5/index_cache/default__vector_store.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch5/index_cache/default__vector_store.json -------------------------------------------------------------------------------- /ch5/index_cache/docstore.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch5/index_cache/docstore.json -------------------------------------------------------------------------------- /ch5/index_cache/graph_store.json: -------------------------------------------------------------------------------- 1 | {"graph_dict": {}} -------------------------------------------------------------------------------- /ch5/index_cache/image__vector_store.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch5/index_cache/image__vector_store.json -------------------------------------------------------------------------------- /ch5/index_cache/index_store.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch5/index_cache/index_store.json -------------------------------------------------------------------------------- /ch5/sample_ChromaDB.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch5/sample_ChromaDB.py -------------------------------------------------------------------------------- /ch5/sample_ComposableGraph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch5/sample_ComposableGraph.py -------------------------------------------------------------------------------- /ch5/sample_DocumentSummaryIndex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch5/sample_DocumentSummaryIndex.py -------------------------------------------------------------------------------- /ch5/sample_KeywordTableIndex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch5/sample_KeywordTableIndex.py -------------------------------------------------------------------------------- /ch5/sample_KnowledgeGraphIndex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch5/sample_KnowledgeGraphIndex.py -------------------------------------------------------------------------------- /ch5/sample_SummaryIndex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch5/sample_SummaryIndex.py -------------------------------------------------------------------------------- /ch5/sample_TreeIndex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch5/sample_TreeIndex.py -------------------------------------------------------------------------------- /ch5/sample_VectorStoreIndex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch5/sample_VectorStoreIndex.py -------------------------------------------------------------------------------- /ch5/sample_cost_estimation1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch5/sample_cost_estimation1.py -------------------------------------------------------------------------------- /ch5/sample_cost_estimation2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch5/sample_cost_estimation2.py -------------------------------------------------------------------------------- /ch5/sample_local_embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch5/sample_local_embedding.py -------------------------------------------------------------------------------- /ch5/sample_persist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch5/sample_persist.py -------------------------------------------------------------------------------- /ch5/sample_persist_reload.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch5/sample_persist_reload.py -------------------------------------------------------------------------------- /ch6/files/others/sample.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch6/files/others/sample.html -------------------------------------------------------------------------------- /ch6/files/others/sample.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch6/files/others/sample.json -------------------------------------------------------------------------------- /ch6/files/others/sample.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch6/files/others/sample.md -------------------------------------------------------------------------------- /ch6/files/sample_document1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch6/files/sample_document1.txt -------------------------------------------------------------------------------- /ch6/files/sample_document2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch6/files/sample_document2.txt -------------------------------------------------------------------------------- /ch6/sample_bm25_retriever.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch6/sample_bm25_retriever.py -------------------------------------------------------------------------------- /ch6/sample_decompose_query_transform.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch6/sample_decompose_query_transform.py -------------------------------------------------------------------------------- /ch6/sample_metadata_filters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch6/sample_metadata_filters.py -------------------------------------------------------------------------------- /ch6/sample_openai_question_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch6/sample_openai_question_generator.py -------------------------------------------------------------------------------- /ch6/sample_retriever_async.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch6/sample_retriever_async.py -------------------------------------------------------------------------------- /ch6/sample_retriever_direct.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch6/sample_retriever_direct.py -------------------------------------------------------------------------------- /ch6/sample_retriever_from_index1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch6/sample_retriever_from_index1.py -------------------------------------------------------------------------------- /ch6/sample_retriever_tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch6/sample_retriever_tools.py -------------------------------------------------------------------------------- /ch6/sample_selectors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch6/sample_selectors.py -------------------------------------------------------------------------------- /ch7/files/other/sample_fluffy_the_cat.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch7/files/other/sample_fluffy_the_cat.txt -------------------------------------------------------------------------------- /ch7/files/sample/sample_document1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch7/files/sample/sample_document1.txt -------------------------------------------------------------------------------- /ch7/files/sample/sample_document2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch7/files/sample/sample_document2.txt -------------------------------------------------------------------------------- /ch7/files/sample/sample_document3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch7/files/sample/sample_document3.txt -------------------------------------------------------------------------------- /ch7/files/sample_document1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch7/files/sample_document1.txt -------------------------------------------------------------------------------- /ch7/files/sample_document2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch7/files/sample_document2.txt -------------------------------------------------------------------------------- /ch7/sample_KeywordNode_Postprocessor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch7/sample_KeywordNode_Postprocessor.py -------------------------------------------------------------------------------- /ch7/sample_Langchain_Output_Parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch7/sample_Langchain_Output_Parser.py -------------------------------------------------------------------------------- /ch7/sample_Metadata_Replacement_Postprocessor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch7/sample_Metadata_Replacement_Postprocessor.py -------------------------------------------------------------------------------- /ch7/sample_Router_Query_Engine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch7/sample_Router_Query_Engine.py -------------------------------------------------------------------------------- /ch7/sample_Similarity_Postprocessor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch7/sample_Similarity_Postprocessor.py -------------------------------------------------------------------------------- /ch7/sample_SubQuestion_Query_Engine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch7/sample_SubQuestion_Query_Engine.py -------------------------------------------------------------------------------- /ch7/sample_low_level_query_engine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch7/sample_low_level_query_engine.py -------------------------------------------------------------------------------- /ch7/sample_response_synthesizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch7/sample_response_synthesizer.py -------------------------------------------------------------------------------- /ch8/files/database/employees.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch8/files/database/employees.db -------------------------------------------------------------------------------- /ch8/files/sample_document1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch8/files/sample_document1.txt -------------------------------------------------------------------------------- /ch8/files/sample_document2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch8/files/sample_document2.txt -------------------------------------------------------------------------------- /ch8/other/sample_document1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch8/other/sample_document1.txt -------------------------------------------------------------------------------- /ch8/other/sample_document2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch8/other/sample_document2.txt -------------------------------------------------------------------------------- /ch8/other/sample_document3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch8/other/sample_document3.txt -------------------------------------------------------------------------------- /ch8/sample_agentrunner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch8/sample_agentrunner.py -------------------------------------------------------------------------------- /ch8/sample_chat_memory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch8/sample_chat_memory.py -------------------------------------------------------------------------------- /ch8/sample_condense_question.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch8/sample_condense_question.py -------------------------------------------------------------------------------- /ch8/sample_context_chat_engine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch8/sample_context_chat_engine.py -------------------------------------------------------------------------------- /ch8/sample_function_tool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch8/sample_function_tool.py -------------------------------------------------------------------------------- /ch8/sample_llmcompiler_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch8/sample_llmcompiler_agent.py -------------------------------------------------------------------------------- /ch8/sample_loandandsearch_toolspec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch8/sample_loandandsearch_toolspec.py -------------------------------------------------------------------------------- /ch8/sample_ondemandloader_tool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch8/sample_ondemandloader_tool.py -------------------------------------------------------------------------------- /ch8/sample_openai_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch8/sample_openai_agent.py -------------------------------------------------------------------------------- /ch8/sample_simple_chat_engine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch8/sample_simple_chat_engine.py -------------------------------------------------------------------------------- /ch8/sample_simple_chat_engine_custom_LLM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch8/sample_simple_chat_engine_custom_LLM.py -------------------------------------------------------------------------------- /ch9/evaluation_data/pairwise_evaluator_dataset.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch9/evaluation_data/pairwise_evaluator_dataset.json -------------------------------------------------------------------------------- /ch9/files/database/employees.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch9/files/database/employees.db -------------------------------------------------------------------------------- /ch9/files/sample_document1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch9/files/sample_document1.txt -------------------------------------------------------------------------------- /ch9/files/sample_document2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch9/files/sample_document2.txt -------------------------------------------------------------------------------- /ch9/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch9/requirements.txt -------------------------------------------------------------------------------- /ch9/sample_eval_phoenix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch9/sample_eval_phoenix.py -------------------------------------------------------------------------------- /ch9/sample_llama_packs_zephyr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch9/sample_llama_packs_zephyr.py -------------------------------------------------------------------------------- /ch9/sample_lm_studio_LLM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch9/sample_lm_studio_LLM.py -------------------------------------------------------------------------------- /ch9/sample_neutrino.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch9/sample_neutrino.py -------------------------------------------------------------------------------- /ch9/sample_tracing_phoenix2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Data-Driven-Applications-with-LlamaIndex/HEAD/ch9/sample_tracing_phoenix2.py --------------------------------------------------------------------------------