python_rag_knowledge_base_12_pages

    Master this deck with 21 terms through effective study methods.

    Generated from uploaded pdf

    Created by @steeveeswar

    What is Python?

    Designed for readability and productivity in software development.

    How does Python differ from compiled languages?

    Python runs directly from the command line without a separate compilation step.

    What are the main components of a Python program?

    Imports, variables, functions, classes, and executable statements.

    What is a list in Python?

    An ordered collection that can hold multiple data types.

    What is the purpose of a dictionary in Python?

    Stores values using keys, useful for organizing metadata.

    What does chunking do in a RAG system?

    Divides documents into smaller pieces for easier retrieval.

    What is the significance of embeddings?

    They provide a numerical representation of text for semantic search.

    What is the role of a vector database?

    Stores embeddings and allows for searching similar vectors.

    What is Retrieval-Augmented Generation (RAG)?

    An architecture where a language model uses retrieved information to generate answers.

    How does RAG differ from fine-tuning?

    RAG retrieves information at query time, while fine-tuning modifies model behavior.

    What happens during the document cleaning process?

    Prepares extracted text by removing artifacts and unnecessary information.

    What is the purpose of metadata in a RAG system?

    Provides context about the source of the text for better retrieval.

    What is the function of a for loop in Python?

    Iterates over a collection to perform operations on each item.

    What does the split() method do?

    Divides a string into pieces based on whitespace.

    What is the benefit of overlap in chunking?

    Helps maintain context when important statements cross chunk boundaries.

    What is a class in Python?

    A blueprint for creating objects with defined attributes and methods.

    What is the purpose of the range() function?

    Generates a sequence of numbers for iteration.

    What does the term 'top-k retrieval' mean?

    Selecting the k highest-ranked results from a search.

    What is the consequence of poor chunking?

    Can lead to embeddings representing incorrect or incomplete information.

    What is semantic chunking?

    Keeps related passages together based on meaning rather than length.

    What is the first step in the RAG ingestion pipeline?

    Collecting source documents for processing.