diff --git a/.doctrees/developer_notes/index.doctree b/.doctrees/developer_notes/index.doctree
index 07d03954..e499ac57 100644
Binary files a/.doctrees/developer_notes/index.doctree and b/.doctrees/developer_notes/index.doctree differ
diff --git a/.doctrees/environment.pickle b/.doctrees/environment.pickle
index f536e07a..06e25042 100644
Binary files a/.doctrees/environment.pickle and b/.doctrees/environment.pickle differ
diff --git a/_sources/developer_notes/index.rst.txt b/_sources/developer_notes/index.rst.txt
index bd92915a..b53249c8 100644
--- a/_sources/developer_notes/index.rst.txt
+++ b/_sources/developer_notes/index.rst.txt
@@ -76,6 +76,7 @@ Code path: :ref:`lightrag.core `.
RAG Essentials
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
RAG components
^^^^^^^^^^^^^^^^^^^
@@ -98,7 +99,6 @@ Code path: :ref:`lightrag.core`. For abstract classes:
- ``ModelClient`` is the protocol and base class for LightRAG to **integrate all models**, either APIs or local, LLMs or Embedding models or any others.
* - :doc:`generator`
- The orchestrator for LLM prediction. It streamlines three components: `ModelClient`, `Prompt`, and `output_processors` and works with optimizer for prompt optimization.
- - The **center component** that orchestrates the model client(LLMs in particular), prompt, and output processors for format parsing or any post processing.
* - :doc:`output_parsers`
- The component that parses the output string to structured data.
* - :doc:`embedder`
@@ -106,6 +106,7 @@ Code path: :ref:`lightrag.core`. For abstract classes:
* - :doc:`retriever`
- The base class for all retrievers who in particular retrieve relevant documents from a given database to add **context** to the generator.
+
Data Pipeline and Storage
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
diff --git a/developer_notes/index.html b/developer_notes/index.html
index d18c5a19..812ff632 100644
--- a/developer_notes/index.html
+++ b/developer_notes/index.html
@@ -511,6 +511,38 @@
Retriever
: the functional subclass is in lightrag.components.retriever.
+
Data Pipeline and Storage
diff --git a/searchindex.js b/searchindex.js
index fe63acee..edabbf1e 100644
--- a/searchindex.js
+++ b/searchindex.js
@@ -1 +1 @@
-Search.setIndex({"alltitles": {"1. Document Splitter": [[110, "document-splitter"]], "1. FunctionTool": [[112, "functiontool"]], "1. Install LightRAG": [[115, "install-lightrag"]], "1. Install Optional Packages": [[115, "install-optional-packages"]], "2. Embedder": [[110, "embedder"]], "2. Set up API keys": [[115, "set-up-api-keys"]], "2. ToolManager": [[112, "toolmanager"]], "3. Function Call end-to-end": [[112, "function-call-end-to-end"]], "3. LightRAG Retrievers": [[110, "lightrag-retrievers"]], "3. Load environment variables": [[115, "load-environment-variables"]], "API Reference": [[65, "api-reference"]], "API References": [[87, null], [88, null], [92, null], [106, null], [109, null], [112, null]], "API reference": [[90, null], [93, null], [96, null], [102, null]], "Adding Documentation Tests": [[84, "adding-documentation-tests"]], "Agent": [[87, "agent"]], "Agent Essentials": [[97, "agent-essentials"]], "Agents": [[38, "agents"]], "An orchestrator": [[96, "an-orchestrator"]], "Author": [[88, null], [92, null], [93, null], [95, null], [102, null], [106, null], [109, null], [111, null], [112, null]], "BM25Retriever": [[109, "bm25retriever"]], "Base classes": [[97, "base-classes"]], "BatchEmbedder": [[93, "batchembedder"]], "Building": [[97, "building"]], "Chunking Example Detailed": [[111, "id2"]], "Class Hierarchy": [[89, "class-hierarchy"]], "Cloud database": [[92, "cloud-database"]], "Commit Changes": [[84, "commit-changes"]], "Community": [[113, "community"]], "Component": [[58, "component"], [90, "component"]], "Component in Action": [[90, "component-in-action"]], "Components": [[38, "components"], [65, "components"]], "Configure from file": [[90, "configure-from-file"]], "Context": [[106, "context"], [109, "context"]], "Contribute to Document": [[84, "contribute-to-document"]], "Controllability": [[118, "controllability"]], "Core": [[58, "core"], [65, "core"]], "Create from configs": [[96, "create-from-configs"]], "Customization Tips": [[111, "customization-tips"]], "DEFAULT_REACT_AGENT_SYSTEM_PROMPT": [[24, "default-react-agent-system-prompt"]], "Data & RAG": [[92, "data-rag"]], "Data Flow & LightRAG structure": [[99, "data-flow-lightrag-structure"]], "Data Flow in LLM applications": [[106, "data-flow-in-llm-applications"]], "Data Handling": [[58, "data-handling"]], "Data Models": [[92, "data-models"]], "Data Pipeline": [[91, "data-pipeline"], [92, "data-pipeline"]], "Data Pipeline and Storage": [[97, "data-pipeline-and-storage"]], "Data Process": [[38, "data-process"]], "DataClass": [[88, "dataclass"]], "DataClass in Action": [[88, "dataclass-in-action"]], "Datasets and Evaulation": [[97, null]], "Decorators": [[72, "decorators"]], "Default Prompt Template": [[106, "default-prompt-template"]], "Describe the data format to LLMs": [[88, "describe-the-data-format-to-llms"]], "Describing the Data Format": [[88, "describing-the-data-format"]], "Design": [[88, "design"], [90, "design"], [96, "design"], [106, "design"]], "Design Philosophy": [[98, "design-philosophy"]], "Design pattern": [[109, "design-pattern"]], "DialogTurn": [[92, "dialogturn"]], "Document": [[92, "document"]], "Embedder": [[93, "embedder"], [94, "embedder"]], "Embedder in Action": [[93, "embedder-in-action"]], "EmbedderOutput": [[93, "embedderoutput"]], "Embedding and Retrieval": [[58, "embedding-and-retrieval"]], "End-to-end applications": [[116, "end-to-end-applications"]], "Evaluating a RAG Pipeline": [[121, "evaluating-a-rag-pipeline"]], "Evaluation": [[64, "evaluation"], [65, "evaluation"]], "Evaluator": [[64, "evaluator"]], "Examples across the library": [[96, "examples-across-the-library"]], "For Contributors": [[86, "for-contributors"]], "Foundation": [[116, "foundation"]], "FunComponent": [[90, "funcomponent"]], "Function Call in Action": [[112, "function-call-in-action"]], "Function Output Format": [[112, "function-output-format"]], "Function calls": [[112, "function-calls"]], "FunctionExpression Output Format": [[112, "functionexpression-output-format"]], "Generation and Utilities": [[58, "generation-and-utilities"]], "Generator": [[96, "generator"]], "Generator In Action": [[96, "generator-in-action"]], "GeneratorOutput": [[96, "generatoroutput"]], "Get Started": [[114, "get-started"]], "Get errors in the output": [[96, "get-errors-in-the-output"]], "Graph database": [[92, "graph-database"]], "How does it work": [[111, "how-does-it-work"]], "How to evaluate?": [[95, "how-to-evaluate"]], "How to start?": [[116, "how-to-start"]], "How to use it": [[111, "how-to-use-it"]], "In-memory FAISSRetriever": [[109, "in-memory-faissretriever"]], "Installation": [[115, "installation"]], "Integration with Other Document Types": [[111, "integration-with-other-document-types"]], "Introduction": [[99, "introduction"], [108, "introduction"], [116, "introduction"], [118, "introduction"]], "Introduction to BaseDataClass": [[123, "introduction-to-basedataclass"]], "Introduction to LLM applations": [[99, "introduction-to-llm-applations"]], "LLM Evaluation": [[95, "llm-evaluation"]], "LLM as Retriever": [[109, "llm-as-retriever"]], "LightRAG": [[116, "lightrag"]], "LightRAG Contribution Guide": [[85, "lightrag-contribution-guide"]], "LightRAG Scope and Design": [[112, "lightrag-scope-and-design"]], "LightRAG in 10 minutes": [[117, "lightrag-in-10-minutes"]], "LightRAG\u2019s Implementation": [[108, "lightrag-s-implementation"]], "Load data from dataset as example": [[88, "load-data-from-dataset-as-example"]], "Local database": [[92, "local-database"]], "Logger": [[76, "logger"]], "Loggers": [[72, "loggers"]], "Logging": [[100, "logging"]], "Logging & Tracing": [[101, "logging-tracing"]], "Logging & Tracing & Configurations": [[97, "logging-tracing-configurations"]], "Minimum Example": [[96, "minimum-example"]], "Model Client": [[58, "model-client"]], "Model Clients": [[38, "model-clients"]], "Model Inference SDKs": [[102, "model-inference-sdks"]], "ModelClient": [[102, "modelclient"]], "ModelClient Protocol": [[102, "modelclient-protocol"]], "Optimizer": [[65, "optimizer"], [66, "optimizer"], [103, "optimizer"]], "Optimizer & Trainer": [[97, null]], "Optimizing": [[97, "optimizing"]], "Our deep understanding of LLM workflow": [[98, "our-deep-understanding-of-llm-workflow"]], "Output Parsers": [[38, "output-parsers"]], "Overview": [[38, "overview"], [58, "overview"], [64, "overview"], [72, "overview"], [76, "overview"]], "Parallel Function Calls": [[112, "parallel-function-calls"]], "Parameter": [[105, "parameter"]], "Parameters": [[58, "parameters"]], "Parser": [[104, "parser"]], "PostgresRetriever": [[109, "postgresretriever"]], "Principle 1: Quality over Quantity": [[98, "principle-1-quality-over-quantity"]], "Principle 2: Optimizing over Building": [[98, "principle-2-optimizing-over-building"]], "Principle 3: Practicality over Showmanship": [[98, "principle-3-practicality-over-showmanship"]], "Print the structure": [[90, "print-the-structure"]], "Prompt": [[106, "prompt"]], "Prompt class": [[106, "prompt-class"]], "Prompts and Templates": [[58, "prompts-and-templates"]], "Quick Walkthrough": [[112, "quick-walkthrough"]], "RAG Essentials": [[97, "rag-essentials"]], "RAG application": [[107, "rag-application"]], "RAG components": [[97, "rag-components"]], "ReAct Agent": [[108, "react-agent"]], "ReAct Agent Deep Dive": [[108, "react-agent-deep-dive"]], "References": [[87, null], [88, null], [93, null], [106, null], [109, null], [112, null]], "Reranker as Retriever": [[109, "reranker-as-retriever"]], "Resources": [[99, "resources"], [119, "resources"], [120, "resources"]], "Retriever": [[109, "retriever"], [110, "retriever"]], "Retriever Base Class": [[109, "retriever-base-class"]], "Retriever Data Types": [[109, "retriever-data-types"]], "Retriever in Action": [[109, "retriever-in-action"]], "Retrievers": [[38, "retrievers"]], "Searalization and deserialization": [[90, "searalization-and-deserialization"]], "Sequential": [[90, "sequential"]], "Serialization": [[76, "serialization"]], "Setup & Build Documentation": [[84, "setup-build-documentation"]], "Setup_env": [[76, "setup-env"]], "Show data examples & parse string to data instance": [[88, "show-data-examples-parse-string-to-data-instance"]], "Simplicity": [[118, "simplicity"]], "Souce Code Docstring Standard": [[84, "souce-code-docstring-standard"]], "Structure": [[116, "structure"]], "Submodules": [[25, "submodules"], [26, "submodules"], [30, "submodules"], [32, "submodules"], [34, "submodules"], [35, "submodules"], [36, "submodules"]], "Suggestion on File reading and writing": [[92, "suggestion-on-file-reading-and-writing"]], "Switch model client": [[96, "switch-model-client"]], "Text Splitter": [[111, "text-splitter"]], "Text Splitting Options": [[110, "id4"]], "TextSplitter Overview": [[111, "textsplitter-overview"]], "Tracing": [[65, "tracing"], [72, "tracing"], [96, "tracing"], [101, "tracing"]], "Training [Experimental]": [[96, "training-experimental"]], "Tutorials": [[97, "tutorials"]], "Unites both Research and Production": [[118, "unites-both-research-and-production"]], "Use Cases": [[122, "use-cases"]], "Use Local Model": [[93, "use-local-model"]], "Use ModelClient directly": [[102, "use-modelclient-directly"]], "Use OpenAI API": [[93, "use-openai-api"]], "Use Output Processors": [[93, "use-output-processors"]], "Use Score Threshold instead of top_k": [[109, "use-score-threshold-instead-of-top-k"]], "Use output_processors": [[96, "use-output-processors"]], "Use template": [[96, "use-template"]], "Use together with Database": [[109, "use-together-with-database"]], "Utils": [[65, "utils"], [76, "utils"]], "What is LightRAG?": [[116, "what-is-lightrag"]], "What is an agent and why you need it?": [[108, "what-is-an-agent-and-why-you-need-it"]], "What is not part of LightRAG?": [[116, "what-is-not-part-of-lightrag"]], "What to evaluate?": [[95, "what-to-evaluate"]], "Where to evaluate?": [[95, "where-to-evaluate"]], "Why Jinja2?": [[106, "why-jinja2"]], "Why do we need chat completion instead of the previous text completion?": [[99, "why-do-we-need-chat-completion-instead-of-the-previous-text-completion"]], "With LocalDB": [[109, "with-localdb"]], "Work with Data Instance": [[88, "work-with-data-instance"]], "Writing Documentation": [[84, "writing-documentation"]], "components.agent": [[25, "components-agent"]], "components.agent.react": [[0, "module-components.agent.react"]], "components.data_process": [[26, "components-data-process"]], "components.data_process.data_components": [[6, "module-components.data_process.data_components"], [27, "module-components.data_process.data_components"]], "components.data_process.document_splitter": [[28, "components-data-process-document-splitter"]], "components.data_process.text_splitter": [[8, "module-components.data_process.text_splitter"], [29, "module-components.data_process.text_splitter"]], "components.memory": [[30, "components-memory"]], "components.memory.memory": [[9, "module-components.memory.memory"], [31, "module-components.memory.memory"]], "components.model_client": [[32, "components-model-client"]], "components.model_client.anthropic_client": [[10, "module-components.model_client.anthropic_client"]], "components.model_client.cohere_client": [[11, "module-components.model_client.cohere_client"]], "components.model_client.groq_client": [[13, "module-components.model_client.groq_client"]], "components.model_client.openai_client": [[14, "module-components.model_client.openai_client"]], "components.model_client.transformers_client": [[15, "module-components.model_client.transformers_client"]], "components.model_client.utils": [[16, "module-components.model_client.utils"], [33, "module-components.model_client.utils"]], "components.output_parsers": [[34, "components-output-parsers"]], "components.output_parsers.outputs": [[17, "module-components.output_parsers.outputs"]], "components.reasoning": [[35, "components-reasoning"]], "components.reasoning.chain_of_thought": [[18, "module-components.reasoning.chain_of_thought"]], "components.retriever": [[36, "components-retriever"]], "components.retriever.bm25_retriever": [[19, "module-components.retriever.bm25_retriever"]], "components.retriever.llm_retriever": [[21, "module-components.retriever.llm_retriever"]], "components.retriever.postgres_retriever": [[37, "components-retriever-postgres-retriever"]], "components.retriever.reranker_retriever": [[23, "module-components.retriever.reranker_retriever"]], "core.base_data_class": [[39, "module-core.base_data_class"]], "core.component": [[40, "module-core.component"]], "core.data_components": [[41, "core-data-components"]], "core.db": [[42, "module-core.db"]], "core.default_prompt_template": [[43, "module-core.default_prompt_template"]], "core.document_splitter": [[44, "core-document-splitter"]], "core.embedder": [[45, "module-core.embedder"]], "core.func_tool": [[46, "module-core.func_tool"]], "core.functional": [[47, "module-core.functional"]], "core.generator": [[48, "module-core.generator"]], "core.memory": [[49, "core-memory"]], "core.model_client": [[50, "module-core.model_client"]], "core.parameter": [[51, "module-core.parameter"]], "core.prompt_builder": [[52, "module-core.prompt_builder"]], "core.retriever": [[53, "module-core.retriever"]], "core.string_parser": [[54, "module-core.string_parser"]], "core.tokenizer": [[55, "module-core.tokenizer"]], "core.tool_manager": [[56, "module-core.tool_manager"]], "core.types": [[57, "module-core.types"]], "eval.answer_match_acc": [[59, "module-eval.answer_match_acc"]], "eval.evaluators": [[60, "eval-evaluators"]], "eval.llm_as_judge": [[61, "module-eval.llm_as_judge"]], "eval.retriever_recall": [[62, "module-eval.retriever_recall"]], "eval.retriever_relevance": [[63, "module-eval.retriever_relevance"]], "optim.few_shot_optimizer": [[67, "module-optim.few_shot_optimizer"]], "optim.llm_augment": [[68, "module-optim.llm_augment"]], "optim.llm_optimizer": [[69, "module-optim.llm_optimizer"]], "optim.optimizer": [[70, "module-optim.optimizer"]], "optim.sampler": [[71, "module-optim.sampler"]], "tracing.decorators": [[73, "module-tracing.decorators"]], "tracing.generator_call_logger": [[74, "module-tracing.generator_call_logger"]], "tracing.generator_state_logger": [[75, "module-tracing.generator_state_logger"]], "utils.config": [[77, "module-utils.config"]], "utils.file_io": [[78, "module-utils.file_io"]], "utils.lazy_import": [[79, "module-utils.lazy_import"]], "utils.logger": [[80, "module-utils.logger"]], "utils.registry": [[81, "module-utils.registry"]], "utils.serialization": [[82, "module-utils.serialization"]], "utils.setup_env": [[83, "module-utils.setup_env"]], "\ufeffcomponents.api_client.anthropic_client": [[1, "components-api-client-anthropic-client"]], "\ufeffcomponents.api_client.google_client": [[2, "components-api-client-google-client"]], "\ufeffcomponents.api_client.groq_client": [[3, "components-api-client-groq-client"]], "\ufeffcomponents.api_client.openai_client": [[4, "components-api-client-openai-client"]], "\ufeffcomponents.api_client.transformers_client": [[5, "components-api-client-transformers-client"]], "\ufeffcomponents.data_process.document_splitter": [[7, "components-data-process-document-splitter"]], "\ufeffcomponents.model_client.google_client": [[12, "components-model-client-google-client"]], "\ufeffcomponents.retriever.faiss_retriever": [[20, "components-retriever-faiss-retriever"]], "\ufeffcomponents.retriever.postgres_retriever": [[22, "components-retriever-postgres-retriever"]]}, "docnames": ["apis/components/_autosummary/components.agent.react", "apis/components/_autosummary/components.api_client.anthropic_client", "apis/components/_autosummary/components.api_client.google_client", "apis/components/_autosummary/components.api_client.groq_client", "apis/components/_autosummary/components.api_client.openai_client", "apis/components/_autosummary/components.api_client.transformers_client", "apis/components/_autosummary/components.data_process.data_components", "apis/components/_autosummary/components.data_process.document_splitter", "apis/components/_autosummary/components.data_process.text_splitter", "apis/components/_autosummary/components.memory.memory", "apis/components/_autosummary/components.model_client.anthropic_client", "apis/components/_autosummary/components.model_client.cohere_client", "apis/components/_autosummary/components.model_client.google_client", "apis/components/_autosummary/components.model_client.groq_client", "apis/components/_autosummary/components.model_client.openai_client", "apis/components/_autosummary/components.model_client.transformers_client", "apis/components/_autosummary/components.model_client.utils", "apis/components/_autosummary/components.output_parsers.outputs", "apis/components/_autosummary/components.reasoning.chain_of_thought", "apis/components/_autosummary/components.retriever.bm25_retriever", "apis/components/_autosummary/components.retriever.faiss_retriever", "apis/components/_autosummary/components.retriever.llm_retriever", "apis/components/_autosummary/components.retriever.postgres_retriever", "apis/components/_autosummary/components.retriever.reranker_retriever", "apis/components/agent_prompt", "apis/components/components.agent", "apis/components/components.data_process", "apis/components/components.data_process.data_components", "apis/components/components.data_process.document_splitter", "apis/components/components.data_process.text_splitter", "apis/components/components.memory", "apis/components/components.memory.memory", "apis/components/components.model_client", "apis/components/components.model_client.utils", "apis/components/components.output_parsers", "apis/components/components.reasoning", "apis/components/components.retriever", "apis/components/components.retriever.postgres_retriever", "apis/components/index", "apis/core/core.base_data_class", "apis/core/core.component", "apis/core/core.data_components", "apis/core/core.db", "apis/core/core.default_prompt_template", "apis/core/core.document_splitter", "apis/core/core.embedder", "apis/core/core.func_tool", "apis/core/core.functional", "apis/core/core.generator", "apis/core/core.memory", "apis/core/core.model_client", "apis/core/core.parameter", "apis/core/core.prompt_builder", "apis/core/core.retriever", "apis/core/core.string_parser", "apis/core/core.tokenizer", "apis/core/core.tool_manager", "apis/core/core.types", "apis/core/index", "apis/eval/eval.answer_match_acc", "apis/eval/eval.evaluators", "apis/eval/eval.llm_as_judge", "apis/eval/eval.retriever_recall", "apis/eval/eval.retriever_relevance", "apis/eval/index", "apis/index", "apis/optim/index", "apis/optim/optim.few_shot_optimizer", "apis/optim/optim.llm_augment", "apis/optim/optim.llm_optimizer", "apis/optim/optim.optimizer", "apis/optim/optim.sampler", "apis/tracing/index", "apis/tracing/tracing.decorators", "apis/tracing/tracing.generator_call_logger", "apis/tracing/tracing.generator_state_logger", "apis/utils/index", "apis/utils/utils.config", "apis/utils/utils.file_io", "apis/utils/utils.lazy_import", "apis/utils/utils.logger", "apis/utils/utils.registry", "apis/utils/utils.serialization", "apis/utils/utils.setup_env", "contributor/contribute_to_document", "contributor/contribution_guide", "contributor/index", "developer_notes/agent", "developer_notes/base_data_class", "developer_notes/class_hierarchy", "developer_notes/component", "developer_notes/data_pipeline", "developer_notes/db", "developer_notes/embedder", "developer_notes/embedder_xy", "developer_notes/evaluation", "developer_notes/generator", "developer_notes/index", "developer_notes/lightrag_design_philosophy", "developer_notes/llm_intro", "developer_notes/logging", "developer_notes/logging_tracing", "developer_notes/model_client", "developer_notes/optimizer", "developer_notes/output_parsers", "developer_notes/parameter", "developer_notes/prompt", "developer_notes/rag", "developer_notes/react_agent_xy", "developer_notes/retriever", "developer_notes/retriever_xy", "developer_notes/text_splitter", "developer_notes/tool_helper", "get_started/community", "get_started/index", "get_started/installation", "get_started/introduction", "get_started/lightrag_in_10_mins", "index", "resources/index", "resources/resources", "tutorials/eval_a_rag", "tutorials/index", "tutorials/introduction_to_basedataclass", "tutorials/logging"], "envversion": {"nbsphinx": 4, "sphinx": 61, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinx.ext.todo": 2, "sphinx.ext.viewcode": 1}, "filenames": ["apis/components/_autosummary/components.agent.react.rst", "apis/components/_autosummary/components.api_client.anthropic_client.rst", "apis/components/_autosummary/components.api_client.google_client.rst", "apis/components/_autosummary/components.api_client.groq_client.rst", "apis/components/_autosummary/components.api_client.openai_client.rst", "apis/components/_autosummary/components.api_client.transformers_client.rst", "apis/components/_autosummary/components.data_process.data_components.rst", "apis/components/_autosummary/components.data_process.document_splitter.rst", "apis/components/_autosummary/components.data_process.text_splitter.rst", "apis/components/_autosummary/components.memory.memory.rst", "apis/components/_autosummary/components.model_client.anthropic_client.rst", "apis/components/_autosummary/components.model_client.cohere_client.rst", "apis/components/_autosummary/components.model_client.google_client.rst", "apis/components/_autosummary/components.model_client.groq_client.rst", "apis/components/_autosummary/components.model_client.openai_client.rst", "apis/components/_autosummary/components.model_client.transformers_client.rst", "apis/components/_autosummary/components.model_client.utils.rst", "apis/components/_autosummary/components.output_parsers.outputs.rst", "apis/components/_autosummary/components.reasoning.chain_of_thought.rst", "apis/components/_autosummary/components.retriever.bm25_retriever.rst", "apis/components/_autosummary/components.retriever.faiss_retriever.rst", "apis/components/_autosummary/components.retriever.llm_retriever.rst", "apis/components/_autosummary/components.retriever.postgres_retriever.rst", "apis/components/_autosummary/components.retriever.reranker_retriever.rst", "apis/components/agent_prompt.rst", "apis/components/components.agent.rst", "apis/components/components.data_process.rst", "apis/components/components.data_process.data_components.rst", "apis/components/components.data_process.document_splitter.rst", "apis/components/components.data_process.text_splitter.rst", "apis/components/components.memory.rst", "apis/components/components.memory.memory.rst", "apis/components/components.model_client.rst", "apis/components/components.model_client.utils.rst", "apis/components/components.output_parsers.rst", "apis/components/components.reasoning.rst", "apis/components/components.retriever.rst", "apis/components/components.retriever.postgres_retriever.rst", "apis/components/index.rst", "apis/core/core.base_data_class.rst", "apis/core/core.component.rst", "apis/core/core.data_components.rst", "apis/core/core.db.rst", "apis/core/core.default_prompt_template.rst", "apis/core/core.document_splitter.rst", "apis/core/core.embedder.rst", "apis/core/core.func_tool.rst", "apis/core/core.functional.rst", "apis/core/core.generator.rst", "apis/core/core.memory.rst", "apis/core/core.model_client.rst", "apis/core/core.parameter.rst", "apis/core/core.prompt_builder.rst", "apis/core/core.retriever.rst", "apis/core/core.string_parser.rst", "apis/core/core.tokenizer.rst", "apis/core/core.tool_manager.rst", "apis/core/core.types.rst", "apis/core/index.rst", "apis/eval/eval.answer_match_acc.rst", "apis/eval/eval.evaluators.rst", "apis/eval/eval.llm_as_judge.rst", "apis/eval/eval.retriever_recall.rst", "apis/eval/eval.retriever_relevance.rst", "apis/eval/index.rst", "apis/index.rst", "apis/optim/index.rst", "apis/optim/optim.few_shot_optimizer.rst", "apis/optim/optim.llm_augment.rst", "apis/optim/optim.llm_optimizer.rst", "apis/optim/optim.optimizer.rst", "apis/optim/optim.sampler.rst", "apis/tracing/index.rst", "apis/tracing/tracing.decorators.rst", "apis/tracing/tracing.generator_call_logger.rst", "apis/tracing/tracing.generator_state_logger.rst", "apis/utils/index.rst", "apis/utils/utils.config.rst", "apis/utils/utils.file_io.rst", "apis/utils/utils.lazy_import.rst", "apis/utils/utils.logger.rst", "apis/utils/utils.registry.rst", "apis/utils/utils.serialization.rst", "apis/utils/utils.setup_env.rst", "contributor/contribute_to_document.rst", "contributor/contribution_guide.rst", "contributor/index.rst", "developer_notes/agent.rst", "developer_notes/base_data_class.rst", "developer_notes/class_hierarchy.rst", "developer_notes/component.rst", "developer_notes/data_pipeline.rst", "developer_notes/db.rst", "developer_notes/embedder.rst", "developer_notes/embedder_xy.rst", "developer_notes/evaluation.rst", "developer_notes/generator.rst", "developer_notes/index.rst", "developer_notes/lightrag_design_philosophy.rst", "developer_notes/llm_intro.rst", "developer_notes/logging.rst", "developer_notes/logging_tracing.rst", "developer_notes/model_client.rst", "developer_notes/optimizer.rst", "developer_notes/output_parsers.rst", "developer_notes/parameter.rst", "developer_notes/prompt.rst", "developer_notes/rag.rst", "developer_notes/react_agent_xy.rst", "developer_notes/retriever.rst", "developer_notes/retriever_xy.rst", "developer_notes/text_splitter.rst", "developer_notes/tool_helper.rst", "get_started/community.rst", "get_started/index.rst", "get_started/installation.rst", "get_started/introduction.rst", "get_started/lightrag_in_10_mins.rst", "index.rst", "resources/index.rst", "resources/resources.rst", "tutorials/eval_a_rag.rst", "tutorials/index.rst", "tutorials/introduction_to_basedataclass.rst", "tutorials/logging.rst"], "indexentries": {"acall() (anthropicapiclient method)": [[10, "components.model_client.anthropic_client.AnthropicAPIClient.acall", false]], "acall() (cohereapiclient method)": [[11, "components.model_client.cohere_client.CohereAPIClient.acall", false]], "acall() (component method)": [[40, "core.component.Component.acall", false]], "acall() (embedder method)": [[45, "core.embedder.Embedder.acall", false]], "acall() (functiontool method)": [[46, "core.func_tool.FunctionTool.acall", false]], "acall() (generator method)": [[48, "core.generator.Generator.acall", false]], "acall() (groqapiclient method)": [[13, "components.model_client.groq_client.GroqAPIClient.acall", false]], "acall() (modelclient method)": [[50, "core.model_client.ModelClient.acall", false]], "acall() (openaiclient method)": [[14, "components.model_client.openai_client.OpenAIClient.acall", false]], "acall() (retriever method)": [[53, "core.retriever.Retriever.acall", false]], "action (functionexpression attribute)": [[57, "core.types.FunctionExpression.action", false]], "action (stepoutput attribute)": [[57, "core.types.StepOutput.action", false]], "add() (localdb method)": [[42, "core.db.LocalDB.add", false]], "add_component() (component method)": [[40, "core.component.Component.add_component", false]], "answermatchacc (class in eval.answer_match_acc)": [[59, "eval.answer_match_acc.AnswerMatchAcc", false]], "anthropic (modelclienttype attribute)": [[57, "core.types.ModelClientType.ANTHROPIC", false]], "anthropic (optionalpackages attribute)": [[79, "utils.lazy_import.OptionalPackages.ANTHROPIC", false]], "anthropicapiclient (class in components.model_client.anthropic_client)": [[10, "components.model_client.anthropic_client.AnthropicAPIClient", false]], "append() (sequential method)": [[40, "core.component.Sequential.append", false]], "append_dialog_turn() (conversation method)": [[57, "core.types.Conversation.append_dialog_turn", false]], "append_to_jsonl() (in module utils.file_io)": [[78, "utils.file_io.append_to_jsonl", false]], "args (function attribute)": [[57, "core.types.Function.args", false]], "assistant_response (dialogturn attribute)": [[57, "core.types.DialogTurn.assistant_response", false]], "assistant_response_timestamp (dialogturn attribute)": [[57, "core.types.DialogTurn.assistant_response_timestamp", false]], "assistantresponse (class in core.types)": [[57, "core.types.AssistantResponse", false]], "augment_samples() (bootstrapfewshot method)": [[67, "optim.few_shot_optimizer.BootstrapFewShot.augment_samples", false]], "average_pool() (in module components.model_client.transformers_client)": [[15, "components.model_client.transformers_client.average_pool", false]], "batchembedder (class in core.embedder)": [[45, "core.embedder.BatchEmbedder", false]], "bm25retriever (class in components.retriever)": [[36, "components.retriever.BM25Retriever", false]], "bm25retriever (class in components.retriever.bm25_retriever)": [[19, "components.retriever.bm25_retriever.BM25Retriever", false]], "booleanoutputparser (class in components.output_parsers.outputs)": [[17, "components.output_parsers.outputs.BooleanOutputParser", false]], "bootstrapfewshot (class in optim.few_shot_optimizer)": [[67, "optim.few_shot_optimizer.BootstrapFewShot", false]], "build_index_from_documents() (bm25retriever method)": [[19, "components.retriever.bm25_retriever.BM25Retriever.build_index_from_documents", false], [36, "components.retriever.BM25Retriever.build_index_from_documents", false]], "build_index_from_documents() (llmretriever method)": [[21, "components.retriever.llm_retriever.LLMRetriever.build_index_from_documents", false], [36, "components.retriever.LLMRetriever.build_index_from_documents", false]], "build_index_from_documents() (rerankerretriever method)": [[23, "components.retriever.reranker_retriever.RerankerRetriever.build_index_from_documents", false], [36, "components.retriever.RerankerRetriever.build_index_from_documents", false]], "build_index_from_documents() (retriever method)": [[53, "core.retriever.Retriever.build_index_from_documents", false]], "call() (anthropicapiclient method)": [[10, "components.model_client.anthropic_client.AnthropicAPIClient.call", false]], "call() (batchembedder method)": [[45, "core.embedder.BatchEmbedder.call", false]], "call() (bm25retriever method)": [[19, "components.retriever.bm25_retriever.BM25Retriever.call", false], [36, "components.retriever.BM25Retriever.call", false]], "call() (booleanoutputparser method)": [[17, "components.output_parsers.outputs.BooleanOutputParser.call", false]], "call() (classsampler method)": [[71, "optim.sampler.ClassSampler.call", false]], "call() (cohereapiclient method)": [[11, "components.model_client.cohere_client.CohereAPIClient.call", false]], "call() (component method)": [[40, "core.component.Component.call", false]], "call() (defaultllmjudge method)": [[61, "eval.llm_as_judge.DefaultLLMJudge.call", false]], "call() (embedder method)": [[45, "core.embedder.Embedder.call", false]], "call() (funcomponent method)": [[40, "core.component.FunComponent.call", false]], "call() (functiontool method)": [[46, "core.func_tool.FunctionTool.call", false]], "call() (generator method)": [[48, "core.generator.Generator.call", false]], "call() (groqapiclient method)": [[13, "components.model_client.groq_client.GroqAPIClient.call", false]], "call() (jsonoutputparser method)": [[17, "components.output_parsers.outputs.JsonOutputParser.call", false], [34, "components.output_parsers.JsonOutputParser.call", false]], "call() (jsonparser method)": [[54, "core.string_parser.JsonParser.call", false]], "call() (listoutputparser method)": [[17, "components.output_parsers.outputs.ListOutputParser.call", false], [34, "components.output_parsers.ListOutputParser.call", false]], "call() (llmaugmenter method)": [[68, "optim.llm_augment.LLMAugmenter.call", false]], "call() (llmretriever method)": [[21, "components.retriever.llm_retriever.LLMRetriever.call", false], [36, "components.retriever.LLMRetriever.call", false]], "call() (modelclient method)": [[50, "core.model_client.ModelClient.call", false]], "call() (openaiclient method)": [[14, "components.model_client.openai_client.OpenAIClient.call", false]], "call() (outputparser method)": [[17, "components.output_parsers.outputs.OutputParser.call", false]], "call() (prompt method)": [[52, "core.prompt_builder.Prompt.call", false]], "call() (randomsampler method)": [[71, "optim.sampler.RandomSampler.call", false]], "call() (reactagent method)": [[0, "components.agent.react.ReActAgent.call", false]], "call() (rerankerretriever method)": [[23, "components.retriever.reranker_retriever.RerankerRetriever.call", false], [36, "components.retriever.RerankerRetriever.call", false]], "call() (retriever method)": [[53, "core.retriever.Retriever.call", false]], "call() (sampler method)": [[71, "optim.sampler.Sampler.call", false]], "call() (sequential method)": [[40, "core.component.Sequential.call", false]], "call() (textsplitter method)": [[8, "components.data_process.text_splitter.TextSplitter.call", false], [26, "components.data_process.TextSplitter.call", false], [29, "components.data_process.text_splitter.TextSplitter.call", false]], "call() (transformerllm method)": [[15, "components.model_client.transformers_client.TransformerLLM.call", false]], "call() (transformersclient method)": [[15, "components.model_client.transformers_client.TransformersClient.call", false]], "call() (yamloutputparser method)": [[17, "components.output_parsers.outputs.YamlOutputParser.call", false], [34, "components.output_parsers.YamlOutputParser.call", false]], "call() (yamlparser method)": [[54, "core.string_parser.YamlParser.call", false]], "check_object() (in module utils.serialization)": [[82, "utils.serialization.check_object", false]], "children() (component method)": [[40, "core.component.Component.children", false]], "class (objecttypes attribute)": [[82, "utils.serialization.ObjectTypes.CLASS", false]], "classsampler (class in optim.sampler)": [[71, "optim.sampler.ClassSampler", false]], "cohere (modelclienttype attribute)": [[57, "core.types.ModelClientType.COHERE", false]], "cohere (optionalpackages attribute)": [[79, "utils.lazy_import.OptionalPackages.COHERE", false]], "cohereapiclient (class in components.model_client.cohere_client)": [[11, "components.model_client.cohere_client.CohereAPIClient", false]], "component (class in core.component)": [[40, "core.component.Component", false]], "components() (component method)": [[40, "core.component.Component.components", false]], "components.agent.react": [[0, "module-components.agent.react", false]], "components.data_process": [[26, "module-components.data_process", false]], "components.data_process.data_components": [[6, "module-components.data_process.data_components", false], [27, "module-components.data_process.data_components", false]], "components.data_process.text_splitter": [[8, "module-components.data_process.text_splitter", false], [29, "module-components.data_process.text_splitter", false]], "components.memory": [[30, "module-components.memory", false]], "components.memory.memory": [[9, "module-components.memory.memory", false], [31, "module-components.memory.memory", false]], "components.model_client": [[32, "module-components.model_client", false]], "components.model_client.anthropic_client": [[10, "module-components.model_client.anthropic_client", false]], "components.model_client.cohere_client": [[11, "module-components.model_client.cohere_client", false]], "components.model_client.groq_client": [[13, "module-components.model_client.groq_client", false]], "components.model_client.openai_client": [[14, "module-components.model_client.openai_client", false]], "components.model_client.transformers_client": [[15, "module-components.model_client.transformers_client", false]], "components.model_client.utils": [[16, "module-components.model_client.utils", false], [33, "module-components.model_client.utils", false]], "components.output_parsers": [[34, "module-components.output_parsers", false]], "components.output_parsers.outputs": [[17, "module-components.output_parsers.outputs", false]], "components.reasoning": [[35, "module-components.reasoning", false]], "components.reasoning.chain_of_thought": [[18, "module-components.reasoning.chain_of_thought", false]], "components.retriever": [[36, "module-components.retriever", false]], "components.retriever.bm25_retriever": [[19, "module-components.retriever.bm25_retriever", false]], "components.retriever.llm_retriever": [[21, "module-components.retriever.llm_retriever", false]], "components.retriever.reranker_retriever": [[23, "module-components.retriever.reranker_retriever", false]], "compose_model_kwargs() (in module core.functional)": [[47, "core.functional.compose_model_kwargs", false]], "compose_prompt_kwargs() (prompt method)": [[52, "core.prompt_builder.Prompt.compose_prompt_kwargs", false]], "compute() (answermatchacc method)": [[59, "eval.answer_match_acc.AnswerMatchAcc.compute", false]], "compute() (llmasjudge method)": [[61, "eval.llm_as_judge.LLMasJudge.compute", false]], "compute() (retrieverrecall method)": [[62, "eval.retriever_recall.RetrieverRecall.compute", false]], "compute() (retrieverrelevance method)": [[63, "eval.retriever_relevance.RetrieverRelevance.compute", false]], "conversation (class in core.types)": [[57, "core.types.Conversation", false]], "conversation_id (dialogturn attribute)": [[57, "core.types.DialogTurn.conversation_id", false]], "convert_inputs_to_api_kwargs() (anthropicapiclient method)": [[10, "components.model_client.anthropic_client.AnthropicAPIClient.convert_inputs_to_api_kwargs", false]], "convert_inputs_to_api_kwargs() (cohereapiclient method)": [[11, "components.model_client.cohere_client.CohereAPIClient.convert_inputs_to_api_kwargs", false]], "convert_inputs_to_api_kwargs() (groqapiclient method)": [[13, "components.model_client.groq_client.GroqAPIClient.convert_inputs_to_api_kwargs", false]], "convert_inputs_to_api_kwargs() (modelclient method)": [[50, "core.model_client.ModelClient.convert_inputs_to_api_kwargs", false]], "convert_inputs_to_api_kwargs() (openaiclient method)": [[14, "components.model_client.openai_client.OpenAIClient.convert_inputs_to_api_kwargs", false]], "convert_inputs_to_api_kwargs() (transformersclient method)": [[15, "components.model_client.transformers_client.TransformersClient.convert_inputs_to_api_kwargs", false]], "convert_schema_to_signature() (in module core.functional)": [[47, "core.functional.convert_schema_to_signature", false]], "core.base_data_class": [[39, "module-core.base_data_class", false]], "core.component": [[40, "module-core.component", false]], "core.db": [[42, "module-core.db", false]], "core.default_prompt_template": [[43, "module-core.default_prompt_template", false]], "core.embedder": [[45, "module-core.embedder", false]], "core.func_tool": [[46, "module-core.func_tool", false]], "core.functional": [[47, "module-core.functional", false]], "core.generator": [[48, "module-core.generator", false]], "core.model_client": [[50, "module-core.model_client", false]], "core.parameter": [[51, "module-core.parameter", false]], "core.prompt_builder": [[52, "module-core.prompt_builder", false]], "core.retriever": [[53, "module-core.retriever", false]], "core.string_parser": [[54, "module-core.string_parser", false]], "core.tokenizer": [[55, "module-core.tokenizer", false]], "core.tool_manager": [[56, "module-core.tool_manager", false]], "core.types": [[57, "module-core.types", false]], "count_tokens() (tokenizer method)": [[55, "core.tokenizer.Tokenizer.count_tokens", false]], "create_from_dict() (dynamicdataclassfactory static method)": [[39, "core.base_data_class.DynamicDataClassFactory.create_from_dict", false]], "created_at (conversation attribute)": [[57, "core.types.Conversation.created_at", false]], "custom_asdict() (in module core.functional)": [[47, "core.functional.custom_asdict", false]], "data (embedderoutput attribute)": [[57, "core.types.EmbedderOutput.data", false]], "data (generatoroutput attribute)": [[57, "core.types.GeneratorOutput.data", false]], "data (sample attribute)": [[71, "optim.sampler.Sample.data", false]], "dataclass (class in core.base_data_class)": [[39, "core.base_data_class.DataClass", false]], "dataclass_obj_from_dict() (in module core.functional)": [[47, "core.functional.dataclass_obj_from_dict", false]], "dataclassformattype (class in core.base_data_class)": [[39, "core.base_data_class.DataClassFormatType", false]], "dataset (randomsampler attribute)": [[71, "optim.sampler.RandomSampler.dataset", false]], "decode() (tokenizer method)": [[55, "core.tokenizer.Tokenizer.decode", false]], "default() (in module utils.serialization)": [[82, "utils.serialization.default", false]], "default_lightrag_system_prompt (in module core.default_prompt_template)": [[43, "core.default_prompt_template.DEFAULT_LIGHTRAG_SYSTEM_PROMPT", false]], "defaultllmjudge (class in eval.llm_as_judge)": [[61, "eval.llm_as_judge.DefaultLLMJudge", false]], "delete() (localdb method)": [[42, "core.db.LocalDB.delete", false]], "delete_dialog_turn() (conversation method)": [[57, "core.types.Conversation.delete_dialog_turn", false]], "deserialize() (in module utils.serialization)": [[82, "utils.serialization.deserialize", false]], "dialog_turns (conversation attribute)": [[57, "core.types.Conversation.dialog_turns", false]], "dialog_turns_input (conversation attribute)": [[57, "core.types.Conversation.dialog_turns_input", false]], "dialogturn (class in core.types)": [[57, "core.types.DialogTurn", false]], "doc_indices (retrieveroutput attribute)": [[57, "core.types.RetrieverOutput.doc_indices", false]], "doc_scores (retrieveroutput attribute)": [[57, "core.types.RetrieverOutput.doc_scores", false]], "document (class in core.types)": [[57, "core.types.Document", false]], "documents (retrieveroutput attribute)": [[57, "core.types.RetrieverOutput.documents", false]], "dynamicdataclassfactory (class in core.base_data_class)": [[39, "core.base_data_class.DynamicDataClassFactory", false]], "embedder (class in core.embedder)": [[45, "core.embedder.Embedder", false]], "embedder (modeltype attribute)": [[57, "core.types.ModelType.EMBEDDER", false]], "embedderoutput (class in core.types)": [[57, "core.types.EmbedderOutput", false]], "embedderoutputtype (in module core.types)": [[57, "core.types.EmbedderOutputType", false]], "embedding (class in core.types)": [[57, "core.types.Embedding", false]], "embedding (embedding attribute)": [[57, "core.types.Embedding.embedding", false]], "embedding_dim (embedderoutput property)": [[57, "core.types.EmbedderOutput.embedding_dim", false]], "enable_library_logging() (in module utils.logger)": [[80, "utils.logger.enable_library_logging", false]], "encode() (tokenizer method)": [[55, "core.tokenizer.Tokenizer.encode", false]], "entitymapping (class in utils.registry)": [[81, "utils.registry.EntityMapping", false]], "error (embedderoutput attribute)": [[57, "core.types.EmbedderOutput.error", false]], "error (functionoutput attribute)": [[57, "core.types.FunctionOutput.error", false]], "error (generatoroutput attribute)": [[57, "core.types.GeneratorOutput.error", false]], "estimated_num_tokens (document attribute)": [[57, "core.types.Document.estimated_num_tokens", false]], "eval() (component method)": [[40, "core.component.Component.eval", false]], "eval.answer_match_acc": [[59, "module-eval.answer_match_acc", false]], "eval.llm_as_judge": [[61, "module-eval.llm_as_judge", false]], "eval.retriever_recall": [[62, "module-eval.retriever_recall", false]], "eval.retriever_relevance": [[63, "module-eval.retriever_relevance", false]], "evaluate_ast_node() (in module core.functional)": [[47, "core.functional.evaluate_ast_node", false]], "example_json (dataclassformattype attribute)": [[39, "core.base_data_class.DataClassFormatType.EXAMPLE_JSON", false]], "example_yaml (dataclassformattype attribute)": [[39, "core.base_data_class.DataClassFormatType.EXAMPLE_YAML", false]], "execute() (functiontool method)": [[46, "core.func_tool.FunctionTool.execute", false]], "execute_func() (toolmanager method)": [[56, "core.tool_manager.ToolManager.execute_func", false]], "execute_func_expr() (toolmanager method)": [[56, "core.tool_manager.ToolManager.execute_func_expr", false]], "execute_func_expr_via_eval() (toolmanager method)": [[56, "core.tool_manager.ToolManager.execute_func_expr_via_eval", false]], "execute_func_expr_via_sandbox() (toolmanager method)": [[56, "core.tool_manager.ToolManager.execute_func_expr_via_sandbox", false]], "extend() (localdb method)": [[42, "core.db.LocalDB.extend", false]], "extract_dataclass_type() (in module core.functional)": [[47, "core.functional.extract_dataclass_type", false]], "extract_json_str() (in module core.functional)": [[47, "core.functional.extract_json_str", false]], "extract_list_str() (in module core.functional)": [[47, "core.functional.extract_list_str", false]], "extract_yaml_str() (in module core.functional)": [[47, "core.functional.extract_yaml_str", false]], "faiss (optionalpackages attribute)": [[79, "utils.lazy_import.OptionalPackages.FAISS", false]], "fetch_items() (localdb method)": [[42, "core.db.LocalDB.fetch_items", false]], "fetch_transformed_items() (localdb method)": [[42, "core.db.LocalDB.fetch_transformed_items", false]], "fix_json_escaped_single_quotes() (in module core.functional)": [[47, "core.functional.fix_json_escaped_single_quotes", false]], "fix_json_missing_commas() (in module core.functional)": [[47, "core.functional.fix_json_missing_commas", false]], "fn_schema_str() (functiondefinition method)": [[57, "core.types.FunctionDefinition.fn_schema_str", false]], "format_class_str() (dataclass class method)": [[39, "core.base_data_class.DataClass.format_class_str", false]], "format_example_str() (dataclass method)": [[39, "core.base_data_class.DataClass.format_example_str", false]], "format_instructions() (booleanoutputparser method)": [[17, "components.output_parsers.outputs.BooleanOutputParser.format_instructions", false]], "format_instructions() (jsonoutputparser method)": [[17, "components.output_parsers.outputs.JsonOutputParser.format_instructions", false], [34, "components.output_parsers.JsonOutputParser.format_instructions", false]], "format_instructions() (listoutputparser method)": [[17, "components.output_parsers.outputs.ListOutputParser.format_instructions", false], [34, "components.output_parsers.ListOutputParser.format_instructions", false]], "format_instructions() (outputparser method)": [[17, "components.output_parsers.outputs.OutputParser.format_instructions", false]], "format_instructions() (yamloutputparser method)": [[17, "components.output_parsers.outputs.YamlOutputParser.format_instructions", false], [34, "components.output_parsers.YamlOutputParser.format_instructions", false]], "from_config() (component class method)": [[40, "core.component.Component.from_config", false]], "from_config() (embedder class method)": [[45, "core.embedder.Embedder.from_config", false]], "from_config() (generator class method)": [[48, "core.generator.Generator.from_config", false]], "from_dict() (component class method)": [[40, "core.component.Component.from_dict", false]], "from_dict() (dataclass class method)": [[39, "core.base_data_class.DataClass.from_dict", false]], "from_dict() (document class method)": [[57, "core.types.Document.from_dict", false]], "from_dict() (openaiclient class method)": [[14, "components.model_client.openai_client.OpenAIClient.from_dict", false]], "from_dict() (prompt class method)": [[52, "core.prompt_builder.Prompt.from_dict", false]], "from_dict_to_json() (in module core.functional)": [[47, "core.functional.from_dict_to_json", false]], "from_dict_to_yaml() (in module core.functional)": [[47, "core.functional.from_dict_to_yaml", false]], "from_function() (functionexpression class method)": [[57, "core.types.FunctionExpression.from_function", false]], "from_json() (dataclass class method)": [[39, "core.base_data_class.DataClass.from_json", false]], "from_json_to_dict() (in module core.functional)": [[47, "core.functional.from_json_to_dict", false]], "from_yaml() (dataclass class method)": [[39, "core.base_data_class.DataClass.from_yaml", false]], "from_yaml_to_dict() (in module core.functional)": [[47, "core.functional.from_yaml_to_dict", false]], "fun_args (stepoutput attribute)": [[57, "core.types.StepOutput.fun_args", false]], "fun_kwargs (stepoutput attribute)": [[57, "core.types.StepOutput.fun_kwargs", false]], "fun_name (stepoutput attribute)": [[57, "core.types.StepOutput.fun_name", false]], "fun_to_component() (in module core.component)": [[40, "core.component.fun_to_component", false]], "func_desc (functiondefinition attribute)": [[57, "core.types.FunctionDefinition.func_desc", false]], "func_name (functiondefinition attribute)": [[57, "core.types.FunctionDefinition.func_name", false]], "func_parameters (functiondefinition attribute)": [[57, "core.types.FunctionDefinition.func_parameters", false]], "funcomponent (class in core.component)": [[40, "core.component.FunComponent", false]], "function (class in core.types)": [[57, "core.types.Function", false]], "function_definitions (toolmanager property)": [[56, "core.tool_manager.ToolManager.function_definitions", false]], "functiondefinition (class in core.types)": [[57, "core.types.FunctionDefinition", false]], "functionexpression (class in core.types)": [[57, "core.types.FunctionExpression", false]], "functionoutput (class in core.types)": [[57, "core.types.FunctionOutput", false]], "functiontool (class in core.func_tool)": [[46, "core.func_tool.FunctionTool", false]], "generate_function_call_expression_from_callable() (in module core.functional)": [[47, "core.functional.generate_function_call_expression_from_callable", false]], "generate_readable_key_for_function() (in module core.functional)": [[47, "core.functional.generate_readable_key_for_function", false]], "generator (class in core.generator)": [[48, "core.generator.Generator", false]], "generator_names (generatorstatelogger property)": [[75, "tracing.generator_state_logger.GeneratorStateLogger.generator_names", false]], "generator_names_to_files (generatorcalllogger property)": [[74, "tracing.generator_call_logger.GeneratorCallLogger.generator_names_to_files", false]], "generatorcalllogger (class in tracing.generator_call_logger)": [[74, "tracing.generator_call_logger.GeneratorCallLogger", false]], "generatorcallrecord (class in tracing.generator_call_logger)": [[74, "tracing.generator_call_logger.GeneratorCallRecord", false]], "generatoroutput (class in core.types)": [[57, "core.types.GeneratorOutput", false]], "generatorstatelogger (class in tracing.generator_state_logger)": [[75, "tracing.generator_state_logger.GeneratorStateLogger", false]], "generatorstatesrecord (class in tracing.generator_state_logger)": [[75, "tracing.generator_state_logger.GeneratorStatesRecord", false]], "get() (entitymapping class method)": [[81, "utils.registry.EntityMapping.get", false]], "get_all() (entitymapping class method)": [[81, "utils.registry.EntityMapping.get_all", false]], "get_all_messages_content() (in module components.model_client.openai_client)": [[14, "components.model_client.openai_client.get_all_messages_content", false]], "get_calls() (generatorcalllogger method)": [[74, "tracing.generator_call_logger.GeneratorCallLogger.get_calls", false]], "get_chat_history_str() (conversation method)": [[57, "core.types.Conversation.get_chat_history_str", false]], "get_current_script_and_line() (in module utils.logger)": [[80, "utils.logger.get_current_script_and_line", false]], "get_dataclass_schema() (in module core.functional)": [[47, "core.functional.get_dataclass_schema", false]], "get_dialog_turns() (conversation method)": [[57, "core.types.Conversation.get_dialog_turns", false]], "get_first_message_content() (in module components.model_client.openai_client)": [[14, "components.model_client.openai_client.get_first_message_content", false]], "get_fun_schema() (in module core.functional)": [[47, "core.functional.get_fun_schema", false]], "get_jinja2_environment() (in module core.prompt_builder)": [[52, "core.prompt_builder.get_jinja2_environment", false]], "get_log_location() (generatorcalllogger method)": [[74, "tracing.generator_call_logger.GeneratorCallLogger.get_log_location", false]], "get_log_location() (generatorstatelogger method)": [[75, "tracing.generator_state_logger.GeneratorStateLogger.get_log_location", false]], "get_logger() (in module utils.logger)": [[80, "utils.logger.get_logger", false]], "get_model_args() (in module core.types)": [[57, "core.types.get_model_args", false]], "get_next_order() (conversation method)": [[57, "core.types.Conversation.get_next_order", false]], "get_probabilities() (in module components.model_client.openai_client)": [[14, "components.model_client.openai_client.get_probabilities", false]], "get_prompt_variables() (prompt method)": [[52, "core.prompt_builder.Prompt.get_prompt_variables", false]], "get_string_tokens() (tokenizer method)": [[55, "core.tokenizer.Tokenizer.get_string_tokens", false]], "get_subcomponent() (component method)": [[40, "core.component.Component.get_subcomponent", false]], "get_top_k_indices_scores() (in module core.functional)": [[47, "core.functional.get_top_k_indices_scores", false]], "get_transformed_data() (localdb method)": [[42, "core.db.LocalDB.get_transformed_data", false]], "get_transformer_keys() (localdb method)": [[42, "core.db.LocalDB.get_transformer_keys", false]], "get_type_schema() (in module core.functional)": [[47, "core.functional.get_type_schema", false]], "google_generativeai (optionalpackages attribute)": [[79, "utils.lazy_import.OptionalPackages.GOOGLE_GENERATIVEAI", false]], "groq (modelclienttype attribute)": [[57, "core.types.ModelClientType.GROQ", false]], "groq (optionalpackages attribute)": [[79, "utils.lazy_import.OptionalPackages.GROQ", false]], "groqapiclient (class in components.model_client.groq_client)": [[13, "components.model_client.groq_client.GroqAPIClient", false]], "gts (instruction attribute)": [[69, "optim.llm_optimizer.Instruction.gts", false]], "id (conversation attribute)": [[57, "core.types.Conversation.id", false]], "id (dialogturn attribute)": [[57, "core.types.DialogTurn.id", false]], "id (document attribute)": [[57, "core.types.Document.id", false]], "index (embedding attribute)": [[57, "core.types.Embedding.index", false]], "index (sample attribute)": [[71, "optim.sampler.Sample.index", false]], "index_keys (retriever attribute)": [[53, "core.retriever.Retriever.index_keys", false]], "indexed (retriever attribute)": [[53, "core.retriever.Retriever.indexed", false]], "infer_bge_reranker_base() (transformerreranker method)": [[15, "components.model_client.transformers_client.TransformerReranker.infer_bge_reranker_base", false]], "infer_gte_base_embedding() (transformerembedder method)": [[15, "components.model_client.transformers_client.TransformerEmbedder.infer_gte_base_embedding", false]], "init() (bootstrapfewshot method)": [[67, "optim.few_shot_optimizer.BootstrapFewShot.init", false]], "init_async_client() (anthropicapiclient method)": [[10, "components.model_client.anthropic_client.AnthropicAPIClient.init_async_client", false]], "init_async_client() (cohereapiclient method)": [[11, "components.model_client.cohere_client.CohereAPIClient.init_async_client", false]], "init_async_client() (groqapiclient method)": [[13, "components.model_client.groq_client.GroqAPIClient.init_async_client", false]], "init_async_client() (modelclient method)": [[50, "core.model_client.ModelClient.init_async_client", false]], "init_async_client() (openaiclient method)": [[14, "components.model_client.openai_client.OpenAIClient.init_async_client", false]], "init_llm_client() (transformersclient method)": [[15, "components.model_client.transformers_client.TransformersClient.init_llm_client", false]], "init_model() (transformerembedder method)": [[15, "components.model_client.transformers_client.TransformerEmbedder.init_model", false]], "init_model() (transformerllm method)": [[15, "components.model_client.transformers_client.TransformerLLM.init_model", false]], "init_model() (transformerreranker method)": [[15, "components.model_client.transformers_client.TransformerReranker.init_model", false]], "init_reranker_client() (transformersclient method)": [[15, "components.model_client.transformers_client.TransformersClient.init_reranker_client", false]], "init_sync_client() (anthropicapiclient method)": [[10, "components.model_client.anthropic_client.AnthropicAPIClient.init_sync_client", false]], "init_sync_client() (cohereapiclient method)": [[11, "components.model_client.cohere_client.CohereAPIClient.init_sync_client", false]], "init_sync_client() (groqapiclient method)": [[13, "components.model_client.groq_client.GroqAPIClient.init_sync_client", false]], "init_sync_client() (modelclient method)": [[50, "core.model_client.ModelClient.init_sync_client", false]], "init_sync_client() (openaiclient method)": [[14, "components.model_client.openai_client.OpenAIClient.init_sync_client", false]], "init_sync_client() (transformersclient method)": [[15, "components.model_client.transformers_client.TransformersClient.init_sync_client", false]], "input (embedderoutput attribute)": [[57, "core.types.EmbedderOutput.input", false]], "input (functionoutput attribute)": [[57, "core.types.FunctionOutput.input", false]], "instance (objecttypes attribute)": [[82, "utils.serialization.ObjectTypes.INSTANCE", false]], "instruction (class in optim.llm_optimizer)": [[69, "optim.llm_optimizer.Instruction", false]], "is_dataclass_instance() (in module core.functional)": [[47, "core.functional.is_dataclass_instance", false]], "is_key_in_template() (prompt method)": [[52, "core.prompt_builder.Prompt.is_key_in_template", false]], "is_normalized (embedderoutput property)": [[57, "core.types.EmbedderOutput.is_normalized", false]], "is_normalized() (in module core.functional)": [[47, "core.functional.is_normalized", false]], "is_picklable() (component method)": [[40, "core.component.Component.is_picklable", false]], "is_potential_dataclass() (in module core.functional)": [[47, "core.functional.is_potential_dataclass", false]], "is_running_in_event_loop() (in module core.func_tool)": [[46, "core.func_tool.is_running_in_event_loop", false]], "items (localdb attribute)": [[42, "core.db.LocalDB.items", false]], "json_definitions (toolmanager property)": [[56, "core.tool_manager.ToolManager.json_definitions", false]], "jsonoutputparser (class in components.output_parsers)": [[34, "components.output_parsers.JsonOutputParser", false]], "jsonoutputparser (class in components.output_parsers.outputs)": [[17, "components.output_parsers.outputs.JsonOutputParser", false]], "jsonparser (class in core.string_parser)": [[54, "core.string_parser.JsonParser", false]], "kwargs (function attribute)": [[57, "core.types.Function.kwargs", false]], "lazyimport (class in utils.lazy_import)": [[79, "utils.lazy_import.LazyImport", false]], "length (embedderoutput property)": [[57, "core.types.EmbedderOutput.length", false]], "length (localdb property)": [[42, "core.db.LocalDB.length", false]], "listoutputparser (class in components.output_parsers)": [[34, "components.output_parsers.ListOutputParser", false]], "listoutputparser (class in components.output_parsers.outputs)": [[17, "components.output_parsers.outputs.ListOutputParser", false]], "listparser (class in core.string_parser)": [[54, "core.string_parser.ListParser", false]], "llm (modeltype attribute)": [[57, "core.types.ModelType.LLM", false]], "llmasjudge (class in eval.llm_as_judge)": [[61, "eval.llm_as_judge.LLMasJudge", false]], "llmaugmenter (class in optim.llm_augment)": [[68, "optim.llm_augment.LLMAugmenter", false]], "llmoptimizer (class in optim.llm_optimizer)": [[69, "optim.llm_optimizer.LLMOptimizer", false]], "llmretriever (class in components.retriever)": [[36, "components.retriever.LLMRetriever", false]], "llmretriever (class in components.retriever.llm_retriever)": [[21, "components.retriever.llm_retriever.LLMRetriever", false]], "load() (generatorcalllogger method)": [[74, "tracing.generator_call_logger.GeneratorCallLogger.load", false]], "load() (generatorstatelogger method)": [[75, "tracing.generator_state_logger.GeneratorStateLogger.load", false]], "load() (in module utils.file_io)": [[78, "utils.file_io.load", false]], "load() (localdb method)": [[42, "core.db.LocalDB.load", false]], "load_from_file() (bm25retriever class method)": [[19, "components.retriever.bm25_retriever.BM25Retriever.load_from_file", false], [36, "components.retriever.BM25Retriever.load_from_file", false]], "load_from_file() (retriever class method)": [[53, "core.retriever.Retriever.load_from_file", false]], "load_from_pickle() (component class method)": [[40, "core.component.Component.load_from_pickle", false]], "load_json() (in module utils.file_io)": [[78, "utils.file_io.load_json", false]], "load_jsonl() (in module utils.file_io)": [[78, "utils.file_io.load_jsonl", false]], "load_meta_data() (generatorcalllogger method)": [[74, "tracing.generator_call_logger.GeneratorCallLogger.load_meta_data", false]], "load_pickle() (in module utils.file_io)": [[78, "utils.file_io.load_pickle", false]], "load_state() (localdb class method)": [[42, "core.db.LocalDB.load_state", false]], "load_state_dict() (component method)": [[40, "core.component.Component.load_state_dict", false]], "load_state_pickle() (component class method)": [[40, "core.component.Component.load_state_pickle", false]], "localdb (class in core.db)": [[42, "core.db.LocalDB", false]], "log_call() (generatorcalllogger method)": [[74, "tracing.generator_call_logger.GeneratorCallLogger.log_call", false]], "log_prompt() (generatorstatelogger method)": [[75, "tracing.generator_state_logger.GeneratorStateLogger.log_prompt", false]], "logprob (tokenlogprob attribute)": [[57, "core.types.TokenLogProb.logprob", false]], "mapper_setups (localdb attribute)": [[42, "core.db.LocalDB.mapper_setups", false]], "memory (class in components.memory.memory)": [[9, "components.memory.memory.Memory", false], [31, "components.memory.memory.Memory", false]], "meta_data (document attribute)": [[57, "core.types.Document.meta_data", false]], "metadata (assistantresponse attribute)": [[57, "core.types.AssistantResponse.metadata", false]], "metadata (conversation attribute)": [[57, "core.types.Conversation.metadata", false]], "metadata (dialogturn attribute)": [[57, "core.types.DialogTurn.metadata", false]], "metadata (generatoroutput attribute)": [[57, "core.types.GeneratorOutput.metadata", false]], "metadata (userquery attribute)": [[57, "core.types.UserQuery.metadata", false]], "model (embedderoutput attribute)": [[57, "core.types.EmbedderOutput.model", false]], "model_client (embedder attribute)": [[45, "core.embedder.Embedder.model_client", false]], "model_client (generator attribute)": [[48, "core.generator.Generator.model_client", false]], "model_kwargs (generatorcallrecord attribute)": [[74, "tracing.generator_call_logger.GeneratorCallRecord.model_kwargs", false]], "model_type (embedder attribute)": [[45, "core.embedder.Embedder.model_type", false]], "model_type (generator attribute)": [[48, "core.generator.Generator.model_type", false]], "modelclient (class in core.model_client)": [[50, "core.model_client.ModelClient", false]], "modelclienttype (class in core.types)": [[57, "core.types.ModelClientType", false]], "models (transformerembedder attribute)": [[15, "components.model_client.transformers_client.TransformerEmbedder.models", false]], "models (transformerllm attribute)": [[15, "components.model_client.transformers_client.TransformerLLM.models", false]], "models (transformerreranker attribute)": [[15, "components.model_client.transformers_client.TransformerReranker.models", false]], "modeltype (class in core.types)": [[57, "core.types.ModelType", false]], "module": [[0, "module-components.agent.react", false], [6, "module-components.data_process.data_components", false], [8, "module-components.data_process.text_splitter", false], [9, "module-components.memory.memory", false], [10, "module-components.model_client.anthropic_client", false], [11, "module-components.model_client.cohere_client", false], [13, "module-components.model_client.groq_client", false], [14, "module-components.model_client.openai_client", false], [15, "module-components.model_client.transformers_client", false], [16, "module-components.model_client.utils", false], [17, "module-components.output_parsers.outputs", false], [18, "module-components.reasoning.chain_of_thought", false], [19, "module-components.retriever.bm25_retriever", false], [21, "module-components.retriever.llm_retriever", false], [23, "module-components.retriever.reranker_retriever", false], [26, "module-components.data_process", false], [27, "module-components.data_process.data_components", false], [29, "module-components.data_process.text_splitter", false], [30, "module-components.memory", false], [31, "module-components.memory.memory", false], [32, "module-components.model_client", false], [33, "module-components.model_client.utils", false], [34, "module-components.output_parsers", false], [35, "module-components.reasoning", false], [36, "module-components.retriever", false], [39, "module-core.base_data_class", false], [40, "module-core.component", false], [42, "module-core.db", false], [43, "module-core.default_prompt_template", false], [45, "module-core.embedder", false], [46, "module-core.func_tool", false], [47, "module-core.functional", false], [48, "module-core.generator", false], [50, "module-core.model_client", false], [51, "module-core.parameter", false], [52, "module-core.prompt_builder", false], [53, "module-core.retriever", false], [54, "module-core.string_parser", false], [55, "module-core.tokenizer", false], [56, "module-core.tool_manager", false], [57, "module-core.types", false], [59, "module-eval.answer_match_acc", false], [61, "module-eval.llm_as_judge", false], [62, "module-eval.retriever_recall", false], [63, "module-eval.retriever_relevance", false], [67, "module-optim.few_shot_optimizer", false], [68, "module-optim.llm_augment", false], [69, "module-optim.llm_optimizer", false], [70, "module-optim.optimizer", false], [71, "module-optim.sampler", false], [73, "module-tracing.decorators", false], [74, "module-tracing.generator_call_logger", false], [75, "module-tracing.generator_state_logger", false], [77, "module-utils.config", false], [78, "module-utils.file_io", false], [79, "module-utils.lazy_import", false], [80, "module-utils.logger", false], [81, "module-utils.registry", false], [82, "module-utils.serialization", false], [83, "module-utils.setup_env", false]], "name (conversation attribute)": [[57, "core.types.Conversation.name", false]], "name (function attribute)": [[57, "core.types.Function.name", false]], "name (functionoutput attribute)": [[57, "core.types.FunctionOutput.name", false]], "name (localdb attribute)": [[42, "core.db.LocalDB.name", false]], "named_children() (component method)": [[40, "core.component.Component.named_children", false]], "named_components() (component method)": [[40, "core.component.Component.named_components", false]], "named_parameters() (component method)": [[40, "core.component.Component.named_parameters", false]], "new_component() (in module utils.config)": [[77, "utils.config.new_component", false]], "new_components_from_config() (in module utils.config)": [[77, "utils.config.new_components_from_config", false]], "normalize_np_array() (in module core.functional)": [[47, "core.functional.normalize_np_array", false]], "normalize_vector() (in module core.functional)": [[47, "core.functional.normalize_vector", false]], "objecttypes (class in utils.serialization)": [[82, "utils.serialization.ObjectTypes", false]], "observation (stepoutput attribute)": [[57, "core.types.StepOutput.observation", false]], "openai (modelclienttype attribute)": [[57, "core.types.ModelClientType.OPENAI", false]], "openai (optionalpackages attribute)": [[79, "utils.lazy_import.OptionalPackages.OPENAI", false]], "openaiclient (class in components.model_client.openai_client)": [[14, "components.model_client.openai_client.OpenAIClient", false]], "optim.few_shot_optimizer": [[67, "module-optim.few_shot_optimizer", false]], "optim.llm_augment": [[68, "module-optim.llm_augment", false]], "optim.llm_optimizer": [[69, "module-optim.llm_optimizer", false]], "optim.optimizer": [[70, "module-optim.optimizer", false]], "optim.sampler": [[71, "module-optim.sampler", false]], "optimizer (class in optim.optimizer)": [[70, "optim.optimizer.Optimizer", false]], "optionalpackages (class in utils.lazy_import)": [[79, "utils.lazy_import.OptionalPackages", false]], "order (dialogturn attribute)": [[57, "core.types.DialogTurn.order", false]], "order (document attribute)": [[57, "core.types.Document.order", false]], "output (functionoutput attribute)": [[57, "core.types.FunctionOutput.output", false]], "output (generatorcallrecord attribute)": [[74, "tracing.generator_call_logger.GeneratorCallRecord.output", false]], "output_processors (embedder attribute)": [[45, "core.embedder.Embedder.output_processors", false]], "outputparser (class in components.output_parsers.outputs)": [[17, "components.output_parsers.outputs.OutputParser", false]], "parameter (class in core.parameter)": [[51, "core.parameter.Parameter", false]], "parameters() (component method)": [[40, "core.component.Component.parameters", false]], "parent_doc_id (document attribute)": [[57, "core.types.Document.parent_doc_id", false]], "parse_chat_completion() (anthropicapiclient method)": [[10, "components.model_client.anthropic_client.AnthropicAPIClient.parse_chat_completion", false]], "parse_chat_completion() (groqapiclient method)": [[13, "components.model_client.groq_client.GroqAPIClient.parse_chat_completion", false]], "parse_chat_completion() (modelclient method)": [[50, "core.model_client.ModelClient.parse_chat_completion", false]], "parse_chat_completion() (openaiclient method)": [[14, "components.model_client.openai_client.OpenAIClient.parse_chat_completion", false]], "parse_chat_completion() (transformerllm method)": [[15, "components.model_client.transformers_client.TransformerLLM.parse_chat_completion", false]], "parse_embedding_response() (in module components.model_client.utils)": [[16, "components.model_client.utils.parse_embedding_response", false], [33, "components.model_client.utils.parse_embedding_response", false]], "parse_embedding_response() (modelclient method)": [[50, "core.model_client.ModelClient.parse_embedding_response", false]], "parse_embedding_response() (openaiclient method)": [[14, "components.model_client.openai_client.OpenAIClient.parse_embedding_response", false]], "parse_embedding_response() (transformersclient method)": [[15, "components.model_client.transformers_client.TransformersClient.parse_embedding_response", false]], "parse_func_expr() (toolmanager method)": [[56, "core.tool_manager.ToolManager.parse_func_expr", false]], "parse_function_call_expr() (in module core.functional)": [[47, "core.functional.parse_function_call_expr", false]], "parse_json_str_to_obj() (in module core.functional)": [[47, "core.functional.parse_json_str_to_obj", false]], "parse_yaml_str_to_obj() (in module core.functional)": [[47, "core.functional.parse_yaml_str_to_obj", false]], "parsed_input (functionoutput attribute)": [[57, "core.types.FunctionOutput.parsed_input", false]], "pgvector (optionalpackages attribute)": [[79, "utils.lazy_import.OptionalPackages.PGVECTOR", false]], "pickle_to_file() (component method)": [[40, "core.component.Component.pickle_to_file", false]], "preprocess() (tokenizer method)": [[55, "core.tokenizer.Tokenizer.preprocess", false]], "print_prompt() (generator method)": [[48, "core.generator.Generator.print_prompt", false]], "print_prompt() (prompt method)": [[52, "core.prompt_builder.Prompt.print_prompt", false]], "print_prompt_template() (prompt method)": [[52, "core.prompt_builder.Prompt.print_prompt_template", false]], "printc() (in module utils.logger)": [[80, "utils.logger.printc", false]], "prompt (class in core.prompt_builder)": [[52, "core.prompt_builder.Prompt", false]], "prompt_kwargs (generatorcallrecord attribute)": [[74, "tracing.generator_call_logger.GeneratorCallRecord.prompt_kwargs", false]], "prompt_states (generatorstatesrecord attribute)": [[75, "tracing.generator_state_logger.GeneratorStatesRecord.prompt_states", false]], "prompt_tokens (usage attribute)": [[57, "core.types.Usage.prompt_tokens", false]], "propose() (bootstrapfewshot method)": [[67, "optim.few_shot_optimizer.BootstrapFewShot.propose", false]], "propose() (llmoptimizer method)": [[69, "optim.llm_optimizer.LLMOptimizer.propose", false]], "query (retrieveroutput attribute)": [[57, "core.types.RetrieverOutput.query", false]], "query_str (userquery attribute)": [[57, "core.types.UserQuery.query_str", false]], "random_replace() (bootstrapfewshot method)": [[67, "optim.few_shot_optimizer.BootstrapFewShot.random_replace", false]], "random_replace() (classsampler method)": [[71, "optim.sampler.ClassSampler.random_replace", false]], "random_replace() (randomsampler method)": [[71, "optim.sampler.RandomSampler.random_replace", false]], "random_replace() (sampler method)": [[71, "optim.sampler.Sampler.random_replace", false]], "random_sample() (classsampler method)": [[71, "optim.sampler.ClassSampler.random_sample", false]], "random_sample() (randomsampler method)": [[71, "optim.sampler.RandomSampler.random_sample", false]], "randomsampler (class in optim.sampler)": [[71, "optim.sampler.RandomSampler", false]], "raw_response (embedderoutput attribute)": [[57, "core.types.EmbedderOutput.raw_response", false]], "raw_response (generatoroutput attribute)": [[57, "core.types.GeneratorOutput.raw_response", false]], "reactagent (class in components.agent.react)": [[0, "components.agent.react.ReActAgent", false]], "register() (entitymapping class method)": [[81, "utils.registry.EntityMapping.register", false]], "register_component() (component method)": [[40, "core.component.Component.register_component", false]], "register_generator() (generatorcalllogger method)": [[74, "tracing.generator_call_logger.GeneratorCallLogger.register_generator", false]], "register_parameter() (component method)": [[40, "core.component.Component.register_parameter", false]], "register_transformer() (localdb method)": [[42, "core.db.LocalDB.register_transformer", false]], "represent_ordereddict() (in module core.functional)": [[47, "core.functional.represent_ordereddict", false]], "required_field() (in module core.base_data_class)": [[39, "core.base_data_class.required_field", false]], "reranker (modeltype attribute)": [[57, "core.types.ModelType.RERANKER", false]], "rerankerretriever (class in components.retriever)": [[36, "components.retriever.RerankerRetriever", false]], "rerankerretriever (class in components.retriever.reranker_retriever)": [[23, "components.retriever.reranker_retriever.RerankerRetriever", false]], "reset() (bootstrapfewshot method)": [[67, "optim.few_shot_optimizer.BootstrapFewShot.reset", false]], "reset() (llmoptimizer method)": [[69, "optim.llm_optimizer.LLMOptimizer.reset", false]], "reset() (localdb method)": [[42, "core.db.LocalDB.reset", false]], "reset() (reactagent method)": [[0, "components.agent.react.ReActAgent.reset", false]], "reset_index() (bm25retriever method)": [[19, "components.retriever.bm25_retriever.BM25Retriever.reset_index", false], [36, "components.retriever.BM25Retriever.reset_index", false]], "reset_index() (llmretriever method)": [[21, "components.retriever.llm_retriever.LLMRetriever.reset_index", false], [36, "components.retriever.LLMRetriever.reset_index", false]], "reset_index() (rerankerretriever method)": [[23, "components.retriever.reranker_retriever.RerankerRetriever.reset_index", false], [36, "components.retriever.RerankerRetriever.reset_index", false]], "reset_index() (retriever method)": [[53, "core.retriever.Retriever.reset_index", false]], "reset_parameter() (bootstrapfewshot method)": [[67, "optim.few_shot_optimizer.BootstrapFewShot.reset_parameter", false]], "reset_parameter() (llmoptimizer method)": [[69, "optim.llm_optimizer.LLMOptimizer.reset_parameter", false]], "response_str (assistantresponse attribute)": [[57, "core.types.AssistantResponse.response_str", false]], "responses (instruction attribute)": [[69, "optim.llm_optimizer.Instruction.responses", false]], "retriever (class in core.retriever)": [[53, "core.retriever.Retriever", false]], "retriever_output_to_context_str() (in module components.data_process.data_components)": [[6, "components.data_process.data_components.retriever_output_to_context_str", false], [27, "components.data_process.data_components.retriever_output_to_context_str", false]], "retrieveroutput (class in core.types)": [[57, "core.types.RetrieverOutput", false]], "retrieveroutputtocontextstr (class in components.data_process)": [[26, "components.data_process.RetrieverOutputToContextStr", false]], "retrieveroutputtocontextstr (class in components.data_process.data_components)": [[6, "components.data_process.data_components.RetrieverOutputToContextStr", false], [27, "components.data_process.data_components.RetrieverOutputToContextStr", false]], "retrieverrecall (class in eval.retriever_recall)": [[62, "eval.retriever_recall.RetrieverRecall", false]], "retrieverrelevance (class in eval.retriever_relevance)": [[63, "eval.retriever_relevance.RetrieverRelevance", false]], "safe_import() (in module utils.lazy_import)": [[79, "utils.lazy_import.safe_import", false]], "sample (class in optim.sampler)": [[71, "optim.sampler.Sample", false]], "sampler (class in optim.sampler)": [[71, "optim.sampler.Sampler", false]], "sandbox_exec() (in module core.functional)": [[47, "core.functional.sandbox_exec", false]], "save() (generatorstatelogger method)": [[75, "tracing.generator_state_logger.GeneratorStateLogger.save", false]], "save() (in module utils.file_io)": [[78, "utils.file_io.save", false]], "save_json() (in module utils.file_io)": [[78, "utils.file_io.save_json", false]], "save_meta_data() (generatorcalllogger method)": [[74, "tracing.generator_call_logger.GeneratorCallLogger.save_meta_data", false]], "save_pickle() (in module utils.file_io)": [[78, "utils.file_io.save_pickle", false]], "save_state() (localdb method)": [[42, "core.db.LocalDB.save_state", false]], "save_to_file() (bm25retriever method)": [[19, "components.retriever.bm25_retriever.BM25Retriever.save_to_file", false], [36, "components.retriever.BM25Retriever.save_to_file", false]], "save_to_file() (retriever method)": [[53, "core.retriever.Retriever.save_to_file", false]], "schema (dataclassformattype attribute)": [[39, "core.base_data_class.DataClassFormatType.SCHEMA", false]], "score (document attribute)": [[57, "core.types.Document.score", false]], "score (instruction attribute)": [[69, "optim.llm_optimizer.Instruction.score", false]], "sequential (class in core.component)": [[40, "core.component.Sequential", false]], "serialize() (in module utils.serialization)": [[82, "utils.serialization.serialize", false]], "set_assistant_response() (dialogturn method)": [[57, "core.types.DialogTurn.set_assistant_response", false]], "set_user_query() (dialogturn method)": [[57, "core.types.DialogTurn.set_user_query", false]], "setup_env() (in module utils.setup_env)": [[83, "utils.setup_env.setup_env", false]], "signature_json (dataclassformattype attribute)": [[39, "core.base_data_class.DataClassFormatType.SIGNATURE_JSON", false]], "signature_yaml (dataclassformattype attribute)": [[39, "core.base_data_class.DataClassFormatType.SIGNATURE_YAML", false]], "split_text() (textsplitter method)": [[8, "components.data_process.text_splitter.TextSplitter.split_text", false], [26, "components.data_process.TextSplitter.split_text", false], [29, "components.data_process.text_splitter.TextSplitter.split_text", false]], "split_text_by_word_fn() (in module components.retriever)": [[36, "components.retriever.split_text_by_word_fn", false]], "split_text_by_word_fn() (in module components.retriever.bm25_retriever)": [[19, "components.retriever.bm25_retriever.split_text_by_word_fn", false]], "split_text_by_word_fn_then_lower_tokenized() (in module components.retriever)": [[36, "components.retriever.split_text_by_word_fn_then_lower_tokenized", false]], "split_text_by_word_fn_then_lower_tokenized() (in module components.retriever.bm25_retriever)": [[19, "components.retriever.bm25_retriever.split_text_by_word_fn_then_lower_tokenized", false]], "split_text_tokenized() (in module components.retriever.bm25_retriever)": [[19, "components.retriever.bm25_retriever.split_text_tokenized", false]], "sqlalchemy (optionalpackages attribute)": [[79, "utils.lazy_import.OptionalPackages.SQLALCHEMY", false]], "state_dict() (component method)": [[40, "core.component.Component.state_dict", false]], "state_dict() (optimizer method)": [[70, "optim.optimizer.Optimizer.state_dict", false]], "step (stepoutput attribute)": [[57, "core.types.StepOutput.step", false]], "step() (optimizer method)": [[70, "optim.optimizer.Optimizer.step", false]], "stepoutput (class in core.types)": [[57, "core.types.StepOutput", false]], "support_models (transformersclient attribute)": [[15, "components.model_client.transformers_client.TransformersClient.support_models", false]], "text (document attribute)": [[57, "core.types.Document.text", false]], "text (instruction attribute)": [[69, "optim.llm_optimizer.Instruction.text", false]], "textsplitter (class in components.data_process)": [[26, "components.data_process.TextSplitter", false]], "textsplitter (class in components.data_process.text_splitter)": [[8, "components.data_process.text_splitter.TextSplitter", false], [29, "components.data_process.text_splitter.TextSplitter", false]], "thought (function attribute)": [[57, "core.types.Function.thought", false]], "thought (functionexpression attribute)": [[57, "core.types.FunctionExpression.thought", false]], "thought (stepoutput attribute)": [[57, "core.types.StepOutput.thought", false]], "time_stamp (generatorcallrecord attribute)": [[74, "tracing.generator_call_logger.GeneratorCallRecord.time_stamp", false]], "time_stamp (generatorstatesrecord attribute)": [[75, "tracing.generator_state_logger.GeneratorStatesRecord.time_stamp", false]], "to_dict() (component method)": [[40, "core.component.Component.to_dict", false]], "to_dict() (dataclass method)": [[39, "core.base_data_class.DataClass.to_dict", false]], "to_dict() (in module utils.serialization)": [[82, "utils.serialization.to_dict", false]], "to_dict() (openaiclient method)": [[14, "components.model_client.openai_client.OpenAIClient.to_dict", false]], "to_dict() (parameter method)": [[51, "core.parameter.Parameter.to_dict", false]], "to_dict() (prompt method)": [[52, "core.prompt_builder.Prompt.to_dict", false]], "to_dict() (sample method)": [[71, "optim.sampler.Sample.to_dict", false]], "to_dict_class() (dataclass class method)": [[39, "core.base_data_class.DataClass.to_dict_class", false]], "to_json() (dataclass method)": [[39, "core.base_data_class.DataClass.to_json", false]], "to_json_obj() (dataclass method)": [[39, "core.base_data_class.DataClass.to_json_obj", false]], "to_json_signature() (dataclass class method)": [[39, "core.base_data_class.DataClass.to_json_signature", false]], "to_schema() (dataclass class method)": [[39, "core.base_data_class.DataClass.to_schema", false]], "to_schema_str() (dataclass class method)": [[39, "core.base_data_class.DataClass.to_schema_str", false]], "to_yaml() (dataclass method)": [[39, "core.base_data_class.DataClass.to_yaml", false]], "to_yaml_obj() (dataclass method)": [[39, "core.base_data_class.DataClass.to_yaml_obj", false]], "to_yaml_signature() (dataclass class method)": [[39, "core.base_data_class.DataClass.to_yaml_signature", false]], "toembeddings (class in components.data_process)": [[26, "components.data_process.ToEmbeddings", false]], "toembeddings (class in components.data_process.data_components)": [[6, "components.data_process.data_components.ToEmbeddings", false], [27, "components.data_process.data_components.ToEmbeddings", false]], "token (tokenlogprob attribute)": [[57, "core.types.TokenLogProb.token", false]], "tokenizer (class in core.tokenizer)": [[55, "core.tokenizer.Tokenizer", false]], "tokenlogprob (class in core.types)": [[57, "core.types.TokenLogProb", false]], "toolmanager (class in core.tool_manager)": [[56, "core.tool_manager.ToolManager", false]], "torch (optionalpackages attribute)": [[79, "utils.lazy_import.OptionalPackages.TORCH", false]], "total_tokens (usage attribute)": [[57, "core.types.Usage.total_tokens", false]], "trace_generator_call() (in module tracing.decorators)": [[73, "tracing.decorators.trace_generator_call", false]], "trace_generator_states() (in module tracing.decorators)": [[73, "tracing.decorators.trace_generator_states", false]], "tracing.decorators": [[73, "module-tracing.decorators", false]], "tracing.generator_call_logger": [[74, "module-tracing.generator_call_logger", false]], "tracing.generator_state_logger": [[75, "module-tracing.generator_state_logger", false]], "train() (component method)": [[40, "core.component.Component.train", false]], "training (component attribute)": [[40, "core.component.Component.training", false]], "transform() (localdb method)": [[42, "core.db.LocalDB.transform", false]], "transformed_items (localdb attribute)": [[42, "core.db.LocalDB.transformed_items", false]], "transformer_setups (localdb attribute)": [[42, "core.db.LocalDB.transformer_setups", false]], "transformerembedder (class in components.model_client.transformers_client)": [[15, "components.model_client.transformers_client.TransformerEmbedder", false]], "transformerllm (class in components.model_client.transformers_client)": [[15, "components.model_client.transformers_client.TransformerLLM", false]], "transformerreranker (class in components.model_client.transformers_client)": [[15, "components.model_client.transformers_client.TransformerReranker", false]], "transformers (modelclienttype attribute)": [[57, "core.types.ModelClientType.TRANSFORMERS", false]], "transformers (optionalpackages attribute)": [[79, "utils.lazy_import.OptionalPackages.TRANSFORMERS", false]], "transformersclient (class in components.model_client.transformers_client)": [[15, "components.model_client.transformers_client.TransformersClient", false]], "type (objecttypes attribute)": [[82, "utils.serialization.ObjectTypes.TYPE", false]], "undefined (modeltype attribute)": [[57, "core.types.ModelType.UNDEFINED", false]], "update_default_model_kwargs() (embedder method)": [[45, "core.embedder.Embedder.update_default_model_kwargs", false]], "update_dialog_turn() (conversation method)": [[57, "core.types.Conversation.update_dialog_turn", false]], "update_parameter() (bootstrapfewshot method)": [[67, "optim.few_shot_optimizer.BootstrapFewShot.update_parameter", false]], "update_parameter() (llmoptimizer method)": [[69, "optim.llm_optimizer.LLMOptimizer.update_parameter", false]], "update_prompt_kwargs() (prompt method)": [[52, "core.prompt_builder.Prompt.update_prompt_kwargs", false]], "update_value() (parameter method)": [[51, "core.parameter.Parameter.update_value", false]], "usage (class in core.types)": [[57, "core.types.Usage", false]], "usage (embedderoutput attribute)": [[57, "core.types.EmbedderOutput.usage", false]], "usage (generatoroutput attribute)": [[57, "core.types.GeneratorOutput.usage", false]], "user_id (conversation attribute)": [[57, "core.types.Conversation.user_id", false]], "user_id (dialogturn attribute)": [[57, "core.types.DialogTurn.user_id", false]], "user_query (dialogturn attribute)": [[57, "core.types.DialogTurn.user_query", false]], "user_query_timestamp (dialogturn attribute)": [[57, "core.types.DialogTurn.user_query_timestamp", false]], "userquery (class in core.types)": [[57, "core.types.UserQuery", false]], "utils.config": [[77, "module-utils.config", false]], "utils.file_io": [[78, "module-utils.file_io", false]], "utils.lazy_import": [[79, "module-utils.lazy_import", false]], "utils.logger": [[80, "module-utils.logger", false]], "utils.registry": [[81, "module-utils.registry", false]], "utils.serialization": [[82, "module-utils.serialization", false]], "utils.setup_env": [[83, "module-utils.setup_env", false]], "validate_data() (in module core.functional)": [[47, "core.functional.validate_data", false]], "vector (dialogturn attribute)": [[57, "core.types.DialogTurn.vector", false]], "vector (document attribute)": [[57, "core.types.Document.vector", false]], "write_list_to_jsonl() (in module utils.file_io)": [[78, "utils.file_io.write_list_to_jsonl", false]], "yaml_definitions (toolmanager property)": [[56, "core.tool_manager.ToolManager.yaml_definitions", false]], "yamloutputparser (class in components.output_parsers)": [[34, "components.output_parsers.YamlOutputParser", false]], "yamloutputparser (class in components.output_parsers.outputs)": [[17, "components.output_parsers.outputs.YamlOutputParser", false]], "yamlparser (class in core.string_parser)": [[54, "core.string_parser.YamlParser", false]]}, "objects": {"components": [[26, 0, 0, "-", "data_process"], [30, 0, 0, "-", "memory"], [32, 0, 0, "-", "model_client"], [34, 0, 0, "-", "output_parsers"], [35, 0, 0, "-", "reasoning"], [36, 0, 0, "-", "retriever"]], "components.agent": [[0, 0, 0, "-", "react"]], "components.agent.react": [[0, 1, 1, "", "ReActAgent"]], "components.agent.react.ReActAgent": [[0, 2, 1, "", "call"], [0, 2, 1, "", "reset"]], "components.data_process": [[26, 1, 1, "", "RetrieverOutputToContextStr"], [26, 1, 1, "", "TextSplitter"], [26, 1, 1, "", "ToEmbeddings"], [27, 0, 0, "-", "data_components"], [29, 0, 0, "-", "text_splitter"]], "components.data_process.TextSplitter": [[26, 2, 1, "", "call"], [26, 2, 1, "", "split_text"]], "components.data_process.data_components": [[27, 1, 1, "", "RetrieverOutputToContextStr"], [27, 1, 1, "", "ToEmbeddings"], [27, 3, 1, "", "retriever_output_to_context_str"]], "components.data_process.text_splitter": [[29, 1, 1, "", "TextSplitter"]], "components.data_process.text_splitter.TextSplitter": [[29, 2, 1, "", "call"], [29, 2, 1, "", "split_text"]], "components.memory": [[31, 0, 0, "-", "memory"]], "components.memory.memory": [[31, 1, 1, "", "Memory"]], "components.model_client": [[10, 0, 0, "-", "anthropic_client"], [11, 0, 0, "-", "cohere_client"], [13, 0, 0, "-", "groq_client"], [14, 0, 0, "-", "openai_client"], [15, 0, 0, "-", "transformers_client"], [33, 0, 0, "-", "utils"]], "components.model_client.anthropic_client": [[10, 1, 1, "", "AnthropicAPIClient"]], "components.model_client.anthropic_client.AnthropicAPIClient": [[10, 2, 1, "", "acall"], [10, 2, 1, "", "call"], [10, 2, 1, "", "convert_inputs_to_api_kwargs"], [10, 2, 1, "", "init_async_client"], [10, 2, 1, "", "init_sync_client"], [10, 2, 1, "", "parse_chat_completion"]], "components.model_client.cohere_client": [[11, 1, 1, "", "CohereAPIClient"]], "components.model_client.cohere_client.CohereAPIClient": [[11, 2, 1, "", "acall"], [11, 2, 1, "", "call"], [11, 2, 1, "", "convert_inputs_to_api_kwargs"], [11, 2, 1, "", "init_async_client"], [11, 2, 1, "", "init_sync_client"]], "components.model_client.groq_client": [[13, 1, 1, "", "GroqAPIClient"]], "components.model_client.groq_client.GroqAPIClient": [[13, 2, 1, "", "acall"], [13, 2, 1, "", "call"], [13, 2, 1, "", "convert_inputs_to_api_kwargs"], [13, 2, 1, "", "init_async_client"], [13, 2, 1, "", "init_sync_client"], [13, 2, 1, "", "parse_chat_completion"]], "components.model_client.openai_client": [[14, 1, 1, "", "OpenAIClient"], [14, 3, 1, "", "get_all_messages_content"], [14, 3, 1, "", "get_first_message_content"], [14, 3, 1, "", "get_probabilities"]], "components.model_client.openai_client.OpenAIClient": [[14, 2, 1, "", "acall"], [14, 2, 1, "", "call"], [14, 2, 1, "", "convert_inputs_to_api_kwargs"], [14, 2, 1, "", "from_dict"], [14, 2, 1, "", "init_async_client"], [14, 2, 1, "", "init_sync_client"], [14, 2, 1, "", "parse_chat_completion"], [14, 2, 1, "", "parse_embedding_response"], [14, 2, 1, "", "to_dict"]], "components.model_client.transformers_client": [[15, 1, 1, "", "TransformerEmbedder"], [15, 1, 1, "", "TransformerLLM"], [15, 1, 1, "", "TransformerReranker"], [15, 1, 1, "", "TransformersClient"], [15, 3, 1, "", "average_pool"]], "components.model_client.transformers_client.TransformerEmbedder": [[15, 2, 1, "", "infer_gte_base_embedding"], [15, 2, 1, "", "init_model"], [15, 4, 1, "", "models"]], "components.model_client.transformers_client.TransformerLLM": [[15, 2, 1, "", "call"], [15, 2, 1, "", "init_model"], [15, 4, 1, "", "models"], [15, 2, 1, "", "parse_chat_completion"]], "components.model_client.transformers_client.TransformerReranker": [[15, 2, 1, "", "infer_bge_reranker_base"], [15, 2, 1, "", "init_model"], [15, 4, 1, "", "models"]], "components.model_client.transformers_client.TransformersClient": [[15, 2, 1, "", "call"], [15, 2, 1, "", "convert_inputs_to_api_kwargs"], [15, 2, 1, "", "init_llm_client"], [15, 2, 1, "", "init_reranker_client"], [15, 2, 1, "", "init_sync_client"], [15, 2, 1, "", "parse_embedding_response"], [15, 4, 1, "", "support_models"]], "components.model_client.utils": [[33, 3, 1, "", "parse_embedding_response"]], "components.output_parsers": [[34, 1, 1, "", "JsonOutputParser"], [34, 1, 1, "", "ListOutputParser"], [34, 1, 1, "", "YamlOutputParser"], [17, 0, 0, "-", "outputs"]], "components.output_parsers.JsonOutputParser": [[34, 2, 1, "", "call"], [34, 2, 1, "", "format_instructions"]], "components.output_parsers.ListOutputParser": [[34, 2, 1, "", "call"], [34, 2, 1, "", "format_instructions"]], "components.output_parsers.YamlOutputParser": [[34, 2, 1, "", "call"], [34, 2, 1, "", "format_instructions"]], "components.output_parsers.outputs": [[17, 1, 1, "", "BooleanOutputParser"], [17, 1, 1, "", "JsonOutputParser"], [17, 1, 1, "", "ListOutputParser"], [17, 1, 1, "", "OutputParser"], [17, 1, 1, "", "YamlOutputParser"]], "components.output_parsers.outputs.BooleanOutputParser": [[17, 2, 1, "", "call"], [17, 2, 1, "", "format_instructions"]], "components.output_parsers.outputs.JsonOutputParser": [[17, 2, 1, "", "call"], [17, 2, 1, "", "format_instructions"]], "components.output_parsers.outputs.ListOutputParser": [[17, 2, 1, "", "call"], [17, 2, 1, "", "format_instructions"]], "components.output_parsers.outputs.OutputParser": [[17, 2, 1, "", "call"], [17, 2, 1, "", "format_instructions"]], "components.output_parsers.outputs.YamlOutputParser": [[17, 2, 1, "", "call"], [17, 2, 1, "", "format_instructions"]], "components.reasoning": [[18, 0, 0, "-", "chain_of_thought"]], "components.retriever": [[36, 1, 1, "", "BM25Retriever"], [36, 1, 1, "", "LLMRetriever"], [36, 1, 1, "", "RerankerRetriever"], [19, 0, 0, "-", "bm25_retriever"], [21, 0, 0, "-", "llm_retriever"], [23, 0, 0, "-", "reranker_retriever"], [36, 3, 1, "", "split_text_by_word_fn"], [36, 3, 1, "", "split_text_by_word_fn_then_lower_tokenized"]], "components.retriever.BM25Retriever": [[36, 2, 1, "", "build_index_from_documents"], [36, 2, 1, "", "call"], [36, 2, 1, "", "load_from_file"], [36, 2, 1, "", "reset_index"], [36, 2, 1, "", "save_to_file"]], "components.retriever.LLMRetriever": [[36, 2, 1, "", "build_index_from_documents"], [36, 2, 1, "", "call"], [36, 2, 1, "", "reset_index"]], "components.retriever.RerankerRetriever": [[36, 2, 1, "", "build_index_from_documents"], [36, 2, 1, "", "call"], [36, 2, 1, "", "reset_index"]], "components.retriever.bm25_retriever": [[19, 1, 1, "", "BM25Retriever"], [19, 3, 1, "", "split_text_by_word_fn"], [19, 3, 1, "", "split_text_by_word_fn_then_lower_tokenized"], [19, 3, 1, "", "split_text_tokenized"]], "components.retriever.bm25_retriever.BM25Retriever": [[19, 2, 1, "", "build_index_from_documents"], [19, 2, 1, "", "call"], [19, 2, 1, "", "load_from_file"], [19, 2, 1, "", "reset_index"], [19, 2, 1, "", "save_to_file"]], "components.retriever.llm_retriever": [[21, 1, 1, "", "LLMRetriever"]], "components.retriever.llm_retriever.LLMRetriever": [[21, 2, 1, "", "build_index_from_documents"], [21, 2, 1, "", "call"], [21, 2, 1, "", "reset_index"]], "components.retriever.reranker_retriever": [[23, 1, 1, "", "RerankerRetriever"]], "components.retriever.reranker_retriever.RerankerRetriever": [[23, 2, 1, "", "build_index_from_documents"], [23, 2, 1, "", "call"], [23, 2, 1, "", "reset_index"]], "core": [[39, 0, 0, "-", "base_data_class"], [40, 0, 0, "-", "component"], [42, 0, 0, "-", "db"], [43, 0, 0, "-", "default_prompt_template"], [45, 0, 0, "-", "embedder"], [46, 0, 0, "-", "func_tool"], [47, 0, 0, "-", "functional"], [48, 0, 0, "-", "generator"], [50, 0, 0, "-", "model_client"], [51, 0, 0, "-", "parameter"], [52, 0, 0, "-", "prompt_builder"], [53, 0, 0, "-", "retriever"], [54, 0, 0, "-", "string_parser"], [55, 0, 0, "-", "tokenizer"], [56, 0, 0, "-", "tool_manager"], [57, 0, 0, "-", "types"]], "core.base_data_class": [[39, 1, 1, "", "DataClass"], [39, 1, 1, "", "DataClassFormatType"], [39, 1, 1, "", "DynamicDataClassFactory"], [39, 3, 1, "", "required_field"]], "core.base_data_class.DataClass": [[39, 2, 1, "", "format_class_str"], [39, 2, 1, "", "format_example_str"], [39, 2, 1, "", "from_dict"], [39, 2, 1, "", "from_json"], [39, 2, 1, "", "from_yaml"], [39, 2, 1, "", "to_dict"], [39, 2, 1, "", "to_dict_class"], [39, 2, 1, "", "to_json"], [39, 2, 1, "", "to_json_obj"], [39, 2, 1, "", "to_json_signature"], [39, 2, 1, "", "to_schema"], [39, 2, 1, "", "to_schema_str"], [39, 2, 1, "", "to_yaml"], [39, 2, 1, "", "to_yaml_obj"], [39, 2, 1, "", "to_yaml_signature"]], "core.base_data_class.DataClassFormatType": [[39, 4, 1, "", "EXAMPLE_JSON"], [39, 4, 1, "", "EXAMPLE_YAML"], [39, 4, 1, "", "SCHEMA"], [39, 4, 1, "", "SIGNATURE_JSON"], [39, 4, 1, "", "SIGNATURE_YAML"]], "core.base_data_class.DynamicDataClassFactory": [[39, 2, 1, "", "create_from_dict"]], "core.component": [[40, 1, 1, "", "Component"], [40, 1, 1, "", "FunComponent"], [40, 1, 1, "", "Sequential"], [40, 3, 1, "", "fun_to_component"]], "core.component.Component": [[40, 2, 1, "", "acall"], [40, 2, 1, "", "add_component"], [40, 2, 1, "", "call"], [40, 2, 1, "", "children"], [40, 2, 1, "", "components"], [40, 2, 1, "", "eval"], [40, 2, 1, "", "from_config"], [40, 2, 1, "", "from_dict"], [40, 2, 1, "", "get_subcomponent"], [40, 2, 1, "", "is_picklable"], [40, 2, 1, "", "load_from_pickle"], [40, 2, 1, "", "load_state_dict"], [40, 2, 1, "", "load_state_pickle"], [40, 2, 1, "", "named_children"], [40, 2, 1, "", "named_components"], [40, 2, 1, "", "named_parameters"], [40, 2, 1, "", "parameters"], [40, 2, 1, "", "pickle_to_file"], [40, 2, 1, "", "register_component"], [40, 2, 1, "", "register_parameter"], [40, 2, 1, "", "state_dict"], [40, 2, 1, "", "to_dict"], [40, 2, 1, "", "train"], [40, 4, 1, "", "training"]], "core.component.FunComponent": [[40, 2, 1, "", "call"]], "core.component.Sequential": [[40, 2, 1, "", "append"], [40, 2, 1, "", "call"]], "core.db": [[42, 1, 1, "", "LocalDB"]], "core.db.LocalDB": [[42, 2, 1, "", "add"], [42, 2, 1, "", "delete"], [42, 2, 1, "", "extend"], [42, 2, 1, "", "fetch_items"], [42, 2, 1, "", "fetch_transformed_items"], [42, 2, 1, "", "get_transformed_data"], [42, 2, 1, "", "get_transformer_keys"], [42, 4, 1, "", "items"], [42, 5, 1, "", "length"], [42, 2, 1, "", "load"], [42, 2, 1, "", "load_state"], [42, 4, 1, "", "mapper_setups"], [42, 4, 1, "", "name"], [42, 2, 1, "", "register_transformer"], [42, 2, 1, "", "reset"], [42, 2, 1, "", "save_state"], [42, 2, 1, "", "transform"], [42, 4, 1, "", "transformed_items"], [42, 4, 1, "", "transformer_setups"]], "core.default_prompt_template": [[43, 6, 1, "", "DEFAULT_LIGHTRAG_SYSTEM_PROMPT"]], "core.embedder": [[45, 1, 1, "", "BatchEmbedder"], [45, 1, 1, "", "Embedder"]], "core.embedder.BatchEmbedder": [[45, 2, 1, "", "call"]], "core.embedder.Embedder": [[45, 2, 1, "", "acall"], [45, 2, 1, "", "call"], [45, 2, 1, "", "from_config"], [45, 4, 1, "", "model_client"], [45, 4, 1, "", "model_type"], [45, 4, 1, "", "output_processors"], [45, 2, 1, "", "update_default_model_kwargs"]], "core.func_tool": [[46, 1, 1, "", "FunctionTool"], [46, 3, 1, "", "is_running_in_event_loop"]], "core.func_tool.FunctionTool": [[46, 2, 1, "", "acall"], [46, 2, 1, "", "call"], [46, 2, 1, "", "execute"]], "core.functional": [[47, 3, 1, "", "compose_model_kwargs"], [47, 3, 1, "", "convert_schema_to_signature"], [47, 3, 1, "", "custom_asdict"], [47, 3, 1, "", "dataclass_obj_from_dict"], [47, 3, 1, "", "evaluate_ast_node"], [47, 3, 1, "", "extract_dataclass_type"], [47, 3, 1, "", "extract_json_str"], [47, 3, 1, "", "extract_list_str"], [47, 3, 1, "", "extract_yaml_str"], [47, 3, 1, "", "fix_json_escaped_single_quotes"], [47, 3, 1, "", "fix_json_missing_commas"], [47, 3, 1, "", "from_dict_to_json"], [47, 3, 1, "", "from_dict_to_yaml"], [47, 3, 1, "", "from_json_to_dict"], [47, 3, 1, "", "from_yaml_to_dict"], [47, 3, 1, "", "generate_function_call_expression_from_callable"], [47, 3, 1, "", "generate_readable_key_for_function"], [47, 3, 1, "", "get_dataclass_schema"], [47, 3, 1, "", "get_fun_schema"], [47, 3, 1, "", "get_top_k_indices_scores"], [47, 3, 1, "", "get_type_schema"], [47, 3, 1, "", "is_dataclass_instance"], [47, 3, 1, "", "is_normalized"], [47, 3, 1, "", "is_potential_dataclass"], [47, 3, 1, "", "normalize_np_array"], [47, 3, 1, "", "normalize_vector"], [47, 3, 1, "", "parse_function_call_expr"], [47, 3, 1, "", "parse_json_str_to_obj"], [47, 3, 1, "", "parse_yaml_str_to_obj"], [47, 3, 1, "", "represent_ordereddict"], [47, 3, 1, "", "sandbox_exec"], [47, 3, 1, "", "validate_data"]], "core.generator": [[48, 1, 1, "", "Generator"]], "core.generator.Generator": [[48, 2, 1, "", "acall"], [48, 2, 1, "", "call"], [48, 2, 1, "", "from_config"], [48, 4, 1, "", "model_client"], [48, 4, 1, "", "model_type"], [48, 2, 1, "", "print_prompt"]], "core.model_client": [[50, 1, 1, "", "ModelClient"]], "core.model_client.ModelClient": [[50, 2, 1, "", "acall"], [50, 2, 1, "", "call"], [50, 2, 1, "", "convert_inputs_to_api_kwargs"], [50, 2, 1, "", "init_async_client"], [50, 2, 1, "", "init_sync_client"], [50, 2, 1, "", "parse_chat_completion"], [50, 2, 1, "", "parse_embedding_response"]], "core.parameter": [[51, 1, 1, "", "Parameter"]], "core.parameter.Parameter": [[51, 2, 1, "", "to_dict"], [51, 2, 1, "", "update_value"]], "core.prompt_builder": [[52, 1, 1, "", "Prompt"], [52, 3, 1, "", "get_jinja2_environment"]], "core.prompt_builder.Prompt": [[52, 2, 1, "", "call"], [52, 2, 1, "", "compose_prompt_kwargs"], [52, 2, 1, "", "from_dict"], [52, 2, 1, "", "get_prompt_variables"], [52, 2, 1, "", "is_key_in_template"], [52, 2, 1, "", "print_prompt"], [52, 2, 1, "", "print_prompt_template"], [52, 2, 1, "", "to_dict"], [52, 2, 1, "", "update_prompt_kwargs"]], "core.retriever": [[53, 1, 1, "", "Retriever"]], "core.retriever.Retriever": [[53, 2, 1, "", "acall"], [53, 2, 1, "", "build_index_from_documents"], [53, 2, 1, "", "call"], [53, 4, 1, "", "index_keys"], [53, 4, 1, "", "indexed"], [53, 2, 1, "", "load_from_file"], [53, 2, 1, "", "reset_index"], [53, 2, 1, "", "save_to_file"]], "core.string_parser": [[54, 1, 1, "", "JsonParser"], [54, 1, 1, "", "ListParser"], [54, 1, 1, "", "YamlParser"]], "core.string_parser.JsonParser": [[54, 2, 1, "", "call"]], "core.string_parser.YamlParser": [[54, 2, 1, "", "call"]], "core.tokenizer": [[55, 1, 1, "", "Tokenizer"]], "core.tokenizer.Tokenizer": [[55, 2, 1, "", "count_tokens"], [55, 2, 1, "", "decode"], [55, 2, 1, "", "encode"], [55, 2, 1, "", "get_string_tokens"], [55, 2, 1, "", "preprocess"]], "core.tool_manager": [[56, 1, 1, "", "ToolManager"]], "core.tool_manager.ToolManager": [[56, 2, 1, "", "execute_func"], [56, 2, 1, "", "execute_func_expr"], [56, 2, 1, "", "execute_func_expr_via_eval"], [56, 2, 1, "", "execute_func_expr_via_sandbox"], [56, 5, 1, "", "function_definitions"], [56, 5, 1, "", "json_definitions"], [56, 2, 1, "", "parse_func_expr"], [56, 5, 1, "", "yaml_definitions"]], "core.types": [[57, 1, 1, "", "AssistantResponse"], [57, 1, 1, "", "Conversation"], [57, 1, 1, "", "DialogTurn"], [57, 1, 1, "", "Document"], [57, 1, 1, "", "EmbedderOutput"], [57, 4, 1, "", "EmbedderOutputType"], [57, 1, 1, "", "Embedding"], [57, 1, 1, "", "Function"], [57, 1, 1, "", "FunctionDefinition"], [57, 1, 1, "", "FunctionExpression"], [57, 1, 1, "", "FunctionOutput"], [57, 1, 1, "", "GeneratorOutput"], [57, 1, 1, "", "ModelClientType"], [57, 1, 1, "", "ModelType"], [57, 1, 1, "", "RetrieverOutput"], [57, 1, 1, "", "StepOutput"], [57, 1, 1, "", "TokenLogProb"], [57, 1, 1, "", "Usage"], [57, 1, 1, "", "UserQuery"], [57, 3, 1, "", "get_model_args"]], "core.types.AssistantResponse": [[57, 4, 1, "", "metadata"], [57, 4, 1, "", "response_str"]], "core.types.Conversation": [[57, 2, 1, "", "append_dialog_turn"], [57, 4, 1, "", "created_at"], [57, 2, 1, "", "delete_dialog_turn"], [57, 4, 1, "", "dialog_turns"], [57, 4, 1, "", "dialog_turns_input"], [57, 2, 1, "", "get_chat_history_str"], [57, 2, 1, "", "get_dialog_turns"], [57, 2, 1, "", "get_next_order"], [57, 4, 1, "", "id"], [57, 4, 1, "", "metadata"], [57, 4, 1, "", "name"], [57, 2, 1, "", "update_dialog_turn"], [57, 4, 1, "", "user_id"]], "core.types.DialogTurn": [[57, 4, 1, "", "assistant_response"], [57, 4, 1, "", "assistant_response_timestamp"], [57, 4, 1, "", "conversation_id"], [57, 4, 1, "", "id"], [57, 4, 1, "", "metadata"], [57, 4, 1, "", "order"], [57, 2, 1, "", "set_assistant_response"], [57, 2, 1, "", "set_user_query"], [57, 4, 1, "", "user_id"], [57, 4, 1, "", "user_query"], [57, 4, 1, "", "user_query_timestamp"], [57, 4, 1, "", "vector"]], "core.types.Document": [[57, 4, 1, "", "estimated_num_tokens"], [57, 2, 1, "", "from_dict"], [57, 4, 1, "", "id"], [57, 4, 1, "", "meta_data"], [57, 4, 1, "", "order"], [57, 4, 1, "", "parent_doc_id"], [57, 4, 1, "", "score"], [57, 4, 1, "", "text"], [57, 4, 1, "", "vector"]], "core.types.EmbedderOutput": [[57, 4, 1, "", "data"], [57, 5, 1, "", "embedding_dim"], [57, 4, 1, "", "error"], [57, 4, 1, "", "input"], [57, 5, 1, "", "is_normalized"], [57, 5, 1, "", "length"], [57, 4, 1, "", "model"], [57, 4, 1, "", "raw_response"], [57, 4, 1, "", "usage"]], "core.types.Embedding": [[57, 4, 1, "", "embedding"], [57, 4, 1, "", "index"]], "core.types.Function": [[57, 4, 1, "", "args"], [57, 4, 1, "", "kwargs"], [57, 4, 1, "", "name"], [57, 4, 1, "", "thought"]], "core.types.FunctionDefinition": [[57, 2, 1, "", "fn_schema_str"], [57, 4, 1, "", "func_desc"], [57, 4, 1, "", "func_name"], [57, 4, 1, "", "func_parameters"]], "core.types.FunctionExpression": [[57, 4, 1, "", "action"], [57, 2, 1, "", "from_function"], [57, 4, 1, "", "thought"]], "core.types.FunctionOutput": [[57, 4, 1, "", "error"], [57, 4, 1, "", "input"], [57, 4, 1, "", "name"], [57, 4, 1, "", "output"], [57, 4, 1, "", "parsed_input"]], "core.types.GeneratorOutput": [[57, 4, 1, "", "data"], [57, 4, 1, "", "error"], [57, 4, 1, "", "metadata"], [57, 4, 1, "", "raw_response"], [57, 4, 1, "", "usage"]], "core.types.ModelClientType": [[57, 4, 1, "", "ANTHROPIC"], [57, 4, 1, "", "COHERE"], [57, 4, 1, "", "GROQ"], [57, 4, 1, "", "OPENAI"], [57, 4, 1, "", "TRANSFORMERS"]], "core.types.ModelType": [[57, 4, 1, "", "EMBEDDER"], [57, 4, 1, "", "LLM"], [57, 4, 1, "", "RERANKER"], [57, 4, 1, "", "UNDEFINED"]], "core.types.RetrieverOutput": [[57, 4, 1, "", "doc_indices"], [57, 4, 1, "", "doc_scores"], [57, 4, 1, "", "documents"], [57, 4, 1, "", "query"]], "core.types.StepOutput": [[57, 4, 1, "", "action"], [57, 4, 1, "", "fun_args"], [57, 4, 1, "", "fun_kwargs"], [57, 4, 1, "", "fun_name"], [57, 4, 1, "", "observation"], [57, 4, 1, "", "step"], [57, 4, 1, "", "thought"]], "core.types.TokenLogProb": [[57, 4, 1, "", "logprob"], [57, 4, 1, "", "token"]], "core.types.Usage": [[57, 4, 1, "", "prompt_tokens"], [57, 4, 1, "", "total_tokens"]], "core.types.UserQuery": [[57, 4, 1, "", "metadata"], [57, 4, 1, "", "query_str"]], "eval": [[59, 0, 0, "-", "answer_match_acc"], [61, 0, 0, "-", "llm_as_judge"], [62, 0, 0, "-", "retriever_recall"], [63, 0, 0, "-", "retriever_relevance"]], "eval.answer_match_acc": [[59, 1, 1, "", "AnswerMatchAcc"]], "eval.answer_match_acc.AnswerMatchAcc": [[59, 2, 1, "", "compute"]], "eval.llm_as_judge": [[61, 1, 1, "", "DefaultLLMJudge"], [61, 1, 1, "", "LLMasJudge"]], "eval.llm_as_judge.DefaultLLMJudge": [[61, 2, 1, "", "call"]], "eval.llm_as_judge.LLMasJudge": [[61, 2, 1, "", "compute"]], "eval.retriever_recall": [[62, 1, 1, "", "RetrieverRecall"]], "eval.retriever_recall.RetrieverRecall": [[62, 2, 1, "", "compute"]], "eval.retriever_relevance": [[63, 1, 1, "", "RetrieverRelevance"]], "eval.retriever_relevance.RetrieverRelevance": [[63, 2, 1, "", "compute"]], "optim": [[67, 0, 0, "-", "few_shot_optimizer"], [68, 0, 0, "-", "llm_augment"], [69, 0, 0, "-", "llm_optimizer"], [70, 0, 0, "-", "optimizer"], [71, 0, 0, "-", "sampler"]], "optim.few_shot_optimizer": [[67, 1, 1, "", "BootstrapFewShot"]], "optim.few_shot_optimizer.BootstrapFewShot": [[67, 2, 1, "", "augment_samples"], [67, 2, 1, "", "init"], [67, 2, 1, "", "propose"], [67, 2, 1, "", "random_replace"], [67, 2, 1, "", "reset"], [67, 2, 1, "", "reset_parameter"], [67, 2, 1, "", "update_parameter"]], "optim.llm_augment": [[68, 1, 1, "", "LLMAugmenter"]], "optim.llm_augment.LLMAugmenter": [[68, 2, 1, "", "call"]], "optim.llm_optimizer": [[69, 1, 1, "", "Instruction"], [69, 1, 1, "", "LLMOptimizer"]], "optim.llm_optimizer.Instruction": [[69, 4, 1, "", "gts"], [69, 4, 1, "", "responses"], [69, 4, 1, "", "score"], [69, 4, 1, "", "text"]], "optim.llm_optimizer.LLMOptimizer": [[69, 2, 1, "", "propose"], [69, 2, 1, "", "reset"], [69, 2, 1, "", "reset_parameter"], [69, 2, 1, "", "update_parameter"]], "optim.optimizer": [[70, 1, 1, "", "Optimizer"]], "optim.optimizer.Optimizer": [[70, 2, 1, "", "state_dict"], [70, 2, 1, "", "step"]], "optim.sampler": [[71, 1, 1, "", "ClassSampler"], [71, 1, 1, "", "RandomSampler"], [71, 1, 1, "", "Sample"], [71, 1, 1, "", "Sampler"]], "optim.sampler.ClassSampler": [[71, 2, 1, "", "call"], [71, 2, 1, "", "random_replace"], [71, 2, 1, "", "random_sample"]], "optim.sampler.RandomSampler": [[71, 2, 1, "", "call"], [71, 4, 1, "", "dataset"], [71, 2, 1, "", "random_replace"], [71, 2, 1, "", "random_sample"]], "optim.sampler.Sample": [[71, 4, 1, "", "data"], [71, 4, 1, "", "index"], [71, 2, 1, "", "to_dict"]], "optim.sampler.Sampler": [[71, 2, 1, "", "call"], [71, 2, 1, "", "random_replace"]], "tracing": [[73, 0, 0, "-", "decorators"], [74, 0, 0, "-", "generator_call_logger"], [75, 0, 0, "-", "generator_state_logger"]], "tracing.decorators": [[73, 3, 1, "", "trace_generator_call"], [73, 3, 1, "", "trace_generator_states"]], "tracing.generator_call_logger": [[74, 1, 1, "", "GeneratorCallLogger"], [74, 1, 1, "", "GeneratorCallRecord"]], "tracing.generator_call_logger.GeneratorCallLogger": [[74, 5, 1, "", "generator_names_to_files"], [74, 2, 1, "", "get_calls"], [74, 2, 1, "", "get_log_location"], [74, 2, 1, "", "load"], [74, 2, 1, "", "load_meta_data"], [74, 2, 1, "", "log_call"], [74, 2, 1, "", "register_generator"], [74, 2, 1, "", "save_meta_data"]], "tracing.generator_call_logger.GeneratorCallRecord": [[74, 4, 1, "", "model_kwargs"], [74, 4, 1, "", "output"], [74, 4, 1, "", "prompt_kwargs"], [74, 4, 1, "", "time_stamp"]], "tracing.generator_state_logger": [[75, 1, 1, "", "GeneratorStateLogger"], [75, 1, 1, "", "GeneratorStatesRecord"]], "tracing.generator_state_logger.GeneratorStateLogger": [[75, 5, 1, "", "generator_names"], [75, 2, 1, "", "get_log_location"], [75, 2, 1, "", "load"], [75, 2, 1, "", "log_prompt"], [75, 2, 1, "", "save"]], "tracing.generator_state_logger.GeneratorStatesRecord": [[75, 4, 1, "", "prompt_states"], [75, 4, 1, "", "time_stamp"]], "utils": [[77, 0, 0, "-", "config"], [78, 0, 0, "-", "file_io"], [79, 0, 0, "-", "lazy_import"], [80, 0, 0, "-", "logger"], [81, 0, 0, "-", "registry"], [82, 0, 0, "-", "serialization"], [83, 0, 0, "-", "setup_env"]], "utils.config": [[77, 3, 1, "", "new_component"], [77, 3, 1, "", "new_components_from_config"]], "utils.file_io": [[78, 3, 1, "", "append_to_jsonl"], [78, 3, 1, "", "load"], [78, 3, 1, "", "load_json"], [78, 3, 1, "", "load_jsonl"], [78, 3, 1, "", "load_pickle"], [78, 3, 1, "", "save"], [78, 3, 1, "", "save_json"], [78, 3, 1, "", "save_pickle"], [78, 3, 1, "", "write_list_to_jsonl"]], "utils.lazy_import": [[79, 1, 1, "", "LazyImport"], [79, 1, 1, "", "OptionalPackages"], [79, 3, 1, "", "safe_import"]], "utils.lazy_import.OptionalPackages": [[79, 4, 1, "", "ANTHROPIC"], [79, 4, 1, "", "COHERE"], [79, 4, 1, "", "FAISS"], [79, 4, 1, "", "GOOGLE_GENERATIVEAI"], [79, 4, 1, "", "GROQ"], [79, 4, 1, "", "OPENAI"], [79, 4, 1, "", "PGVECTOR"], [79, 4, 1, "", "SQLALCHEMY"], [79, 4, 1, "", "TORCH"], [79, 4, 1, "", "TRANSFORMERS"]], "utils.logger": [[80, 3, 1, "", "enable_library_logging"], [80, 3, 1, "", "get_current_script_and_line"], [80, 3, 1, "", "get_logger"], [80, 3, 1, "", "printc"]], "utils.registry": [[81, 1, 1, "", "EntityMapping"]], "utils.registry.EntityMapping": [[81, 2, 1, "", "get"], [81, 2, 1, "", "get_all"], [81, 2, 1, "", "register"]], "utils.serialization": [[82, 1, 1, "", "ObjectTypes"], [82, 3, 1, "", "check_object"], [82, 3, 1, "", "default"], [82, 3, 1, "", "deserialize"], [82, 3, 1, "", "serialize"], [82, 3, 1, "", "to_dict"]], "utils.serialization.ObjectTypes": [[82, 4, 1, "", "CLASS"], [82, 4, 1, "", "INSTANCE"], [82, 4, 1, "", "TYPE"]], "utils.setup_env": [[83, 3, 1, "", "setup_env"]]}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "function", "Python function"], "4": ["py", "attribute", "Python attribute"], "5": ["py", "property", "Python property"], "6": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:function", "4": "py:attribute", "5": "py:property", "6": "py:data"}, "terms": {"": [8, 10, 13, 14, 15, 18, 19, 24, 26, 29, 36, 40, 46, 50, 51, 52, 53, 71, 80, 84, 88, 89, 90, 92, 93, 94, 95, 96, 98, 99, 101, 106, 109, 110, 111, 112, 115, 116, 121, 123], "0": [8, 11, 19, 26, 29, 36, 39, 40, 42, 47, 48, 57, 59, 61, 62, 63, 69, 84, 88, 90, 92, 94, 95, 102, 108, 109, 110, 111, 112, 115, 118], "00": [92, 93], "0001": 47, "00016600126": 94, "00018637415": 94, "0003912348": 94, "00045548353": 94, "00063306844": 94, "00093111617": 94, "0009763892": 94, "001149847": 94, "001270235": 94, "001274437": 94, "0013953627": 94, "0015121206": 94, "0016585035": 94, "0017067948": 94, "0017369769": 94, "0018af12": 92, "002240922": 94, "0023736332": 94, "0024688914": 94, "0025802834": 94, "0027390209": 94, "002749016": 94, "0027831418": 94, "0032514224": 94, "0032596611": 94, "0035554452": 94, "0035945757": 94, "004110795": 94, "0042391727": 94, "00427709": 94, "004391488": 94, "0045538875": 94, "0048683644": 94, "005190901": 94, "005429781": 94, "0055172783": 94, "0059066266": 94, "0060756463": 94, "0065862634": 94, "006953944": 94, "007086745": 94, "0072255824": 94, "0073946016": 94, "007424784": 94, "0076722763": 94, "008243256": 94, "008804435": 94, "00888027": 94, "00918361": 94, "0092658885": 94, "009380581": 94, "009410762": 94, "009845384": 94, "0098876385": 94, "0099192085": 94, "00z": 92, "010159277": 94, "010340369": 94, "01047317": 94, "010648226": 94, "010723059": 94, "011026398": 94, "01102852": 94, "011178068": 94, "011329738": 94, "011336377": 94, "011663412": 94, "0118985": 94, "012314276": 94, "012414178": 94, "012519513": 94, "012596182": 94, "012740267": 94, "01283127": 94, "012846436": 94, "013225611": 94, "013376684": 94, "013642286": 94, "013799232": 94, "014256966": 94, "014401053": 94, "0144541375": 94, "014545139": 94, "014752985": 94, "014813349": 94, "01541699": 94, "015417241": 94, "015500659": 94, "015549791": 94, "015742956": 94, "015791247": 94, "015851611": 94, "01600117": 94, "016137673": 94, "016201723": 94, "016310379": 94, "016319677": 94, "016503545": 94, "016853655": 94, "017123526": 94, "017179621": 94, "017199362": 94, "01721584": 94, "017252058": 94, "017384859": 94, "0175027": 94, "017819481": 94, "017942544": 94, "018185215": 94, "01821555": 94, "018579558": 94, "019038836": 94, "019186236": 94, "019337907": 94, "01965455": 94, "01t12": 92, "01z": 92, "020113317": 94, "020202424": 94, "020318555": 94, "02047543": 94, "020702936": 94, "02072903": 94, "020733269": 94, "020777322": 94, "02094634": 94, "02170693": 94, "021855626": 94, "022022463": 94, "022083132": 94, "022370934": 94, "022491662": 94, "022583641": 94, "022795979": 94, "022917315": 94, "023175154": 94, "02349366": 94, "02435818": 94, "024447458": 94, "024479514": 94, "02448e3fd394": 92, "02449575": 94, "024570517": 94, "024691852": 94, "024773424": 94, "02479802": 94, "024821715": 94, "0249183": 94, "024919357": 94, "024995193": 94, "025014881": 94, "025159756": 94, "025237864": 94, "025283365": 94, "025304629": 94, "025344033": 94, "0253592": 94, "025449503": 94, "025763396": 94, "025811687": 94, "025829377": 94, "026026547": 94, "02642089": 94, "02646639": 94, "026527058": 94, "026560202": 94, "026845565": 94, "02686073": 94, "027526028": 94, "027646756": 94, "027719192": 94, "02781625": 94, "02787692": 94, "027888212": 94, "028250396": 94, "028274542": 94, "028392596": 94, "028419416": 94, "028588437": 94, "028709164": 94, "028711103": 94, "028999276": 94, "029023057": 94, "029095493": 94, "029393617": 94, "029454285": 94, "029578406": 94, "02959079": 94, "029819863": 94, "02t15": 101, "02z": 92, "030351067": 94, "030515974": 94, "030561475": 94, "030737398": 94, "031122655": 94, "031425994": 94, "03148666": 94, "031992972": 94, "032282718": 94, "03250003": 94, "03254835": 94, "03288636": 94, "032958794": 94, "033031233": 94, "033200253": 94, "033320982": 94, "03374": 95, "03409": 69, "03414193": 94, "034190223": 94, "034338057": 94, "03438339": 94, "034398723": 94, "034489725": 94, "034673136": 94, "034793064": 94, "035096403": 94, "03520434": 94, "035276778": 94, "03530092": 94, "035399742": 94, "0354458": 94, "035460413": 94, "03567275": 94, "03575969": 94, "035794087": 94, "035945754": 94, "036188427": 94, "036249094": 94, "03629": [0, 87], "03648406": 94, "036582768": 94, "03718945": 94, "037280865": 94, "037715487": 94, "03773546": 94, "037787925": 94, "03828147": 94, "038294982": 94, "03841571": 94, "038463477": 94, "038898624": 94, "039161157": 94, "03934316": 94, "03940383": 94, "03940568": 94, "039555497": 94, "039792012": 94, "039828505": 94, "039919507": 94, "03t16": 101, "03z": 92, "04": 93, "040178344": 94, "040274926": 94, "04090271": 94, "041820247": 94, "041868538": 94, "042224888": 94, "042285554": 94, "042497892": 94, "042649563": 94, "042810217": 94, "0428619": 94, "042922568": 94, "042952903": 94, "043104574": 94, "04352925": 94, "04363117": 94, "043776043": 94, "043802254": 94, "043893255": 94, "044017497": 94, "0442831": 94, "044408932": 94, "0445487": 94, "044596992": 94, "04500747": 94, "045128196": 94, "045200635": 94, "045318954": 94, "04537962": 94, "045409955": 94, "045500956": 94, "045755986": 94, "046214752": 94, "046380643": 94, "046842538": 94, "047301304": 94, "04732545": 94, "04735133": 94, "04744618": 94, "048018675": 94, "048170548": 94, "048242986": 94, "04844335": 94, "048534352": 94, "04865569": 94, "04874669": 94, "04882248": 94, "0491107": 94, "049112227": 94, "049257103": 94, "049474705": 94, "04964343": 94, "04988489": 94, "04it": 92, "05011172": 94, "050126344": 94, "050688066": 94, "050995983": 102, "05133363": 94, "051385745": 94, "051749755": 94, "05202276": 94, "052057996": 94, "052106287": 94, "05220287": 94, "052417103": 94, "053175453": 94, "05331357": 94, "05338779": 94, "05369113": 94, "05408623": 94, "054115806": 94, "054617435": 94, "054762308": 94, "055341803": 94, "055390093": 94, "055631552": 94, "055824716": 94, "05584484": 94, "05606617": 94, "056500793": 94, "056549083": 94, "057031997": 94, "057118867": 94, "057209868": 94, "05794953": 94, "057968218": 94, "05877048": 94, "059393916": 94, "059543144": 94, "059977766": 94, "06": 101, "060026057": 94, "06033427": 94, "060455605": 94, "060750425": 94, "060758945": 94, "060940947": 94, "06109262": 94, "06205429": 94, "062150873": 94, "062199164": 94, "062427312": 94, "06244062": 94, "0625372": 94, "062609315": 94, "06335816": 94, "063458666": 94, "06351934": 94, "06358001": 94, "06424735": 94, "06430802": 94, "06437227": 94, "06527871": 94, "065521374": 94, "065724425": 94, "06596588": 94, "06615905": 94, "066492066": 94, "06691674": 94, "067159414": 94, "06782676": 94, "06799412": 94, "06842874": 94, "06881507": 94, "069404125": 94, "06978089": 94, "06995014": 94, "06ea7cea": 92, "070553556": 94, "07061748": 94, "0708433": 94, "0708916": 94, "07113305": 94, "07158817": 94, "07185742": 94, "07249819": 94, "07261953": 94, "07296812": 94, "07298353": 94, "074030526": 94, "07407882": 94, "07456173": 94, "07486424": 94, "07510691": 94, "07595626": 94, "07597": 15, "076138265": 94, "07654167": 94, "07736263": 94, "077507496": 94, "07753363": 94, "077776305": 94, "07794212": 94, "0780387": 94, "078569904": 94, "078763075": 94, "07881136": 94, "079110995": 94, "07989968": 94, "08088789": 94, "08103276": 94, "08112934": 94, "081225924": 94, "08199859": 94, "08256907": 94, "08275107": 94, "08277125": 94, "082872406": 94, "083054416": 94, "08317575": 94, "083539754": 94, "083600424": 94, "083737075": 94, "08397853": 94, "0841717": 94, "08426777": 94, "08432844": 94, "084389105": 94, "08494435": 94, "08523846": 94, "085717015": 94, "085905805": 94, "08651248": 94, "08658626": 94, "08663": 109, "08669449": 94, "08774": 95, "08851453": 94, "08861449": 94, "08880766": 94, "088952534": 94, "08962861": 94, "09": 92, "090455905": 94, "09081991": 94, "09100191": 94, "091183916": 94, "091244586": 94, "09148726": 94, "09172993": 94, "09199488": 94, "09209394": 94, "09213976": 94, "092639945": 94, "0935402": 94, "09354997": 94, "09382995": 94, "09433865": 94, "0946509": 94, "09503723": 94, "09614793": 94, "09634069": 94, "09793471": 94, "09925275": 94, "099495426": 94, "0d16": [8, 26, 29, 111], "0d95cc65e6ef": 94, "0th": 110, "0x104970220": 112, "0x104970400": 112, "0x105e3b920": 112, "0x105e3bc40": 112, "0x1062a2840": 112, "0x106d691c0": 112, "0x10fb26f20": 92, "0x11742eca0": 112, "0x117b98360": 112, "0x14d9d3f60": 112, "0x14d9e4040": 112, "0x14d9e40e0": 112, "0x14d9e4180": 112, "0x14d9e4220": 112, "0x14d9e4360": 112, "1": [0, 8, 14, 15, 17, 18, 19, 21, 24, 26, 29, 36, 39, 40, 42, 45, 46, 52, 54, 57, 59, 61, 62, 63, 69, 77, 79, 82, 84, 88, 90, 92, 93, 95, 99, 101, 102, 106, 108, 109, 111, 114, 118, 121, 123], "10": [0, 71, 80, 92, 98, 109, 112, 114, 118, 123], "100": [17, 45, 57, 77, 92, 93, 94, 95, 102, 110, 118], "1000": [8, 26, 29, 93, 116], "100156106": 94, "10046611": 94, "10054244": 94, "10064811": 94, "10204348": 94, "10205": 92, "10210415": 94, "1024": 99, "102407485": 94, "102468155": 94, "10289283": 94, "1029535": 94, "103074834": 94, "104888655": 94, "10519821": 94, "10580489": 94, "106168896": 94, "106957585": 94, "10762493": 94, "10875195": 94, "10950564": 94, "11": [18, 93, 109], "111386344": 94, "11155285": 94, "11164943": 94, "11174601": 94, "1124177": 94, "11396741": 94, "11423773": 94, "11496575": 94, "11532976": 94, "1156331": 94, "115995646": 94, "11618881": 94, "11686489": 94, "11802388": 94, "11903": 18, "12": [95, 115], "121821225": 94, "12218524": 94, "122670576": 94, "122853": 94, "123": [51, 57], "127": 84, "128": 118, "12936": 110, "12it": 92, "13": 110, "13125569": 94, "13164201": 94, "13225": 110, "1328": 110, "13395482": 94, "13516818": 94, "13577485": 94, "13985154": 94, "13ac": 110, "14": 102, "14545332": 94, "14796448": 94, "15": [84, 94, 95, 110], "150": 15, "151683837681807": 109, "15d838c4": 110, "16": 11, "163da9868ea4": [8, 26, 29, 111], "16574481": 94, "17": 110, "17654371": 94, "17761531": 94, "17933443": 94, "17e7": 110, "18041": 95, "18089913": 94, "18447268": 94, "19306852": 94, "196ec25d39c4": 94, "19736": 95, "1976": [62, 63, 95], "1997": 87, "1998": [62, 63, 95], "1dfe96ccb65f": 110, "2": [0, 8, 14, 15, 17, 18, 19, 24, 26, 29, 34, 36, 39, 40, 42, 46, 48, 52, 54, 57, 59, 61, 62, 77, 82, 84, 88, 90, 92, 93, 94, 95, 99, 102, 106, 108, 109, 111, 114, 121, 123], "20": 90, "200": [8, 26, 29, 77, 110], "2014": [19, 36], "2020": [95, 99], "2021": [92, 95], "2023": [0, 18, 95], "2024": [11, 13, 95, 101], "20240229": 99, "20417552": 94, "21": [101, 110], "2104": 109, "2107": 95, "21549304": 102, "2167": 92, "21f0385d": 92, "22": [13, 112], "2201": 18, "2210": [0, 87], "223220": 101, "2303": 95, "2309": [15, 69], "2310": 95, "2329ffa8d4b6": 92, "2375": 110, "2402": 95, "24047995": 102, "24366009": 102, "24it": 92, "25": [19, 36, 39, 109, 110, 118, 123], "256": [45, 77, 92, 93, 94, 109, 110], "26": 115, "27": 108, "27cc": 92, "28": [62, 63, 95], "29": [62, 63, 95], "2971": 110, "2a78": 92, "2e25ae5336c8": [8, 26, 29, 111], "2e6f4452827b": 92, "2e8e63041698": 92, "2ed0196b0c81": 110, "2f": 112, "2it": 92, "3": [18, 19, 36, 40, 42, 45, 47, 48, 54, 57, 59, 61, 62, 77, 82, 84, 88, 90, 92, 93, 94, 95, 96, 99, 102, 106, 108, 109, 111, 114, 118, 121, 123], "30": [39, 115], "32": 118, "32768": 13, "3333333333333333": 95, "33437008": 102, "353b738c1b71": 92, "37": 101, "37041178": 102, "37e1d8ff0526": 92, "37it": 92, "38": 95, "382": 110, "3927": [8, 26, 29, 111], "3rd": [39, 109], "4": [13, 47, 57, 84, 95, 108, 109, 112, 115, 121, 123], "40": 98, "400": 77, "401": 96, "405a": 92, "4077": 92, "40f0": [8, 26, 29, 111], "4206": 92, "4248": [8, 26, 29, 111], "435b": 92, "439037e58842": 110, "43a4": 92, "43f5": 92, "44": 101, "442f": 92, "4499fa22525d": 110, "44a8aa37": [8, 26, 29, 111], "45": [95, 101], "4509756": 102, "456": 51, "4568096570283078": 109, "45efa517": 92, "4667": 92, "46it": 92, "4780": [92, 110], "483b": 92, "4870": 92, "48ce": 92, "49": 110, "4917": 94, "493d": 92, "4972": 110, "49b5": [8, 26, 29, 111], "49ff": 92, "4bd0": 92, "4c00": 110, "4c39": 110, "4c92": 110, "4cc5": 110, "4ce3": 94, "4dde": 110, "4df0": 110, "4dfa": 110, "4e24": 92, "4e69": 110, "4eb4": 92, "4f5f": 92, "4f88": [8, 26, 29, 111], "4o": 109, "5": [8, 18, 19, 23, 26, 29, 36, 40, 46, 47, 48, 88, 90, 92, 95, 96, 99, 102, 108, 109, 110, 111, 112, 115, 118, 121, 123], "50": [6, 26, 27, 92, 110, 112], "512": 102, "5166601493236314": 109, "518a": 92, "5316efd58d58": 92, "5343238380789569": 109, "55": 101, "557cc52b": 110, "56": 101, "569a": 92, "582859": 101, "59it": 93, "5ba2": 94, "6": [11, 18, 71, 92, 95, 102, 109, 110, 112, 121], "6060606060606061": [63, 95], "609": 92, "6175549": 102, "6229580777634034": [19, 36], "6294762236217233": 109, "63072": 92, "64": 118, "64987b2b": 92, "6666666666666666": [95, 112], "68ae": 110, "6bd772b9": 110, "7": [108, 109, 121], "70b": [13, 108], "72": 112, "724": 110, "7335e34ee0c6": 92, "73c12be3": 92, "741": 110, "75": [19, 36, 109], "756148": 101, "765794": 101, "768": 93, "7749403119087219": 95, "7749999761581421": 109, "7790170272403408": 109, "7844": 92, "7853187918663025": 95, "78917586": 94, "7959791421890259": 95, "79it": 92, "7a17ed45": 92, "7a4f86892556": 92, "7b": [13, 15], "7de4b00a": 110, "8": [19, 36, 102, 109, 110, 115], "80": 84, "800": [8, 26, 29], "8000": 84, "803030303030303": [63, 95], "8031794089550072": 109, "8109999895095825": 109, "8119999766349792": 109, "8169999718666077": 109, "8192": [13, 40, 96, 108, 118], "840021aa1953": 92, "844a": 110, "8678": 92, "8762": 110, "87e0": 92, "882e": 110, "88b4": 110, "8b": [13, 40, 96, 118], "8b0d": 92, "8bc3": 92, "8c3e": 92, "8e52": 92, "8f78": 110, "8x7b": 13, "9": [108, 109, 110], "90": 98, "910e984cdb65": 92, "9122": 92, "9216": 118, "922c0f8a4efb": 110, "93922b619293": 92, "9419728517532349": 95, "9435ed755e20": 92, "9498793313012154": 109, "9670": 92, "9696708": 109, "9701269": 109, "97db": [8, 26, 29, 111], "98742366": 109, "991f": 110, "9950029253959656": 109, "99520767": 109, "9994476437568665": 109, "9994490742683411": 109, "9996004700660706": 109, "9a424d4c": 92, "9bae": 110, "9c14": 94, "9ca4": [8, 26, 29, 111], "9cd745effb43": 110, "A": [8, 10, 11, 13, 14, 17, 18, 23, 26, 29, 36, 39, 40, 45, 47, 51, 57, 61, 81, 87, 92, 94, 95, 96, 102, 108, 109, 110, 112, 115], "And": [24, 47, 48, 90, 99, 106, 110, 112, 116], "As": [40, 42, 88, 90, 92, 94, 106, 109, 112, 118, 123], "At": [24, 108], "But": [99, 101, 109, 110, 112], "By": [48, 90, 93, 111, 112], "For": [0, 8, 11, 17, 18, 24, 26, 29, 34, 39, 50, 61, 84, 88, 92, 93, 95, 96, 97, 102, 108, 109, 110, 111, 112, 116, 121, 123], "If": [8, 15, 17, 21, 26, 29, 34, 36, 39, 40, 45, 47, 56, 57, 71, 73, 74, 80, 84, 88, 92, 93, 95, 96, 98, 99, 106, 109, 110, 111, 112, 116, 123], "In": [42, 47, 52, 57, 87, 88, 90, 92, 94, 98, 101, 102, 106, 108, 110, 111, 112, 121, 123], "It": [6, 8, 9, 14, 15, 19, 24, 26, 27, 29, 31, 36, 40, 42, 48, 50, 57, 59, 67, 71, 73, 80, 90, 92, 93, 94, 95, 96, 97, 98, 101, 102, 106, 108, 109, 110, 111, 112, 118, 121, 123], "Its": [92, 109], "No": [46, 61, 109, 110, 116], "Not": [9, 31], "On": [88, 118], "One": 75, "Or": [109, 112, 115], "Such": [40, 54], "The": [6, 8, 15, 17, 18, 19, 23, 24, 26, 27, 29, 34, 36, 38, 39, 40, 42, 45, 47, 48, 50, 52, 53, 55, 57, 58, 61, 62, 63, 65, 69, 71, 73, 74, 75, 77, 78, 79, 80, 82, 84, 87, 88, 90, 92, 93, 95, 96, 97, 98, 99, 101, 102, 106, 108, 109, 110, 111, 112, 116, 117, 118, 121, 123], "Then": [8, 26, 29, 84, 92, 94, 102, 108, 110, 111, 112], "There": [0, 15, 21, 36, 98, 99, 109], "These": [8, 29, 58, 65, 84, 90, 94, 97, 106, 109, 110, 111, 112, 121], "To": [19, 36, 53, 54, 84, 88, 90, 93, 95, 96, 97, 101, 106, 108, 109, 110, 112, 115, 116, 121, 123], "Will": 117, "With": [47, 53, 92, 94, 102, 108, 110, 118], "_": [19, 36, 109], "__call__": [55, 90, 96, 97, 102], "__dict__": [39, 42, 92], "__doc__": 109, "__init__": [19, 36, 40, 73, 90, 93, 101, 102, 109, 112, 115, 118], "__main__": 112, "__name__": [82, 102], "__repr__": 90, "_acal": [10, 13, 14, 15, 50], "_api_kei": 102, "_call": [10, 13, 14, 15, 50, 74, 102], "_coarse_labels_desc": 88, "_combine_input_and_model_kwarg": 102, "_compon": 101, "_compute_single_item": 61, "_extra_repr": [90, 93], "_field_typ": 69, "_generator_names_to_fil": 74, "_generator_trac": 73, "_init_async_cli": 102, "_init_sync_cli": 102, "_is_async": 112, "_missing_typ": 69, "_paramet": 101, "_template_str": 101, "_trace_map": 75, "a2acf8ba4c27": 92, "a2b7": 110, "a595": 110, "a958": 92, "aa81": 92, "aaa8": 92, "ab": [0, 15, 18, 69, 87, 96, 109], "ab64": 92, "aba9": 92, "abbrevi": 88, "abc": 92, "abda": 110, "abil": [87, 92, 95], "abl": [88, 96, 109], "about": [58, 65, 84, 99], "abov": [24, 90, 96, 98, 99, 101, 102, 106, 109, 112, 115], "absolut": 110, "abstract": [17, 50, 71, 88, 89, 97, 98, 102, 118], "abstract_algebra": 95, "ac": [19, 36], "ac78": 94, "academ": 95, "acal": [10, 11, 13, 14, 40, 45, 46, 48, 50, 53, 90, 96, 97, 102, 109, 112, 118], "acc_list": 59, "access": [21, 24, 36, 40, 42, 56, 73, 87, 95, 108, 109, 112, 115], "accomplish": 97, "accord": [8, 19, 26, 29, 36, 121], "account": 96, "accumul": 110, "accur": 109, "accuraci": [24, 59, 95, 98, 121], "acetaminophen": 90, "achiam": 95, "achiev": [18, 46, 88, 96, 98, 112], "acm": 95, "across": [47, 88, 95, 112, 123], "act": [87, 94, 108], "action": [24, 57, 108], "activ": [57, 116], "actual": [21, 36, 47, 96, 101, 109, 111], "ad": [14, 19, 36, 40, 42, 47, 51, 57, 90, 92, 96, 101, 109, 110, 112, 116], "adapt": [19, 36, 61, 93, 95, 96, 112, 116, 118], "adc9": 110, "add": [0, 17, 18, 19, 34, 36, 40, 42, 45, 47, 57, 80, 84, 88, 90, 92, 93, 99, 102, 108, 112, 116], "add_compon": 40, "add_llm_as_fallback": 0, "add_missing_right_brac": [47, 54], "add_missing_right_bracket": [47, 54], "add_on": 90, "add_point": 112, "addit": [0, 19, 36, 47, 57, 90, 93, 96, 102, 108, 112], "addition": [11, 13, 15, 21, 36, 50, 93, 95, 109, 112], "additional_context": [56, 112], "additon": 55, "addonecompon": 90, "address": 98, "adjust": 98, "adpat": 96, "advanc": [90, 99], "advis": 39, "ae99": 92, "afbd": 92, "afc": [8, 26, 29, 111], "affect": [88, 93], "after": [19, 36, 39, 42, 45, 48, 52, 54, 84, 88, 94, 96, 99, 108, 109, 110, 112], "afternoon": 110, "afun": 40, "ag": [39, 123], "again": [94, 109, 110], "agenda": 87, "agent": [24, 46, 57, 95, 98, 99, 106, 112, 116, 118], "agnost": [96, 99, 102], "ahead": [88, 97], "ai": [90, 113, 116], "aim": [95, 98, 110], "al": 95, "algorithm": 110, "alia": [40, 57], "align": [8, 26, 29, 84, 111], "all": [11, 13, 14, 15, 17, 24, 39, 40, 42, 46, 50, 52, 53, 56, 57, 69, 77, 80, 82, 84, 88, 90, 92, 93, 96, 97, 98, 99, 101, 102, 106, 108, 109, 110, 112, 115, 116, 118, 123], "all_gt_answ": [59, 121], "all_gt_context": [62, 63, 121], "all_pred_answ": [59, 121], "all_quest": 121, "all_retrieved_context": [62, 63, 121], "allevi": [90, 109], "allow": [39, 40, 47, 57, 74, 88, 90, 92, 96, 98, 106, 108, 109, 110, 116, 118, 121], "allowi": 92, "almost": [98, 99, 109], "along": [21, 36, 39, 42, 48, 80, 84, 88, 90, 92, 102, 109], "alpha": 110, "alreadi": [18, 19, 24, 36, 40, 57, 88, 96, 109, 112], "also": [8, 17, 18, 19, 26, 29, 34, 36, 40, 45, 46, 47, 55, 57, 88, 90, 92, 95, 96, 98, 106, 108, 109, 110, 111, 112, 123], "although": [19, 36, 108, 109, 110], "alwai": [17, 24, 34, 39, 42, 69, 92, 96, 111, 112], "amount": [92, 96], "an": [0, 9, 14, 15, 17, 31, 34, 39, 40, 45, 46, 47, 48, 51, 52, 53, 57, 61, 67, 73, 77, 79, 82, 87, 88, 90, 92, 93, 94, 95, 98, 101, 102, 106, 109, 110, 112, 115, 117, 121, 123], "analysi": [8, 26, 29, 95, 110, 111], "analyz": [108, 110], "ancestor": 80, "andrew": [19, 36], "angel": 99, "ani": [0, 8, 10, 11, 13, 14, 15, 17, 19, 21, 23, 24, 26, 29, 34, 36, 39, 40, 42, 45, 46, 47, 48, 50, 52, 53, 54, 56, 57, 61, 68, 69, 71, 73, 74, 75, 77, 78, 82, 88, 90, 92, 93, 96, 98, 101, 102, 106, 109, 110, 112, 116, 118], "anoth": [21, 36, 52, 71, 87, 101, 109, 110, 116], "ansi": 80, "answer": [0, 17, 18, 24, 34, 59, 61, 88, 90, 95, 108, 109, 112, 116, 121, 123], "answer_match_acc": [64, 121], "answermacthevalu": 121, "answermatchacc": [59, 95], "anthrop": [10, 57, 79, 99, 102, 115], "anthropic_api_kei": 115, "anthropic_cli": 102, "anthropicapicli": [10, 102], "anyth": [17, 34, 98, 106, 112], "ap": [95, 101], "api": [10, 11, 13, 14, 15, 16, 18, 33, 38, 40, 45, 50, 53, 57, 58, 84, 94, 95, 98, 99, 108, 114, 116, 118], "api_kei": [10, 11, 13, 14, 77, 102], "api_kwarg": [10, 11, 13, 14, 15, 50, 102], "api_respons": [16, 33], "apicli": 50, "apidoc": 84, "apidocoutdir": 84, "app": [57, 80], "app_log_filenam": 80, "appear": [51, 110], "append": [40, 42, 78, 92, 102, 112, 121], "append_dialog_turn": 57, "append_to_jsonl": 78, "appl": [61, 62, 63, 95, 110], "appli": [8, 26, 29, 42, 45, 47, 48, 52, 92, 93, 94, 109, 110, 111], "applic": [8, 9, 26, 29, 31, 39, 54, 87, 88, 92, 95, 97, 98, 109, 110, 111, 118, 122, 123], "application_nam": 116, "apply_transform": [42, 92], "approach": [8, 26, 29, 90, 94, 108, 110], "appropri": [90, 95], "ar": [0, 8, 15, 17, 19, 24, 26, 29, 34, 36, 40, 42, 47, 51, 52, 56, 57, 58, 65, 73, 74, 79, 80, 84, 87, 88, 90, 92, 93, 95, 96, 97, 98, 99, 101, 102, 106, 108, 109, 110, 111, 112, 116, 118, 121, 122, 123], "arena": 95, "arg": [17, 24, 39, 40, 46, 47, 50, 53, 56, 57, 70, 71, 108, 112], "argument": [0, 11, 13, 15, 24, 39, 40, 46, 47, 48, 50, 52, 57, 71, 77, 93, 94, 96, 101, 102, 106, 108, 109, 110, 111, 112], "aris": 95, "arithmet": 57, "around": [55, 73, 89], "arr": 112, "arrai": [47, 109, 112], "arriv": 18, "articul": 116, "artifici": 96, "arxiv": [0, 15, 18, 69, 87, 95, 109], "asdict": [47, 88], "ask": [21, 36, 57, 61, 88, 92, 101, 106, 108, 109, 112, 113, 116], "aspect": 95, "aspirin": 90, "assert": [39, 93, 102], "assess": [95, 121], "assign": [8, 26, 29, 40, 51, 94], "assist": [9, 17, 31, 34, 52, 57, 90, 92, 96, 99, 101, 106, 118, 121], "assistant_respons": [57, 92], "assistant_response_timestamp": [57, 92], "assistantrespons": [57, 92], "assit": 106, "assum": [42, 57, 92], "assumpt": 99, "ast": [47, 57], "async": [10, 11, 13, 14, 40, 45, 46, 48, 50, 53, 56, 102, 109, 112, 118], "async_cli": 102, "async_function_1": 46, "async_function_2": 46, "async_tool_1": 46, "async_tool_2": 46, "asynccal": 57, "asynchron": [46, 90], "asyncio": [46, 112], "asyncopenai": 102, "atmospher": 110, "atom": [92, 109], "attach": [73, 110], "attention_mask": [15, 102], "attribut": [21, 23, 36, 40, 42, 51, 52, 53, 73, 77, 88, 90, 92, 96, 101, 109, 112], "audio": 109, "augement": 109, "augment": [68, 95, 110, 121], "augment_sampl": 67, "auto": [40, 90, 98, 101, 102, 106], "autodoc": 84, "autom": [95, 98], "automat": [45, 51, 73, 84, 90, 96, 101, 108, 112, 116], "automodel": 102, "autonom": [87, 98], "autoreset": 80, "autotoken": 102, "avail": [13, 24, 57, 95, 112, 115, 121], "available_funct": 112, "averag": [19, 36, 59, 61, 62, 63, 121], "average_idf": [19, 36], "average_pool": [15, 102], "average_tim": 108, "avg_acc": 59, "avg_judg": [61, 121], "avg_recal": [62, 95, 121], "avg_relev": [63, 95, 121], "avgdl": [19, 36, 109], "avoid": [19, 36, 40, 84, 90, 92, 93, 109], "aw": 110, "await": [0, 46, 56, 57, 112, 118], "awar": [21, 36, 110], "award": 123, "awlai": 112, "b": [19, 24, 36, 57, 108, 109, 110, 112], "b0d98c1b": 110, "b2dbdf2f": 92, "b3e9": 92, "b4c312bed365": 110, "b6c6": 92, "b81f": 110, "baai": [15, 109], "back": [17, 19, 34, 36, 42, 77, 82, 88, 94, 96], "backslash": 24, "backtick": [17, 34, 47, 112], "backward": 40, "bad": 110, "ball": 18, "banana": 110, "bank": 95, "bare": [89, 106, 118], "basd": 109, "base": [0, 6, 8, 9, 10, 11, 13, 14, 15, 17, 19, 21, 23, 26, 27, 29, 31, 34, 36, 39, 40, 42, 45, 46, 48, 50, 51, 52, 53, 54, 55, 56, 57, 59, 61, 62, 63, 67, 68, 69, 70, 71, 74, 75, 79, 81, 82, 87, 88, 89, 90, 93, 95, 96, 98, 102, 108, 110, 112, 118, 121, 123], "base_class": 39, "base_data_class": [58, 88, 110, 121, 123], "basedataclass": 122, "basic": [58, 65, 98, 110], "batch": [8, 26, 29, 45, 57, 92, 93, 94, 102, 109], "batch_dict": 102, "batch_embedd": [92, 93], "batch_siz": [6, 8, 26, 27, 29, 45, 77, 92, 93, 94, 110], "batchembedd": [45, 92], "batchembedderinputtyp": 45, "batchembedderoutputtyp": 45, "bbc3": 110, "bc0ff7f6": 92, "bcbc6ff9": 92, "bdbd": 92, "beauti": [19, 36], "becaus": [8, 26, 29, 98, 102, 108, 111, 123], "becom": [95, 109, 110], "been": [57, 92, 109], "befor": [8, 26, 29, 54, 61, 62, 63, 90, 92, 93, 95, 97, 108, 109, 110, 111, 123], "beforehand": 110, "begin": [80, 98, 116], "begin_of_text": [99, 106], "behavior": [110, 112], "behind": [17, 34, 97, 99], "beij": 61, "being": [73, 88, 97, 98, 112], "belong": 87, "below": [95, 109, 112], "benchmark": [18, 95, 108, 118], "benef": 109, "benefit": [57, 92, 109], "bert": 95, "bertscor": 95, "besid": [40, 87, 92, 96, 106, 108, 110, 123], "best": [19, 36, 90, 109, 110, 116], "beta": [15, 112], "better": [8, 26, 29, 39, 68, 69, 84, 88, 90, 108, 109, 110, 112, 123], "between": [8, 24, 26, 29, 50, 98, 109, 110, 111, 116], "beyond": [8, 29, 98, 112], "bge": [15, 109], "bi": 109, "bias": [40, 90], "bigger": [19, 36], "bit": [46, 88], "black": 80, "bland": 110, "block": [39, 46, 47, 58, 65, 80, 90, 97, 98, 109, 116, 118], "blow": 101, "blue": 80, "bm25": [19, 36, 92, 109, 110], "bm25_index": [19, 36], "bm25_retriev": [36, 109], "bm25retriev": [19, 36, 110], "bonjour": 101, "bool": [0, 6, 15, 17, 19, 26, 27, 36, 40, 42, 46, 47, 51, 52, 53, 54, 55, 57, 61, 71, 73, 80, 92, 93, 102], "boolean": [0, 17, 109], "booleanoutputpars": 17, "boost": [92, 109], "bootstrapfewshot": 67, "border": [8, 26, 29, 110, 111], "bore": 98, "both": [8, 14, 19, 29, 36, 40, 46, 56, 57, 78, 84, 88, 92, 95, 96, 97, 101, 109, 112, 121, 123], "boundari": [39, 57, 79, 82], "box": [90, 98, 109], "brace": 47, "bracket": 47, "break": [8, 26, 29, 98, 110, 111], "bridg": [10, 13, 15, 50], "brief": 96, "brittl": 98, "broad": 95, "broader": 84, "browser": [84, 108], "budget": [8, 26, 29, 111], "bui": 18, "build": [19, 23, 36, 47, 53, 58, 65, 88, 90, 95, 109, 110, 116, 118, 121, 122], "build_index": 121, "build_index_from_docu": [19, 21, 23, 36, 53, 92, 109, 110], "build_info_from_docu": 110, "builder": 52, "built": [19, 23, 36, 47, 53, 108, 109, 110, 112, 115], "busi": 98, "c": [19, 36, 40], "c4e4": 92, "c4e5": 94, "c5431397": 92, "c77c98ac260f": 92, "c8fc": 92, "ca": 112, "ca0af45b": [8, 26, 29, 111], "cach": [15, 92, 102], "cai": 95, "calcul": [94, 95, 110], "call": [0, 8, 10, 11, 13, 14, 15, 17, 18, 19, 21, 23, 24, 26, 29, 34, 36, 39, 40, 45, 46, 47, 48, 50, 52, 53, 54, 56, 57, 61, 68, 71, 73, 74, 78, 80, 82, 90, 92, 93, 94, 96, 97, 98, 99, 101, 102, 106, 108, 109, 110, 111, 116, 118, 121], "call_async_funct": 46, "callabl": [0, 14, 19, 21, 23, 36, 39, 40, 42, 46, 47, 53, 56, 57, 71, 92], "callbackmanag": 116, "can": [0, 8, 9, 11, 13, 14, 15, 17, 18, 19, 21, 24, 26, 29, 31, 34, 36, 39, 40, 42, 45, 46, 47, 48, 50, 51, 52, 53, 55, 56, 57, 59, 61, 62, 63, 69, 71, 73, 75, 77, 79, 81, 84, 87, 88, 89, 90, 92, 93, 94, 95, 96, 97, 98, 99, 101, 102, 106, 108, 109, 110, 111, 112, 113, 115, 116, 118, 121, 123], "candid": 109, "cannot": [95, 116], "cansof": 18, "cantain": 40, "capabl": [38, 46, 65, 95, 112], "capit": [39, 47, 88, 93, 101, 102, 106], "captur": [47, 96], "carbon": [92, 109], "card": 106, "carefulli": 116, "carri": 112, "case": [9, 21, 31, 36, 39, 42, 90, 92, 95, 96, 97, 98, 106, 108, 109, 110, 112, 116, 123], "cat": 110, "categor": [39, 102, 109], "caus": 90, "caution": 46, "cd": 84, "cdot": [19, 36], "celsiu": 112, "center": 89, "certain": [15, 47, 123], "chain": [18, 48, 57, 88, 90, 92, 93, 96, 97, 108, 109], "challeng": [98, 109], "chanc": [21, 36, 98], "chang": [75, 80, 92, 95, 96, 98, 101, 109], "charact": [84, 110], "chat": [10, 11, 13, 14, 15, 43, 50, 92, 96, 101, 102, 106], "chat_completion_pars": 14, "chat_histori": [43, 92, 101], "chat_history_str": [43, 92, 96, 101, 106], "chatbot": [92, 95, 96, 97, 98], "chatcompletiontokenlogprob": 57, "cheapest": 109, "check": [8, 13, 24, 26, 29, 42, 47, 50, 51, 52, 57, 71, 88, 90, 92, 94, 95, 102, 108, 109, 110, 111, 112, 116, 120, 123], "check_object": 82, "checker": 88, "chen": 95, "child": [40, 110], "children": 40, "china": [61, 93], "chip": 15, "choic": [95, 96], "choos": [19, 36, 53, 110, 112], "chunk": [6, 8, 26, 27, 29, 92, 93, 97, 109, 110, 116], "chunk_overlap": [8, 26, 29, 111], "chunk_siz": [8, 26, 29, 111], "citi": 112, "cl": [47, 88], "cl100k_base": [8, 26, 29, 55], "clariti": [84, 98, 118], "class": [0, 6, 8, 9, 10, 11, 13, 14, 15, 17, 19, 21, 23, 26, 27, 29, 31, 34, 36, 39, 40, 42, 43, 45, 46, 47, 48, 50, 51, 52, 53, 54, 55, 56, 57, 59, 61, 62, 63, 67, 68, 69, 70, 71, 73, 74, 75, 77, 79, 81, 82, 88, 90, 92, 93, 96, 98, 101, 102, 108, 112, 116, 117, 118, 121, 123], "class_index": 88, "class_inst": 39, "class_nam": [39, 73, 88], "classes": 123, "classic": 98, "classif": [95, 98, 117], "classifi": [88, 117], "classmethod": [14, 19, 36, 39, 40, 42, 45, 48, 52, 53, 57, 81, 88], "classsampl": 71, "claud": [10, 99], "clean": 110, "clean_up_tokenization_spac": 15, "clear": [97, 108, 116], "client": [0, 10, 11, 13, 14, 15, 16, 21, 23, 33, 36, 45, 48, 50, 61, 98, 99, 102], "climat": [92, 109], "clone": [84, 116], "close": [47, 98, 109, 110], "closest": 110, "cloth": 109, "cloud": [9, 31, 102, 109], "co": [15, 93, 109], "coarse_label": [71, 88], "code": [8, 14, 17, 26, 29, 39, 47, 57, 69, 73, 80, 92, 93, 95, 96, 97, 98, 101, 102, 106, 109, 110, 111, 112, 115, 116, 118, 121], "coher": [11, 57, 79, 99, 109, 115], "cohere_api_kei": 115, "cohere_cli": 109, "cohereapicli": [11, 23, 36, 109], "collabor": 113, "collect": [57, 101], "color": 80, "colorama": 80, "colored_print": 80, "com": [10, 11, 13, 14, 84, 96, 106, 109, 112], "combat": [92, 109], "combin": [10, 14, 47, 48, 52, 94, 96, 98, 109, 112, 116], "combine_kwarg": 47, "come": [92, 96, 102, 116, 118], "command": 80, "comment": 106, "commit": 116, "common": [62, 63, 95, 109, 110], "commonli": [8, 17, 29, 94, 95, 110], "commun": [46, 50, 102, 114, 116], "compact": [57, 112], "compar": [17, 19, 34, 36, 47, 59, 69, 92, 93, 95, 111], "comparison": [90, 109, 112, 116], "compat": [90, 96, 102], "complet": [0, 9, 10, 11, 13, 14, 15, 31, 46, 47, 48, 50, 69, 84, 87, 102, 108], "complex": [17, 34, 47, 88, 95, 110, 116], "complic": [18, 106, 112], "compon": [42, 45, 46, 47, 48, 50, 51, 52, 53, 54, 55, 56, 57, 61, 67, 68, 73, 77, 79, 81, 82, 84, 87, 88, 89, 92, 93, 94, 95, 96, 101, 102, 106, 108, 109, 110, 111, 112, 115, 118, 121, 123], "componenet": [40, 77], "component1": 40, "component2": 40, "component3": 40, "component4": 40, "component_config": [45, 48, 77, 96], "component_nam": [45, 48, 77, 96], "compos": [52, 99], "compose_model_kwarg": 47, "compose_prompt_kwarg": 52, "comprehens": 95, "comput": [59, 61, 62, 63, 88, 95, 98, 109, 110, 121], "compute_context_relev": 121, "compute_judg": 121, "compute_match_acc": 121, "compute_recal": 121, "con": [92, 109], "concaten": 110, "concept": [88, 90, 96], "concis": [88, 90], "conclus": 121, "concurr": 112, "condit": [42, 106, 108], "condition": [32, 106], "condition_fn": 92, "conf": 84, "confer": 95, "config": [40, 45, 48, 80, 93, 121], "configur": [8, 26, 29, 40, 45, 47, 77, 80, 81, 84, 94, 96, 98, 110, 111, 115, 118, 121], "confus": [40, 88, 90, 116], "consid": [39, 40, 95, 109, 110, 111], "consin": 109, "consist": [17, 52, 57, 84, 96, 123], "consol": [13, 80], "constant": [19, 36, 47], "constantli": 88, "constraint": 111, "construct": [77, 121], "constructor": [40, 93], "contain": [8, 19, 24, 26, 29, 36, 40, 46, 47, 51, 57, 59, 61, 84, 92, 93, 101, 108, 110, 112, 116, 121, 123], "content": [14, 92, 99, 102, 109, 110, 111, 114, 117, 119, 123], "contex": [43, 96, 101], "context": [8, 26, 29, 39, 40, 43, 46, 47, 52, 56, 62, 63, 90, 92, 95, 97, 98, 101, 108, 110, 111, 112, 116, 121], "context_map": [47, 57, 112], "context_str": [43, 52, 96, 101, 106, 112, 121], "contextu": [95, 121], "continu": [92, 106, 110], "contrari": 118, "contravari": 109, "contribut": [86, 92, 109, 116], "contributor": [84, 116], "control": [8, 26, 29, 57, 80, 84, 88, 92, 98, 99, 106, 110, 111, 116, 123], "conv1": [90, 118], "conv2": [90, 118], "conv2d": [90, 118], "conveni": [90, 108], "convent": [17, 34, 88, 112], "conver": 92, "convers": [9, 31, 57, 92, 96, 106, 108, 109, 112, 113], "conversation_histori": 109, "conversation_id": 57, "convert": [14, 15, 39, 40, 47, 50, 57, 82, 88, 90, 92, 94, 99, 102, 109, 110, 112, 116], "convert_inputs_to_api_kwarg": [10, 11, 13, 14, 15, 50, 102], "convert_schema_to_signatur": 47, "cookbook": [109, 116, 123], "copi": [6, 14, 26, 27, 40, 93, 94, 102, 116], "core": [8, 17, 26, 29, 74, 88, 90, 92, 93, 94, 96, 97, 98, 101, 102, 106, 108, 109, 110, 111, 112, 116, 118, 121, 123], "corpu": [19, 36, 110], "correct": [51, 95, 121], "correctli": [42, 84, 88], "corresbond": 84, "correspond": [8, 26, 29, 47, 95, 108, 110, 111, 121], "cosin": [95, 110], "cost": 109, "cot": 18, "could": [47, 57], "count": 55, "count_token": 55, "counter": 90, "cours": [95, 101], "cover": [9, 31, 88, 92, 109, 112, 116, 123], "coverag": 109, "covert": 112, "cpu": 115, "creat": [8, 14, 15, 26, 29, 39, 40, 42, 45, 46, 48, 52, 57, 73, 77, 88, 90, 92, 93, 94, 99, 101, 102, 106, 108, 109, 110, 111, 112, 117, 121, 123], "create_embedding_respons": 57, "create_from_dict": 39, "created_at": 57, "createembeddingrespons": 14, "creation": 68, "criterion": [8, 26, 29, 106, 111], "critic": [8, 26, 29, 80], "cross": 109, "crucial": [38, 65, 88, 92, 95, 106, 109, 110], "crud": [42, 92], "ctrl": 108, "cumul": 110, "current": [40, 42, 67, 69, 80, 92, 93, 96, 101, 102, 108, 109, 112, 115], "custom": [8, 17, 21, 26, 29, 36, 47, 80, 82, 88, 93, 95, 96, 97, 98, 102, 108, 110, 116, 121], "custom_asdict": [47, 88], "customiz": [89, 108, 110, 118], "cut": 109, "cutoff": 110, "cyan": 80, "d": [17, 19, 34, 36], "d19a": 92, "dai": [19, 36, 62, 63, 95], "dan": 95, "data": [6, 8, 9, 14, 17, 21, 26, 27, 29, 31, 34, 36, 39, 40, 42, 45, 47, 48, 51, 52, 57, 68, 71, 78, 82, 90, 93, 94, 96, 98, 101, 102, 108, 110, 111, 112, 116, 117, 118, 121, 123], "data_class": [17, 34, 112], "data_class_for_yaml": [17, 34], "data_compon": [26, 94, 110], "data_dict": 39, "data_process": [38, 92, 94, 97, 111], "data_transform": 92, "databas": [53, 57, 97, 110, 121], "dataclass": [17, 34, 39, 47, 57, 67, 68, 69, 74, 75, 82, 89, 92, 93, 96, 97, 109, 112, 118, 123], "dataclass_obj_from_dict": 47, "dataclassformattyp": [17, 34, 39, 88], "dataformat": 57, "datapiplin": 92, "dataset": [71, 92, 95, 108, 117, 121], "date": 84, "datetim": 57, "db": [58, 92, 97, 109, 110], "db2": 42, "deal": [92, 109], "debug": [80, 92, 97, 98], "decid": [0, 11, 13, 15, 39, 50, 88, 95, 96, 108, 109, 112, 116], "decis": [95, 108], "decod": [55, 108], "decor": [39, 40, 78, 88, 90, 96, 101], "decreas": 93, "decreaseembeddingdim": 93, "decreat": 93, "dedupl": [6, 26, 27], "deep": 96, "deepcopi": 93, "deeper": 118, "deepmind": 69, "def": [17, 34, 40, 46, 47, 57, 73, 88, 90, 92, 93, 101, 102, 106, 108, 109, 110, 112, 118], "defaul": 101, "default": [0, 10, 13, 14, 15, 17, 19, 21, 23, 24, 34, 36, 39, 42, 43, 45, 47, 48, 50, 51, 52, 53, 55, 61, 69, 73, 74, 75, 78, 80, 82, 88, 90, 92, 96, 99, 101, 109, 110, 112, 123], "default_factori": [39, 69, 88], "default_lightrag_system_prompt": [43, 48, 52, 96, 106], "default_llm_evaluator_prompt": 121, "default_model_kwarg": 47, "default_num_shot": 71, "default_prompt_templ": [58, 96, 106], "default_react_agent_system_prompt": 0, "defaultllmjudg": [61, 96], "defens": 97, "defin": [8, 26, 29, 39, 53, 79, 90, 102, 108, 109, 110, 111, 121, 123], "definit": [8, 26, 29, 46, 56, 57, 106, 108, 109, 111, 112], "del": 40, "delet": [40, 42, 92], "delete_dialog_turn": 57, "delibr": [96, 112], "demo": [90, 98], "demonstr": [15, 61, 93, 94, 96, 108, 109, 112, 117, 123], "denomin": [19, 36], "denot": 99, "depend": [8, 19, 21, 29, 36, 47, 57, 84, 90, 99, 108, 110, 116, 121, 123], "deriv": 112, "desc": [39, 43, 69, 88, 96, 101, 109, 123], "descend": 40, "describ": [39, 46, 112, 123], "descript": [17, 24, 34, 39, 47, 57, 88, 92, 95, 97, 106, 108, 110, 112, 116, 121, 123], "deseri": [82, 88, 98, 106, 109], "design": [39, 40, 46, 50, 54, 57, 71, 89, 92, 93, 97, 102, 108, 110, 111], "desir": [17, 34, 95, 96, 106], "destin": [40, 98], "detail": [8, 10, 11, 13, 26, 29, 38, 39, 48, 58, 61, 65, 84, 85, 88, 90, 92, 95, 96, 102, 108, 112, 123], "detect": 73, "determin": [8, 26, 29, 90, 95, 108], "develop": [8, 21, 26, 29, 36, 84, 89, 92, 94, 96, 97, 98, 99, 101, 106, 108, 109, 110, 111, 116, 118, 123], "devic": 15, "df68": 92, "diagram": [99, 106], "dialog": [57, 92], "dialog_turn": [57, 92], "dialog_turn_db": 92, "dialog_turns_as_docu": 92, "dialog_turns_input": 57, "dialogturn": [42, 57, 109], "dict": [0, 10, 11, 13, 14, 15, 17, 21, 23, 34, 36, 39, 40, 42, 45, 47, 48, 50, 52, 54, 56, 57, 61, 68, 69, 71, 74, 75, 77, 78, 81, 82, 88, 92, 96, 102, 112, 123], "dict_exampl": 88, "dict_factori": 47, "dictionari": [8, 14, 17, 26, 29, 34, 39, 40, 45, 47, 48, 52, 57, 77, 78, 82, 88, 92, 110, 111, 112, 123], "did": [67, 92, 96, 101, 106, 109, 112, 118, 123], "differ": [9, 19, 31, 36, 42, 57, 71, 90, 93, 96, 97, 98, 99, 102, 106, 108, 109, 111, 112, 116, 118, 122], "differen": 109, "differenti": [54, 109], "difficult": 112, "dim": 102, "dimens": [45, 57, 77, 92, 93, 94, 102, 109, 110], "dimension": 88, "diminish": [19, 36], "dir": [73, 101, 102], "direct": [40, 84, 90, 110], "directionli": 46, "directli": [8, 26, 29, 47, 57, 61, 71, 84, 88, 90, 92, 93, 106, 109, 111, 112, 116], "directori": [50, 73, 74, 75, 80, 84, 101, 115, 116], "disabl": 108, "disappoint": 109, "disclos": [99, 106], "discord": 113, "discuss": [113, 123], "disk": 109, "disrupt": [92, 109], "distil": 98, "distilbert": 95, "divers": [95, 109], "divid": [19, 24, 36, 95, 108, 110, 112, 121], "divis": [8, 19, 26, 29, 36], "do": [9, 14, 17, 31, 34, 39, 47, 57, 71, 73, 80, 88, 92, 94, 96, 98, 102, 106, 108, 109, 110, 112, 116, 118], "doc": [8, 10, 11, 13, 14, 15, 23, 26, 29, 36, 40, 53, 57, 84, 88, 90, 92, 93, 94, 106, 109, 110, 111, 112], "doc1": [8, 26, 29, 110, 111], "doc2": 110, "doc_index": [92, 110], "doc_indic": [19, 36, 57, 92, 109], "doc_len": 109, "doc_list": 121, "doc_qa": 40, "doc_scor": [19, 36, 57, 109, 110], "docqa": [40, 90], "docstr": [24, 112], "doctest": 84, "doctor": [17, 34, 40, 90], "document": [6, 8, 11, 15, 19, 21, 23, 26, 27, 29, 36, 38, 42, 53, 55, 57, 58, 65, 85, 86, 93, 94, 96, 97, 109, 112, 114, 116, 119, 121], "document_indic": 110, "document_map_func": [19, 21, 23, 36, 53, 109], "document_splitt": [77, 110], "documents_embed": 109, "documentsplitt": [57, 77, 92, 94, 110], "dodger": 99, "doe": [6, 18, 26, 27, 39, 42, 50, 61, 77, 102, 109, 110, 121, 123], "doesn": 108, "domain": 95, "domest": 110, "don": [17, 19, 36, 99, 110, 116], "done": [88, 108], "dont": [92, 99, 116], "dorianbrown": [19, 36, 109], "dotenv": [94, 108, 110, 115], "dotenv_path": [94, 108, 110], "doubl": [24, 112], "doubt": [98, 109], "download": 116, "downsid": [92, 109], "downstream": 93, "drink": 90, "driven": 110, "drop": 111, "dropout1": 118, "dropout2": 118, "dropout2d": 118, "due": [95, 109, 112], "dummi": 116, "dump": [47, 112], "dumper": 47, "duplic": 71, "dure": [8, 26, 29, 92, 93, 94, 96, 101, 109, 110, 111, 115, 123], "dynam": [39, 73, 108], "dynamicdataclassfactori": 39, "dynamicoutput": 39, "e": [8, 21, 24, 26, 29, 36, 71, 84, 99, 102, 111, 112, 121], "e3b48bcc": 92, "e3f04c8b": 110, "e4850140": 110, "e539": 110, "e636facc": 92, "e7b617b2": [8, 26, 29, 111], "each": [0, 8, 14, 15, 17, 18, 19, 24, 26, 29, 34, 36, 38, 39, 40, 57, 59, 61, 62, 63, 65, 71, 74, 75, 79, 88, 92, 93, 94, 97, 98, 108, 109, 110, 111, 112, 121], "ear": 101, "earth": 61, "eas": [57, 88, 97, 98], "easi": [90, 96, 98, 106, 108, 116, 118], "easier": [108, 112], "easili": [90, 92, 93, 95, 97, 106, 109, 112, 116, 118, 123], "eat": 110, "ec0fc247ac8b": [8, 26, 29, 111], "ec910402": 92, "economi": [92, 109], "ecosystem": [92, 109], "edit": [84, 101], "effcient": 39, "effect": [19, 36, 65, 87, 92, 94, 109, 110], "effici": [57, 108, 111, 112, 123], "effort": [42, 88, 97], "eg": 79, "eiffel": 101, "either": [0, 47, 50, 57, 88, 93, 101, 102, 109, 116], "el": 92, "electr": [92, 109], "electron": [92, 109], "element": [17, 34, 52, 112], "elif": [102, 112], "els": [101, 102, 108, 110, 112], "emb": [8, 29, 93, 110], "embed": [6, 8, 11, 13, 14, 15, 16, 26, 27, 29, 33, 45, 50, 57, 77, 92, 93, 94, 95, 102, 109, 110, 111], "embedd": [6, 14, 15, 26, 27, 40, 50, 57, 58, 77, 92, 97, 102, 109, 116], "embedder_config": 45, "embedder_response_processor": 110, "embedder_transform": 92, "embedderoutput": [14, 15, 16, 33, 45, 50, 57, 92, 102], "embedderoutputtyp": 57, "embedderrespons": [94, 110], "embedding_dim": [57, 93], "emiss": [92, 109], "emit": 39, "emphas": [84, 123], "emploi": 95, "empti": [21, 24, 36, 42, 96], "en": [10, 15, 19, 36, 93, 106, 109], "enabl": [48, 80, 94, 108, 110, 118], "enable_consol": 80, "enable_fil": 80, "enable_library_log": 80, "encapsul": 108, "enclos": [17, 34, 112], "encod": [8, 26, 29, 55, 109], "encoding_format": [45, 77, 92, 93, 94, 102, 109, 110], "encourag": [8, 29, 48, 102], "end": [24, 40, 42, 47, 84, 88, 92, 97, 98, 99, 117, 118], "end_header_id": [99, 106], "end_of_text": [99, 106], "end_tim": [46, 112], "endfor": [24, 52, 106, 109, 112], "endif": [24, 43, 52, 96, 101, 106, 112, 123], "energi": [92, 109], "enforc": [14, 51, 92, 96], "engag": [88, 113], "engin": [40, 90, 98, 101, 106, 116, 118], "english": [11, 109], "enhanc": [80, 90, 97, 108, 123], "enhance_queri": 90, "enhancequerycompon": 90, "enjoi": 116, "enorm": 96, "enough": 98, "enssenti": 123, "ensur": [15, 24, 39, 45, 47, 52, 84, 88, 90, 93, 94, 97, 99, 109, 110, 115], "entir": 109, "entiti": [77, 81, 88, 98, 108], "entity_cl": 81, "entity_config": 77, "entity_nam": 77, "entity_st": 77, "entitymap": 81, "enum": [39, 57, 79, 82, 102, 112], "enumer": [40, 112], "env": [93, 94, 108, 109, 110, 115, 116], "environ": [8, 29, 47, 52, 84, 87, 92, 93, 94, 102, 108, 109, 110, 114, 116], "environment": [92, 109], "eot_id": [99, 106], "epilon": [19, 36], "epsilon": [19, 36, 109], "equal": [15, 61, 109], "equival": [40, 47, 92, 112], "error": [11, 13, 15, 21, 36, 39, 47, 50, 57, 73, 79, 80, 88, 93, 102, 108, 112], "error_messag": [57, 101], "error_onli": 73, "escap": 24, "especi": [6, 8, 24, 26, 27, 29, 39, 73, 75, 90, 93, 95, 99, 109, 110, 111], "espeic": 109, "essenc": 116, "essenti": [58, 65, 92, 108, 109], "establish": 116, "estimated_num_token": [57, 92, 94, 110], "et": 95, "etc": [17, 34, 40, 42, 47, 71, 93, 95, 109, 110, 116], "eval": [40, 46, 47, 56, 57, 64, 95, 96, 112, 117, 121], "evalu": [40, 47, 57, 59, 61, 62, 63, 90, 96, 97, 98, 101, 109, 122], "evaluate_ast_nod": 47, "even": [8, 17, 26, 29, 47, 88, 90, 93, 96, 98, 106, 109, 111, 112], "event": 46, "eventu": [88, 109], "ever": 102, "everi": [42, 98, 116], "eviron": 108, "exact": [8, 26, 29, 95, 110, 111, 121], "exact_match": [59, 121], "exactli": [40, 59, 96, 109, 121], "exam": 95, "examin": [19, 36], "exampl": [0, 8, 11, 13, 14, 15, 17, 18, 19, 21, 23, 24, 26, 29, 34, 36, 39, 40, 42, 43, 45, 46, 47, 48, 50, 51, 52, 54, 57, 59, 61, 62, 63, 67, 71, 73, 77, 80, 84, 90, 92, 93, 94, 95, 99, 101, 102, 106, 108, 109, 110, 112, 115, 116, 117, 118, 121, 123], "example1": [94, 110], "example2": 110, "example3": 110, "example4": 110, "example_funct": 47, "example_json": [39, 88], "example_str": 88, "example_yaml": [39, 88], "examples_prompt": 52, "examples_str": [43, 52, 96, 101, 106], "examples_templ": 52, "excel": 118, "except": [8, 26, 29, 50, 93, 102, 112], "exclud": [17, 34, 39, 40, 47, 56, 57, 88, 92, 112], "exclude_field": [17, 34], "excludetyp": 88, "exclus": 88, "execlud": 112, "execut": [8, 24, 26, 29, 46, 47, 56, 108, 111, 112], "execute_func": [56, 112], "execute_func_expr": [56, 112], "execute_func_expr_via_ev": [56, 112], "execute_func_expr_via_sandbox": [56, 112], "exist": [52, 88, 98, 108, 109, 118], "exmplari": 15, "expand": 116, "expans": [6, 27, 109], "expect": [11, 19, 23, 24, 36, 42, 47, 51, 53, 54], "expens": 109, "experi": [9, 19, 31, 36, 42, 90, 92, 98, 110], "explain": [92, 96, 108, 110, 116, 121], "explan": [19, 36], "explicitli": [39, 51], "explor": 65, "expr": [56, 112], "express": [46, 47, 56, 57, 112], "extend": [8, 14, 29, 42, 46, 92, 93, 112, 116], "extens": [40, 84, 116], "extern": [82, 94, 95, 108, 109], "extra": 110, "extract": [8, 17, 26, 29, 34, 47, 54, 71, 108, 111, 116, 121], "extract_dataclass_typ": 47, "extract_json_str": 47, "extract_list_str": 47, "extract_yaml_str": 47, "ey": 101, "f": [6, 8, 19, 26, 27, 29, 36, 40, 46, 78, 90, 93, 94, 95, 102, 106, 108, 109, 110, 112, 121, 123], "f1": 95, "f1be8330c167": 110, "f2d0f52a": 110, "f2eddc77": 92, "f513": 92, "f89e0955e3a3": 110, "f98f": 92, "face": [45, 48, 84, 93, 95, 96], "facebookresearch": 109, "facet": 109, "facilit": [108, 111], "fact": [101, 108], "factor": [19, 36], "factori": [39, 42, 57, 74, 75], "factual": 109, "fahrenheit": 112, "fail": [21, 36, 57, 73, 92, 93, 96, 98, 101, 108, 112], "failur": [24, 93, 96], "fair": 95, "faiss": [79, 109, 110, 115], "faiss_query_result": 110, "faiss_retriev": [92, 109, 110], "faissretriev": [77, 92, 110], "fall": 90, "fallback": 0, "fals": [6, 15, 17, 26, 27, 34, 39, 40, 42, 47, 53, 55, 57, 61, 71, 80, 101, 112, 121], "famili": 87, "fantast": [94, 110], "far": 92, "farm": [92, 109], "fast": [19, 36, 110], "faster": 109, "fc1": 118, "fc2": 118, "fd11f12958b3": 92, "fdbc447d": 94, "fdc2429b": 110, "feasibl": 88, "featur": [46, 84, 90, 95, 99, 112, 118], "feburari": [62, 63, 95], "fed": [112, 121], "fetch": [21, 36, 42, 92, 110, 121], "fetch_item": 42, "fetch_transformed_item": 42, "fetched_dialog_turn": 92, "fever": 108, "few": [18, 39, 67, 71, 88, 95, 106, 108, 109, 112, 123], "field": [17, 19, 34, 36, 39, 45, 47, 48, 56, 57, 68, 69, 88, 92, 93, 94, 99, 109, 110, 112, 123], "field_nam": 39, "field_valu": 39, "fieldtyp": 47, "file": [9, 15, 19, 31, 36, 40, 42, 45, 53, 73, 74, 75, 78, 80, 84, 88, 93, 94, 96, 101, 102, 109, 115, 116, 121], "file_io": 90, "file_path": 74, "filenam": [73, 74, 75, 80], "filepath": [40, 42, 73, 75, 92], "filesystem": 42, "fill": [19, 36, 48, 52, 68, 116], "filter": [106, 109, 110, 116], "final": [0, 19, 24, 36, 52, 57, 92, 94, 95, 96, 106, 108, 109, 110, 112, 121], "final_model_kwarg": 102, "final_prompt": 106, "find": [55, 92, 93, 94, 96, 108, 109, 110, 115], "fine": [57, 110], "finish": [24, 108], "first": [8, 14, 24, 26, 29, 42, 47, 51, 92, 94, 95, 96, 97, 99, 102, 108, 109, 110, 111, 112, 121], "fit": [39, 45, 57, 92, 96, 97, 111], "five": 90, "fix_json_escaped_single_quot": 47, "fix_json_missing_comma": 47, "flat": 61, "flexibl": [42, 47, 57, 88, 90, 98, 102, 106, 108, 110, 112, 116, 123], "float": [15, 17, 19, 34, 36, 45, 47, 57, 59, 61, 62, 63, 67, 69, 71, 77, 92, 93, 94, 102, 109, 110, 112], "flow": [92, 108, 109, 123], "fn": [46, 47, 108, 112], "fn_schema_str": [24, 57, 108], "fnew": 110, "focu": [92, 108, 110], "focus": 97, "folder": [84, 116], "follow": [8, 11, 16, 17, 21, 24, 29, 33, 34, 36, 39, 40, 48, 80, 84, 88, 93, 95, 96, 98, 99, 101, 106, 109, 110, 112, 115, 116, 121, 123], "food": 110, "footprint": [92, 109], "forc": 84, "fork": 84, "form": [8, 26, 29, 57, 88, 92, 106, 109, 111, 118], "format": [8, 10, 13, 14, 15, 17, 19, 24, 26, 29, 34, 36, 39, 40, 43, 46, 48, 50, 53, 54, 57, 77, 80, 82, 84, 92, 93, 96, 97, 99, 101, 102, 106, 108, 109, 118, 121, 123], "format_chat_history_str": 92, "format_class_str": [39, 88], "format_example_str": [39, 88], "format_instruct": [17, 34, 112], "format_str": 39, "format_typ": [17, 34, 39, 88], "formula": 110, "forward": [40, 55, 90, 118], "fossil": [92, 109], "found": [47, 61, 62, 63, 79, 84, 92, 95, 109, 121], "foundament": 90, "foundat": [58, 65], "four": [50, 109, 112], "frac": [19, 36], "framework": [38, 65, 108, 116], "franc": [39, 47, 88, 101, 102, 106], "francisco": 112, "franklin": 87, "free": [92, 109], "frequenc": [19, 36, 110], "frequent": [19, 36], "fresh": 109, "friendli": 110, "from": [6, 8, 14, 15, 16, 17, 18, 19, 23, 26, 27, 29, 33, 34, 36, 39, 40, 42, 45, 46, 47, 48, 50, 51, 52, 53, 54, 55, 57, 61, 69, 71, 73, 74, 77, 78, 80, 84, 89, 92, 93, 94, 95, 97, 98, 99, 101, 102, 106, 108, 109, 110, 111, 112, 115, 116, 117, 118, 121, 123], "from_config": [40, 45, 48, 96, 109], "from_default": 108, "from_dict": [14, 17, 19, 34, 36, 39, 40, 52, 53, 57, 88, 106, 109, 112, 123], "from_dict_to_json": 47, "from_dict_to_yaml": 47, "from_funct": [57, 112], "from_json": [39, 88], "from_json_to_dict": 47, "from_pretrain": 102, "from_yaml": [39, 88], "from_yaml_to_dict": 47, "frustrat": [96, 98, 101], "fsspec": 92, "fuel": [92, 109], "full": [57, 98, 109, 116, 118, 121], "fullwiki": 121, "fun": [40, 57, 101, 116], "fun_arg": 57, "fun_compon": [40, 90], "fun_expr": 57, "fun_kwarg": 57, "fun_nam": 57, "fun_to_compon": [40, 90], "func": [47, 56, 57, 112], "func_desc": [57, 112], "func_expr": 112, "func_nam": [57, 112], "func_output": 112, "func_paramet": [57, 112], "func_pars": 112, "func_tool": [58, 112], "funciton": 112, "funcnam": 112, "funcompon": 40, "function": [0, 6, 8, 14, 15, 16, 19, 23, 24, 26, 27, 29, 36, 38, 39, 40, 42, 46, 50, 52, 54, 56, 57, 58, 65, 77, 80, 81, 88, 90, 92, 93, 95, 96, 97, 98, 108, 109, 110, 111, 116, 121, 123], "function_arg": 112, "function_definit": [56, 112], "function_expr": [47, 112], "function_nam": [80, 112], "function_respons": 112, "function_to_cal": 112, "functiondefinit": [46, 56, 57, 112], "functionexpress": [46, 56, 57], "functionoutput": [46, 56, 57, 112], "functiontool": [0, 46, 56, 108, 118], "fundament": [98, 116, 118], "further": [8, 26, 29, 45, 88, 90, 93, 96, 101, 109, 111, 116], "futur": [8, 26, 29, 87, 93, 96, 98, 109, 111, 116], "fuzzi": [95, 109, 121], "fuzzy_match": [59, 121], "g": [8, 21, 24, 26, 29, 36, 71, 84, 99, 102, 111, 112, 121], "ga": [92, 109], "game": 92, "gap": [50, 98], "gase": [92, 109], "gather": [46, 106, 112], "gemma": 13, "genai": 98, "genear": 109, "gener": [0, 8, 14, 17, 26, 29, 34, 39, 40, 42, 47, 50, 51, 53, 54, 57, 61, 67, 68, 69, 71, 73, 74, 75, 78, 84, 87, 88, 90, 92, 93, 94, 95, 97, 98, 99, 101, 102, 106, 108, 109, 110, 111, 112, 116, 118, 121, 123], "generate_function_call_expression_from_cal": [47, 112], "generate_readable_key_for_funct": 47, "generated_text": 95, "generativeai": [79, 115], "generator2": 101, "generator2_cal": 101, "generator_2": 101, "generator_2_cal": 101, "generator_cal": [73, 101], "generator_call_logg": [72, 73, 96, 101], "generator_evalu": 121, "generator_nam": 75, "generator_names_to_fil": 74, "generator_state_logg": [72, 96], "generator_state_trac": [75, 101], "generatorcalllogg": [74, 96, 101], "generatorcallrecord": 74, "generatorlogg": 73, "generatoroutput": [21, 36, 48, 57, 73, 74, 92, 110], "generatorstatelogg": [75, 96, 101], "generatorstatesrecord": 75, "get": [8, 14, 19, 24, 26, 29, 36, 39, 40, 42, 47, 52, 53, 57, 61, 74, 80, 81, 88, 90, 92, 95, 102, 108, 109, 110, 111, 112, 121, 123], "get_al": 81, "get_all_messages_cont": 14, "get_cal": 74, "get_chat_history_str": 57, "get_current_script_and_lin": 80, "get_current_weath": 112, "get_data_class_schema": [47, 123], "get_data_key_fun": 71, "get_dataclass_schema": 47, "get_default_log_config": 80, "get_dialog_turn": 57, "get_first_message_cont": 14, "get_fun_schema": [46, 47, 112], "get_jinja2_environ": 52, "get_log_loc": [74, 75], "get_logg": 80, "get_model_arg": 57, "get_next_ord": 57, "get_prob": 14, "get_prompt_vari": 52, "get_string_token": 55, "get_subcompon": 40, "get_supporting_sent": 121, "get_top_k_indices_scor": 47, "get_transformed_data": 42, "get_transformer_kei": 42, "get_type_schema": 47, "getenv": 102, "git": [84, 116], "github": [84, 113, 120], "give": [90, 92, 98, 109, 112], "given": [19, 36, 40, 47, 53, 68, 75, 77, 96, 99, 108, 109, 110, 112, 121], "go": [96, 98, 101, 108, 109, 116, 118], "goal": [96, 108, 111, 112, 118], "goe": 98, "good": [19, 36, 88, 90, 92, 95, 110, 112], "googl": [61, 62, 63, 69, 79, 84, 94, 95, 102, 106, 115], "google_api_kei": 115, "google_cli": 102, "google_generativeai": 79, "googlegenaicli": [79, 102], "got": 109, "gpt": [40, 47, 48, 90, 92, 95, 96, 99, 102, 109, 110, 112], "gpt3": 18, "gpt_model_kwarg": 110, "graesser": 87, "graph": 110, "gre": 95, "great": [8, 26, 29, 88, 94, 95, 97, 98, 101, 110], "green": 80, "greenhous": [92, 109], "greet": 57, "groq": [13, 57, 79, 96, 102, 115], "groq_api_kei": 115, "groq_client": 102, "groqapicli": [13, 40, 96, 102, 108, 110, 118], "ground": [59, 61, 62, 63, 69, 92, 95, 109, 116, 121], "group": 57, "grow": 110, "growth": [92, 109], "gt": [69, 109], "gt_answer": [59, 61], "gt_context": [62, 63, 95], "gt_context_sentence_list": 121, "gte": [15, 93, 102], "gu": 111, "guarante": [17, 84], "guid": [14, 84, 86, 108, 110, 112], "guidelin": [85, 95], "guo": 95, "ha": [18, 23, 36, 39, 42, 47, 53, 62, 63, 71, 73, 75, 80, 82, 88, 89, 92, 95, 109, 110, 111, 112, 115, 116, 118, 121, 123], "had": [94, 110], "halluci": 109, "hand": [95, 109], "handi": 106, "handl": [11, 13, 15, 21, 36, 39, 40, 47, 50, 88, 92, 93, 96, 97, 101, 102, 108, 109, 112, 123], "happen": 96, "hard": 98, "harri": 123, "hash": 69, "hashcod": 95, "have": [11, 14, 17, 18, 19, 24, 34, 36, 39, 40, 45, 50, 57, 71, 73, 84, 88, 90, 92, 93, 94, 95, 96, 97, 99, 106, 108, 109, 110, 112, 115, 116, 118, 121], "hazard": [92, 109], "he": [18, 123], "headach": 90, "heavi": 98, "hello": [8, 19, 26, 29, 36, 42, 51, 57, 80, 99, 110, 111], "helm": 95, "help": [6, 8, 17, 18, 26, 27, 29, 34, 39, 46, 52, 79, 88, 90, 92, 96, 97, 98, 99, 101, 106, 109, 111, 112, 118, 121], "helper": [6, 16, 27, 33, 40, 52, 77, 90, 109], "henc": [108, 123], "hendryck": 95, "here": [8, 11, 13, 15, 24, 26, 29, 50, 57, 71, 88, 90, 92, 95, 96, 99, 101, 102, 106, 108, 109, 110, 111, 112, 114, 115, 116, 119, 123], "hero": [98, 118], "hf_token": 115, "hi": [57, 123], "hierarchi": [97, 118], "high": [98, 109, 116], "higher": [58, 65, 69, 98, 109, 110], "highest": 110, "highli": [8, 29, 42, 98, 101, 102, 116], "hint": [24, 47, 88, 96, 112], "histor": 92, "histori": [24, 43, 57, 75, 92, 96, 101, 106, 108, 109], "hobbi": 110, "hold": 57, "homepag": [19, 36], "hook": 116, "hop": 108, "host": 109, "hotpot_qa": 121, "hotpotqa": [108, 121], "how": [8, 14, 15, 18, 19, 21, 26, 29, 36, 39, 48, 57, 61, 65, 88, 90, 92, 93, 96, 97, 99, 102, 106, 108, 109, 110, 112, 118, 121, 122, 123], "howev": [8, 29, 90, 92, 98, 99, 106, 109, 112], "html": [8, 26, 29, 84, 88, 109, 111], "http": [0, 10, 11, 13, 14, 15, 18, 19, 36, 69, 84, 87, 88, 93, 96, 106, 109, 112], "hub": [15, 95], "hug": 95, "hug_tran": 95, "huggingfac": [15, 88, 93, 102, 109], "huggingfaceh4": 15, "human": [88, 95, 96, 109], "humanev": 95, "humor": 101, "hundr": 109, "hydrat": 90, "hydro": [92, 109], "hypernetwork": 116, "hyperparmet": 109, "hypothesi": 108, "i": [0, 6, 8, 9, 10, 14, 15, 17, 18, 19, 21, 24, 26, 27, 29, 31, 34, 36, 39, 40, 42, 43, 45, 46, 47, 48, 50, 51, 52, 53, 55, 57, 59, 61, 62, 63, 68, 69, 71, 73, 74, 75, 77, 78, 79, 80, 84, 87, 88, 89, 90, 92, 93, 94, 95, 96, 97, 98, 99, 101, 102, 106, 109, 110, 111, 112, 114, 115, 118, 119, 121, 123], "ibuprofen": 90, "icl": [67, 71, 98], "id": [8, 26, 29, 55, 57, 92, 94, 110, 111], "idea": 113, "ideal": [8, 26, 29, 106, 111], "identifi": [47, 75, 110], "idf": [19, 36, 92, 109, 110], "idf_vers": 95, "idx": [40, 110, 112], "igh": 111, "ik": [8, 26, 29], "illustr": [8, 26, 29, 108, 111], "imag": [93, 109], "immedi": 40, "impact": [8, 17, 19, 26, 29, 36, 71, 92, 108, 109, 110], "implement": [0, 8, 9, 11, 13, 15, 19, 26, 29, 31, 36, 50, 53, 93, 95, 102, 109, 110, 111, 121, 123], "implicitli": 51, "import": [8, 17, 19, 26, 29, 34, 36, 39, 40, 46, 47, 52, 79, 80, 88, 90, 92, 93, 94, 95, 96, 97, 99, 101, 102, 106, 108, 109, 110, 111, 112, 115, 116, 118, 121, 123], "import_path": 79, "importerror": 79, "impress": 95, "improv": [19, 36, 67, 95, 96, 101, 109, 110, 111], "inabl": 47, "inc": 84, "includ": [8, 9, 19, 26, 29, 31, 36, 39, 40, 42, 47, 53, 57, 77, 84, 90, 92, 97, 106, 108, 109, 110, 111, 112, 116, 121, 123], "includng": 116, "incomplet": 47, "incorpor": 95, "incorrect": [51, 96], "increa": 92, "increas": [19, 36, 92, 109, 110], "increasingli": 95, "incress": 112, "indent": [17, 34, 47], "index": [8, 15, 19, 21, 23, 24, 29, 36, 42, 52, 53, 57, 71, 84, 92, 93, 102, 106, 109, 110, 112, 121], "index_kei": [53, 109], "indexflatip": 110, "indic": [21, 36, 39, 47, 109, 110], "infanc": 98, "infer": [15, 51, 57, 93, 95], "infer_bge_reranker_bas": 15, "infer_gte_base_embed": [15, 102], "influenc": [19, 36, 95, 110], "info": 80, "inform": [39, 55, 58, 65, 90, 96, 108, 109, 110, 116, 120, 123], "infrastructur": [92, 109], "ingest": [8, 29, 116], "ingestionpipelin": 116, "inherit": [50, 92, 109, 116], "init": [67, 69, 80], "init_async_cli": [10, 11, 13, 14, 50, 102], "init_llm_cli": 15, "init_model": [15, 102], "init_reranker_cli": 15, "init_sync_cli": [10, 11, 13, 14, 15, 50, 102], "initi": [15, 19, 21, 23, 24, 36, 50, 52, 53, 67, 71, 80, 92, 96, 102, 106, 108, 109, 110, 112, 121, 123], "initvar": 57, "inmemoryfaissretriev": 109, "inner": 110, "input": [0, 6, 10, 11, 13, 14, 15, 17, 19, 21, 23, 26, 27, 34, 36, 39, 40, 45, 47, 48, 50, 53, 54, 55, 57, 68, 88, 92, 93, 94, 95, 96, 99, 101, 102, 106, 109, 110, 111, 112, 116, 123], "input_data_obj": 68, "input_str": [24, 40, 43, 73, 90, 92, 96, 101, 106, 109, 110, 112, 118], "input_text": 15, "insert": 42, "insid": [8, 24, 26, 29, 110, 111], "instal": [32, 79, 80, 84, 92, 93, 109, 114, 116], "install_messag": 79, "instanc": [14, 17, 18, 34, 39, 40, 47, 48, 52, 73, 82, 94, 95, 110, 112, 116, 121, 123], "instanti": [40, 77, 88, 96], "instead": [8, 14, 26, 29, 39, 40, 47, 61, 88, 90, 92, 93, 96, 98, 110, 111, 112, 116], "instruct": [17, 18, 21, 24, 34, 36, 39, 69, 88, 95, 96, 110, 112, 116, 123], "instructur": 112, "int": [0, 6, 8, 11, 15, 19, 21, 23, 26, 27, 29, 36, 39, 42, 45, 47, 51, 53, 55, 57, 67, 71, 80, 88, 92, 93, 108, 109, 112, 123], "int_param": 51, "integ": [17, 34, 51], "integr": [8, 10, 11, 13, 14, 15, 16, 26, 29, 32, 33, 65, 92, 93, 97, 98, 102, 108, 109, 116, 118], "intellig": [95, 96], "intend": 84, "intent": 95, "interact": [24, 38, 39, 57, 65, 88, 97, 98, 108, 112, 118, 123], "interchang": 112, "interest": [92, 95], "interfac": [17, 46, 47, 50, 90, 93, 94, 96, 97, 98, 102], "intergr": [98, 102, 109], "interleav": [99, 108], "intermedi": [92, 108], "intern": [39, 65, 79, 82, 95, 98, 102, 108, 112], "interpret": [8, 26, 29], "intial": 96, "intro": 10, "introduc": [8, 26, 29, 106, 111], "introduct": [14, 122], "intuit": [8, 26, 29, 111], "invalid_api_kei": 96, "invalid_request_error": 96, "invers": [19, 36, 110], "invest": [92, 109], "investig": [96, 123], "invok": [39, 47], "involv": [95, 110], "io": [40, 45, 53], "irrelev": 109, "is_dataclass_inst": 47, "is_key_in_templ": 52, "is_norm": [47, 57, 93], "is_pick": 90, "is_pickl": 40, "is_potential_dataclass": 47, "is_running_in_event_loop": 46, "isinst": 102, "issu": 84, "item": [42, 92, 112], "item1": 54, "item2": 54, "iter": [40, 51, 98, 108, 110, 118], "itertool": 110, "its": [8, 19, 26, 29, 36, 40, 47, 51, 53, 57, 73, 74, 75, 77, 87, 88, 90, 92, 96, 98, 106, 108, 109, 110, 111, 112, 116, 121], "itself": [9, 31, 40, 47, 52, 78, 98, 99, 106, 110], "jan": 18, "jinja": [106, 116], "jinja2": [52, 96, 116, 123], "jinja2_template_exampl": 106, "job": [92, 109], "john": [24, 39, 123], "join": [24, 92, 108, 112, 113, 121], "joke": 123, "joke_exampl": 123, "jokeoutput": 123, "josh": 95, "json": [8, 17, 19, 24, 26, 29, 34, 36, 39, 47, 54, 56, 57, 73, 74, 75, 77, 78, 82, 88, 90, 96, 101, 108, 109, 111, 112, 116, 118, 121, 123], "json_definit": [56, 112], "json_obj": 54, "json_pars": 54, "json_signatur": 88, "json_signature_exclud": 88, "json_str": [39, 47, 54, 88], "jsonl": [73, 74, 78, 101], "jsonoutputpars": [17, 34, 112], "jsonpars": [0, 54, 96, 108, 121], "judg": [61, 95, 96, 121], "judgement": [61, 95, 121], "judgement_list": [61, 121], "judgement_queri": [61, 121], "jump": 116, "just": [15, 92, 96, 102, 112, 116], "k": [21, 23, 36, 110], "k1": [19, 36, 109, 110], "keep": [39, 42, 88, 90, 92, 99, 109, 110, 111, 123], "kei": [11, 14, 24, 39, 40, 42, 47, 52, 53, 54, 57, 87, 88, 90, 92, 93, 94, 96, 108, 109, 110, 112, 114, 116, 123], "kept": [8, 26, 29], "keyword": [24, 47, 52, 57, 106, 109, 112], "kind": 116, "kmp_duplicate_lib_ok": 110, "knock": [92, 109], "know": [14, 96, 98, 99, 101, 112], "knowledg": [98, 108, 109, 112, 121], "known": [87, 88, 109], "kw_onli": 69, "kwarg": [0, 10, 13, 14, 15, 17, 19, 21, 23, 24, 36, 40, 45, 46, 47, 48, 50, 52, 53, 57, 61, 70, 71, 102, 106, 108, 109, 112], "l": [15, 111], "label": [39, 47, 71, 88, 109, 116], "lack": [106, 109], "lambda": [40, 71, 92, 109], "land": [92, 109], "landscap": 109, "languag": [8, 19, 26, 29, 36, 84, 87, 95, 96, 99, 108, 116, 118], "larg": [45, 87, 92, 95, 96, 109, 110, 111, 118], "larger": [45, 110], "last": [8, 26, 29, 42, 92, 109, 112], "last_hidden_st": [15, 102], "later": [42, 48, 88, 92, 109, 110, 112], "latest": 108, "layer": 98, "lazi": 79, "lazy_import": [57, 115], "lazyimport": [57, 79], "lead": [21, 36, 69, 71, 92, 109], "leap": [62, 63, 95], "learn": [40, 90, 93, 95, 96, 97, 98, 102, 109, 111, 113, 116, 121], "least": 47, "left": [19, 36], "legal": 95, "len": [92, 110, 112, 121], "length": [8, 19, 26, 29, 36, 42, 57, 92, 93, 110, 111, 112], "lengthi": 116, "lengthier": [19, 36, 110], "less": [17, 19, 34, 36, 57, 88, 93, 109, 110, 112, 118], "let": [18, 32, 88, 90, 92, 101, 106, 108, 109, 110, 112, 121], "level": [58, 65, 80, 89, 108, 112, 116, 118], "leverag": [8, 29, 47, 53, 84, 88, 92, 108, 109, 110, 111, 112, 121], "leverg": [19, 36, 53], "li": [88, 92, 93, 102, 106, 109, 112, 117], "lib": 80, "librari": [8, 26, 29, 39, 42, 48, 61, 73, 79, 80, 88, 89, 90, 95, 97, 98, 99, 102, 109, 111, 116, 118], "lickabl": 110, "life": 95, "lifecyl": 112, "lifestyl": 90, "lift": 98, "light": [92, 109, 118], "light_rag": 116, "lightrag": [8, 14, 15, 17, 19, 26, 29, 36, 38, 39, 40, 42, 43, 50, 52, 57, 58, 65, 74, 79, 80, 84, 86, 87, 88, 89, 90, 92, 93, 94, 95, 96, 97, 98, 102, 106, 109, 111, 113, 114, 118, 121, 123], "lightrag_default_prompt_arg": 106, "lightweight": 88, "like": [8, 26, 29, 39, 42, 47, 50, 57, 73, 80, 88, 90, 92, 93, 94, 96, 98, 99, 101, 102, 108, 109, 110, 111, 116, 118, 123], "limit": [84, 92, 95, 97, 109, 110, 111, 112], "line": [80, 84, 96, 97, 98, 101, 116], "line_numb": 80, "linear": 118, "link": 84, "list": [0, 6, 8, 11, 14, 15, 17, 19, 21, 23, 26, 27, 29, 34, 36, 39, 40, 42, 45, 47, 48, 51, 52, 53, 54, 55, 56, 57, 59, 61, 62, 63, 67, 69, 71, 73, 74, 78, 88, 90, 92, 93, 95, 99, 102, 109, 110, 112, 115, 121], "list_output_format_templ": [17, 34], "list_pars": 54, "listoutputpars": [17, 34], "listpars": [21, 36, 54, 109, 110], "liter": [8, 26, 29, 47, 57, 80, 109], "liu": 95, "llama": [8, 29, 106], "llama3": [13, 40, 96, 99, 106, 108, 118], "llama_index": 116, "llamaindex": [8, 29, 116], "llm": [0, 9, 15, 21, 24, 31, 36, 39, 40, 46, 48, 54, 57, 61, 68, 69, 87, 90, 92, 96, 97, 101, 102, 108, 110, 111, 112, 116, 118, 121, 122, 123], "llm_as_judg": [64, 96], "llm_augment": 67, "llm_evalu": [61, 121], "llm_judg": [61, 121], "llm_kwarg": 92, "llm_model_kwarg": 108, "llm_optim": 96, "llm_query_indic": 110, "llm_query_output": 110, "llm_retriev": [96, 109, 110], "llm_tool": 108, "llmasjudg": [61, 95, 121], "llmasretriev": 109, "llmaugment": 68, "llmoptim": [69, 96], "llmretriev": [21, 36, 73, 96, 109, 110], "llmretrieveroutputtyp": [21, 36], "lo": 99, "load": [19, 36, 39, 40, 42, 53, 67, 69, 74, 75, 77, 78, 84, 92, 95, 102, 108, 109, 112, 114, 121, 123], "load_dataset": [95, 121], "load_dotenv": [94, 108, 110, 115], "load_from_fil": [19, 36, 53, 109], "load_from_pickl": 40, "load_index": 110, "load_json": 78, "load_jsonl": 78, "load_meta_data": 74, "load_metr": 95, "load_pickl": 78, "load_stat": [42, 92], "load_state_dict": [40, 90], "load_state_pickl": 40, "loaded_exampl": 123, "local": [9, 15, 31, 40, 50, 84, 102, 109, 112], "local_db": 42, "local_db_load": 42, "local_embedd": 93, "local_embedder_256": 93, "local_item_db": 42, "localdb": [9, 31, 42, 57, 92], "locat": [84, 88, 109, 112], "lock": 116, "log": [19, 36, 73, 74, 75, 78, 80, 92, 96, 98, 102, 117], "log_cal": 74, "log_prompt": 75, "logger": [73, 101], "logger_metadata": 101, "logic": [11, 13, 15, 50, 95, 98, 110], "logprob": [57, 109], "long": [8, 26, 29, 92, 96, 97, 101, 109, 110, 111], "longest": 109, "look": [47, 88, 92, 93, 101, 106, 108, 109, 110, 117], "lookup": 108, "loop": [24, 46, 52, 95, 106, 109, 112], "lose": [96, 101, 116], "lost": [42, 109], "lot": [54, 95, 110], "love": 110, "lower": [98, 110, 112], "lru_cach": 102, "lstrip_block": 106, "luna": 110, "m": [57, 84, 101], "m1": 15, "macbook": 15, "made": [42, 88, 96, 97], "magenta": 80, "mai": [8, 29, 90, 99], "main": [42, 52, 71, 84, 90, 94, 109, 116], "mainli": [57, 79, 88, 92, 98, 110, 116], "maintain": [8, 26, 29, 39, 84, 88, 110], "major": 84, "make": [17, 34, 42, 50, 65, 84, 88, 90, 92, 95, 96, 101, 102, 106, 108, 109, 112, 115, 116, 123], "makefil": 84, "manag": [8, 29, 42, 43, 53, 56, 57, 68, 77, 90, 92, 94, 96, 102, 108, 110, 111, 112, 123], "mani": [18, 106, 109, 112], "manipul": [108, 116], "manner": 108, "manual": [40, 77, 84, 90, 98, 101, 116, 117], "manufactur": [92, 109], "map": [8, 23, 26, 29, 36, 40, 42, 47, 53, 78, 82, 88, 92, 109, 111, 112], "map_dialogturn_to_docu": 92, "map_fn": [42, 92], "map_to_docu": 92, "mapper_setup": [42, 92], "mappingproxi": 69, "mar": 0, "mark": [88, 95], "markdown": [8, 26, 29, 111], "marshmallow": [39, 88], "massiv": 95, "match": [19, 36, 40, 47, 59, 88, 95, 110, 121], "match_acc_list": 121, "materi": [92, 109], "mathemat": 95, "matrix": 88, "matter": [46, 88, 92], "max": [46, 108], "max_length": [15, 102], "max_step": [0, 108], "max_token": [99, 102], "maxim": [98, 106], "maximum": [0, 8, 24, 26, 29, 89, 99, 110, 111, 118], "mayb": 116, "md": [116, 117], "me": [106, 109], "mean": [8, 26, 29, 42, 71, 96, 98, 99, 108, 110, 111, 112], "meant": 84, "meanwhil": 110, "measur": [19, 36, 95, 110], "mechan": 102, "medata": 39, "medic": [90, 95], "member": [40, 113], "memo": 40, "memoi": 97, "memori": [42, 45, 57, 58, 92, 93, 97, 98, 110, 111, 112], "meng": 95, "mere": 110, "merg": [8, 26, 29, 111, 116], "messag": [10, 14, 24, 57, 79, 93, 96, 99, 102, 106], "meta": [99, 106, 110], "meta_data": [8, 26, 29, 57, 92, 94, 110, 111, 121], "metadata": [17, 24, 34, 39, 46, 47, 57, 69, 88, 92, 96, 101, 108, 109, 123], "methd": 53, "method": [8, 10, 11, 13, 14, 15, 17, 19, 26, 29, 34, 36, 39, 40, 42, 50, 52, 53, 55, 61, 71, 73, 82, 88, 90, 92, 93, 95, 96, 97, 101, 102, 106, 109, 112, 118], "metric": [59, 61, 62, 63, 95, 109, 121], "middl": 109, "might": [15, 18, 21, 36, 40, 42, 46, 88, 92, 93, 96, 109, 110, 112], "million": 109, "mimic": 18, "mimick": 88, "mind": [98, 101], "minim": [9, 31, 98], "minimum": [24, 89, 106, 118], "minut": 114, "mislead": [24, 39, 123], "miss": [39, 47, 68, 109, 112], "misunderstand": 110, "mixtral": 13, "mmlu": 95, "mode": [40, 97, 116], "modecli": 94, "model": [0, 8, 9, 10, 11, 13, 14, 15, 16, 18, 19, 21, 23, 26, 29, 31, 32, 33, 36, 40, 42, 45, 47, 48, 50, 57, 61, 68, 77, 87, 90, 94, 95, 97, 98, 99, 106, 108, 109, 110, 111, 112, 116, 118, 121, 123], "model_cli": [0, 21, 23, 36, 38, 40, 45, 48, 58, 61, 68, 69, 73, 77, 79, 90, 92, 93, 94, 96, 97, 102, 108, 109, 110, 112, 118, 121], "model_kwarg": [0, 10, 11, 13, 14, 15, 21, 23, 36, 40, 45, 47, 48, 50, 57, 61, 68, 69, 74, 77, 90, 92, 93, 94, 96, 101, 102, 108, 109, 110, 112, 118, 121], "model_nam": [15, 77, 102], "model_typ": [10, 11, 13, 14, 15, 40, 45, 48, 50, 57, 90, 95, 96, 102], "modelcli": [0, 10, 11, 13, 14, 15, 21, 23, 36, 40, 45, 48, 50, 57, 61, 68, 69, 90, 93, 96, 97, 106, 109, 118], "modelclienttyp": [57, 92, 96, 109, 112], "modeltyp": [10, 11, 13, 14, 15, 40, 45, 48, 50, 57, 90, 96, 102, 109], "modif": [14, 90], "modifi": [6, 26, 27], "modoel": 92, "modubl": 40, "modul": [21, 39, 40, 47, 54, 57, 79, 82, 84, 88, 90, 92, 97, 109, 116, 118, 121], "modular": 118, "module_nam": 79, "moment": 98, "monitor": [92, 116], "month": [62, 63, 95], "monument": 101, "moon": 95, "more": [8, 10, 11, 13, 18, 19, 24, 26, 29, 36, 39, 40, 47, 54, 55, 56, 57, 61, 68, 84, 85, 88, 89, 90, 92, 93, 95, 96, 97, 98, 99, 101, 108, 109, 110, 111, 112, 116, 118, 120, 121, 123], "moreov": 108, "most": [17, 90, 96, 97, 99, 101, 106, 109, 110], "mostli": [39, 109], "move": [8, 26, 29, 97, 109, 111], "movi": [94, 110], "mp": 15, "much": [90, 96, 101, 109, 110], "mulitpl": [6, 27], "multi": [88, 93, 99, 108, 116], "multifacet": 95, "multilingu": 11, "multipl": [0, 42, 71, 74, 75, 77, 87, 92, 93, 96, 108, 109, 112, 116], "multipli": [108, 112], "multitask": 95, "multple_function_call_templ": 112, "must": [24, 40, 42, 102], "my_db": 42, "my_funct": 40, "my_function_compon": 40, "my_inst": [39, 123], "myfunctioncompon": 40, "myoutput": [39, 123], "mypi": 88, "n": [8, 14, 17, 19, 26, 29, 34, 36, 43, 54, 92, 101, 102, 110, 112], "n_________": 92, "nadd": 112, "name": [24, 39, 40, 42, 46, 47, 55, 57, 69, 73, 74, 75, 77, 78, 79, 80, 81, 82, 88, 90, 92, 95, 98, 101, 108, 109, 110, 112, 116, 121, 123], "named_children": 40, "named_compon": 40, "named_paramet": [40, 90], "nanswer": 101, "nativ": [88, 106], "natur": [8, 26, 29, 47, 95], "navig": 84, "nd": 109, "ndarrai": [47, 109, 112], "ndivid": 112, "necessari": [15, 84, 110, 112, 115, 116, 121], "need": [0, 8, 11, 13, 14, 15, 17, 19, 26, 29, 36, 39, 40, 45, 46, 50, 54, 56, 57, 79, 80, 88, 92, 93, 96, 98, 102, 106, 109, 110, 111, 112, 116, 121], "neg": [19, 36, 59, 110], "nest": [17, 34, 39, 40, 47, 57, 88, 97], "net": 118, "neutral": [59, 116], "new": [0, 8, 26, 29, 42, 47, 69, 84, 92, 93, 95, 108, 109, 110, 112, 116], "new_compon": [77, 96], "new_components_from_config": 77, "new_dim": 93, "new_embed": 93, "new_turn": 92, "next": [24, 40, 94, 95, 99, 102, 106, 108, 110, 112, 121], "nget": 112, "nkei": 54, "nlg": 95, "nlp": [8, 26, 29, 94, 98, 110, 111], "nlu": 95, "nmultipli": 112, "nn": [40, 90, 118], "nnew": 110, "nnone": 112, "nnow": 101, "node": 47, "nois": 110, "non": [8, 26, 29], "none": [0, 8, 9, 10, 11, 13, 14, 15, 17, 19, 21, 23, 26, 29, 31, 34, 36, 39, 40, 42, 45, 46, 47, 48, 50, 51, 52, 53, 56, 57, 61, 67, 68, 69, 71, 73, 74, 75, 78, 79, 80, 82, 88, 92, 94, 96, 102, 109, 110, 111, 112], "nonetyp": 57, "nonsens": [110, 111], "normal": [19, 36, 47, 57, 88, 93, 102, 110], "normalize_np_arrai": 47, "normalize_vector": [47, 93], "nosql": 109, "note": [15, 17, 18, 19, 36, 39, 40, 47, 53, 57, 80, 90, 92, 96, 97, 108, 109, 112, 116, 121], "notebook": [108, 109], "noth": 108, "notic": [96, 99], "notimplementederror": [102, 109], "now": [15, 18, 40, 73, 88, 92, 93, 94, 96, 101, 106, 108, 109, 110, 112, 116], "np": [109, 112], "nsearch": 112, "nsum": 112, "nthe": 101, "null": [92, 101], "num": 71, "num_class": 71, "num_doc": 121, "num_row": 95, "num_shot": [67, 71], "number": [0, 8, 19, 23, 26, 29, 36, 55, 62, 63, 80, 93, 94, 95, 108, 110, 111, 112, 121], "numer": [88, 94, 109, 110], "numpi": [93, 109, 112], "numpy_sum": 112, "nyou": 43, "nz": [19, 36], "o": [82, 84, 102, 110], "o200k_bas": 110, "obj": [40, 47, 78, 82], "object": [8, 15, 17, 26, 29, 34, 39, 40, 47, 48, 52, 54, 56, 57, 59, 61, 62, 63, 68, 69, 70, 73, 74, 75, 78, 79, 81, 82, 88, 94, 96, 108, 110, 111, 112], "objecttyp": [82, 112], "observ": [24, 57, 98, 108], "obtain": [94, 95], "occur": [19, 36, 93], "occurr": 110, "off": [102, 109], "offer": [92, 96, 102, 109, 116, 118, 123], "offici": 118, "often": [19, 36, 57, 92, 93, 96, 102, 106, 109, 111], "okapi": 110, "okapi_bm25": [19, 36, 109], "old_dim": 93, "old_embed": 93, "onc": [95, 109, 110], "one": [6, 15, 24, 27, 46, 47, 80, 93, 96, 99, 101, 106, 108, 109, 110, 112], "ones": [73, 96, 110, 111], "onli": [14, 17, 19, 24, 34, 36, 39, 40, 42, 45, 47, 48, 56, 57, 61, 73, 77, 79, 88, 90, 92, 93, 96, 98, 101, 102, 106, 108, 109, 110, 112, 116, 123], "open": [84, 95, 116, 121], "openai": [11, 13, 14, 15, 16, 33, 50, 57, 79, 92, 94, 96, 99, 102, 109, 110, 112, 115, 116, 123], "openai_api_kei": [93, 102, 115], "openai_cli": [79, 93, 102, 121], "openaicli": [11, 13, 14, 15, 40, 45, 48, 50, 73, 77, 79, 90, 92, 93, 94, 96, 102, 108, 109, 110, 121], "oper": [6, 26, 27, 39, 42, 45, 57, 58, 65, 88, 92, 109, 110, 123], "operand": 112, "opinion": 116, "opro": 69, "opt": 106, "optim": [19, 36, 51, 88, 90, 92, 96, 101, 109, 110, 116, 118], "option": [0, 8, 10, 13, 14, 15, 17, 19, 21, 23, 26, 29, 34, 36, 39, 40, 42, 45, 47, 48, 50, 51, 52, 53, 55, 57, 61, 73, 74, 75, 78, 79, 80, 88, 90, 92, 96, 102, 109, 111, 112, 114, 118, 123], "optional_packag": 79, "optionalpackag": [79, 115], "opu": 99, "orang": 110, "orchestr": [45, 46, 48, 67, 92, 93, 94, 106], "ord_docu": 92, "order": [8, 26, 29, 39, 40, 52, 57, 88, 92, 93, 98, 110, 111], "ordereddict": [40, 57], "org": [0, 15, 18, 19, 36, 69, 87, 88, 109], "org_docu": 92, "organ": [84, 92, 110, 116], "origin": [8, 26, 29, 42, 88, 92, 94, 109, 110], "orpo": 69, "oss": 116, "otago": [19, 36], "other": [8, 17, 24, 26, 29, 34, 40, 47, 54, 57, 77, 82, 84, 88, 90, 93, 95, 96, 98, 109, 112, 113, 116, 123], "othersi": 40, "otherwis": [40, 57, 111], "our": [32, 39, 40, 48, 61, 71, 84, 85, 88, 90, 92, 93, 96, 97, 99, 102, 106, 108, 109, 110, 112, 113, 114, 115, 116, 118, 119, 121], "ourselv": 116, "out": [88, 90, 95, 96, 98, 102, 108, 109, 110, 112, 116], "outcom": [8, 26, 29], "outer": 88, "outlin": [38, 65, 95, 108], "outperform": 108, "output": [8, 13, 14, 16, 19, 21, 24, 26, 29, 33, 34, 36, 39, 40, 43, 45, 46, 47, 48, 54, 57, 61, 67, 68, 71, 73, 74, 80, 88, 90, 92, 94, 97, 99, 101, 102, 106, 108, 109, 110, 111, 116, 121, 123], "output_1": 109, "output_2": 109, "output_3": 109, "output_data_class": 112, "output_data_obj": 68, "output_format": [43, 96, 101, 112, 123], "output_format_str": [17, 43, 96, 101, 106, 112], "output_pars": [38, 112], "output_processor": [0, 17, 21, 34, 36, 45, 48, 67, 93, 94, 108, 109, 110, 112, 121], "output_str": 101, "outputformat": 88, "outputpars": [14, 17, 34, 112, 118], "outstand": 123, "over": [40, 46, 87, 90, 106, 110, 116, 118], "overal": [39, 95, 98, 108, 112], "overflow": 93, "overhead": 46, "overlap": [8, 26, 29, 88, 110, 111], "overpr": 110, "overrid": [94, 108, 110], "overview": [92, 95], "overwrit": 39, "own": [8, 14, 29, 39, 40, 47, 53, 74, 87, 88, 93, 95, 102, 109, 116, 121], "p": 102, "p1": 112, "p2": 112, "packag": [79, 84, 88, 94, 109, 110, 114, 116, 118], "pad": 102, "page": [8, 26, 29, 84, 108, 110, 111], "paid": 101, "pain": 90, "pair": 109, "paitesanshi": 87, "palletsproject": 106, "panel": [92, 109], "paper": [15, 19, 36, 95, 108, 109], "paragraph": 110, "parallel": 87, "param": [40, 47, 51, 62, 90, 96], "paramet": [8, 10, 13, 14, 15, 17, 19, 21, 23, 24, 26, 29, 34, 36, 39, 40, 42, 45, 47, 48, 50, 52, 53, 55, 57, 59, 61, 63, 67, 69, 73, 74, 75, 77, 78, 79, 80, 82, 88, 90, 97, 108, 110, 112, 116, 121], "parent": 110, "parent_doc_id": [8, 26, 29, 57, 92, 110, 111], "pari": [101, 102, 112], "pars": [10, 13, 14, 15, 16, 17, 33, 34, 46, 47, 48, 50, 54, 56, 57, 96, 97, 102, 108, 112], "parse_chat_complet": [10, 13, 14, 15, 50, 102], "parse_embedding_respons": [14, 15, 16, 32, 33, 50, 102], "parse_func_expr": [56, 112], "parse_function_call_expr": [47, 112], "parse_json_str_to_obj": 47, "parse_yaml_str_to_obj": 47, "parsed_input": [57, 112], "parser": [14, 17, 34, 108, 110, 112], "part": [47, 87, 96, 97, 106, 109, 110, 122], "parti": [39, 80, 109], "particip": 113, "particl": [92, 109], "particulai": 95, "particular": [45, 50, 53, 90, 96, 101, 118], "particularli": 110, "pass": [14, 19, 23, 36, 40, 45, 47, 48, 52, 57, 61, 88, 90, 93, 96, 99, 102, 106, 108, 109, 110, 112], "passag": [8, 26, 29, 110, 111], "past": [57, 106], "path": [19, 36, 53, 73, 75, 79, 95, 97, 121], "path_to_html_output": 84, "pattern": [16, 33, 40, 46, 47, 57], "pdf": [8, 19, 26, 29, 36, 111], "pdfminer": [8, 26, 29, 111], "per": 57, "percent": 106, "perform": [42, 61, 67, 68, 71, 92, 93, 95, 96, 98, 101, 106, 108, 109, 110, 111, 116, 121], "perhap": 101, "period": [8, 26, 29, 111], "perplex": 95, "persist": [9, 19, 31, 36, 42, 53, 57, 90, 92, 109], "persit": 92, "person": [39, 123], "pgvector": [79, 109, 115], "phase": 110, "philosophi": [89, 97], "phoenix": 116, "photon": [92, 109], "phrase": 109, "pickabl": 90, "pickl": [40, 42, 78, 92, 109], "picklabl": [40, 42], "pickle_to_fil": 40, "piec": [8, 26, 29, 110], "pip": [79, 80, 84, 115], "pipelin": [9, 15, 31, 40, 42, 77, 90, 93, 95, 96, 98, 109, 118, 122], "pkl": [42, 77, 92], "place": [51, 112, 115], "placehold": 106, "plai": [38, 50, 65, 92, 99, 106, 109, 110], "plain": 111, "plan": [97, 102, 108, 115], "plann": 87, "planner": 0, "platform": [14, 95, 96, 112, 113], "pleas": [8, 17, 26, 29, 34, 39, 46, 48, 61, 79, 80, 84, 85, 90, 93, 95, 96, 102, 108, 109, 110, 111, 112, 116, 120, 123], "plenti": 90, "plot": 89, "plug": [50, 116], "poetri": [84, 116], "point": [8, 26, 29, 73, 88, 111, 112, 121], "pollut": [92, 109], "pool": 109, "pop": [42, 92], "popular": [87, 95, 110], "posit": [24, 40, 47, 57, 59, 80, 92, 94, 109, 110, 112], "possibl": 88, "post": [21, 36, 109], "postgr": 109, "postgres_retriev": 36, "postgresql": 109, "postprocessor": 116, "potenti": [24, 47, 88, 99, 108, 111], "power": [92, 109, 118], "powershel": 80, "practic": [109, 110, 116], "practis": [90, 109], "pre": [92, 95, 116], "precis": [95, 109], "pred_answ": [59, 61], "predefin": 47, "predict": [39, 48, 57, 59, 61, 73, 88, 95, 96, 99, 101, 106, 121], "prefer": [24, 109, 112], "prefix": [39, 40, 47, 106, 123], "prepar": [21, 36, 92, 94, 109, 110, 112], "prepend": 40, "preprint": 95, "preprocess": [8, 29, 55, 110], "prescript": 90, "presenc": [19, 36], "preserv": 88, "preset": [0, 48, 52, 106, 110], "preset_prompt_kwarg": [17, 34, 52, 73, 101, 108, 109, 110, 121], "pretti": 109, "prevent": [8, 26, 29, 110, 111], "previou": [24, 40, 69, 92, 96, 108, 110, 111, 121], "previous": [14, 40, 52, 109], "principl": 116, "print": [8, 17, 19, 26, 29, 34, 36, 39, 40, 46, 47, 52, 54, 57, 80, 88, 92, 93, 94, 95, 96, 102, 106, 108, 109, 110, 111, 112, 121, 123], "print_prompt": [48, 52, 92, 96], "print_prompt_templ": 52, "printc": 80, "printout": [90, 92, 106, 109, 112], "prior": 80, "priorit": 109, "pro": [92, 109], "prob": 109, "probab": 109, "probabl": [14, 109, 110], "problem": [108, 109, 112, 116], "procesor": 93, "process": [8, 18, 21, 24, 26, 29, 36, 42, 45, 54, 57, 84, 88, 90, 92, 93, 94, 95, 96, 97, 98, 101, 106, 108, 109, 110, 111, 112, 116, 121], "process_queri": 112, "processor": [17, 34, 45, 48, 57, 67, 96], "produc": [92, 109, 121], "product": [8, 29, 92, 93, 95, 98, 109, 110], "production": 116, "profess": 109, "profil": [109, 110], "program": 88, "programmat": 106, "prohibit": 84, "project": [14, 65, 74, 75, 84, 93, 101, 113, 114, 115, 119], "project_nam": [73, 74, 75], "prompt": [0, 14, 17, 21, 24, 34, 36, 39, 40, 43, 48, 52, 57, 68, 73, 75, 80, 88, 90, 92, 96, 97, 98, 99, 101, 102, 108, 109, 110, 112, 116, 117, 118, 121, 123], "prompt_build": [58, 96, 106, 112, 121, 123], "prompt_kwarg": [0, 48, 52, 74, 90, 92, 96, 101, 106, 112], "prompt_stat": [75, 101], "prompt_templ": 123, "prompt_token": [57, 102], "prompt_vari": [40, 90, 96, 101, 106, 109, 118], "promt_kwarg": 0, "properli": 123, "properti": [42, 47, 56, 57, 74, 75, 88, 93, 108, 112], "propetriari": 99, "propos": [67, 69], "proprietari": [106, 116], "protocol": [50, 95, 109], "provid": [8, 21, 24, 26, 29, 32, 36, 38, 39, 40, 47, 50, 51, 52, 58, 65, 69, 73, 74, 80, 88, 89, 90, 92, 93, 94, 95, 96, 97, 98, 99, 101, 102, 106, 108, 109, 110, 112, 116, 118, 121, 123], "proxim": 109, "pt": 102, "publish": [0, 18], "pull": 84, "punchlin": 123, "punctuat": [8, 26, 29, 111], "pure": 96, "purpos": [8, 26, 29, 90, 92, 111, 121], "purposli": 40, "pursuit": 87, "push": 84, "put": [88, 90, 93, 98, 109, 116], "py": [57, 84, 115, 116, 121], "pydant": [39, 88], "pydata_sphinx_them": 84, "pypdf2": [8, 26, 29, 111], "python": [8, 17, 24, 26, 29, 34, 39, 47, 54, 57, 84, 88, 95, 106, 111, 115, 116], "pytorch": [39, 40, 71, 84, 88, 90, 98, 118, 123], "q": [18, 19, 36, 108], "q_i": [19, 36], "qa": 40, "qualiti": [84, 95, 96, 121], "qualnam": [39, 57, 79, 82], "quantit": 95, "queri": [0, 6, 11, 15, 17, 19, 21, 24, 27, 34, 36, 40, 57, 59, 61, 62, 63, 87, 90, 93, 95, 101, 102, 106, 108, 109, 110, 112, 118, 121], "query_1": 109, "query_1_short": 109, "query_1_token": 109, "query_1_word": 109, "query_2": 109, "query_2_short": 109, "query_or_queri": [21, 36, 110], "query_str": [57, 92], "question": [8, 17, 18, 26, 29, 34, 39, 47, 61, 88, 90, 95, 101, 108, 111, 113, 116, 121, 123], "quick": [56, 108, 110], "quickli": [92, 109, 116], "quit": [96, 106, 109], "quot": [24, 112], "r": [24, 40, 52, 84, 90, 96, 102, 106, 109, 112, 118, 121, 123], "rag": [87, 95, 108, 109, 110, 116, 118, 122], "rag_hotpotqa": 121, "raga": 95, "rais": [8, 26, 29, 39, 47, 79, 88, 93, 96, 102, 109], "random": [54, 71], "random_replac": [67, 71], "random_sampl": 71, "randomli": 71, "randomsampl": 71, "rang": [57, 61, 69, 71, 88, 95, 109, 110, 112, 121], "rank": [19, 23, 36, 110], "rank_bm25": [19, 36, 109], "rare": [19, 36], "rate": 112, "rather": [88, 93, 96], "ratio": [62, 63, 110, 121], "raw": [8, 19, 24, 29, 36, 57, 88, 96, 106, 112], "raw_respons": [21, 36, 57, 93, 96, 101, 102, 112], "re": [108, 109], "reach": [19, 36, 106, 108], "react": [24, 87], "reactag": [0, 87, 97, 108], "read": [24, 73, 99, 106, 108, 116, 123], "readabl": 84, "readi": [109, 110, 112], "readili": 95, "readm": [84, 116, 117], "real": [8, 26, 29, 92, 109, 111, 113, 118], "realiti": 106, "realli": [92, 96, 102, 108], "realtion": 109, "reason": [17, 19, 34, 36, 87, 88, 95, 97, 108, 109, 110], "reattach": [8, 26, 29], "rebuilt": 77, "recal": [62, 95, 109, 121], "recall_list": [62, 95, 121], "receiv": [94, 99, 110], "recogn": 116, "recognit": 98, "recommend": [95, 115], "recomnend": 71, "recomput": 109, "reconstruct": [77, 88], "reconstructed_from_json": 88, "reconstructed_from_yaml": 88, "record": [57, 73, 74, 92, 96, 110], "recreat": 77, "recurs": [40, 47, 90], "red": 80, "reduc": [92, 109], "refer": [0, 8, 11, 14, 15, 19, 26, 29, 36, 39, 40, 48, 61, 84, 95, 108, 110, 111, 123], "reference_text": 95, "reflect": [8, 26, 29, 111], "regardless": 112, "regex": 47, "regist": [42, 74, 81, 92, 102], "register_compon": 40, "register_gener": 74, "register_paramet": [40, 90], "register_transform": [42, 92], "regress": 106, "regular": 40, "reimplement": 109, "reiniti": [21, 36, 109], "rel": [19, 36], "relai": 96, "relat": [57, 109, 110], "relationship": 110, "relax": 90, "relev": [21, 36, 62, 63, 92, 93, 95, 96, 97, 99, 109, 110, 112, 121], "relevance_list": [63, 95, 121], "reli": [39, 98, 110, 112, 118], "relianc": [92, 109], "reliev": 90, "reload": 92, "reloaded_dialog_turn_db": 92, "relu": 90, "remain": [84, 94, 109], "rememb": 24, "remov": [42, 84, 92], "remove_dupl": 40, "remove_stop_word": 55, "remove_transform": [42, 92], "render": [52, 106], "renered_prompt": 112, "renew": [92, 109], "renewab": 92, "repeat": 111, "replac": [0, 71], "repo": 116, "reponse_embedder_output": 102, "report": 95, "repositori": [84, 116, 120], "repr": 69, "repr_str": 93, "repres": [39, 40, 47, 51, 88, 92, 106, 109, 110, 112, 118, 121], "represent": [39, 52, 57, 82, 94, 95, 110], "represent_ordereddict": 47, "request": 108, "requir": [17, 21, 32, 34, 36, 39, 42, 47, 48, 51, 54, 57, 59, 84, 88, 92, 99, 102, 106, 108, 109, 110, 112, 121, 123], "required_field": [39, 47, 88], "requires_opt": 51, "requr": 112, "rerank": [11, 15, 23, 36, 57, 116], "reranker_retriev": 109, "rerankerretriev": [23, 36, 109], "research": [92, 93, 95, 98, 106, 108, 109, 110, 116], "reserv": 96, "reset": [0, 19, 21, 23, 36, 42, 53, 67, 69, 92], "reset_index": [19, 21, 23, 36, 53, 110], "reset_paramet": [67, 69], "resolv": [47, 123], "resourc": [84, 108, 109], "respect": [47, 94], "respond": [96, 106, 112], "respons": [0, 14, 15, 16, 17, 21, 33, 36, 48, 50, 57, 69, 90, 92, 93, 96, 99, 102, 108, 109, 110, 112, 121], "response_format": 14, "response_str": [57, 92], "response_text": 102, "rest": [50, 90, 99, 106, 110], "restor": [19, 36, 39, 42, 53, 109], "restored_data": 39, "restored_dialog_turn_db": 92, "restructuredtext": 84, "result": [8, 19, 24, 29, 36, 40, 46, 47, 48, 57, 61, 80, 89, 94, 95, 96, 97, 98, 101, 109, 110, 111, 112, 118], "result1": 112, "result1someth": 112, "result2": 112, "result2someth": 112, "retri": [11, 13, 15, 50, 102], "retriev": [6, 8, 9, 26, 27, 29, 31, 40, 47, 57, 62, 63, 90, 92, 94, 95, 96, 97, 98, 102, 106, 111, 112, 116, 118, 121], "retrieved_context": [62, 63, 95], "retriever2": [19, 36], "retriever_1": 109, "retriever_evalu": 121, "retriever_output": [6, 27], "retriever_output_to_context_str": [6, 26, 27], "retriever_recal": [64, 95], "retriever_relev": [64, 95], "retrieverdocumentstyp": [23, 36, 109], "retrieverdocumenttyp": [19, 21, 23, 36, 53, 57, 109], "retrieverevalu": 121, "retrieveroutput": [6, 19, 21, 23, 27, 36, 53, 57, 92, 109, 110], "retrieveroutputtocontextstr": [6, 26, 27], "retrieveroutputtyp": [21, 36, 109], "retrieverqueriestyp": 109, "retrieverquerytyp": [53, 57, 109], "retrieverrecal": [62, 95], "retrieverrelev": [63, 95], "retrieverstrqueriestyp": [21, 36, 109], "retrieverstrquerytyp": 109, "return": [8, 17, 19, 21, 26, 29, 34, 36, 39, 40, 42, 45, 46, 47, 55, 57, 59, 61, 62, 63, 77, 78, 80, 82, 88, 90, 92, 93, 96, 97, 102, 106, 108, 109, 110, 111, 112, 118], "return_logg": 80, "return_tensor": 102, "review": [84, 94, 95, 110], "right": [19, 36, 47, 96, 98, 101, 109], "rigid": 116, "robust": [24, 95, 118], "roger": 18, "role": [24, 38, 39, 65, 92, 99, 102, 106, 108, 109, 116, 123], "root": [80, 115], "roug": 95, "row": 57, "rst": 84, "rule": [8, 26, 29, 98, 111], "run": [0, 15, 46, 84, 90, 92, 93, 94, 101, 108, 112, 115, 116, 123], "run_async_function_cal": 112, "run_sync_and_async_mix": 46, "run_sync_and_async_mix_without_wait": 46, "runtim": [52, 115], "safe": [47, 79], "safe_import": 79, "safe_load": 121, "sai": [88, 101, 109], "same": [21, 36, 40, 42, 55, 57, 59, 71, 80, 88, 92, 93, 96, 102, 106, 108, 109, 110, 116, 118], "sampl": [67, 71, 121], "sampler": 67, "san": 112, "sandbox": [46, 47, 56, 112], "sandbox_exec": [46, 47], "sandbox_execut": 112, "sat": 95, "satur": [19, 36, 110], "save": [19, 36, 39, 42, 53, 57, 73, 74, 75, 78, 80, 90, 92, 93, 96, 101, 109], "save_dir": [73, 74, 75, 80], "save_index": 110, "save_json": [78, 90], "save_meta_data": 74, "save_pickl": 78, "save_st": [42, 92], "save_to_fil": [19, 36, 53, 109], "scale": [109, 110], "scarecrow": 123, "scene": 99, "schema": [17, 34, 39, 47, 57, 88, 112, 123], "schmea": 88, "scope": [8, 29], "score": [8, 19, 21, 26, 29, 36, 47, 57, 61, 69, 92, 94, 95, 110, 111], "script": [80, 121], "script_nam": 80, "sdk": [15, 32, 57, 109, 115, 118], "seamless": 108, "seamlessli": 109, "search": [94, 95, 108, 109, 110, 112], "search_reranking_with_cross": 109, "second": [46, 47, 62, 63, 95, 101, 102, 109, 110, 111, 112], "secret": 99, "section": [38, 58, 65, 84, 92, 99, 106, 108, 112], "sector": [92, 109], "see": [8, 11, 13, 15, 18, 26, 29, 50, 73, 85, 88, 89, 90, 92, 94, 99, 106, 108, 109, 110, 111, 112, 116, 118], "seek": [106, 116], "seen": 92, "segment": [8, 26, 29, 111], "select": [71, 95, 121, 123], "self": [17, 34, 40, 47, 73, 88, 90, 93, 101, 102, 109, 112, 118], "semant": [92, 94, 109], "send": [106, 109], "sens": [87, 95, 101], "sensit": [39, 88, 98, 109, 118], "sensor": 109, "sent": 106, "sentenc": [8, 26, 29, 96, 108, 110, 111, 121], "sentiment": [8, 26, 29, 94, 95, 110, 111], "separ": [8, 26, 29, 50, 84, 106, 111, 116], "seq": [40, 90], "sequenc": [6, 19, 21, 23, 26, 27, 36, 45, 53, 71, 90, 92, 97, 102, 108, 109], "sequenti": [0, 40, 48, 55, 87, 92, 93, 96, 97, 108, 121], "seral": [88, 98], "sercur": 112, "seri": [8, 15, 26, 29, 99, 110, 111], "serial": [14, 39, 40, 52, 78, 88, 90, 97, 106, 109, 123], "serializ": 42, "serv": [58, 65, 90], "server": 84, "servic": 110, "session": 57, "session_id": [57, 92], "set": [0, 8, 15, 19, 21, 26, 29, 36, 40, 47, 48, 52, 61, 80, 84, 92, 93, 94, 97, 102, 108, 109, 110, 111, 114, 117, 121, 123], "set_assistant_respons": 57, "set_user_queri": 57, "setup": [42, 92, 93, 94, 96, 101, 109, 115, 116, 123], "setup_env": [93, 102, 115], "seven": 106, "sever": [90, 95], "shallow": 40, "shape": 98, "share": [8, 29, 113, 116], "shell": 116, "shift": [8, 26, 29, 110, 111], "shorten": 84, "shorter": [109, 110, 111], "shorthair": 110, "shot": [18, 39, 67, 71, 106, 108, 109, 117, 123], "should": [8, 11, 13, 14, 15, 17, 21, 26, 29, 34, 36, 39, 40, 42, 45, 50, 57, 69, 75, 90, 93, 96, 101, 106, 109, 110, 111, 112, 116, 123], "show": [17, 34, 57, 84, 90, 94, 96, 108, 109, 110, 112, 116, 121, 123], "showcas": 109, "shown": 112, "signal": 110, "signatur": [39, 88, 112, 123], "signature_json": [17, 34, 39, 88], "signature_yaml": [17, 34, 39, 88], "signific": [92, 109, 110], "significantli": [19, 36, 92, 109], "signitur": 123, "similar": [47, 57, 93, 94, 95, 106, 108, 109, 110, 118], "similaritypostprocessor": 116, "similarli": [88, 96, 101, 116], "simpl": [17, 24, 34, 71, 92, 93, 94, 96, 106, 109], "simple_prompt": 106, "simpleqa": [101, 118], "simpler": 123, "simplest": 112, "simpli": [47, 67, 87, 88, 93, 96, 109], "simplifi": [14, 92, 93, 96, 98, 101, 108, 109, 112], "simplili": 112, "simul": [46, 108, 109, 110], "singl": [42, 45, 48, 57, 61, 77, 92, 93, 95, 96, 99, 101, 106, 108, 109, 112, 123], "site": 84, "situat": [87, 93], "size": [8, 26, 29, 45, 93, 109, 110, 111], "skim": 109, "skip": 71, "skip_special_token": 15, "sleep": [46, 110, 112], "slide": [8, 26, 29, 110, 111], "slightli": 112, "small": [45, 77, 92, 93, 94, 102, 109, 110], "small_tool_manag": 112, "smaller": [8, 26, 29, 93, 97, 109, 110, 111], "smallest": [8, 26, 29, 111], "smell": 110, "smooth": 118, "snippet": [57, 84, 95, 112, 121], "so": [47, 55, 57, 87, 88, 92, 98, 99, 102, 108, 109, 111], "softwar": 98, "solar": [92, 109], "solut": [98, 110, 116, 118], "solv": [24, 108, 116, 123], "some": [21, 36, 54, 71, 88, 92, 95, 96, 101, 106, 109, 116], "someth": 112, "sometim": [61, 88, 116], "soon": 96, "sort": 52, "sort_kei": [39, 47], "sourc": [0, 6, 8, 9, 10, 11, 13, 14, 15, 16, 17, 19, 21, 23, 26, 27, 29, 31, 33, 34, 36, 39, 40, 42, 45, 46, 47, 48, 50, 51, 52, 53, 54, 55, 56, 57, 59, 61, 62, 63, 67, 68, 69, 70, 71, 73, 74, 75, 77, 78, 79, 80, 81, 82, 83, 84, 92, 108, 109, 110, 116], "space": [8, 17, 26, 29, 34, 94, 108, 110, 111], "span": 95, "speak": [112, 116], "spec": 57, "speciaf": 121, "special": [38, 65, 99, 106], "specif": [10, 13, 14, 15, 23, 24, 36, 38, 46, 48, 50, 51, 53, 56, 57, 61, 65, 88, 95, 102, 106, 108, 109, 121], "specifc": 57, "specifi": [8, 14, 26, 29, 39, 51, 57, 88, 106, 109, 110, 111, 112], "spectrum": 95, "speed": [109, 110], "spend": 98, "sphinx": 84, "split": [6, 8, 19, 26, 27, 29, 36, 84, 92, 94, 97, 109, 111, 117], "split_and_emb": 92, "split_bi": [8, 26, 29, 77, 92, 94, 110, 111], "split_funct": 110, "split_length": [77, 92, 94, 110], "split_overlap": [77, 92, 94, 110], "split_text": [8, 26, 29], "split_text_by_token_fn": 110, "split_text_by_word_fn": [19, 36, 109], "split_text_by_word_fn_then_lower_token": [19, 36, 109], "split_text_token": 19, "splitted_doc": [8, 26, 29, 94, 110, 111], "splitter": [8, 26, 29, 92, 94, 97, 109], "splitter_config": 92, "splitter_set": 110, "sql": [54, 92, 109], "sqlalchemi": [79, 92, 109, 115], "staff": 110, "stage": [93, 108, 109, 116], "stai": [90, 116], "stand": 96, "standar": [90, 98], "standard": [10, 13, 14, 15, 17, 34, 39, 46, 50, 57, 93, 96, 97, 102, 109, 112, 116, 123], "star": 95, "start": [0, 18, 24, 39, 57, 79, 82, 93, 110, 112, 121], "start_header_id": [99, 106], "start_tim": [46, 112], "starter": 69, "state": [19, 21, 23, 36, 39, 40, 42, 53, 73, 75, 77, 90, 92, 96, 97, 98, 101, 109, 110, 112], "state_dict": [40, 70, 90], "static": [39, 88], "statu": 88, "step": [0, 8, 18, 24, 26, 29, 43, 57, 69, 70, 87, 93, 96, 101, 106, 108, 109, 110, 111, 121], "step_histori": 24, "stepoutput": [57, 108], "steps_str": [43, 96, 101, 106], "stick": 96, "still": [84, 92, 96, 98, 109, 110, 111, 112], "stop": [96, 106], "storag": [8, 9, 29, 31, 42, 77, 92, 109], "store": [8, 29, 40, 42, 48, 74, 75, 88, 92, 94, 96, 101, 109, 110], "str": [0, 6, 8, 10, 11, 13, 14, 15, 17, 19, 21, 23, 24, 26, 27, 29, 34, 36, 39, 40, 42, 45, 47, 48, 50, 51, 52, 53, 54, 55, 56, 57, 59, 61, 62, 63, 68, 69, 73, 74, 75, 77, 78, 79, 80, 81, 82, 88, 90, 92, 93, 96, 102, 109, 110, 111, 112, 123], "str_param": 51, "straightforward": [96, 108], "strateg": 108, "streamlin": [39, 112, 123], "stress": 90, "strict": 40, "string": [0, 13, 17, 21, 24, 34, 36, 39, 47, 48, 51, 52, 54, 55, 57, 59, 61, 62, 63, 82, 84, 96, 99, 106, 108, 109, 110, 112, 116, 121], "string_pars": [17, 58, 96, 110, 121], "structu": 88, "structur": [8, 14, 15, 24, 26, 29, 39, 40, 47, 50, 57, 71, 88, 92, 93, 96, 101, 102, 109, 111, 112, 118, 123], "stuck": 111, "style": 84, "subclass": [11, 13, 15, 17, 19, 36, 39, 40, 50, 53, 57, 88, 89, 90, 93, 96, 97, 102, 106, 109, 112, 118], "subcompon": [40, 90, 96], "subcomponn": 90, "subject": 95, "submit": 110, "subqueri": [24, 108], "subquest": 24, "subsequ": 108, "subset": 121, "substanti": [92, 109], "substitut": 106, "subtract": 108, "success": [96, 112], "successfulli": 112, "sudden": [8, 26, 29, 110, 111], "suggest": [14, 19, 36, 108, 110], "suitabl": [8, 29], "sum": 112, "sum_": [19, 36], "summar": [95, 98, 116], "summari": [96, 123], "sunlight": [92, 109], "super": [40, 88, 90, 93, 101, 102, 118], "support": [8, 14, 18, 26, 29, 39, 46, 47, 48, 56, 57, 80, 82, 88, 93, 96, 99, 102, 109, 110, 111, 112, 115, 118, 121, 123], "support_model": 15, "support_model_list": 102, "supporting_fact": 121, "suppos": 109, "sure": [17, 34, 88, 109, 112, 115, 123], "survei": [87, 95], "sustain": [92, 109], "switch": [21, 36, 93, 102, 109, 116, 118], "sy": [24, 40, 43, 90, 92, 96, 106, 109, 112, 118], "sylphai": 84, "sync": [11, 13, 15, 40, 46, 50, 56, 57, 102, 112], "sync_client": 102, "sync_function_1": 46, "sync_function_2": 46, "sync_tool_1": 46, "sync_tool_2": 46, "syncapicli": 15, "synchron": [46, 90], "syntax": [96, 106], "system": [24, 43, 50, 52, 57, 58, 65, 87, 92, 95, 99, 102, 106, 108, 110, 116], "system_input": 14, "system_prompt": 40, "system_tim": 92, "t": [8, 14, 17, 19, 26, 29, 36, 40, 42, 47, 51, 52, 57, 99, 106, 108, 110, 111, 116], "t0": 108, "t2d": [109, 110], "t_co": [57, 71], "tabl": [92, 109, 110], "take": [0, 8, 24, 26, 29, 46, 87, 94, 96, 99, 106, 108, 109, 111, 112, 116, 118], "taken": 112, "target": 73, "task": [0, 8, 18, 24, 26, 29, 40, 43, 46, 48, 61, 69, 73, 77, 78, 90, 92, 93, 95, 96, 97, 98, 101, 106, 108, 109, 110, 112, 117, 121, 123], "task_context_str": 68, "task_desc_str": [17, 34, 43, 52, 96, 101, 106, 110, 121], "task_input_dataclass": 67, "task_output_dataclass": 67, "team": 118, "technic": [84, 95, 112], "techniqu": [90, 109], "technologi": [92, 95, 109], "temperatur": [47, 48, 102, 108, 110, 112], "templat": [17, 34, 40, 43, 48, 52, 61, 73, 84, 90, 108, 109, 110, 112, 118, 123], "template_doc": [40, 90], "tenni": 18, "tensor": [15, 39, 40, 88, 90, 123], "term": [19, 36, 110], "termin": [96, 108], "terribl": 110, "test": [11, 13, 15, 17, 40, 42, 95, 96, 109, 115, 116, 117, 118], "test_input_4": 54, "testcod": 84, "testgener": 73, "testgenerator_generator_trac": 73, "text": [8, 14, 19, 26, 29, 36, 42, 45, 47, 52, 54, 55, 57, 69, 77, 80, 88, 92, 93, 94, 95, 96, 97, 98, 102, 106, 108, 109, 116, 121], "text_splitt": [26, 94, 110, 111], "text_splitter_set": [94, 110], "textsearch": 109, "textsplitt": [8, 26, 29, 92, 109], "than": [17, 24, 34, 39, 40, 45, 69, 88, 89, 90, 93, 98, 108, 109, 111, 112, 118, 123], "thank": 57, "theater": 110, "thei": [14, 40, 42, 51, 92, 96, 98, 99, 108, 109, 110, 123], "them": [19, 36, 39, 40, 53, 54, 57, 62, 63, 84, 90, 92, 94, 95, 98, 99, 106, 109, 112, 116, 118, 121, 123], "theme": 84, "themselv": 87, "thenlper": [15, 93, 102], "therefor": 108, "thi": [8, 9, 11, 13, 14, 15, 17, 18, 21, 24, 26, 29, 31, 36, 39, 40, 42, 43, 45, 46, 47, 50, 52, 54, 57, 59, 61, 62, 63, 65, 73, 77, 80, 81, 84, 88, 89, 90, 92, 93, 94, 95, 96, 97, 98, 101, 102, 106, 108, 109, 110, 111, 112, 115, 116, 118, 121, 123], "thing": [50, 98, 102], "think": [18, 116], "third": [80, 109], "those": 99, "though": [17, 102, 106, 109], "thought": [17, 18, 24, 34, 57, 88, 108, 112], "thoughtact": [17, 34], "three": [48, 93, 94, 96, 98, 99, 101, 112, 116], "through": [57, 84, 92, 94, 95, 96, 101, 108, 109, 110, 116, 121], "thu": [57, 93, 106, 121], "tiktoken": [8, 26, 29, 55], "time": [24, 46, 71, 87, 94, 98, 106, 108, 109, 110, 112, 113], "time_stamp": [74, 75, 101], "timeout": 47, "timestamp": [57, 80], "titl": [57, 92, 109, 110, 121], "to_dict": [14, 19, 36, 39, 40, 51, 52, 53, 71, 82, 88, 90, 106, 109, 112], "to_dict_class": [39, 82], "to_embed": [77, 94], "to_json": [39, 57, 88, 112, 123], "to_json_exampl": 39, "to_json_obj": [39, 88], "to_json_signatur": [39, 88, 112, 123], "to_schema": [39, 88], "to_schema_str": [39, 88], "to_thread": 46, "to_yaml": [39, 57, 88, 92, 112, 123], "to_yaml_exampl": 39, "to_yaml_obj": [39, 88], "to_yaml_signatur": [39, 88, 123], "toctre": 84, "todai": [19, 36], "todo": [24, 99], "toembed": [6, 26, 27, 77, 92, 94, 110], "toembedderrespons": [94, 110], "togeth": [90, 92, 93, 94, 97, 106, 116], "token": [8, 14, 17, 19, 26, 29, 34, 36, 39, 57, 58, 63, 92, 97, 99, 102, 106, 109, 110, 111, 112, 121, 123], "tokenlogprob": [14, 57], "tokyo": 112, "tol": 47, "tolist": [15, 102], "too": [90, 92, 109, 110, 118], "took": 24, "tool": [0, 14, 24, 43, 46, 54, 56, 57, 87, 95, 96, 97, 98, 99, 101, 106, 108, 112, 116, 118], "tool_1": 46, "tool_cal": 112, "tool_choic": 14, "tool_help": 108, "tool_manag": 112, "toolmanag": [56, 118], "toolnam": [24, 108], "tools_str": [43, 96, 101, 106], "top": [19, 21, 23, 36, 40, 88, 90, 98, 108, 109, 110, 118], "top_k": [19, 21, 23, 36, 47, 53, 77, 92, 110], "top_k_docu": 92, "top_n": 11, "topic": 118, "torch": [15, 71, 79, 90, 118], "torchmetr": 95, "total": [19, 36, 62, 63, 95, 109, 112, 121], "total_docu": 109, "total_token": [57, 102], "tower": 101, "trace": [108, 117], "trace_gener": 73, "trace_generator_cal": [73, 78, 96, 101], "trace_generator_error": 101, "trace_generator_st": [73, 96, 101], "track": [57, 75, 90, 92, 96, 101, 109, 116], "tradit": 110, "trag": 111, "train": [40, 48, 71, 90, 95, 97, 99, 101, 106, 117, 121], "trainabl": 48, "trainable_param": 48, "trainer": 98, "transact": 95, "transfom": 92, "transform": [6, 15, 19, 26, 27, 36, 42, 57, 79, 92, 93, 94, 97, 102, 109, 110, 111, 115, 116], "transformed_item": [42, 92], "transformer_setup": [42, 92], "transformercli": 102, "transformerembedd": [15, 102], "transformerllm": 15, "transformerrerank": 15, "transformers_cli": [93, 102, 109], "transformerscli": [15, 23, 36, 93, 102, 109], "transit": 118, "translat": [95, 98], "transpar": [39, 88, 90, 98, 116], "treat": [110, 112], "treatment": 90, "trec": 117, "trec_data": 39, "trec_data_dict": 47, "trec_data_list": [39, 47], "trecdata": [39, 47, 88], "trecdata2": 88, "trecdatalist": [39, 47], "tredatalist": 39, "tree": 40, "trend": 110, "trim_block": 106, "tripl": [17, 34, 47, 112], "true": [0, 15, 17, 19, 34, 36, 40, 42, 47, 51, 54, 57, 61, 69, 71, 73, 80, 88, 92, 93, 94, 95, 102, 106, 108, 109, 110, 112, 121, 123], "truli": 96, "truncat": 102, "truth": [59, 61, 62, 63, 69, 92, 95, 109, 121], "try": [98, 102, 112], "tuna": 110, "tune": 110, "tupl": [40, 47, 59, 61, 62, 63, 71, 79, 80], "turbo": [40, 47, 48, 90, 92, 96, 99, 102, 109, 110, 112], "turn": [57, 92, 94, 96, 108], "turn_db": [9, 31], "tutori": [84, 90, 108, 110, 111, 121, 123], "two": [15, 17, 18, 24, 42, 71, 78, 80, 89, 92, 93, 96, 101, 102, 108, 109, 112, 118], "txt": 84, "type": [8, 10, 13, 14, 15, 17, 19, 21, 23, 24, 26, 29, 34, 36, 39, 40, 42, 45, 46, 47, 50, 51, 53, 58, 59, 61, 62, 63, 69, 71, 74, 77, 79, 80, 81, 82, 84, 88, 90, 92, 93, 94, 96, 101, 102, 108, 110, 112, 121, 123], "type_hint": 47, "type_obj": 47, "typeerror": [8, 26, 29, 39, 51], "typevar": 109, "typic": [88, 90, 95, 96, 101, 102, 116], "u": [42, 88, 92, 94, 106, 109, 112], "ultim": 98, "unabl": 108, "unbias": 95, "uncas": 95, "uncased_l5_no": 95, "uncontrol": 116, "undefin": [10, 11, 13, 14, 15, 50, 57, 102], "underli": 90, "understand": [14, 15, 50, 65, 92, 95, 97, 102, 108, 109, 110, 112, 116], "unexpect": 95, "unifi": [39, 90, 92, 96], "union": [15, 19, 36, 47, 57, 62, 63, 102, 109], "uniqu": [40, 57, 75, 90, 98, 108, 116], "unit": [8, 26, 29, 57, 93, 110, 111, 112], "unknown": 112, "unless": 42, "unlik": [108, 110], "unmodifi": 94, "unsupport": [47, 112], "until": 106, "up": [0, 21, 36, 47, 57, 65, 84, 88, 93, 94, 96, 97, 98, 108, 109, 110, 114, 116, 117, 118, 123], "upcom": 90, "updat": [51, 52, 67, 73, 75, 84, 108, 112], "update_default_model_kwarg": 45, "update_dialog_turn": 57, "update_paramet": [67, 69], "update_prompt_kwarg": 52, "update_valu": 51, "us": [0, 6, 8, 9, 10, 11, 13, 14, 15, 17, 19, 21, 23, 24, 26, 27, 29, 31, 34, 36, 39, 40, 42, 43, 45, 46, 47, 48, 50, 51, 52, 53, 55, 56, 57, 61, 67, 68, 69, 71, 73, 75, 77, 78, 79, 80, 81, 84, 87, 88, 90, 92, 94, 95, 97, 98, 99, 106, 108, 110, 112, 115, 116, 117, 118, 121, 123], "usag": [8, 17, 24, 26, 29, 34, 57, 84, 92, 94, 96, 102, 108, 109], "use_cas": [116, 117, 121], "use_llm_as_fallback": 0, "use_token": [19, 36, 109], "user": [0, 9, 14, 17, 19, 21, 24, 31, 32, 34, 36, 40, 43, 45, 47, 48, 57, 69, 84, 87, 88, 90, 92, 93, 96, 97, 98, 99, 101, 102, 106, 108, 109, 110, 112, 118], "user_id": [57, 92], "user_queri": [57, 92], "user_query_timestamp": [57, 92], "user_tim": 92, "userqueri": [57, 92], "usual": 101, "util": [8, 26, 29, 32, 57, 71, 90, 93, 95, 96, 97, 102, 108, 110, 111, 115], "uuid": 57, "uuid4": 57, "v": [24, 47, 98], "v2": 11, "v3": [11, 109], "valid": [17, 24, 34, 47, 54, 112], "validate_data": 47, "valu": [17, 19, 36, 39, 47, 51, 54, 57, 59, 62, 63, 68, 79, 82, 88, 112], "valueerror": [8, 26, 29, 47, 102], "varaibl": 106, "vari": [18, 99], "variabl": [47, 48, 52, 57, 93, 96, 102, 106, 112, 114, 116], "varieti": 95, "variou": [38, 47, 65, 84, 90, 96, 108, 109, 113, 121, 122], "vast": 96, "ve": 123, "vector": [8, 26, 29, 57, 77, 92, 93, 94, 109, 110, 111], "vectorizer_set": [94, 110], "vectorstor": 110, "vendor": 116, "verbos": 88, "veri": [19, 36, 111, 116], "verif": 108, "version": [42, 78, 80, 84, 108, 109, 115], "via": [45, 46, 48, 50, 51, 56, 73, 87, 88, 90, 93, 94, 95, 96, 97, 98, 102, 110, 112], "video": 109, "view": [84, 112], "visit": [10, 11, 13, 101, 108], "visual": [90, 93, 106, 118], "vote": 95, "vouch": 116, "wa": [39, 99, 110, 123], "wai": [15, 18, 39, 42, 56, 88, 90, 92, 93, 102, 109, 110, 111, 112, 116], "walk": 121, "wand": 110, "want": [17, 34, 39, 45, 57, 73, 88, 93, 96, 98, 106, 109, 112, 116, 118, 123], "warn": [48, 80, 84], "wast": [92, 109], "watch": [94, 110], "water": [90, 96, 98], "we": [8, 14, 24, 26, 29, 32, 39, 40, 42, 47, 48, 50, 52, 54, 55, 57, 75, 78, 84, 88, 89, 90, 92, 93, 94, 95, 96, 97, 98, 101, 102, 106, 108, 109, 110, 111, 112, 116, 118, 121, 123], "weather": 112, "web": [84, 95], "weight": [19, 36, 40, 67, 90], "weights_per_class": [67, 71], "welcom": [65, 110], "well": [17, 40, 42, 87, 89, 92, 98, 106, 108, 109, 123], "what": [14, 21, 24, 36, 39, 47, 87, 88, 90, 92, 93, 94, 96, 101, 102, 106, 109, 110, 111, 112, 123], "when": [6, 14, 19, 24, 27, 36, 39, 42, 45, 51, 52, 57, 67, 79, 92, 93, 94, 95, 96, 99, 101, 106, 108, 109, 110, 111, 112, 116, 123], "whenev": [96, 102], "where": [8, 26, 29, 57, 73, 80, 92, 96, 98, 99, 101, 106, 109, 110, 112, 116], "whether": [0, 19, 36, 42, 47, 53, 93, 96], "which": [0, 8, 11, 13, 15, 19, 21, 26, 29, 36, 39, 42, 45, 46, 50, 57, 69, 71, 80, 87, 88, 90, 92, 93, 95, 96, 97, 99, 101, 106, 108, 109, 110, 111, 112, 116, 121], "while": [47, 88, 92, 97, 98, 109], "white": 80, "who": [17, 34, 53, 96, 99, 109, 118], "whole": [40, 57, 97, 109, 121], "why": [24, 57, 90, 92, 93, 97, 102, 109, 116, 123], "wide": [88, 95, 98, 109, 110], "wider": 118, "wiki": [19, 36, 108, 109], "wikidata": 106, "wikipedia": [19, 36, 106, 108, 109], "win": 123, "wind": [92, 109], "window": [8, 26, 29, 80, 109, 110, 111], "within": [39, 40, 47, 84, 87, 97, 110, 118], "without": [18, 21, 36, 39, 46, 47, 54, 57, 80, 92, 96, 99, 106, 109, 110, 112, 116, 118], "won": [57, 99, 111], "word": [8, 19, 26, 29, 36, 55, 77, 92, 94, 95, 99, 109, 110, 111], "work": [8, 26, 29, 40, 42, 46, 47, 90, 92, 94, 96, 97, 101, 106, 109, 110, 123], "workabl": 96, "workflow": [97, 108], "world": [8, 19, 26, 29, 36, 42, 57, 73, 92, 98, 99, 101, 110, 111, 112, 116, 118], "world2": 42, "world3": 42, "world4": 42, "wors": [96, 101], "would": [80, 90, 94, 101, 106, 108, 109, 110], "wrap": [6, 26, 27, 40, 46, 47, 55, 88, 112], "wrapper": [10, 11, 13, 14, 73, 112], "write": [15, 47, 78, 80, 85, 86, 90, 95, 102, 106, 112, 116], "write_list_to_jsonl": 78, "written": 78, "wrong": 96, "www": [19, 36, 109], "x": [19, 36, 40, 47, 71, 90, 106, 109, 110, 112, 118], "x0c": 110, "xb": 110, "xiaoyi": 111, "xq": 110, "xx": 112, "y": [47, 112], "yaml": [17, 34, 39, 47, 54, 56, 57, 88, 90, 112, 121, 123], "yaml_definit": [56, 112], "yaml_format_instruct": [17, 34], "yaml_obj": 54, "yaml_output_format": [17, 34], "yaml_output_format_templ": [17, 34], "yaml_pars": [17, 34, 54], "yaml_signatur": 88, "yaml_str": [17, 34, 39, 47, 54, 88], "yamloutputpars": [17, 34], "yamlpars": [17, 34, 54], "yang": 95, "ye": [61, 109, 116], "year": [62, 63, 95], "yellow": 80, "yet": [15, 48], "yield": [19, 36, 40, 110], "yin": [88, 92, 93, 102, 106, 109, 112], "yml": 47, "you": [6, 8, 11, 13, 15, 17, 18, 19, 21, 24, 26, 27, 29, 34, 36, 39, 40, 42, 45, 46, 47, 48, 50, 52, 53, 55, 56, 57, 61, 73, 77, 80, 84, 88, 90, 92, 93, 94, 95, 96, 97, 99, 101, 102, 106, 109, 110, 111, 112, 113, 115, 116, 118, 121, 123], "your": [8, 14, 17, 19, 24, 29, 34, 36, 39, 40, 48, 57, 61, 65, 77, 80, 84, 88, 90, 92, 93, 94, 95, 96, 98, 101, 102, 109, 110, 111, 112, 115, 116, 121, 123], "your_api_kei": 77, "your_api_key_if_you_use_anthrop": 115, "your_api_key_if_you_use_coher": 115, "your_api_key_if_you_use_googl": 115, "your_api_key_if_you_use_groq": 115, "your_api_key_if_you_use_hf": 115, "your_api_key_if_you_use_openai": 115, "yourself": [77, 102, 109, 115], "yupeng": 95, "zephyr": 15, "zero": [19, 36, 109, 117], "zip": 110, "zishan": 95}, "titles": ["components.agent.react", "\ufeffcomponents.api_client.anthropic_client", "\ufeffcomponents.api_client.google_client", "\ufeffcomponents.api_client.groq_client", "\ufeffcomponents.api_client.openai_client", "\ufeffcomponents.api_client.transformers_client", "components.data_process.data_components", "\ufeffcomponents.data_process.document_splitter", "components.data_process.text_splitter", "components.memory.memory", "components.model_client.anthropic_client", "components.model_client.cohere_client", "\ufeffcomponents.model_client.google_client", "components.model_client.groq_client", "components.model_client.openai_client", "components.model_client.transformers_client", "components.model_client.utils", "components.output_parsers.outputs", "components.reasoning.chain_of_thought", "components.retriever.bm25_retriever", "\ufeffcomponents.retriever.faiss_retriever", "components.retriever.llm_retriever", "\ufeffcomponents.retriever.postgres_retriever", "components.retriever.reranker_retriever", "DEFAULT_REACT_AGENT_SYSTEM_PROMPT", "components.agent", "components.data_process", "components.data_process.data_components", "components.data_process.document_splitter", "components.data_process.text_splitter", "components.memory", "components.memory.memory", "components.model_client", "components.model_client.utils", "components.output_parsers", "components.reasoning", "components.retriever", "components.retriever.postgres_retriever", "Components", "core.base_data_class", "core.component", "core.data_components", "core.db", "core.default_prompt_template", "core.document_splitter", "core.embedder", "core.func_tool", "core.functional", "core.generator", "core.memory", "core.model_client", "core.parameter", "core.prompt_builder", "core.retriever", "core.string_parser", "core.tokenizer", "core.tool_manager", "core.types", "Core", "eval.answer_match_acc", "eval.evaluators", "eval.llm_as_judge", "eval.retriever_recall", "eval.retriever_relevance", "Evaluation", "API Reference", "Optimizer", "optim.few_shot_optimizer", "optim.llm_augment", "optim.llm_optimizer", "optim.optimizer", "optim.sampler", "Tracing", "tracing.decorators", "tracing.generator_call_logger", "tracing.generator_state_logger", "Utils", "utils.config", "utils.file_io", "utils.lazy_import", "utils.logger", "utils.registry", "utils.serialization", "utils.setup_env", "Contribute to Document", "LightRAG Contribution Guide", "For Contributors", "Agent", "DataClass", "Class Hierarchy", "Component", "Data Pipeline", "Data & RAG", "Embedder", "Embedder", "LLM Evaluation", "Generator", "Tutorials", "Design Philosophy", "Introduction", "Logging", "Logging & Tracing", "ModelClient", "Optimizer", "Parser", "Parameter", "Prompt", "RAG application", "ReAct Agent", "Retriever", "Retriever", "Text Splitter", "Function calls", "Community", "Get Started", "Installation", "Introduction", "LightRAG in 10 minutes", "Introduction", "Resources", "Resources", "Evaluating a RAG Pipeline", "Use Cases", "Introduction to BaseDataClass", "<no title>"], "titleterms": {"": 108, "1": [98, 110, 112, 115], "10": 117, "2": [98, 110, 112, 115], "3": [98, 110, 112, 115], "For": 86, "In": [96, 109], "With": 109, "across": 96, "action": [88, 90, 93, 96, 109, 112], "ad": 84, "agent": [0, 25, 38, 87, 97, 108], "an": [96, 108], "answer_match_acc": 59, "anthropic_cli": [1, 10], "api": [65, 87, 88, 90, 92, 93, 96, 102, 106, 109, 112, 115], "api_cli": [1, 2, 3, 4, 5], "applat": 99, "applic": [106, 107, 116], "author": [88, 92, 93, 95, 102, 106, 109, 111, 112], "base": [97, 109], "base_data_class": 39, "basedataclass": 123, "batchembedd": 93, "bm25_retriev": 19, "bm25retriev": 109, "both": 118, "build": [84, 97, 98], "call": 112, "case": 122, "chain_of_thought": 18, "chang": 84, "chat": 99, "chunk": 111, "class": [89, 97, 106, 109], "client": [38, 58, 96], "cloud": 92, "code": 84, "cohere_cli": 11, "commit": 84, "commun": 113, "complet": 99, "compon": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 40, 58, 65, 90, 97], "config": [77, 96], "configur": [90, 97], "context": [106, 109], "contribut": [84, 85], "contributor": 86, "control": 118, "core": [39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 65], "creat": 96, "custom": 111, "data": [38, 58, 88, 91, 92, 97, 99, 106, 109], "data_compon": [6, 27, 41], "data_process": [6, 7, 8, 26, 27, 28, 29], "databas": [92, 109], "dataclass": 88, "dataset": [88, 97], "db": 42, "decor": [72, 73], "deep": [98, 108], "default": 106, "default_prompt_templ": 43, "default_react_agent_system_prompt": 24, "describ": 88, "deseri": 90, "design": [88, 90, 96, 98, 106, 109, 112], "detail": 111, "dialogturn": 92, "directli": 102, "dive": 108, "do": 99, "docstr": 84, "document": [84, 92, 110, 111], "document_splitt": [7, 28, 44], "doe": 111, "embed": 58, "embedd": [45, 93, 94, 110], "embedderoutput": 93, "end": [112, 116], "environ": 115, "error": 96, "essenti": 97, "eval": [59, 60, 61, 62, 63], "evalu": [60, 64, 65, 95, 121], "evaul": 97, "exampl": [88, 96, 111], "experiment": 96, "faiss_retriev": 20, "faissretriev": 109, "few_shot_optim": 67, "file": [90, 92], "file_io": 78, "flow": [99, 106], "format": [88, 112], "foundat": 116, "from": [88, 90, 96], "func_tool": 46, "funcompon": 90, "function": [47, 112], "functionexpress": 112, "functiontool": 112, "gener": [48, 58, 96], "generator_call_logg": 74, "generator_state_logg": 75, "generatoroutput": 96, "get": [96, 114], "google_cli": [2, 12], "graph": 92, "groq_client": [3, 13], "guid": 85, "handl": 58, "hierarchi": 89, "how": [95, 111, 116], "i": [108, 116], "implement": 108, "infer": 102, "instal": 115, "instanc": 88, "instead": [99, 109], "integr": 111, "introduct": [99, 108, 116, 118, 123], "jinja2": 106, "kei": 115, "lazy_import": 79, "librari": 96, "lightrag": [85, 99, 108, 110, 112, 115, 116, 117], "llm": [88, 95, 98, 99, 106, 109], "llm_as_judg": 61, "llm_augment": 68, "llm_optim": 69, "llm_retriev": 21, "load": [88, 115], "local": [92, 93], "localdb": 109, "log": [97, 100, 101], "logger": [72, 76, 80], "memori": [9, 30, 31, 49, 109], "minimum": 96, "minut": 117, "model": [38, 58, 92, 93, 96, 102], "model_cli": [10, 11, 12, 13, 14, 15, 16, 32, 33, 50], "modelcli": 102, "need": [99, 108], "openai": 93, "openai_cli": [4, 14], "optim": [65, 66, 67, 68, 69, 70, 71, 97, 98, 103], "option": [110, 115], "orchestr": 96, "other": 111, "our": 98, "output": [17, 38, 93, 96, 112], "output_pars": [17, 34], "output_processor": 96, "over": 98, "overview": [38, 58, 64, 72, 76, 111], "packag": 115, "parallel": 112, "paramet": [51, 58, 105], "pars": 88, "parser": [38, 104], "part": 116, "pattern": 109, "philosophi": 98, "pipelin": [91, 92, 97, 121], "postgres_retriev": [22, 37], "postgresretriev": 109, "practic": 98, "previou": 99, "principl": 98, "print": 90, "process": 38, "processor": 93, "product": 118, "prompt": [58, 106], "prompt_build": 52, "protocol": 102, "qualiti": 98, "quantiti": 98, "quick": 112, "rag": [92, 97, 107, 121], "react": [0, 108], "read": 92, "reason": [18, 35], "refer": [65, 87, 88, 90, 92, 93, 96, 102, 106, 109, 112], "registri": 81, "rerank": 109, "reranker_retriev": 23, "research": 118, "resourc": [99, 119, 120], "retriev": [19, 20, 21, 22, 23, 36, 37, 38, 53, 58, 109, 110], "retriever_recal": 62, "retriever_relev": 63, "sampler": 71, "scope": 112, "score": 109, "sdk": 102, "searal": 90, "sequenti": 90, "serial": [76, 82], "set": 115, "setup": 84, "setup_env": [76, 83], "show": 88, "showmanship": 98, "simplic": 118, "souc": 84, "split": 110, "splitter": [110, 111], "standard": 84, "start": [114, 116], "storag": 97, "string": 88, "string_pars": 54, "structur": [90, 99, 116], "submodul": [25, 26, 30, 32, 34, 35, 36], "suggest": 92, "switch": 96, "templat": [58, 96, 106], "test": 84, "text": [99, 110, 111], "text_splitt": [8, 29], "textsplitt": 111, "threshold": 109, "tip": 111, "togeth": 109, "token": 55, "tool_manag": 56, "toolmanag": 112, "top_k": 109, "trace": [65, 72, 73, 74, 75, 96, 97, 101], "train": 96, "trainer": 97, "transformers_cli": [5, 15], "tutori": 97, "type": [57, 109, 111], "understand": 98, "unit": 118, "up": 115, "us": [93, 96, 102, 109, 111, 122], "util": [16, 33, 58, 65, 76, 77, 78, 79, 80, 81, 82, 83], "variabl": 115, "walkthrough": 112, "we": 99, "what": [95, 108, 116], "where": 95, "why": [99, 106, 108], "work": [88, 111], "workflow": 98, "write": [84, 92], "you": 108}})
\ No newline at end of file
+Search.setIndex({"alltitles": {"1. Document Splitter": [[110, "document-splitter"]], "1. FunctionTool": [[112, "functiontool"]], "1. Install LightRAG": [[115, "install-lightrag"]], "1. Install Optional Packages": [[115, "install-optional-packages"]], "2. Embedder": [[110, "embedder"]], "2. Set up API keys": [[115, "set-up-api-keys"]], "2. ToolManager": [[112, "toolmanager"]], "3. Function Call end-to-end": [[112, "function-call-end-to-end"]], "3. LightRAG Retrievers": [[110, "lightrag-retrievers"]], "3. Load environment variables": [[115, "load-environment-variables"]], "API Reference": [[65, "api-reference"]], "API References": [[87, null], [88, null], [92, null], [106, null], [109, null], [112, null]], "API reference": [[90, null], [93, null], [96, null], [102, null]], "Adding Documentation Tests": [[84, "adding-documentation-tests"]], "Agent": [[87, "agent"]], "Agent Essentials": [[97, "agent-essentials"]], "Agents": [[38, "agents"]], "An orchestrator": [[96, "an-orchestrator"]], "Author": [[88, null], [92, null], [93, null], [95, null], [102, null], [106, null], [109, null], [111, null], [112, null]], "BM25Retriever": [[109, "bm25retriever"]], "Base classes": [[97, "base-classes"]], "BatchEmbedder": [[93, "batchembedder"]], "Building": [[97, "building"]], "Chunking Example Detailed": [[111, "id2"]], "Class Hierarchy": [[89, "class-hierarchy"]], "Cloud database": [[92, "cloud-database"]], "Commit Changes": [[84, "commit-changes"]], "Community": [[113, "community"]], "Component": [[58, "component"], [90, "component"]], "Component in Action": [[90, "component-in-action"]], "Components": [[38, "components"], [65, "components"]], "Configure from file": [[90, "configure-from-file"]], "Context": [[106, "context"], [109, "context"]], "Contribute to Document": [[84, "contribute-to-document"]], "Controllability": [[118, "controllability"]], "Core": [[58, "core"], [65, "core"]], "Create from configs": [[96, "create-from-configs"]], "Customization Tips": [[111, "customization-tips"]], "DEFAULT_REACT_AGENT_SYSTEM_PROMPT": [[24, "default-react-agent-system-prompt"]], "Data & RAG": [[92, "data-rag"]], "Data Flow & LightRAG structure": [[99, "data-flow-lightrag-structure"]], "Data Flow in LLM applications": [[106, "data-flow-in-llm-applications"]], "Data Handling": [[58, "data-handling"]], "Data Models": [[92, "data-models"]], "Data Pipeline": [[91, "data-pipeline"], [92, "data-pipeline"]], "Data Pipeline and Storage": [[97, "data-pipeline-and-storage"]], "Data Process": [[38, "data-process"]], "DataClass": [[88, "dataclass"]], "DataClass in Action": [[88, "dataclass-in-action"]], "Datasets and Evaulation": [[97, null]], "Decorators": [[72, "decorators"]], "Default Prompt Template": [[106, "default-prompt-template"]], "Describe the data format to LLMs": [[88, "describe-the-data-format-to-llms"]], "Describing the Data Format": [[88, "describing-the-data-format"]], "Design": [[88, "design"], [90, "design"], [96, "design"], [106, "design"]], "Design Philosophy": [[98, "design-philosophy"]], "Design pattern": [[109, "design-pattern"]], "DialogTurn": [[92, "dialogturn"]], "Document": [[92, "document"]], "Embedder": [[93, "embedder"], [94, "embedder"]], "Embedder in Action": [[93, "embedder-in-action"]], "EmbedderOutput": [[93, "embedderoutput"]], "Embedding and Retrieval": [[58, "embedding-and-retrieval"]], "End-to-end applications": [[116, "end-to-end-applications"]], "Evaluating a RAG Pipeline": [[121, "evaluating-a-rag-pipeline"]], "Evaluation": [[64, "evaluation"], [65, "evaluation"]], "Evaluator": [[64, "evaluator"]], "Examples across the library": [[96, "examples-across-the-library"]], "For Contributors": [[86, "for-contributors"]], "Foundation": [[116, "foundation"]], "FunComponent": [[90, "funcomponent"]], "Function Call in Action": [[112, "function-call-in-action"]], "Function Output Format": [[112, "function-output-format"]], "Function calls": [[112, "function-calls"]], "FunctionExpression Output Format": [[112, "functionexpression-output-format"]], "Generation and Utilities": [[58, "generation-and-utilities"]], "Generator": [[96, "generator"]], "Generator In Action": [[96, "generator-in-action"]], "GeneratorOutput": [[96, "generatoroutput"]], "Get Started": [[114, "get-started"]], "Get errors in the output": [[96, "get-errors-in-the-output"]], "Graph database": [[92, "graph-database"]], "How does it work": [[111, "how-does-it-work"]], "How to evaluate?": [[95, "how-to-evaluate"]], "How to start?": [[116, "how-to-start"]], "How to use it": [[111, "how-to-use-it"]], "In-memory FAISSRetriever": [[109, "in-memory-faissretriever"]], "Installation": [[115, "installation"]], "Integration with Other Document Types": [[111, "integration-with-other-document-types"]], "Introduction": [[99, "introduction"], [108, "introduction"], [116, "introduction"], [118, "introduction"]], "Introduction to BaseDataClass": [[123, "introduction-to-basedataclass"]], "Introduction to LLM applations": [[99, "introduction-to-llm-applations"]], "LLM Evaluation": [[95, "llm-evaluation"]], "LLM as Retriever": [[109, "llm-as-retriever"]], "LightRAG": [[116, "lightrag"]], "LightRAG Contribution Guide": [[85, "lightrag-contribution-guide"]], "LightRAG Scope and Design": [[112, "lightrag-scope-and-design"]], "LightRAG in 10 minutes": [[117, "lightrag-in-10-minutes"]], "LightRAG\u2019s Implementation": [[108, "lightrag-s-implementation"]], "Load data from dataset as example": [[88, "load-data-from-dataset-as-example"]], "Local database": [[92, "local-database"]], "Logger": [[76, "logger"]], "Loggers": [[72, "loggers"]], "Logging": [[100, "logging"]], "Logging & Tracing": [[101, "logging-tracing"]], "Logging & Tracing & Configurations": [[97, "logging-tracing-configurations"]], "Minimum Example": [[96, "minimum-example"]], "Model Client": [[58, "model-client"]], "Model Clients": [[38, "model-clients"]], "Model Inference SDKs": [[102, "model-inference-sdks"]], "ModelClient": [[102, "modelclient"]], "ModelClient Protocol": [[102, "modelclient-protocol"]], "Optimizer": [[65, "optimizer"], [66, "optimizer"], [103, "optimizer"]], "Optimizer & Trainer": [[97, null]], "Optimizing": [[97, "optimizing"]], "Our deep understanding of LLM workflow": [[98, "our-deep-understanding-of-llm-workflow"]], "Output Parsers": [[38, "output-parsers"]], "Overview": [[38, "overview"], [58, "overview"], [64, "overview"], [72, "overview"], [76, "overview"]], "Parallel Function Calls": [[112, "parallel-function-calls"]], "Parameter": [[105, "parameter"]], "Parameters": [[58, "parameters"]], "Parser": [[104, "parser"]], "PostgresRetriever": [[109, "postgresretriever"]], "Principle 1: Quality over Quantity": [[98, "principle-1-quality-over-quantity"]], "Principle 2: Optimizing over Building": [[98, "principle-2-optimizing-over-building"]], "Principle 3: Practicality over Showmanship": [[98, "principle-3-practicality-over-showmanship"]], "Print the structure": [[90, "print-the-structure"]], "Prompt": [[106, "prompt"]], "Prompt class": [[106, "prompt-class"]], "Prompts and Templates": [[58, "prompts-and-templates"]], "Quick Walkthrough": [[112, "quick-walkthrough"]], "RAG Essentials": [[97, "rag-essentials"]], "RAG application": [[107, "rag-application"]], "RAG components": [[97, "rag-components"]], "ReAct Agent": [[108, "react-agent"]], "ReAct Agent Deep Dive": [[108, "react-agent-deep-dive"]], "References": [[87, null], [88, null], [93, null], [106, null], [109, null], [112, null]], "Reranker as Retriever": [[109, "reranker-as-retriever"]], "Resources": [[99, "resources"], [119, "resources"], [120, "resources"]], "Retriever": [[109, "retriever"], [110, "retriever"]], "Retriever Base Class": [[109, "retriever-base-class"]], "Retriever Data Types": [[109, "retriever-data-types"]], "Retriever in Action": [[109, "retriever-in-action"]], "Retrievers": [[38, "retrievers"]], "Searalization and deserialization": [[90, "searalization-and-deserialization"]], "Sequential": [[90, "sequential"]], "Serialization": [[76, "serialization"]], "Setup & Build Documentation": [[84, "setup-build-documentation"]], "Setup_env": [[76, "setup-env"]], "Show data examples & parse string to data instance": [[88, "show-data-examples-parse-string-to-data-instance"]], "Simplicity": [[118, "simplicity"]], "Souce Code Docstring Standard": [[84, "souce-code-docstring-standard"]], "Structure": [[116, "structure"]], "Submodules": [[25, "submodules"], [26, "submodules"], [30, "submodules"], [32, "submodules"], [34, "submodules"], [35, "submodules"], [36, "submodules"]], "Suggestion on File reading and writing": [[92, "suggestion-on-file-reading-and-writing"]], "Switch model client": [[96, "switch-model-client"]], "Text Splitter": [[111, "text-splitter"]], "Text Splitting Options": [[110, "id4"]], "TextSplitter Overview": [[111, "textsplitter-overview"]], "Tracing": [[65, "tracing"], [72, "tracing"], [96, "tracing"], [101, "tracing"]], "Training [Experimental]": [[96, "training-experimental"]], "Tutorials": [[97, "tutorials"]], "Unites both Research and Production": [[118, "unites-both-research-and-production"]], "Use Cases": [[122, "use-cases"]], "Use Local Model": [[93, "use-local-model"]], "Use ModelClient directly": [[102, "use-modelclient-directly"]], "Use OpenAI API": [[93, "use-openai-api"]], "Use Output Processors": [[93, "use-output-processors"]], "Use Score Threshold instead of top_k": [[109, "use-score-threshold-instead-of-top-k"]], "Use output_processors": [[96, "use-output-processors"]], "Use template": [[96, "use-template"]], "Use together with Database": [[109, "use-together-with-database"]], "Utils": [[65, "utils"], [76, "utils"]], "What is LightRAG?": [[116, "what-is-lightrag"]], "What is an agent and why you need it?": [[108, "what-is-an-agent-and-why-you-need-it"]], "What is not part of LightRAG?": [[116, "what-is-not-part-of-lightrag"]], "What to evaluate?": [[95, "what-to-evaluate"]], "Where to evaluate?": [[95, "where-to-evaluate"]], "Why Jinja2?": [[106, "why-jinja2"]], "Why do we need chat completion instead of the previous text completion?": [[99, "why-do-we-need-chat-completion-instead-of-the-previous-text-completion"]], "With LocalDB": [[109, "with-localdb"]], "Work with Data Instance": [[88, "work-with-data-instance"]], "Writing Documentation": [[84, "writing-documentation"]], "components.agent": [[25, "components-agent"]], "components.agent.react": [[0, "module-components.agent.react"]], "components.data_process": [[26, "components-data-process"]], "components.data_process.data_components": [[6, "module-components.data_process.data_components"], [27, "module-components.data_process.data_components"]], "components.data_process.document_splitter": [[28, "components-data-process-document-splitter"]], "components.data_process.text_splitter": [[8, "module-components.data_process.text_splitter"], [29, "module-components.data_process.text_splitter"]], "components.memory": [[30, "components-memory"]], "components.memory.memory": [[9, "module-components.memory.memory"], [31, "module-components.memory.memory"]], "components.model_client": [[32, "components-model-client"]], "components.model_client.anthropic_client": [[10, "module-components.model_client.anthropic_client"]], "components.model_client.cohere_client": [[11, "module-components.model_client.cohere_client"]], "components.model_client.groq_client": [[13, "module-components.model_client.groq_client"]], "components.model_client.openai_client": [[14, "module-components.model_client.openai_client"]], "components.model_client.transformers_client": [[15, "module-components.model_client.transformers_client"]], "components.model_client.utils": [[16, "module-components.model_client.utils"], [33, "module-components.model_client.utils"]], "components.output_parsers": [[34, "components-output-parsers"]], "components.output_parsers.outputs": [[17, "module-components.output_parsers.outputs"]], "components.reasoning": [[35, "components-reasoning"]], "components.reasoning.chain_of_thought": [[18, "module-components.reasoning.chain_of_thought"]], "components.retriever": [[36, "components-retriever"]], "components.retriever.bm25_retriever": [[19, "module-components.retriever.bm25_retriever"]], "components.retriever.llm_retriever": [[21, "module-components.retriever.llm_retriever"]], "components.retriever.postgres_retriever": [[37, "components-retriever-postgres-retriever"]], "components.retriever.reranker_retriever": [[23, "module-components.retriever.reranker_retriever"]], "core.base_data_class": [[39, "module-core.base_data_class"]], "core.component": [[40, "module-core.component"]], "core.data_components": [[41, "core-data-components"]], "core.db": [[42, "module-core.db"]], "core.default_prompt_template": [[43, "module-core.default_prompt_template"]], "core.document_splitter": [[44, "core-document-splitter"]], "core.embedder": [[45, "module-core.embedder"]], "core.func_tool": [[46, "module-core.func_tool"]], "core.functional": [[47, "module-core.functional"]], "core.generator": [[48, "module-core.generator"]], "core.memory": [[49, "core-memory"]], "core.model_client": [[50, "module-core.model_client"]], "core.parameter": [[51, "module-core.parameter"]], "core.prompt_builder": [[52, "module-core.prompt_builder"]], "core.retriever": [[53, "module-core.retriever"]], "core.string_parser": [[54, "module-core.string_parser"]], "core.tokenizer": [[55, "module-core.tokenizer"]], "core.tool_manager": [[56, "module-core.tool_manager"]], "core.types": [[57, "module-core.types"]], "eval.answer_match_acc": [[59, "module-eval.answer_match_acc"]], "eval.evaluators": [[60, "eval-evaluators"]], "eval.llm_as_judge": [[61, "module-eval.llm_as_judge"]], "eval.retriever_recall": [[62, "module-eval.retriever_recall"]], "eval.retriever_relevance": [[63, "module-eval.retriever_relevance"]], "optim.few_shot_optimizer": [[67, "module-optim.few_shot_optimizer"]], "optim.llm_augment": [[68, "module-optim.llm_augment"]], "optim.llm_optimizer": [[69, "module-optim.llm_optimizer"]], "optim.optimizer": [[70, "module-optim.optimizer"]], "optim.sampler": [[71, "module-optim.sampler"]], "tracing.decorators": [[73, "module-tracing.decorators"]], "tracing.generator_call_logger": [[74, "module-tracing.generator_call_logger"]], "tracing.generator_state_logger": [[75, "module-tracing.generator_state_logger"]], "utils.config": [[77, "module-utils.config"]], "utils.file_io": [[78, "module-utils.file_io"]], "utils.lazy_import": [[79, "module-utils.lazy_import"]], "utils.logger": [[80, "module-utils.logger"]], "utils.registry": [[81, "module-utils.registry"]], "utils.serialization": [[82, "module-utils.serialization"]], "utils.setup_env": [[83, "module-utils.setup_env"]], "\ufeffcomponents.api_client.anthropic_client": [[1, "components-api-client-anthropic-client"]], "\ufeffcomponents.api_client.google_client": [[2, "components-api-client-google-client"]], "\ufeffcomponents.api_client.groq_client": [[3, "components-api-client-groq-client"]], "\ufeffcomponents.api_client.openai_client": [[4, "components-api-client-openai-client"]], "\ufeffcomponents.api_client.transformers_client": [[5, "components-api-client-transformers-client"]], "\ufeffcomponents.data_process.document_splitter": [[7, "components-data-process-document-splitter"]], "\ufeffcomponents.model_client.google_client": [[12, "components-model-client-google-client"]], "\ufeffcomponents.retriever.faiss_retriever": [[20, "components-retriever-faiss-retriever"]], "\ufeffcomponents.retriever.postgres_retriever": [[22, "components-retriever-postgres-retriever"]]}, "docnames": ["apis/components/_autosummary/components.agent.react", "apis/components/_autosummary/components.api_client.anthropic_client", "apis/components/_autosummary/components.api_client.google_client", "apis/components/_autosummary/components.api_client.groq_client", "apis/components/_autosummary/components.api_client.openai_client", "apis/components/_autosummary/components.api_client.transformers_client", "apis/components/_autosummary/components.data_process.data_components", "apis/components/_autosummary/components.data_process.document_splitter", "apis/components/_autosummary/components.data_process.text_splitter", "apis/components/_autosummary/components.memory.memory", "apis/components/_autosummary/components.model_client.anthropic_client", "apis/components/_autosummary/components.model_client.cohere_client", "apis/components/_autosummary/components.model_client.google_client", "apis/components/_autosummary/components.model_client.groq_client", "apis/components/_autosummary/components.model_client.openai_client", "apis/components/_autosummary/components.model_client.transformers_client", "apis/components/_autosummary/components.model_client.utils", "apis/components/_autosummary/components.output_parsers.outputs", "apis/components/_autosummary/components.reasoning.chain_of_thought", "apis/components/_autosummary/components.retriever.bm25_retriever", "apis/components/_autosummary/components.retriever.faiss_retriever", "apis/components/_autosummary/components.retriever.llm_retriever", "apis/components/_autosummary/components.retriever.postgres_retriever", "apis/components/_autosummary/components.retriever.reranker_retriever", "apis/components/agent_prompt", "apis/components/components.agent", "apis/components/components.data_process", "apis/components/components.data_process.data_components", "apis/components/components.data_process.document_splitter", "apis/components/components.data_process.text_splitter", "apis/components/components.memory", "apis/components/components.memory.memory", "apis/components/components.model_client", "apis/components/components.model_client.utils", "apis/components/components.output_parsers", "apis/components/components.reasoning", "apis/components/components.retriever", "apis/components/components.retriever.postgres_retriever", "apis/components/index", "apis/core/core.base_data_class", "apis/core/core.component", "apis/core/core.data_components", "apis/core/core.db", "apis/core/core.default_prompt_template", "apis/core/core.document_splitter", "apis/core/core.embedder", "apis/core/core.func_tool", "apis/core/core.functional", "apis/core/core.generator", "apis/core/core.memory", "apis/core/core.model_client", "apis/core/core.parameter", "apis/core/core.prompt_builder", "apis/core/core.retriever", "apis/core/core.string_parser", "apis/core/core.tokenizer", "apis/core/core.tool_manager", "apis/core/core.types", "apis/core/index", "apis/eval/eval.answer_match_acc", "apis/eval/eval.evaluators", "apis/eval/eval.llm_as_judge", "apis/eval/eval.retriever_recall", "apis/eval/eval.retriever_relevance", "apis/eval/index", "apis/index", "apis/optim/index", "apis/optim/optim.few_shot_optimizer", "apis/optim/optim.llm_augment", "apis/optim/optim.llm_optimizer", "apis/optim/optim.optimizer", "apis/optim/optim.sampler", "apis/tracing/index", "apis/tracing/tracing.decorators", "apis/tracing/tracing.generator_call_logger", "apis/tracing/tracing.generator_state_logger", "apis/utils/index", "apis/utils/utils.config", "apis/utils/utils.file_io", "apis/utils/utils.lazy_import", "apis/utils/utils.logger", "apis/utils/utils.registry", "apis/utils/utils.serialization", "apis/utils/utils.setup_env", "contributor/contribute_to_document", "contributor/contribution_guide", "contributor/index", "developer_notes/agent", "developer_notes/base_data_class", "developer_notes/class_hierarchy", "developer_notes/component", "developer_notes/data_pipeline", "developer_notes/db", "developer_notes/embedder", "developer_notes/embedder_xy", "developer_notes/evaluation", "developer_notes/generator", "developer_notes/index", "developer_notes/lightrag_design_philosophy", "developer_notes/llm_intro", "developer_notes/logging", "developer_notes/logging_tracing", "developer_notes/model_client", "developer_notes/optimizer", "developer_notes/output_parsers", "developer_notes/parameter", "developer_notes/prompt", "developer_notes/rag", "developer_notes/react_agent_xy", "developer_notes/retriever", "developer_notes/retriever_xy", "developer_notes/text_splitter", "developer_notes/tool_helper", "get_started/community", "get_started/index", "get_started/installation", "get_started/introduction", "get_started/lightrag_in_10_mins", "index", "resources/index", "resources/resources", "tutorials/eval_a_rag", "tutorials/index", "tutorials/introduction_to_basedataclass", "tutorials/logging"], "envversion": {"nbsphinx": 4, "sphinx": 61, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinx.ext.todo": 2, "sphinx.ext.viewcode": 1}, "filenames": ["apis/components/_autosummary/components.agent.react.rst", "apis/components/_autosummary/components.api_client.anthropic_client.rst", "apis/components/_autosummary/components.api_client.google_client.rst", "apis/components/_autosummary/components.api_client.groq_client.rst", "apis/components/_autosummary/components.api_client.openai_client.rst", "apis/components/_autosummary/components.api_client.transformers_client.rst", "apis/components/_autosummary/components.data_process.data_components.rst", "apis/components/_autosummary/components.data_process.document_splitter.rst", "apis/components/_autosummary/components.data_process.text_splitter.rst", "apis/components/_autosummary/components.memory.memory.rst", "apis/components/_autosummary/components.model_client.anthropic_client.rst", "apis/components/_autosummary/components.model_client.cohere_client.rst", "apis/components/_autosummary/components.model_client.google_client.rst", "apis/components/_autosummary/components.model_client.groq_client.rst", "apis/components/_autosummary/components.model_client.openai_client.rst", "apis/components/_autosummary/components.model_client.transformers_client.rst", "apis/components/_autosummary/components.model_client.utils.rst", "apis/components/_autosummary/components.output_parsers.outputs.rst", "apis/components/_autosummary/components.reasoning.chain_of_thought.rst", "apis/components/_autosummary/components.retriever.bm25_retriever.rst", "apis/components/_autosummary/components.retriever.faiss_retriever.rst", "apis/components/_autosummary/components.retriever.llm_retriever.rst", "apis/components/_autosummary/components.retriever.postgres_retriever.rst", "apis/components/_autosummary/components.retriever.reranker_retriever.rst", "apis/components/agent_prompt.rst", "apis/components/components.agent.rst", "apis/components/components.data_process.rst", "apis/components/components.data_process.data_components.rst", "apis/components/components.data_process.document_splitter.rst", "apis/components/components.data_process.text_splitter.rst", "apis/components/components.memory.rst", "apis/components/components.memory.memory.rst", "apis/components/components.model_client.rst", "apis/components/components.model_client.utils.rst", "apis/components/components.output_parsers.rst", "apis/components/components.reasoning.rst", "apis/components/components.retriever.rst", "apis/components/components.retriever.postgres_retriever.rst", "apis/components/index.rst", "apis/core/core.base_data_class.rst", "apis/core/core.component.rst", "apis/core/core.data_components.rst", "apis/core/core.db.rst", "apis/core/core.default_prompt_template.rst", "apis/core/core.document_splitter.rst", "apis/core/core.embedder.rst", "apis/core/core.func_tool.rst", "apis/core/core.functional.rst", "apis/core/core.generator.rst", "apis/core/core.memory.rst", "apis/core/core.model_client.rst", "apis/core/core.parameter.rst", "apis/core/core.prompt_builder.rst", "apis/core/core.retriever.rst", "apis/core/core.string_parser.rst", "apis/core/core.tokenizer.rst", "apis/core/core.tool_manager.rst", "apis/core/core.types.rst", "apis/core/index.rst", "apis/eval/eval.answer_match_acc.rst", "apis/eval/eval.evaluators.rst", "apis/eval/eval.llm_as_judge.rst", "apis/eval/eval.retriever_recall.rst", "apis/eval/eval.retriever_relevance.rst", "apis/eval/index.rst", "apis/index.rst", "apis/optim/index.rst", "apis/optim/optim.few_shot_optimizer.rst", "apis/optim/optim.llm_augment.rst", "apis/optim/optim.llm_optimizer.rst", "apis/optim/optim.optimizer.rst", "apis/optim/optim.sampler.rst", "apis/tracing/index.rst", "apis/tracing/tracing.decorators.rst", "apis/tracing/tracing.generator_call_logger.rst", "apis/tracing/tracing.generator_state_logger.rst", "apis/utils/index.rst", "apis/utils/utils.config.rst", "apis/utils/utils.file_io.rst", "apis/utils/utils.lazy_import.rst", "apis/utils/utils.logger.rst", "apis/utils/utils.registry.rst", "apis/utils/utils.serialization.rst", "apis/utils/utils.setup_env.rst", "contributor/contribute_to_document.rst", "contributor/contribution_guide.rst", "contributor/index.rst", "developer_notes/agent.rst", "developer_notes/base_data_class.rst", "developer_notes/class_hierarchy.rst", "developer_notes/component.rst", "developer_notes/data_pipeline.rst", "developer_notes/db.rst", "developer_notes/embedder.rst", "developer_notes/embedder_xy.rst", "developer_notes/evaluation.rst", "developer_notes/generator.rst", "developer_notes/index.rst", "developer_notes/lightrag_design_philosophy.rst", "developer_notes/llm_intro.rst", "developer_notes/logging.rst", "developer_notes/logging_tracing.rst", "developer_notes/model_client.rst", "developer_notes/optimizer.rst", "developer_notes/output_parsers.rst", "developer_notes/parameter.rst", "developer_notes/prompt.rst", "developer_notes/rag.rst", "developer_notes/react_agent_xy.rst", "developer_notes/retriever.rst", "developer_notes/retriever_xy.rst", "developer_notes/text_splitter.rst", "developer_notes/tool_helper.rst", "get_started/community.rst", "get_started/index.rst", "get_started/installation.rst", "get_started/introduction.rst", "get_started/lightrag_in_10_mins.rst", "index.rst", "resources/index.rst", "resources/resources.rst", "tutorials/eval_a_rag.rst", "tutorials/index.rst", "tutorials/introduction_to_basedataclass.rst", "tutorials/logging.rst"], "indexentries": {"acall() (anthropicapiclient method)": [[10, "components.model_client.anthropic_client.AnthropicAPIClient.acall", false]], "acall() (cohereapiclient method)": [[11, "components.model_client.cohere_client.CohereAPIClient.acall", false]], "acall() (component method)": [[40, "core.component.Component.acall", false]], "acall() (embedder method)": [[45, "core.embedder.Embedder.acall", false]], "acall() (functiontool method)": [[46, "core.func_tool.FunctionTool.acall", false]], "acall() (generator method)": [[48, "core.generator.Generator.acall", false]], "acall() (groqapiclient method)": [[13, "components.model_client.groq_client.GroqAPIClient.acall", false]], "acall() (modelclient method)": [[50, "core.model_client.ModelClient.acall", false]], "acall() (openaiclient method)": [[14, "components.model_client.openai_client.OpenAIClient.acall", false]], "acall() (retriever method)": [[53, "core.retriever.Retriever.acall", false]], "action (functionexpression attribute)": [[57, "core.types.FunctionExpression.action", false]], "action (stepoutput attribute)": [[57, "core.types.StepOutput.action", false]], "add() (localdb method)": [[42, "core.db.LocalDB.add", false]], "add_component() (component method)": [[40, "core.component.Component.add_component", false]], "answermatchacc (class in eval.answer_match_acc)": [[59, "eval.answer_match_acc.AnswerMatchAcc", false]], "anthropic (modelclienttype attribute)": [[57, "core.types.ModelClientType.ANTHROPIC", false]], "anthropic (optionalpackages attribute)": [[79, "utils.lazy_import.OptionalPackages.ANTHROPIC", false]], "anthropicapiclient (class in components.model_client.anthropic_client)": [[10, "components.model_client.anthropic_client.AnthropicAPIClient", false]], "append() (sequential method)": [[40, "core.component.Sequential.append", false]], "append_dialog_turn() (conversation method)": [[57, "core.types.Conversation.append_dialog_turn", false]], "append_to_jsonl() (in module utils.file_io)": [[78, "utils.file_io.append_to_jsonl", false]], "args (function attribute)": [[57, "core.types.Function.args", false]], "assistant_response (dialogturn attribute)": [[57, "core.types.DialogTurn.assistant_response", false]], "assistant_response_timestamp (dialogturn attribute)": [[57, "core.types.DialogTurn.assistant_response_timestamp", false]], "assistantresponse (class in core.types)": [[57, "core.types.AssistantResponse", false]], "augment_samples() (bootstrapfewshot method)": [[67, "optim.few_shot_optimizer.BootstrapFewShot.augment_samples", false]], "average_pool() (in module components.model_client.transformers_client)": [[15, "components.model_client.transformers_client.average_pool", false]], "batchembedder (class in core.embedder)": [[45, "core.embedder.BatchEmbedder", false]], "bm25retriever (class in components.retriever)": [[36, "components.retriever.BM25Retriever", false]], "bm25retriever (class in components.retriever.bm25_retriever)": [[19, "components.retriever.bm25_retriever.BM25Retriever", false]], "booleanoutputparser (class in components.output_parsers.outputs)": [[17, "components.output_parsers.outputs.BooleanOutputParser", false]], "bootstrapfewshot (class in optim.few_shot_optimizer)": [[67, "optim.few_shot_optimizer.BootstrapFewShot", false]], "build_index_from_documents() (bm25retriever method)": [[19, "components.retriever.bm25_retriever.BM25Retriever.build_index_from_documents", false], [36, "components.retriever.BM25Retriever.build_index_from_documents", false]], "build_index_from_documents() (llmretriever method)": [[21, "components.retriever.llm_retriever.LLMRetriever.build_index_from_documents", false], [36, "components.retriever.LLMRetriever.build_index_from_documents", false]], "build_index_from_documents() (rerankerretriever method)": [[23, "components.retriever.reranker_retriever.RerankerRetriever.build_index_from_documents", false], [36, "components.retriever.RerankerRetriever.build_index_from_documents", false]], "build_index_from_documents() (retriever method)": [[53, "core.retriever.Retriever.build_index_from_documents", false]], "call() (anthropicapiclient method)": [[10, "components.model_client.anthropic_client.AnthropicAPIClient.call", false]], "call() (batchembedder method)": [[45, "core.embedder.BatchEmbedder.call", false]], "call() (bm25retriever method)": [[19, "components.retriever.bm25_retriever.BM25Retriever.call", false], [36, "components.retriever.BM25Retriever.call", false]], "call() (booleanoutputparser method)": [[17, "components.output_parsers.outputs.BooleanOutputParser.call", false]], "call() (classsampler method)": [[71, "optim.sampler.ClassSampler.call", false]], "call() (cohereapiclient method)": [[11, "components.model_client.cohere_client.CohereAPIClient.call", false]], "call() (component method)": [[40, "core.component.Component.call", false]], "call() (defaultllmjudge method)": [[61, "eval.llm_as_judge.DefaultLLMJudge.call", false]], "call() (embedder method)": [[45, "core.embedder.Embedder.call", false]], "call() (funcomponent method)": [[40, "core.component.FunComponent.call", false]], "call() (functiontool method)": [[46, "core.func_tool.FunctionTool.call", false]], "call() (generator method)": [[48, "core.generator.Generator.call", false]], "call() (groqapiclient method)": [[13, "components.model_client.groq_client.GroqAPIClient.call", false]], "call() (jsonoutputparser method)": [[17, "components.output_parsers.outputs.JsonOutputParser.call", false], [34, "components.output_parsers.JsonOutputParser.call", false]], "call() (jsonparser method)": [[54, "core.string_parser.JsonParser.call", false]], "call() (listoutputparser method)": [[17, "components.output_parsers.outputs.ListOutputParser.call", false], [34, "components.output_parsers.ListOutputParser.call", false]], "call() (llmaugmenter method)": [[68, "optim.llm_augment.LLMAugmenter.call", false]], "call() (llmretriever method)": [[21, "components.retriever.llm_retriever.LLMRetriever.call", false], [36, "components.retriever.LLMRetriever.call", false]], "call() (modelclient method)": [[50, "core.model_client.ModelClient.call", false]], "call() (openaiclient method)": [[14, "components.model_client.openai_client.OpenAIClient.call", false]], "call() (outputparser method)": [[17, "components.output_parsers.outputs.OutputParser.call", false]], "call() (prompt method)": [[52, "core.prompt_builder.Prompt.call", false]], "call() (randomsampler method)": [[71, "optim.sampler.RandomSampler.call", false]], "call() (reactagent method)": [[0, "components.agent.react.ReActAgent.call", false]], "call() (rerankerretriever method)": [[23, "components.retriever.reranker_retriever.RerankerRetriever.call", false], [36, "components.retriever.RerankerRetriever.call", false]], "call() (retriever method)": [[53, "core.retriever.Retriever.call", false]], "call() (sampler method)": [[71, "optim.sampler.Sampler.call", false]], "call() (sequential method)": [[40, "core.component.Sequential.call", false]], "call() (textsplitter method)": [[8, "components.data_process.text_splitter.TextSplitter.call", false], [26, "components.data_process.TextSplitter.call", false], [29, "components.data_process.text_splitter.TextSplitter.call", false]], "call() (transformerllm method)": [[15, "components.model_client.transformers_client.TransformerLLM.call", false]], "call() (transformersclient method)": [[15, "components.model_client.transformers_client.TransformersClient.call", false]], "call() (yamloutputparser method)": [[17, "components.output_parsers.outputs.YamlOutputParser.call", false], [34, "components.output_parsers.YamlOutputParser.call", false]], "call() (yamlparser method)": [[54, "core.string_parser.YamlParser.call", false]], "check_object() (in module utils.serialization)": [[82, "utils.serialization.check_object", false]], "children() (component method)": [[40, "core.component.Component.children", false]], "class (objecttypes attribute)": [[82, "utils.serialization.ObjectTypes.CLASS", false]], "classsampler (class in optim.sampler)": [[71, "optim.sampler.ClassSampler", false]], "cohere (modelclienttype attribute)": [[57, "core.types.ModelClientType.COHERE", false]], "cohere (optionalpackages attribute)": [[79, "utils.lazy_import.OptionalPackages.COHERE", false]], "cohereapiclient (class in components.model_client.cohere_client)": [[11, "components.model_client.cohere_client.CohereAPIClient", false]], "component (class in core.component)": [[40, "core.component.Component", false]], "components() (component method)": [[40, "core.component.Component.components", false]], "components.agent.react": [[0, "module-components.agent.react", false]], "components.data_process": [[26, "module-components.data_process", false]], "components.data_process.data_components": [[6, "module-components.data_process.data_components", false], [27, "module-components.data_process.data_components", false]], "components.data_process.text_splitter": [[8, "module-components.data_process.text_splitter", false], [29, "module-components.data_process.text_splitter", false]], "components.memory": [[30, "module-components.memory", false]], "components.memory.memory": [[9, "module-components.memory.memory", false], [31, "module-components.memory.memory", false]], "components.model_client": [[32, "module-components.model_client", false]], "components.model_client.anthropic_client": [[10, "module-components.model_client.anthropic_client", false]], "components.model_client.cohere_client": [[11, "module-components.model_client.cohere_client", false]], "components.model_client.groq_client": [[13, "module-components.model_client.groq_client", false]], "components.model_client.openai_client": [[14, "module-components.model_client.openai_client", false]], "components.model_client.transformers_client": [[15, "module-components.model_client.transformers_client", false]], "components.model_client.utils": [[16, "module-components.model_client.utils", false], [33, "module-components.model_client.utils", false]], "components.output_parsers": [[34, "module-components.output_parsers", false]], "components.output_parsers.outputs": [[17, "module-components.output_parsers.outputs", false]], "components.reasoning": [[35, "module-components.reasoning", false]], "components.reasoning.chain_of_thought": [[18, "module-components.reasoning.chain_of_thought", false]], "components.retriever": [[36, "module-components.retriever", false]], "components.retriever.bm25_retriever": [[19, "module-components.retriever.bm25_retriever", false]], "components.retriever.llm_retriever": [[21, "module-components.retriever.llm_retriever", false]], "components.retriever.reranker_retriever": [[23, "module-components.retriever.reranker_retriever", false]], "compose_model_kwargs() (in module core.functional)": [[47, "core.functional.compose_model_kwargs", false]], "compose_prompt_kwargs() (prompt method)": [[52, "core.prompt_builder.Prompt.compose_prompt_kwargs", false]], "compute() (answermatchacc method)": [[59, "eval.answer_match_acc.AnswerMatchAcc.compute", false]], "compute() (llmasjudge method)": [[61, "eval.llm_as_judge.LLMasJudge.compute", false]], "compute() (retrieverrecall method)": [[62, "eval.retriever_recall.RetrieverRecall.compute", false]], "compute() (retrieverrelevance method)": [[63, "eval.retriever_relevance.RetrieverRelevance.compute", false]], "conversation (class in core.types)": [[57, "core.types.Conversation", false]], "conversation_id (dialogturn attribute)": [[57, "core.types.DialogTurn.conversation_id", false]], "convert_inputs_to_api_kwargs() (anthropicapiclient method)": [[10, "components.model_client.anthropic_client.AnthropicAPIClient.convert_inputs_to_api_kwargs", false]], "convert_inputs_to_api_kwargs() (cohereapiclient method)": [[11, "components.model_client.cohere_client.CohereAPIClient.convert_inputs_to_api_kwargs", false]], "convert_inputs_to_api_kwargs() (groqapiclient method)": [[13, "components.model_client.groq_client.GroqAPIClient.convert_inputs_to_api_kwargs", false]], "convert_inputs_to_api_kwargs() (modelclient method)": [[50, "core.model_client.ModelClient.convert_inputs_to_api_kwargs", false]], "convert_inputs_to_api_kwargs() (openaiclient method)": [[14, "components.model_client.openai_client.OpenAIClient.convert_inputs_to_api_kwargs", false]], "convert_inputs_to_api_kwargs() (transformersclient method)": [[15, "components.model_client.transformers_client.TransformersClient.convert_inputs_to_api_kwargs", false]], "convert_schema_to_signature() (in module core.functional)": [[47, "core.functional.convert_schema_to_signature", false]], "core.base_data_class": [[39, "module-core.base_data_class", false]], "core.component": [[40, "module-core.component", false]], "core.db": [[42, "module-core.db", false]], "core.default_prompt_template": [[43, "module-core.default_prompt_template", false]], "core.embedder": [[45, "module-core.embedder", false]], "core.func_tool": [[46, "module-core.func_tool", false]], "core.functional": [[47, "module-core.functional", false]], "core.generator": [[48, "module-core.generator", false]], "core.model_client": [[50, "module-core.model_client", false]], "core.parameter": [[51, "module-core.parameter", false]], "core.prompt_builder": [[52, "module-core.prompt_builder", false]], "core.retriever": [[53, "module-core.retriever", false]], "core.string_parser": [[54, "module-core.string_parser", false]], "core.tokenizer": [[55, "module-core.tokenizer", false]], "core.tool_manager": [[56, "module-core.tool_manager", false]], "core.types": [[57, "module-core.types", false]], "count_tokens() (tokenizer method)": [[55, "core.tokenizer.Tokenizer.count_tokens", false]], "create_from_dict() (dynamicdataclassfactory static method)": [[39, "core.base_data_class.DynamicDataClassFactory.create_from_dict", false]], "created_at (conversation attribute)": [[57, "core.types.Conversation.created_at", false]], "custom_asdict() (in module core.functional)": [[47, "core.functional.custom_asdict", false]], "data (embedderoutput attribute)": [[57, "core.types.EmbedderOutput.data", false]], "data (generatoroutput attribute)": [[57, "core.types.GeneratorOutput.data", false]], "data (sample attribute)": [[71, "optim.sampler.Sample.data", false]], "dataclass (class in core.base_data_class)": [[39, "core.base_data_class.DataClass", false]], "dataclass_obj_from_dict() (in module core.functional)": [[47, "core.functional.dataclass_obj_from_dict", false]], "dataclassformattype (class in core.base_data_class)": [[39, "core.base_data_class.DataClassFormatType", false]], "dataset (randomsampler attribute)": [[71, "optim.sampler.RandomSampler.dataset", false]], "decode() (tokenizer method)": [[55, "core.tokenizer.Tokenizer.decode", false]], "default() (in module utils.serialization)": [[82, "utils.serialization.default", false]], "default_lightrag_system_prompt (in module core.default_prompt_template)": [[43, "core.default_prompt_template.DEFAULT_LIGHTRAG_SYSTEM_PROMPT", false]], "defaultllmjudge (class in eval.llm_as_judge)": [[61, "eval.llm_as_judge.DefaultLLMJudge", false]], "delete() (localdb method)": [[42, "core.db.LocalDB.delete", false]], "delete_dialog_turn() (conversation method)": [[57, "core.types.Conversation.delete_dialog_turn", false]], "deserialize() (in module utils.serialization)": [[82, "utils.serialization.deserialize", false]], "dialog_turns (conversation attribute)": [[57, "core.types.Conversation.dialog_turns", false]], "dialog_turns_input (conversation attribute)": [[57, "core.types.Conversation.dialog_turns_input", false]], "dialogturn (class in core.types)": [[57, "core.types.DialogTurn", false]], "doc_indices (retrieveroutput attribute)": [[57, "core.types.RetrieverOutput.doc_indices", false]], "doc_scores (retrieveroutput attribute)": [[57, "core.types.RetrieverOutput.doc_scores", false]], "document (class in core.types)": [[57, "core.types.Document", false]], "documents (retrieveroutput attribute)": [[57, "core.types.RetrieverOutput.documents", false]], "dynamicdataclassfactory (class in core.base_data_class)": [[39, "core.base_data_class.DynamicDataClassFactory", false]], "embedder (class in core.embedder)": [[45, "core.embedder.Embedder", false]], "embedder (modeltype attribute)": [[57, "core.types.ModelType.EMBEDDER", false]], "embedderoutput (class in core.types)": [[57, "core.types.EmbedderOutput", false]], "embedderoutputtype (in module core.types)": [[57, "core.types.EmbedderOutputType", false]], "embedding (class in core.types)": [[57, "core.types.Embedding", false]], "embedding (embedding attribute)": [[57, "core.types.Embedding.embedding", false]], "embedding_dim (embedderoutput property)": [[57, "core.types.EmbedderOutput.embedding_dim", false]], "enable_library_logging() (in module utils.logger)": [[80, "utils.logger.enable_library_logging", false]], "encode() (tokenizer method)": [[55, "core.tokenizer.Tokenizer.encode", false]], "entitymapping (class in utils.registry)": [[81, "utils.registry.EntityMapping", false]], "error (embedderoutput attribute)": [[57, "core.types.EmbedderOutput.error", false]], "error (functionoutput attribute)": [[57, "core.types.FunctionOutput.error", false]], "error (generatoroutput attribute)": [[57, "core.types.GeneratorOutput.error", false]], "estimated_num_tokens (document attribute)": [[57, "core.types.Document.estimated_num_tokens", false]], "eval() (component method)": [[40, "core.component.Component.eval", false]], "eval.answer_match_acc": [[59, "module-eval.answer_match_acc", false]], "eval.llm_as_judge": [[61, "module-eval.llm_as_judge", false]], "eval.retriever_recall": [[62, "module-eval.retriever_recall", false]], "eval.retriever_relevance": [[63, "module-eval.retriever_relevance", false]], "evaluate_ast_node() (in module core.functional)": [[47, "core.functional.evaluate_ast_node", false]], "example_json (dataclassformattype attribute)": [[39, "core.base_data_class.DataClassFormatType.EXAMPLE_JSON", false]], "example_yaml (dataclassformattype attribute)": [[39, "core.base_data_class.DataClassFormatType.EXAMPLE_YAML", false]], "execute() (functiontool method)": [[46, "core.func_tool.FunctionTool.execute", false]], "execute_func() (toolmanager method)": [[56, "core.tool_manager.ToolManager.execute_func", false]], "execute_func_expr() (toolmanager method)": [[56, "core.tool_manager.ToolManager.execute_func_expr", false]], "execute_func_expr_via_eval() (toolmanager method)": [[56, "core.tool_manager.ToolManager.execute_func_expr_via_eval", false]], "execute_func_expr_via_sandbox() (toolmanager method)": [[56, "core.tool_manager.ToolManager.execute_func_expr_via_sandbox", false]], "extend() (localdb method)": [[42, "core.db.LocalDB.extend", false]], "extract_dataclass_type() (in module core.functional)": [[47, "core.functional.extract_dataclass_type", false]], "extract_json_str() (in module core.functional)": [[47, "core.functional.extract_json_str", false]], "extract_list_str() (in module core.functional)": [[47, "core.functional.extract_list_str", false]], "extract_yaml_str() (in module core.functional)": [[47, "core.functional.extract_yaml_str", false]], "faiss (optionalpackages attribute)": [[79, "utils.lazy_import.OptionalPackages.FAISS", false]], "fetch_items() (localdb method)": [[42, "core.db.LocalDB.fetch_items", false]], "fetch_transformed_items() (localdb method)": [[42, "core.db.LocalDB.fetch_transformed_items", false]], "fix_json_escaped_single_quotes() (in module core.functional)": [[47, "core.functional.fix_json_escaped_single_quotes", false]], "fix_json_missing_commas() (in module core.functional)": [[47, "core.functional.fix_json_missing_commas", false]], "fn_schema_str() (functiondefinition method)": [[57, "core.types.FunctionDefinition.fn_schema_str", false]], "format_class_str() (dataclass class method)": [[39, "core.base_data_class.DataClass.format_class_str", false]], "format_example_str() (dataclass method)": [[39, "core.base_data_class.DataClass.format_example_str", false]], "format_instructions() (booleanoutputparser method)": [[17, "components.output_parsers.outputs.BooleanOutputParser.format_instructions", false]], "format_instructions() (jsonoutputparser method)": [[17, "components.output_parsers.outputs.JsonOutputParser.format_instructions", false], [34, "components.output_parsers.JsonOutputParser.format_instructions", false]], "format_instructions() (listoutputparser method)": [[17, "components.output_parsers.outputs.ListOutputParser.format_instructions", false], [34, "components.output_parsers.ListOutputParser.format_instructions", false]], "format_instructions() (outputparser method)": [[17, "components.output_parsers.outputs.OutputParser.format_instructions", false]], "format_instructions() (yamloutputparser method)": [[17, "components.output_parsers.outputs.YamlOutputParser.format_instructions", false], [34, "components.output_parsers.YamlOutputParser.format_instructions", false]], "from_config() (component class method)": [[40, "core.component.Component.from_config", false]], "from_config() (embedder class method)": [[45, "core.embedder.Embedder.from_config", false]], "from_config() (generator class method)": [[48, "core.generator.Generator.from_config", false]], "from_dict() (component class method)": [[40, "core.component.Component.from_dict", false]], "from_dict() (dataclass class method)": [[39, "core.base_data_class.DataClass.from_dict", false]], "from_dict() (document class method)": [[57, "core.types.Document.from_dict", false]], "from_dict() (openaiclient class method)": [[14, "components.model_client.openai_client.OpenAIClient.from_dict", false]], "from_dict() (prompt class method)": [[52, "core.prompt_builder.Prompt.from_dict", false]], "from_dict_to_json() (in module core.functional)": [[47, "core.functional.from_dict_to_json", false]], "from_dict_to_yaml() (in module core.functional)": [[47, "core.functional.from_dict_to_yaml", false]], "from_function() (functionexpression class method)": [[57, "core.types.FunctionExpression.from_function", false]], "from_json() (dataclass class method)": [[39, "core.base_data_class.DataClass.from_json", false]], "from_json_to_dict() (in module core.functional)": [[47, "core.functional.from_json_to_dict", false]], "from_yaml() (dataclass class method)": [[39, "core.base_data_class.DataClass.from_yaml", false]], "from_yaml_to_dict() (in module core.functional)": [[47, "core.functional.from_yaml_to_dict", false]], "fun_args (stepoutput attribute)": [[57, "core.types.StepOutput.fun_args", false]], "fun_kwargs (stepoutput attribute)": [[57, "core.types.StepOutput.fun_kwargs", false]], "fun_name (stepoutput attribute)": [[57, "core.types.StepOutput.fun_name", false]], "fun_to_component() (in module core.component)": [[40, "core.component.fun_to_component", false]], "func_desc (functiondefinition attribute)": [[57, "core.types.FunctionDefinition.func_desc", false]], "func_name (functiondefinition attribute)": [[57, "core.types.FunctionDefinition.func_name", false]], "func_parameters (functiondefinition attribute)": [[57, "core.types.FunctionDefinition.func_parameters", false]], "funcomponent (class in core.component)": [[40, "core.component.FunComponent", false]], "function (class in core.types)": [[57, "core.types.Function", false]], "function_definitions (toolmanager property)": [[56, "core.tool_manager.ToolManager.function_definitions", false]], "functiondefinition (class in core.types)": [[57, "core.types.FunctionDefinition", false]], "functionexpression (class in core.types)": [[57, "core.types.FunctionExpression", false]], "functionoutput (class in core.types)": [[57, "core.types.FunctionOutput", false]], "functiontool (class in core.func_tool)": [[46, "core.func_tool.FunctionTool", false]], "generate_function_call_expression_from_callable() (in module core.functional)": [[47, "core.functional.generate_function_call_expression_from_callable", false]], "generate_readable_key_for_function() (in module core.functional)": [[47, "core.functional.generate_readable_key_for_function", false]], "generator (class in core.generator)": [[48, "core.generator.Generator", false]], "generator_names (generatorstatelogger property)": [[75, "tracing.generator_state_logger.GeneratorStateLogger.generator_names", false]], "generator_names_to_files (generatorcalllogger property)": [[74, "tracing.generator_call_logger.GeneratorCallLogger.generator_names_to_files", false]], "generatorcalllogger (class in tracing.generator_call_logger)": [[74, "tracing.generator_call_logger.GeneratorCallLogger", false]], "generatorcallrecord (class in tracing.generator_call_logger)": [[74, "tracing.generator_call_logger.GeneratorCallRecord", false]], "generatoroutput (class in core.types)": [[57, "core.types.GeneratorOutput", false]], "generatorstatelogger (class in tracing.generator_state_logger)": [[75, "tracing.generator_state_logger.GeneratorStateLogger", false]], "generatorstatesrecord (class in tracing.generator_state_logger)": [[75, "tracing.generator_state_logger.GeneratorStatesRecord", false]], "get() (entitymapping class method)": [[81, "utils.registry.EntityMapping.get", false]], "get_all() (entitymapping class method)": [[81, "utils.registry.EntityMapping.get_all", false]], "get_all_messages_content() (in module components.model_client.openai_client)": [[14, "components.model_client.openai_client.get_all_messages_content", false]], "get_calls() (generatorcalllogger method)": [[74, "tracing.generator_call_logger.GeneratorCallLogger.get_calls", false]], "get_chat_history_str() (conversation method)": [[57, "core.types.Conversation.get_chat_history_str", false]], "get_current_script_and_line() (in module utils.logger)": [[80, "utils.logger.get_current_script_and_line", false]], "get_dataclass_schema() (in module core.functional)": [[47, "core.functional.get_dataclass_schema", false]], "get_dialog_turns() (conversation method)": [[57, "core.types.Conversation.get_dialog_turns", false]], "get_first_message_content() (in module components.model_client.openai_client)": [[14, "components.model_client.openai_client.get_first_message_content", false]], "get_fun_schema() (in module core.functional)": [[47, "core.functional.get_fun_schema", false]], "get_jinja2_environment() (in module core.prompt_builder)": [[52, "core.prompt_builder.get_jinja2_environment", false]], "get_log_location() (generatorcalllogger method)": [[74, "tracing.generator_call_logger.GeneratorCallLogger.get_log_location", false]], "get_log_location() (generatorstatelogger method)": [[75, "tracing.generator_state_logger.GeneratorStateLogger.get_log_location", false]], "get_logger() (in module utils.logger)": [[80, "utils.logger.get_logger", false]], "get_model_args() (in module core.types)": [[57, "core.types.get_model_args", false]], "get_next_order() (conversation method)": [[57, "core.types.Conversation.get_next_order", false]], "get_probabilities() (in module components.model_client.openai_client)": [[14, "components.model_client.openai_client.get_probabilities", false]], "get_prompt_variables() (prompt method)": [[52, "core.prompt_builder.Prompt.get_prompt_variables", false]], "get_string_tokens() (tokenizer method)": [[55, "core.tokenizer.Tokenizer.get_string_tokens", false]], "get_subcomponent() (component method)": [[40, "core.component.Component.get_subcomponent", false]], "get_top_k_indices_scores() (in module core.functional)": [[47, "core.functional.get_top_k_indices_scores", false]], "get_transformed_data() (localdb method)": [[42, "core.db.LocalDB.get_transformed_data", false]], "get_transformer_keys() (localdb method)": [[42, "core.db.LocalDB.get_transformer_keys", false]], "get_type_schema() (in module core.functional)": [[47, "core.functional.get_type_schema", false]], "google_generativeai (optionalpackages attribute)": [[79, "utils.lazy_import.OptionalPackages.GOOGLE_GENERATIVEAI", false]], "groq (modelclienttype attribute)": [[57, "core.types.ModelClientType.GROQ", false]], "groq (optionalpackages attribute)": [[79, "utils.lazy_import.OptionalPackages.GROQ", false]], "groqapiclient (class in components.model_client.groq_client)": [[13, "components.model_client.groq_client.GroqAPIClient", false]], "gts (instruction attribute)": [[69, "optim.llm_optimizer.Instruction.gts", false]], "id (conversation attribute)": [[57, "core.types.Conversation.id", false]], "id (dialogturn attribute)": [[57, "core.types.DialogTurn.id", false]], "id (document attribute)": [[57, "core.types.Document.id", false]], "index (embedding attribute)": [[57, "core.types.Embedding.index", false]], "index (sample attribute)": [[71, "optim.sampler.Sample.index", false]], "index_keys (retriever attribute)": [[53, "core.retriever.Retriever.index_keys", false]], "indexed (retriever attribute)": [[53, "core.retriever.Retriever.indexed", false]], "infer_bge_reranker_base() (transformerreranker method)": [[15, "components.model_client.transformers_client.TransformerReranker.infer_bge_reranker_base", false]], "infer_gte_base_embedding() (transformerembedder method)": [[15, "components.model_client.transformers_client.TransformerEmbedder.infer_gte_base_embedding", false]], "init() (bootstrapfewshot method)": [[67, "optim.few_shot_optimizer.BootstrapFewShot.init", false]], "init_async_client() (anthropicapiclient method)": [[10, "components.model_client.anthropic_client.AnthropicAPIClient.init_async_client", false]], "init_async_client() (cohereapiclient method)": [[11, "components.model_client.cohere_client.CohereAPIClient.init_async_client", false]], "init_async_client() (groqapiclient method)": [[13, "components.model_client.groq_client.GroqAPIClient.init_async_client", false]], "init_async_client() (modelclient method)": [[50, "core.model_client.ModelClient.init_async_client", false]], "init_async_client() (openaiclient method)": [[14, "components.model_client.openai_client.OpenAIClient.init_async_client", false]], "init_llm_client() (transformersclient method)": [[15, "components.model_client.transformers_client.TransformersClient.init_llm_client", false]], "init_model() (transformerembedder method)": [[15, "components.model_client.transformers_client.TransformerEmbedder.init_model", false]], "init_model() (transformerllm method)": [[15, "components.model_client.transformers_client.TransformerLLM.init_model", false]], "init_model() (transformerreranker method)": [[15, "components.model_client.transformers_client.TransformerReranker.init_model", false]], "init_reranker_client() (transformersclient method)": [[15, "components.model_client.transformers_client.TransformersClient.init_reranker_client", false]], "init_sync_client() (anthropicapiclient method)": [[10, "components.model_client.anthropic_client.AnthropicAPIClient.init_sync_client", false]], "init_sync_client() (cohereapiclient method)": [[11, "components.model_client.cohere_client.CohereAPIClient.init_sync_client", false]], "init_sync_client() (groqapiclient method)": [[13, "components.model_client.groq_client.GroqAPIClient.init_sync_client", false]], "init_sync_client() (modelclient method)": [[50, "core.model_client.ModelClient.init_sync_client", false]], "init_sync_client() (openaiclient method)": [[14, "components.model_client.openai_client.OpenAIClient.init_sync_client", false]], "init_sync_client() (transformersclient method)": [[15, "components.model_client.transformers_client.TransformersClient.init_sync_client", false]], "input (embedderoutput attribute)": [[57, "core.types.EmbedderOutput.input", false]], "input (functionoutput attribute)": [[57, "core.types.FunctionOutput.input", false]], "instance (objecttypes attribute)": [[82, "utils.serialization.ObjectTypes.INSTANCE", false]], "instruction (class in optim.llm_optimizer)": [[69, "optim.llm_optimizer.Instruction", false]], "is_dataclass_instance() (in module core.functional)": [[47, "core.functional.is_dataclass_instance", false]], "is_key_in_template() (prompt method)": [[52, "core.prompt_builder.Prompt.is_key_in_template", false]], "is_normalized (embedderoutput property)": [[57, "core.types.EmbedderOutput.is_normalized", false]], "is_normalized() (in module core.functional)": [[47, "core.functional.is_normalized", false]], "is_picklable() (component method)": [[40, "core.component.Component.is_picklable", false]], "is_potential_dataclass() (in module core.functional)": [[47, "core.functional.is_potential_dataclass", false]], "is_running_in_event_loop() (in module core.func_tool)": [[46, "core.func_tool.is_running_in_event_loop", false]], "items (localdb attribute)": [[42, "core.db.LocalDB.items", false]], "json_definitions (toolmanager property)": [[56, "core.tool_manager.ToolManager.json_definitions", false]], "jsonoutputparser (class in components.output_parsers)": [[34, "components.output_parsers.JsonOutputParser", false]], "jsonoutputparser (class in components.output_parsers.outputs)": [[17, "components.output_parsers.outputs.JsonOutputParser", false]], "jsonparser (class in core.string_parser)": [[54, "core.string_parser.JsonParser", false]], "kwargs (function attribute)": [[57, "core.types.Function.kwargs", false]], "lazyimport (class in utils.lazy_import)": [[79, "utils.lazy_import.LazyImport", false]], "length (embedderoutput property)": [[57, "core.types.EmbedderOutput.length", false]], "length (localdb property)": [[42, "core.db.LocalDB.length", false]], "listoutputparser (class in components.output_parsers)": [[34, "components.output_parsers.ListOutputParser", false]], "listoutputparser (class in components.output_parsers.outputs)": [[17, "components.output_parsers.outputs.ListOutputParser", false]], "listparser (class in core.string_parser)": [[54, "core.string_parser.ListParser", false]], "llm (modeltype attribute)": [[57, "core.types.ModelType.LLM", false]], "llmasjudge (class in eval.llm_as_judge)": [[61, "eval.llm_as_judge.LLMasJudge", false]], "llmaugmenter (class in optim.llm_augment)": [[68, "optim.llm_augment.LLMAugmenter", false]], "llmoptimizer (class in optim.llm_optimizer)": [[69, "optim.llm_optimizer.LLMOptimizer", false]], "llmretriever (class in components.retriever)": [[36, "components.retriever.LLMRetriever", false]], "llmretriever (class in components.retriever.llm_retriever)": [[21, "components.retriever.llm_retriever.LLMRetriever", false]], "load() (generatorcalllogger method)": [[74, "tracing.generator_call_logger.GeneratorCallLogger.load", false]], "load() (generatorstatelogger method)": [[75, "tracing.generator_state_logger.GeneratorStateLogger.load", false]], "load() (in module utils.file_io)": [[78, "utils.file_io.load", false]], "load() (localdb method)": [[42, "core.db.LocalDB.load", false]], "load_from_file() (bm25retriever class method)": [[19, "components.retriever.bm25_retriever.BM25Retriever.load_from_file", false], [36, "components.retriever.BM25Retriever.load_from_file", false]], "load_from_file() (retriever class method)": [[53, "core.retriever.Retriever.load_from_file", false]], "load_from_pickle() (component class method)": [[40, "core.component.Component.load_from_pickle", false]], "load_json() (in module utils.file_io)": [[78, "utils.file_io.load_json", false]], "load_jsonl() (in module utils.file_io)": [[78, "utils.file_io.load_jsonl", false]], "load_meta_data() (generatorcalllogger method)": [[74, "tracing.generator_call_logger.GeneratorCallLogger.load_meta_data", false]], "load_pickle() (in module utils.file_io)": [[78, "utils.file_io.load_pickle", false]], "load_state() (localdb class method)": [[42, "core.db.LocalDB.load_state", false]], "load_state_dict() (component method)": [[40, "core.component.Component.load_state_dict", false]], "load_state_pickle() (component class method)": [[40, "core.component.Component.load_state_pickle", false]], "localdb (class in core.db)": [[42, "core.db.LocalDB", false]], "log_call() (generatorcalllogger method)": [[74, "tracing.generator_call_logger.GeneratorCallLogger.log_call", false]], "log_prompt() (generatorstatelogger method)": [[75, "tracing.generator_state_logger.GeneratorStateLogger.log_prompt", false]], "logprob (tokenlogprob attribute)": [[57, "core.types.TokenLogProb.logprob", false]], "mapper_setups (localdb attribute)": [[42, "core.db.LocalDB.mapper_setups", false]], "memory (class in components.memory.memory)": [[9, "components.memory.memory.Memory", false], [31, "components.memory.memory.Memory", false]], "meta_data (document attribute)": [[57, "core.types.Document.meta_data", false]], "metadata (assistantresponse attribute)": [[57, "core.types.AssistantResponse.metadata", false]], "metadata (conversation attribute)": [[57, "core.types.Conversation.metadata", false]], "metadata (dialogturn attribute)": [[57, "core.types.DialogTurn.metadata", false]], "metadata (generatoroutput attribute)": [[57, "core.types.GeneratorOutput.metadata", false]], "metadata (userquery attribute)": [[57, "core.types.UserQuery.metadata", false]], "model (embedderoutput attribute)": [[57, "core.types.EmbedderOutput.model", false]], "model_client (embedder attribute)": [[45, "core.embedder.Embedder.model_client", false]], "model_client (generator attribute)": [[48, "core.generator.Generator.model_client", false]], "model_kwargs (generatorcallrecord attribute)": [[74, "tracing.generator_call_logger.GeneratorCallRecord.model_kwargs", false]], "model_type (embedder attribute)": [[45, "core.embedder.Embedder.model_type", false]], "model_type (generator attribute)": [[48, "core.generator.Generator.model_type", false]], "modelclient (class in core.model_client)": [[50, "core.model_client.ModelClient", false]], "modelclienttype (class in core.types)": [[57, "core.types.ModelClientType", false]], "models (transformerembedder attribute)": [[15, "components.model_client.transformers_client.TransformerEmbedder.models", false]], "models (transformerllm attribute)": [[15, "components.model_client.transformers_client.TransformerLLM.models", false]], "models (transformerreranker attribute)": [[15, "components.model_client.transformers_client.TransformerReranker.models", false]], "modeltype (class in core.types)": [[57, "core.types.ModelType", false]], "module": [[0, "module-components.agent.react", false], [6, "module-components.data_process.data_components", false], [8, "module-components.data_process.text_splitter", false], [9, "module-components.memory.memory", false], [10, "module-components.model_client.anthropic_client", false], [11, "module-components.model_client.cohere_client", false], [13, "module-components.model_client.groq_client", false], [14, "module-components.model_client.openai_client", false], [15, "module-components.model_client.transformers_client", false], [16, "module-components.model_client.utils", false], [17, "module-components.output_parsers.outputs", false], [18, "module-components.reasoning.chain_of_thought", false], [19, "module-components.retriever.bm25_retriever", false], [21, "module-components.retriever.llm_retriever", false], [23, "module-components.retriever.reranker_retriever", false], [26, "module-components.data_process", false], [27, "module-components.data_process.data_components", false], [29, "module-components.data_process.text_splitter", false], [30, "module-components.memory", false], [31, "module-components.memory.memory", false], [32, "module-components.model_client", false], [33, "module-components.model_client.utils", false], [34, "module-components.output_parsers", false], [35, "module-components.reasoning", false], [36, "module-components.retriever", false], [39, "module-core.base_data_class", false], [40, "module-core.component", false], [42, "module-core.db", false], [43, "module-core.default_prompt_template", false], [45, "module-core.embedder", false], [46, "module-core.func_tool", false], [47, "module-core.functional", false], [48, "module-core.generator", false], [50, "module-core.model_client", false], [51, "module-core.parameter", false], [52, "module-core.prompt_builder", false], [53, "module-core.retriever", false], [54, "module-core.string_parser", false], [55, "module-core.tokenizer", false], [56, "module-core.tool_manager", false], [57, "module-core.types", false], [59, "module-eval.answer_match_acc", false], [61, "module-eval.llm_as_judge", false], [62, "module-eval.retriever_recall", false], [63, "module-eval.retriever_relevance", false], [67, "module-optim.few_shot_optimizer", false], [68, "module-optim.llm_augment", false], [69, "module-optim.llm_optimizer", false], [70, "module-optim.optimizer", false], [71, "module-optim.sampler", false], [73, "module-tracing.decorators", false], [74, "module-tracing.generator_call_logger", false], [75, "module-tracing.generator_state_logger", false], [77, "module-utils.config", false], [78, "module-utils.file_io", false], [79, "module-utils.lazy_import", false], [80, "module-utils.logger", false], [81, "module-utils.registry", false], [82, "module-utils.serialization", false], [83, "module-utils.setup_env", false]], "name (conversation attribute)": [[57, "core.types.Conversation.name", false]], "name (function attribute)": [[57, "core.types.Function.name", false]], "name (functionoutput attribute)": [[57, "core.types.FunctionOutput.name", false]], "name (localdb attribute)": [[42, "core.db.LocalDB.name", false]], "named_children() (component method)": [[40, "core.component.Component.named_children", false]], "named_components() (component method)": [[40, "core.component.Component.named_components", false]], "named_parameters() (component method)": [[40, "core.component.Component.named_parameters", false]], "new_component() (in module utils.config)": [[77, "utils.config.new_component", false]], "new_components_from_config() (in module utils.config)": [[77, "utils.config.new_components_from_config", false]], "normalize_np_array() (in module core.functional)": [[47, "core.functional.normalize_np_array", false]], "normalize_vector() (in module core.functional)": [[47, "core.functional.normalize_vector", false]], "objecttypes (class in utils.serialization)": [[82, "utils.serialization.ObjectTypes", false]], "observation (stepoutput attribute)": [[57, "core.types.StepOutput.observation", false]], "openai (modelclienttype attribute)": [[57, "core.types.ModelClientType.OPENAI", false]], "openai (optionalpackages attribute)": [[79, "utils.lazy_import.OptionalPackages.OPENAI", false]], "openaiclient (class in components.model_client.openai_client)": [[14, "components.model_client.openai_client.OpenAIClient", false]], "optim.few_shot_optimizer": [[67, "module-optim.few_shot_optimizer", false]], "optim.llm_augment": [[68, "module-optim.llm_augment", false]], "optim.llm_optimizer": [[69, "module-optim.llm_optimizer", false]], "optim.optimizer": [[70, "module-optim.optimizer", false]], "optim.sampler": [[71, "module-optim.sampler", false]], "optimizer (class in optim.optimizer)": [[70, "optim.optimizer.Optimizer", false]], "optionalpackages (class in utils.lazy_import)": [[79, "utils.lazy_import.OptionalPackages", false]], "order (dialogturn attribute)": [[57, "core.types.DialogTurn.order", false]], "order (document attribute)": [[57, "core.types.Document.order", false]], "output (functionoutput attribute)": [[57, "core.types.FunctionOutput.output", false]], "output (generatorcallrecord attribute)": [[74, "tracing.generator_call_logger.GeneratorCallRecord.output", false]], "output_processors (embedder attribute)": [[45, "core.embedder.Embedder.output_processors", false]], "outputparser (class in components.output_parsers.outputs)": [[17, "components.output_parsers.outputs.OutputParser", false]], "parameter (class in core.parameter)": [[51, "core.parameter.Parameter", false]], "parameters() (component method)": [[40, "core.component.Component.parameters", false]], "parent_doc_id (document attribute)": [[57, "core.types.Document.parent_doc_id", false]], "parse_chat_completion() (anthropicapiclient method)": [[10, "components.model_client.anthropic_client.AnthropicAPIClient.parse_chat_completion", false]], "parse_chat_completion() (groqapiclient method)": [[13, "components.model_client.groq_client.GroqAPIClient.parse_chat_completion", false]], "parse_chat_completion() (modelclient method)": [[50, "core.model_client.ModelClient.parse_chat_completion", false]], "parse_chat_completion() (openaiclient method)": [[14, "components.model_client.openai_client.OpenAIClient.parse_chat_completion", false]], "parse_chat_completion() (transformerllm method)": [[15, "components.model_client.transformers_client.TransformerLLM.parse_chat_completion", false]], "parse_embedding_response() (in module components.model_client.utils)": [[16, "components.model_client.utils.parse_embedding_response", false], [33, "components.model_client.utils.parse_embedding_response", false]], "parse_embedding_response() (modelclient method)": [[50, "core.model_client.ModelClient.parse_embedding_response", false]], "parse_embedding_response() (openaiclient method)": [[14, "components.model_client.openai_client.OpenAIClient.parse_embedding_response", false]], "parse_embedding_response() (transformersclient method)": [[15, "components.model_client.transformers_client.TransformersClient.parse_embedding_response", false]], "parse_func_expr() (toolmanager method)": [[56, "core.tool_manager.ToolManager.parse_func_expr", false]], "parse_function_call_expr() (in module core.functional)": [[47, "core.functional.parse_function_call_expr", false]], "parse_json_str_to_obj() (in module core.functional)": [[47, "core.functional.parse_json_str_to_obj", false]], "parse_yaml_str_to_obj() (in module core.functional)": [[47, "core.functional.parse_yaml_str_to_obj", false]], "parsed_input (functionoutput attribute)": [[57, "core.types.FunctionOutput.parsed_input", false]], "pgvector (optionalpackages attribute)": [[79, "utils.lazy_import.OptionalPackages.PGVECTOR", false]], "pickle_to_file() (component method)": [[40, "core.component.Component.pickle_to_file", false]], "preprocess() (tokenizer method)": [[55, "core.tokenizer.Tokenizer.preprocess", false]], "print_prompt() (generator method)": [[48, "core.generator.Generator.print_prompt", false]], "print_prompt() (prompt method)": [[52, "core.prompt_builder.Prompt.print_prompt", false]], "print_prompt_template() (prompt method)": [[52, "core.prompt_builder.Prompt.print_prompt_template", false]], "printc() (in module utils.logger)": [[80, "utils.logger.printc", false]], "prompt (class in core.prompt_builder)": [[52, "core.prompt_builder.Prompt", false]], "prompt_kwargs (generatorcallrecord attribute)": [[74, "tracing.generator_call_logger.GeneratorCallRecord.prompt_kwargs", false]], "prompt_states (generatorstatesrecord attribute)": [[75, "tracing.generator_state_logger.GeneratorStatesRecord.prompt_states", false]], "prompt_tokens (usage attribute)": [[57, "core.types.Usage.prompt_tokens", false]], "propose() (bootstrapfewshot method)": [[67, "optim.few_shot_optimizer.BootstrapFewShot.propose", false]], "propose() (llmoptimizer method)": [[69, "optim.llm_optimizer.LLMOptimizer.propose", false]], "query (retrieveroutput attribute)": [[57, "core.types.RetrieverOutput.query", false]], "query_str (userquery attribute)": [[57, "core.types.UserQuery.query_str", false]], "random_replace() (bootstrapfewshot method)": [[67, "optim.few_shot_optimizer.BootstrapFewShot.random_replace", false]], "random_replace() (classsampler method)": [[71, "optim.sampler.ClassSampler.random_replace", false]], "random_replace() (randomsampler method)": [[71, "optim.sampler.RandomSampler.random_replace", false]], "random_replace() (sampler method)": [[71, "optim.sampler.Sampler.random_replace", false]], "random_sample() (classsampler method)": [[71, "optim.sampler.ClassSampler.random_sample", false]], "random_sample() (randomsampler method)": [[71, "optim.sampler.RandomSampler.random_sample", false]], "randomsampler (class in optim.sampler)": [[71, "optim.sampler.RandomSampler", false]], "raw_response (embedderoutput attribute)": [[57, "core.types.EmbedderOutput.raw_response", false]], "raw_response (generatoroutput attribute)": [[57, "core.types.GeneratorOutput.raw_response", false]], "reactagent (class in components.agent.react)": [[0, "components.agent.react.ReActAgent", false]], "register() (entitymapping class method)": [[81, "utils.registry.EntityMapping.register", false]], "register_component() (component method)": [[40, "core.component.Component.register_component", false]], "register_generator() (generatorcalllogger method)": [[74, "tracing.generator_call_logger.GeneratorCallLogger.register_generator", false]], "register_parameter() (component method)": [[40, "core.component.Component.register_parameter", false]], "register_transformer() (localdb method)": [[42, "core.db.LocalDB.register_transformer", false]], "represent_ordereddict() (in module core.functional)": [[47, "core.functional.represent_ordereddict", false]], "required_field() (in module core.base_data_class)": [[39, "core.base_data_class.required_field", false]], "reranker (modeltype attribute)": [[57, "core.types.ModelType.RERANKER", false]], "rerankerretriever (class in components.retriever)": [[36, "components.retriever.RerankerRetriever", false]], "rerankerretriever (class in components.retriever.reranker_retriever)": [[23, "components.retriever.reranker_retriever.RerankerRetriever", false]], "reset() (bootstrapfewshot method)": [[67, "optim.few_shot_optimizer.BootstrapFewShot.reset", false]], "reset() (llmoptimizer method)": [[69, "optim.llm_optimizer.LLMOptimizer.reset", false]], "reset() (localdb method)": [[42, "core.db.LocalDB.reset", false]], "reset() (reactagent method)": [[0, "components.agent.react.ReActAgent.reset", false]], "reset_index() (bm25retriever method)": [[19, "components.retriever.bm25_retriever.BM25Retriever.reset_index", false], [36, "components.retriever.BM25Retriever.reset_index", false]], "reset_index() (llmretriever method)": [[21, "components.retriever.llm_retriever.LLMRetriever.reset_index", false], [36, "components.retriever.LLMRetriever.reset_index", false]], "reset_index() (rerankerretriever method)": [[23, "components.retriever.reranker_retriever.RerankerRetriever.reset_index", false], [36, "components.retriever.RerankerRetriever.reset_index", false]], "reset_index() (retriever method)": [[53, "core.retriever.Retriever.reset_index", false]], "reset_parameter() (bootstrapfewshot method)": [[67, "optim.few_shot_optimizer.BootstrapFewShot.reset_parameter", false]], "reset_parameter() (llmoptimizer method)": [[69, "optim.llm_optimizer.LLMOptimizer.reset_parameter", false]], "response_str (assistantresponse attribute)": [[57, "core.types.AssistantResponse.response_str", false]], "responses (instruction attribute)": [[69, "optim.llm_optimizer.Instruction.responses", false]], "retriever (class in core.retriever)": [[53, "core.retriever.Retriever", false]], "retriever_output_to_context_str() (in module components.data_process.data_components)": [[6, "components.data_process.data_components.retriever_output_to_context_str", false], [27, "components.data_process.data_components.retriever_output_to_context_str", false]], "retrieveroutput (class in core.types)": [[57, "core.types.RetrieverOutput", false]], "retrieveroutputtocontextstr (class in components.data_process)": [[26, "components.data_process.RetrieverOutputToContextStr", false]], "retrieveroutputtocontextstr (class in components.data_process.data_components)": [[6, "components.data_process.data_components.RetrieverOutputToContextStr", false], [27, "components.data_process.data_components.RetrieverOutputToContextStr", false]], "retrieverrecall (class in eval.retriever_recall)": [[62, "eval.retriever_recall.RetrieverRecall", false]], "retrieverrelevance (class in eval.retriever_relevance)": [[63, "eval.retriever_relevance.RetrieverRelevance", false]], "safe_import() (in module utils.lazy_import)": [[79, "utils.lazy_import.safe_import", false]], "sample (class in optim.sampler)": [[71, "optim.sampler.Sample", false]], "sampler (class in optim.sampler)": [[71, "optim.sampler.Sampler", false]], "sandbox_exec() (in module core.functional)": [[47, "core.functional.sandbox_exec", false]], "save() (generatorstatelogger method)": [[75, "tracing.generator_state_logger.GeneratorStateLogger.save", false]], "save() (in module utils.file_io)": [[78, "utils.file_io.save", false]], "save_json() (in module utils.file_io)": [[78, "utils.file_io.save_json", false]], "save_meta_data() (generatorcalllogger method)": [[74, "tracing.generator_call_logger.GeneratorCallLogger.save_meta_data", false]], "save_pickle() (in module utils.file_io)": [[78, "utils.file_io.save_pickle", false]], "save_state() (localdb method)": [[42, "core.db.LocalDB.save_state", false]], "save_to_file() (bm25retriever method)": [[19, "components.retriever.bm25_retriever.BM25Retriever.save_to_file", false], [36, "components.retriever.BM25Retriever.save_to_file", false]], "save_to_file() (retriever method)": [[53, "core.retriever.Retriever.save_to_file", false]], "schema (dataclassformattype attribute)": [[39, "core.base_data_class.DataClassFormatType.SCHEMA", false]], "score (document attribute)": [[57, "core.types.Document.score", false]], "score (instruction attribute)": [[69, "optim.llm_optimizer.Instruction.score", false]], "sequential (class in core.component)": [[40, "core.component.Sequential", false]], "serialize() (in module utils.serialization)": [[82, "utils.serialization.serialize", false]], "set_assistant_response() (dialogturn method)": [[57, "core.types.DialogTurn.set_assistant_response", false]], "set_user_query() (dialogturn method)": [[57, "core.types.DialogTurn.set_user_query", false]], "setup_env() (in module utils.setup_env)": [[83, "utils.setup_env.setup_env", false]], "signature_json (dataclassformattype attribute)": [[39, "core.base_data_class.DataClassFormatType.SIGNATURE_JSON", false]], "signature_yaml (dataclassformattype attribute)": [[39, "core.base_data_class.DataClassFormatType.SIGNATURE_YAML", false]], "split_text() (textsplitter method)": [[8, "components.data_process.text_splitter.TextSplitter.split_text", false], [26, "components.data_process.TextSplitter.split_text", false], [29, "components.data_process.text_splitter.TextSplitter.split_text", false]], "split_text_by_word_fn() (in module components.retriever)": [[36, "components.retriever.split_text_by_word_fn", false]], "split_text_by_word_fn() (in module components.retriever.bm25_retriever)": [[19, "components.retriever.bm25_retriever.split_text_by_word_fn", false]], "split_text_by_word_fn_then_lower_tokenized() (in module components.retriever)": [[36, "components.retriever.split_text_by_word_fn_then_lower_tokenized", false]], "split_text_by_word_fn_then_lower_tokenized() (in module components.retriever.bm25_retriever)": [[19, "components.retriever.bm25_retriever.split_text_by_word_fn_then_lower_tokenized", false]], "split_text_tokenized() (in module components.retriever.bm25_retriever)": [[19, "components.retriever.bm25_retriever.split_text_tokenized", false]], "sqlalchemy (optionalpackages attribute)": [[79, "utils.lazy_import.OptionalPackages.SQLALCHEMY", false]], "state_dict() (component method)": [[40, "core.component.Component.state_dict", false]], "state_dict() (optimizer method)": [[70, "optim.optimizer.Optimizer.state_dict", false]], "step (stepoutput attribute)": [[57, "core.types.StepOutput.step", false]], "step() (optimizer method)": [[70, "optim.optimizer.Optimizer.step", false]], "stepoutput (class in core.types)": [[57, "core.types.StepOutput", false]], "support_models (transformersclient attribute)": [[15, "components.model_client.transformers_client.TransformersClient.support_models", false]], "text (document attribute)": [[57, "core.types.Document.text", false]], "text (instruction attribute)": [[69, "optim.llm_optimizer.Instruction.text", false]], "textsplitter (class in components.data_process)": [[26, "components.data_process.TextSplitter", false]], "textsplitter (class in components.data_process.text_splitter)": [[8, "components.data_process.text_splitter.TextSplitter", false], [29, "components.data_process.text_splitter.TextSplitter", false]], "thought (function attribute)": [[57, "core.types.Function.thought", false]], "thought (functionexpression attribute)": [[57, "core.types.FunctionExpression.thought", false]], "thought (stepoutput attribute)": [[57, "core.types.StepOutput.thought", false]], "time_stamp (generatorcallrecord attribute)": [[74, "tracing.generator_call_logger.GeneratorCallRecord.time_stamp", false]], "time_stamp (generatorstatesrecord attribute)": [[75, "tracing.generator_state_logger.GeneratorStatesRecord.time_stamp", false]], "to_dict() (component method)": [[40, "core.component.Component.to_dict", false]], "to_dict() (dataclass method)": [[39, "core.base_data_class.DataClass.to_dict", false]], "to_dict() (in module utils.serialization)": [[82, "utils.serialization.to_dict", false]], "to_dict() (openaiclient method)": [[14, "components.model_client.openai_client.OpenAIClient.to_dict", false]], "to_dict() (parameter method)": [[51, "core.parameter.Parameter.to_dict", false]], "to_dict() (prompt method)": [[52, "core.prompt_builder.Prompt.to_dict", false]], "to_dict() (sample method)": [[71, "optim.sampler.Sample.to_dict", false]], "to_dict_class() (dataclass class method)": [[39, "core.base_data_class.DataClass.to_dict_class", false]], "to_json() (dataclass method)": [[39, "core.base_data_class.DataClass.to_json", false]], "to_json_obj() (dataclass method)": [[39, "core.base_data_class.DataClass.to_json_obj", false]], "to_json_signature() (dataclass class method)": [[39, "core.base_data_class.DataClass.to_json_signature", false]], "to_schema() (dataclass class method)": [[39, "core.base_data_class.DataClass.to_schema", false]], "to_schema_str() (dataclass class method)": [[39, "core.base_data_class.DataClass.to_schema_str", false]], "to_yaml() (dataclass method)": [[39, "core.base_data_class.DataClass.to_yaml", false]], "to_yaml_obj() (dataclass method)": [[39, "core.base_data_class.DataClass.to_yaml_obj", false]], "to_yaml_signature() (dataclass class method)": [[39, "core.base_data_class.DataClass.to_yaml_signature", false]], "toembeddings (class in components.data_process)": [[26, "components.data_process.ToEmbeddings", false]], "toembeddings (class in components.data_process.data_components)": [[6, "components.data_process.data_components.ToEmbeddings", false], [27, "components.data_process.data_components.ToEmbeddings", false]], "token (tokenlogprob attribute)": [[57, "core.types.TokenLogProb.token", false]], "tokenizer (class in core.tokenizer)": [[55, "core.tokenizer.Tokenizer", false]], "tokenlogprob (class in core.types)": [[57, "core.types.TokenLogProb", false]], "toolmanager (class in core.tool_manager)": [[56, "core.tool_manager.ToolManager", false]], "torch (optionalpackages attribute)": [[79, "utils.lazy_import.OptionalPackages.TORCH", false]], "total_tokens (usage attribute)": [[57, "core.types.Usage.total_tokens", false]], "trace_generator_call() (in module tracing.decorators)": [[73, "tracing.decorators.trace_generator_call", false]], "trace_generator_states() (in module tracing.decorators)": [[73, "tracing.decorators.trace_generator_states", false]], "tracing.decorators": [[73, "module-tracing.decorators", false]], "tracing.generator_call_logger": [[74, "module-tracing.generator_call_logger", false]], "tracing.generator_state_logger": [[75, "module-tracing.generator_state_logger", false]], "train() (component method)": [[40, "core.component.Component.train", false]], "training (component attribute)": [[40, "core.component.Component.training", false]], "transform() (localdb method)": [[42, "core.db.LocalDB.transform", false]], "transformed_items (localdb attribute)": [[42, "core.db.LocalDB.transformed_items", false]], "transformer_setups (localdb attribute)": [[42, "core.db.LocalDB.transformer_setups", false]], "transformerembedder (class in components.model_client.transformers_client)": [[15, "components.model_client.transformers_client.TransformerEmbedder", false]], "transformerllm (class in components.model_client.transformers_client)": [[15, "components.model_client.transformers_client.TransformerLLM", false]], "transformerreranker (class in components.model_client.transformers_client)": [[15, "components.model_client.transformers_client.TransformerReranker", false]], "transformers (modelclienttype attribute)": [[57, "core.types.ModelClientType.TRANSFORMERS", false]], "transformers (optionalpackages attribute)": [[79, "utils.lazy_import.OptionalPackages.TRANSFORMERS", false]], "transformersclient (class in components.model_client.transformers_client)": [[15, "components.model_client.transformers_client.TransformersClient", false]], "type (objecttypes attribute)": [[82, "utils.serialization.ObjectTypes.TYPE", false]], "undefined (modeltype attribute)": [[57, "core.types.ModelType.UNDEFINED", false]], "update_default_model_kwargs() (embedder method)": [[45, "core.embedder.Embedder.update_default_model_kwargs", false]], "update_dialog_turn() (conversation method)": [[57, "core.types.Conversation.update_dialog_turn", false]], "update_parameter() (bootstrapfewshot method)": [[67, "optim.few_shot_optimizer.BootstrapFewShot.update_parameter", false]], "update_parameter() (llmoptimizer method)": [[69, "optim.llm_optimizer.LLMOptimizer.update_parameter", false]], "update_prompt_kwargs() (prompt method)": [[52, "core.prompt_builder.Prompt.update_prompt_kwargs", false]], "update_value() (parameter method)": [[51, "core.parameter.Parameter.update_value", false]], "usage (class in core.types)": [[57, "core.types.Usage", false]], "usage (embedderoutput attribute)": [[57, "core.types.EmbedderOutput.usage", false]], "usage (generatoroutput attribute)": [[57, "core.types.GeneratorOutput.usage", false]], "user_id (conversation attribute)": [[57, "core.types.Conversation.user_id", false]], "user_id (dialogturn attribute)": [[57, "core.types.DialogTurn.user_id", false]], "user_query (dialogturn attribute)": [[57, "core.types.DialogTurn.user_query", false]], "user_query_timestamp (dialogturn attribute)": [[57, "core.types.DialogTurn.user_query_timestamp", false]], "userquery (class in core.types)": [[57, "core.types.UserQuery", false]], "utils.config": [[77, "module-utils.config", false]], "utils.file_io": [[78, "module-utils.file_io", false]], "utils.lazy_import": [[79, "module-utils.lazy_import", false]], "utils.logger": [[80, "module-utils.logger", false]], "utils.registry": [[81, "module-utils.registry", false]], "utils.serialization": [[82, "module-utils.serialization", false]], "utils.setup_env": [[83, "module-utils.setup_env", false]], "validate_data() (in module core.functional)": [[47, "core.functional.validate_data", false]], "vector (dialogturn attribute)": [[57, "core.types.DialogTurn.vector", false]], "vector (document attribute)": [[57, "core.types.Document.vector", false]], "write_list_to_jsonl() (in module utils.file_io)": [[78, "utils.file_io.write_list_to_jsonl", false]], "yaml_definitions (toolmanager property)": [[56, "core.tool_manager.ToolManager.yaml_definitions", false]], "yamloutputparser (class in components.output_parsers)": [[34, "components.output_parsers.YamlOutputParser", false]], "yamloutputparser (class in components.output_parsers.outputs)": [[17, "components.output_parsers.outputs.YamlOutputParser", false]], "yamlparser (class in core.string_parser)": [[54, "core.string_parser.YamlParser", false]]}, "objects": {"components": [[26, 0, 0, "-", "data_process"], [30, 0, 0, "-", "memory"], [32, 0, 0, "-", "model_client"], [34, 0, 0, "-", "output_parsers"], [35, 0, 0, "-", "reasoning"], [36, 0, 0, "-", "retriever"]], "components.agent": [[0, 0, 0, "-", "react"]], "components.agent.react": [[0, 1, 1, "", "ReActAgent"]], "components.agent.react.ReActAgent": [[0, 2, 1, "", "call"], [0, 2, 1, "", "reset"]], "components.data_process": [[26, 1, 1, "", "RetrieverOutputToContextStr"], [26, 1, 1, "", "TextSplitter"], [26, 1, 1, "", "ToEmbeddings"], [27, 0, 0, "-", "data_components"], [29, 0, 0, "-", "text_splitter"]], "components.data_process.TextSplitter": [[26, 2, 1, "", "call"], [26, 2, 1, "", "split_text"]], "components.data_process.data_components": [[27, 1, 1, "", "RetrieverOutputToContextStr"], [27, 1, 1, "", "ToEmbeddings"], [27, 3, 1, "", "retriever_output_to_context_str"]], "components.data_process.text_splitter": [[29, 1, 1, "", "TextSplitter"]], "components.data_process.text_splitter.TextSplitter": [[29, 2, 1, "", "call"], [29, 2, 1, "", "split_text"]], "components.memory": [[31, 0, 0, "-", "memory"]], "components.memory.memory": [[31, 1, 1, "", "Memory"]], "components.model_client": [[10, 0, 0, "-", "anthropic_client"], [11, 0, 0, "-", "cohere_client"], [13, 0, 0, "-", "groq_client"], [14, 0, 0, "-", "openai_client"], [15, 0, 0, "-", "transformers_client"], [33, 0, 0, "-", "utils"]], "components.model_client.anthropic_client": [[10, 1, 1, "", "AnthropicAPIClient"]], "components.model_client.anthropic_client.AnthropicAPIClient": [[10, 2, 1, "", "acall"], [10, 2, 1, "", "call"], [10, 2, 1, "", "convert_inputs_to_api_kwargs"], [10, 2, 1, "", "init_async_client"], [10, 2, 1, "", "init_sync_client"], [10, 2, 1, "", "parse_chat_completion"]], "components.model_client.cohere_client": [[11, 1, 1, "", "CohereAPIClient"]], "components.model_client.cohere_client.CohereAPIClient": [[11, 2, 1, "", "acall"], [11, 2, 1, "", "call"], [11, 2, 1, "", "convert_inputs_to_api_kwargs"], [11, 2, 1, "", "init_async_client"], [11, 2, 1, "", "init_sync_client"]], "components.model_client.groq_client": [[13, 1, 1, "", "GroqAPIClient"]], "components.model_client.groq_client.GroqAPIClient": [[13, 2, 1, "", "acall"], [13, 2, 1, "", "call"], [13, 2, 1, "", "convert_inputs_to_api_kwargs"], [13, 2, 1, "", "init_async_client"], [13, 2, 1, "", "init_sync_client"], [13, 2, 1, "", "parse_chat_completion"]], "components.model_client.openai_client": [[14, 1, 1, "", "OpenAIClient"], [14, 3, 1, "", "get_all_messages_content"], [14, 3, 1, "", "get_first_message_content"], [14, 3, 1, "", "get_probabilities"]], "components.model_client.openai_client.OpenAIClient": [[14, 2, 1, "", "acall"], [14, 2, 1, "", "call"], [14, 2, 1, "", "convert_inputs_to_api_kwargs"], [14, 2, 1, "", "from_dict"], [14, 2, 1, "", "init_async_client"], [14, 2, 1, "", "init_sync_client"], [14, 2, 1, "", "parse_chat_completion"], [14, 2, 1, "", "parse_embedding_response"], [14, 2, 1, "", "to_dict"]], "components.model_client.transformers_client": [[15, 1, 1, "", "TransformerEmbedder"], [15, 1, 1, "", "TransformerLLM"], [15, 1, 1, "", "TransformerReranker"], [15, 1, 1, "", "TransformersClient"], [15, 3, 1, "", "average_pool"]], "components.model_client.transformers_client.TransformerEmbedder": [[15, 2, 1, "", "infer_gte_base_embedding"], [15, 2, 1, "", "init_model"], [15, 4, 1, "", "models"]], "components.model_client.transformers_client.TransformerLLM": [[15, 2, 1, "", "call"], [15, 2, 1, "", "init_model"], [15, 4, 1, "", "models"], [15, 2, 1, "", "parse_chat_completion"]], "components.model_client.transformers_client.TransformerReranker": [[15, 2, 1, "", "infer_bge_reranker_base"], [15, 2, 1, "", "init_model"], [15, 4, 1, "", "models"]], "components.model_client.transformers_client.TransformersClient": [[15, 2, 1, "", "call"], [15, 2, 1, "", "convert_inputs_to_api_kwargs"], [15, 2, 1, "", "init_llm_client"], [15, 2, 1, "", "init_reranker_client"], [15, 2, 1, "", "init_sync_client"], [15, 2, 1, "", "parse_embedding_response"], [15, 4, 1, "", "support_models"]], "components.model_client.utils": [[33, 3, 1, "", "parse_embedding_response"]], "components.output_parsers": [[34, 1, 1, "", "JsonOutputParser"], [34, 1, 1, "", "ListOutputParser"], [34, 1, 1, "", "YamlOutputParser"], [17, 0, 0, "-", "outputs"]], "components.output_parsers.JsonOutputParser": [[34, 2, 1, "", "call"], [34, 2, 1, "", "format_instructions"]], "components.output_parsers.ListOutputParser": [[34, 2, 1, "", "call"], [34, 2, 1, "", "format_instructions"]], "components.output_parsers.YamlOutputParser": [[34, 2, 1, "", "call"], [34, 2, 1, "", "format_instructions"]], "components.output_parsers.outputs": [[17, 1, 1, "", "BooleanOutputParser"], [17, 1, 1, "", "JsonOutputParser"], [17, 1, 1, "", "ListOutputParser"], [17, 1, 1, "", "OutputParser"], [17, 1, 1, "", "YamlOutputParser"]], "components.output_parsers.outputs.BooleanOutputParser": [[17, 2, 1, "", "call"], [17, 2, 1, "", "format_instructions"]], "components.output_parsers.outputs.JsonOutputParser": [[17, 2, 1, "", "call"], [17, 2, 1, "", "format_instructions"]], "components.output_parsers.outputs.ListOutputParser": [[17, 2, 1, "", "call"], [17, 2, 1, "", "format_instructions"]], "components.output_parsers.outputs.OutputParser": [[17, 2, 1, "", "call"], [17, 2, 1, "", "format_instructions"]], "components.output_parsers.outputs.YamlOutputParser": [[17, 2, 1, "", "call"], [17, 2, 1, "", "format_instructions"]], "components.reasoning": [[18, 0, 0, "-", "chain_of_thought"]], "components.retriever": [[36, 1, 1, "", "BM25Retriever"], [36, 1, 1, "", "LLMRetriever"], [36, 1, 1, "", "RerankerRetriever"], [19, 0, 0, "-", "bm25_retriever"], [21, 0, 0, "-", "llm_retriever"], [23, 0, 0, "-", "reranker_retriever"], [36, 3, 1, "", "split_text_by_word_fn"], [36, 3, 1, "", "split_text_by_word_fn_then_lower_tokenized"]], "components.retriever.BM25Retriever": [[36, 2, 1, "", "build_index_from_documents"], [36, 2, 1, "", "call"], [36, 2, 1, "", "load_from_file"], [36, 2, 1, "", "reset_index"], [36, 2, 1, "", "save_to_file"]], "components.retriever.LLMRetriever": [[36, 2, 1, "", "build_index_from_documents"], [36, 2, 1, "", "call"], [36, 2, 1, "", "reset_index"]], "components.retriever.RerankerRetriever": [[36, 2, 1, "", "build_index_from_documents"], [36, 2, 1, "", "call"], [36, 2, 1, "", "reset_index"]], "components.retriever.bm25_retriever": [[19, 1, 1, "", "BM25Retriever"], [19, 3, 1, "", "split_text_by_word_fn"], [19, 3, 1, "", "split_text_by_word_fn_then_lower_tokenized"], [19, 3, 1, "", "split_text_tokenized"]], "components.retriever.bm25_retriever.BM25Retriever": [[19, 2, 1, "", "build_index_from_documents"], [19, 2, 1, "", "call"], [19, 2, 1, "", "load_from_file"], [19, 2, 1, "", "reset_index"], [19, 2, 1, "", "save_to_file"]], "components.retriever.llm_retriever": [[21, 1, 1, "", "LLMRetriever"]], "components.retriever.llm_retriever.LLMRetriever": [[21, 2, 1, "", "build_index_from_documents"], [21, 2, 1, "", "call"], [21, 2, 1, "", "reset_index"]], "components.retriever.reranker_retriever": [[23, 1, 1, "", "RerankerRetriever"]], "components.retriever.reranker_retriever.RerankerRetriever": [[23, 2, 1, "", "build_index_from_documents"], [23, 2, 1, "", "call"], [23, 2, 1, "", "reset_index"]], "core": [[39, 0, 0, "-", "base_data_class"], [40, 0, 0, "-", "component"], [42, 0, 0, "-", "db"], [43, 0, 0, "-", "default_prompt_template"], [45, 0, 0, "-", "embedder"], [46, 0, 0, "-", "func_tool"], [47, 0, 0, "-", "functional"], [48, 0, 0, "-", "generator"], [50, 0, 0, "-", "model_client"], [51, 0, 0, "-", "parameter"], [52, 0, 0, "-", "prompt_builder"], [53, 0, 0, "-", "retriever"], [54, 0, 0, "-", "string_parser"], [55, 0, 0, "-", "tokenizer"], [56, 0, 0, "-", "tool_manager"], [57, 0, 0, "-", "types"]], "core.base_data_class": [[39, 1, 1, "", "DataClass"], [39, 1, 1, "", "DataClassFormatType"], [39, 1, 1, "", "DynamicDataClassFactory"], [39, 3, 1, "", "required_field"]], "core.base_data_class.DataClass": [[39, 2, 1, "", "format_class_str"], [39, 2, 1, "", "format_example_str"], [39, 2, 1, "", "from_dict"], [39, 2, 1, "", "from_json"], [39, 2, 1, "", "from_yaml"], [39, 2, 1, "", "to_dict"], [39, 2, 1, "", "to_dict_class"], [39, 2, 1, "", "to_json"], [39, 2, 1, "", "to_json_obj"], [39, 2, 1, "", "to_json_signature"], [39, 2, 1, "", "to_schema"], [39, 2, 1, "", "to_schema_str"], [39, 2, 1, "", "to_yaml"], [39, 2, 1, "", "to_yaml_obj"], [39, 2, 1, "", "to_yaml_signature"]], "core.base_data_class.DataClassFormatType": [[39, 4, 1, "", "EXAMPLE_JSON"], [39, 4, 1, "", "EXAMPLE_YAML"], [39, 4, 1, "", "SCHEMA"], [39, 4, 1, "", "SIGNATURE_JSON"], [39, 4, 1, "", "SIGNATURE_YAML"]], "core.base_data_class.DynamicDataClassFactory": [[39, 2, 1, "", "create_from_dict"]], "core.component": [[40, 1, 1, "", "Component"], [40, 1, 1, "", "FunComponent"], [40, 1, 1, "", "Sequential"], [40, 3, 1, "", "fun_to_component"]], "core.component.Component": [[40, 2, 1, "", "acall"], [40, 2, 1, "", "add_component"], [40, 2, 1, "", "call"], [40, 2, 1, "", "children"], [40, 2, 1, "", "components"], [40, 2, 1, "", "eval"], [40, 2, 1, "", "from_config"], [40, 2, 1, "", "from_dict"], [40, 2, 1, "", "get_subcomponent"], [40, 2, 1, "", "is_picklable"], [40, 2, 1, "", "load_from_pickle"], [40, 2, 1, "", "load_state_dict"], [40, 2, 1, "", "load_state_pickle"], [40, 2, 1, "", "named_children"], [40, 2, 1, "", "named_components"], [40, 2, 1, "", "named_parameters"], [40, 2, 1, "", "parameters"], [40, 2, 1, "", "pickle_to_file"], [40, 2, 1, "", "register_component"], [40, 2, 1, "", "register_parameter"], [40, 2, 1, "", "state_dict"], [40, 2, 1, "", "to_dict"], [40, 2, 1, "", "train"], [40, 4, 1, "", "training"]], "core.component.FunComponent": [[40, 2, 1, "", "call"]], "core.component.Sequential": [[40, 2, 1, "", "append"], [40, 2, 1, "", "call"]], "core.db": [[42, 1, 1, "", "LocalDB"]], "core.db.LocalDB": [[42, 2, 1, "", "add"], [42, 2, 1, "", "delete"], [42, 2, 1, "", "extend"], [42, 2, 1, "", "fetch_items"], [42, 2, 1, "", "fetch_transformed_items"], [42, 2, 1, "", "get_transformed_data"], [42, 2, 1, "", "get_transformer_keys"], [42, 4, 1, "", "items"], [42, 5, 1, "", "length"], [42, 2, 1, "", "load"], [42, 2, 1, "", "load_state"], [42, 4, 1, "", "mapper_setups"], [42, 4, 1, "", "name"], [42, 2, 1, "", "register_transformer"], [42, 2, 1, "", "reset"], [42, 2, 1, "", "save_state"], [42, 2, 1, "", "transform"], [42, 4, 1, "", "transformed_items"], [42, 4, 1, "", "transformer_setups"]], "core.default_prompt_template": [[43, 6, 1, "", "DEFAULT_LIGHTRAG_SYSTEM_PROMPT"]], "core.embedder": [[45, 1, 1, "", "BatchEmbedder"], [45, 1, 1, "", "Embedder"]], "core.embedder.BatchEmbedder": [[45, 2, 1, "", "call"]], "core.embedder.Embedder": [[45, 2, 1, "", "acall"], [45, 2, 1, "", "call"], [45, 2, 1, "", "from_config"], [45, 4, 1, "", "model_client"], [45, 4, 1, "", "model_type"], [45, 4, 1, "", "output_processors"], [45, 2, 1, "", "update_default_model_kwargs"]], "core.func_tool": [[46, 1, 1, "", "FunctionTool"], [46, 3, 1, "", "is_running_in_event_loop"]], "core.func_tool.FunctionTool": [[46, 2, 1, "", "acall"], [46, 2, 1, "", "call"], [46, 2, 1, "", "execute"]], "core.functional": [[47, 3, 1, "", "compose_model_kwargs"], [47, 3, 1, "", "convert_schema_to_signature"], [47, 3, 1, "", "custom_asdict"], [47, 3, 1, "", "dataclass_obj_from_dict"], [47, 3, 1, "", "evaluate_ast_node"], [47, 3, 1, "", "extract_dataclass_type"], [47, 3, 1, "", "extract_json_str"], [47, 3, 1, "", "extract_list_str"], [47, 3, 1, "", "extract_yaml_str"], [47, 3, 1, "", "fix_json_escaped_single_quotes"], [47, 3, 1, "", "fix_json_missing_commas"], [47, 3, 1, "", "from_dict_to_json"], [47, 3, 1, "", "from_dict_to_yaml"], [47, 3, 1, "", "from_json_to_dict"], [47, 3, 1, "", "from_yaml_to_dict"], [47, 3, 1, "", "generate_function_call_expression_from_callable"], [47, 3, 1, "", "generate_readable_key_for_function"], [47, 3, 1, "", "get_dataclass_schema"], [47, 3, 1, "", "get_fun_schema"], [47, 3, 1, "", "get_top_k_indices_scores"], [47, 3, 1, "", "get_type_schema"], [47, 3, 1, "", "is_dataclass_instance"], [47, 3, 1, "", "is_normalized"], [47, 3, 1, "", "is_potential_dataclass"], [47, 3, 1, "", "normalize_np_array"], [47, 3, 1, "", "normalize_vector"], [47, 3, 1, "", "parse_function_call_expr"], [47, 3, 1, "", "parse_json_str_to_obj"], [47, 3, 1, "", "parse_yaml_str_to_obj"], [47, 3, 1, "", "represent_ordereddict"], [47, 3, 1, "", "sandbox_exec"], [47, 3, 1, "", "validate_data"]], "core.generator": [[48, 1, 1, "", "Generator"]], "core.generator.Generator": [[48, 2, 1, "", "acall"], [48, 2, 1, "", "call"], [48, 2, 1, "", "from_config"], [48, 4, 1, "", "model_client"], [48, 4, 1, "", "model_type"], [48, 2, 1, "", "print_prompt"]], "core.model_client": [[50, 1, 1, "", "ModelClient"]], "core.model_client.ModelClient": [[50, 2, 1, "", "acall"], [50, 2, 1, "", "call"], [50, 2, 1, "", "convert_inputs_to_api_kwargs"], [50, 2, 1, "", "init_async_client"], [50, 2, 1, "", "init_sync_client"], [50, 2, 1, "", "parse_chat_completion"], [50, 2, 1, "", "parse_embedding_response"]], "core.parameter": [[51, 1, 1, "", "Parameter"]], "core.parameter.Parameter": [[51, 2, 1, "", "to_dict"], [51, 2, 1, "", "update_value"]], "core.prompt_builder": [[52, 1, 1, "", "Prompt"], [52, 3, 1, "", "get_jinja2_environment"]], "core.prompt_builder.Prompt": [[52, 2, 1, "", "call"], [52, 2, 1, "", "compose_prompt_kwargs"], [52, 2, 1, "", "from_dict"], [52, 2, 1, "", "get_prompt_variables"], [52, 2, 1, "", "is_key_in_template"], [52, 2, 1, "", "print_prompt"], [52, 2, 1, "", "print_prompt_template"], [52, 2, 1, "", "to_dict"], [52, 2, 1, "", "update_prompt_kwargs"]], "core.retriever": [[53, 1, 1, "", "Retriever"]], "core.retriever.Retriever": [[53, 2, 1, "", "acall"], [53, 2, 1, "", "build_index_from_documents"], [53, 2, 1, "", "call"], [53, 4, 1, "", "index_keys"], [53, 4, 1, "", "indexed"], [53, 2, 1, "", "load_from_file"], [53, 2, 1, "", "reset_index"], [53, 2, 1, "", "save_to_file"]], "core.string_parser": [[54, 1, 1, "", "JsonParser"], [54, 1, 1, "", "ListParser"], [54, 1, 1, "", "YamlParser"]], "core.string_parser.JsonParser": [[54, 2, 1, "", "call"]], "core.string_parser.YamlParser": [[54, 2, 1, "", "call"]], "core.tokenizer": [[55, 1, 1, "", "Tokenizer"]], "core.tokenizer.Tokenizer": [[55, 2, 1, "", "count_tokens"], [55, 2, 1, "", "decode"], [55, 2, 1, "", "encode"], [55, 2, 1, "", "get_string_tokens"], [55, 2, 1, "", "preprocess"]], "core.tool_manager": [[56, 1, 1, "", "ToolManager"]], "core.tool_manager.ToolManager": [[56, 2, 1, "", "execute_func"], [56, 2, 1, "", "execute_func_expr"], [56, 2, 1, "", "execute_func_expr_via_eval"], [56, 2, 1, "", "execute_func_expr_via_sandbox"], [56, 5, 1, "", "function_definitions"], [56, 5, 1, "", "json_definitions"], [56, 2, 1, "", "parse_func_expr"], [56, 5, 1, "", "yaml_definitions"]], "core.types": [[57, 1, 1, "", "AssistantResponse"], [57, 1, 1, "", "Conversation"], [57, 1, 1, "", "DialogTurn"], [57, 1, 1, "", "Document"], [57, 1, 1, "", "EmbedderOutput"], [57, 4, 1, "", "EmbedderOutputType"], [57, 1, 1, "", "Embedding"], [57, 1, 1, "", "Function"], [57, 1, 1, "", "FunctionDefinition"], [57, 1, 1, "", "FunctionExpression"], [57, 1, 1, "", "FunctionOutput"], [57, 1, 1, "", "GeneratorOutput"], [57, 1, 1, "", "ModelClientType"], [57, 1, 1, "", "ModelType"], [57, 1, 1, "", "RetrieverOutput"], [57, 1, 1, "", "StepOutput"], [57, 1, 1, "", "TokenLogProb"], [57, 1, 1, "", "Usage"], [57, 1, 1, "", "UserQuery"], [57, 3, 1, "", "get_model_args"]], "core.types.AssistantResponse": [[57, 4, 1, "", "metadata"], [57, 4, 1, "", "response_str"]], "core.types.Conversation": [[57, 2, 1, "", "append_dialog_turn"], [57, 4, 1, "", "created_at"], [57, 2, 1, "", "delete_dialog_turn"], [57, 4, 1, "", "dialog_turns"], [57, 4, 1, "", "dialog_turns_input"], [57, 2, 1, "", "get_chat_history_str"], [57, 2, 1, "", "get_dialog_turns"], [57, 2, 1, "", "get_next_order"], [57, 4, 1, "", "id"], [57, 4, 1, "", "metadata"], [57, 4, 1, "", "name"], [57, 2, 1, "", "update_dialog_turn"], [57, 4, 1, "", "user_id"]], "core.types.DialogTurn": [[57, 4, 1, "", "assistant_response"], [57, 4, 1, "", "assistant_response_timestamp"], [57, 4, 1, "", "conversation_id"], [57, 4, 1, "", "id"], [57, 4, 1, "", "metadata"], [57, 4, 1, "", "order"], [57, 2, 1, "", "set_assistant_response"], [57, 2, 1, "", "set_user_query"], [57, 4, 1, "", "user_id"], [57, 4, 1, "", "user_query"], [57, 4, 1, "", "user_query_timestamp"], [57, 4, 1, "", "vector"]], "core.types.Document": [[57, 4, 1, "", "estimated_num_tokens"], [57, 2, 1, "", "from_dict"], [57, 4, 1, "", "id"], [57, 4, 1, "", "meta_data"], [57, 4, 1, "", "order"], [57, 4, 1, "", "parent_doc_id"], [57, 4, 1, "", "score"], [57, 4, 1, "", "text"], [57, 4, 1, "", "vector"]], "core.types.EmbedderOutput": [[57, 4, 1, "", "data"], [57, 5, 1, "", "embedding_dim"], [57, 4, 1, "", "error"], [57, 4, 1, "", "input"], [57, 5, 1, "", "is_normalized"], [57, 5, 1, "", "length"], [57, 4, 1, "", "model"], [57, 4, 1, "", "raw_response"], [57, 4, 1, "", "usage"]], "core.types.Embedding": [[57, 4, 1, "", "embedding"], [57, 4, 1, "", "index"]], "core.types.Function": [[57, 4, 1, "", "args"], [57, 4, 1, "", "kwargs"], [57, 4, 1, "", "name"], [57, 4, 1, "", "thought"]], "core.types.FunctionDefinition": [[57, 2, 1, "", "fn_schema_str"], [57, 4, 1, "", "func_desc"], [57, 4, 1, "", "func_name"], [57, 4, 1, "", "func_parameters"]], "core.types.FunctionExpression": [[57, 4, 1, "", "action"], [57, 2, 1, "", "from_function"], [57, 4, 1, "", "thought"]], "core.types.FunctionOutput": [[57, 4, 1, "", "error"], [57, 4, 1, "", "input"], [57, 4, 1, "", "name"], [57, 4, 1, "", "output"], [57, 4, 1, "", "parsed_input"]], "core.types.GeneratorOutput": [[57, 4, 1, "", "data"], [57, 4, 1, "", "error"], [57, 4, 1, "", "metadata"], [57, 4, 1, "", "raw_response"], [57, 4, 1, "", "usage"]], "core.types.ModelClientType": [[57, 4, 1, "", "ANTHROPIC"], [57, 4, 1, "", "COHERE"], [57, 4, 1, "", "GROQ"], [57, 4, 1, "", "OPENAI"], [57, 4, 1, "", "TRANSFORMERS"]], "core.types.ModelType": [[57, 4, 1, "", "EMBEDDER"], [57, 4, 1, "", "LLM"], [57, 4, 1, "", "RERANKER"], [57, 4, 1, "", "UNDEFINED"]], "core.types.RetrieverOutput": [[57, 4, 1, "", "doc_indices"], [57, 4, 1, "", "doc_scores"], [57, 4, 1, "", "documents"], [57, 4, 1, "", "query"]], "core.types.StepOutput": [[57, 4, 1, "", "action"], [57, 4, 1, "", "fun_args"], [57, 4, 1, "", "fun_kwargs"], [57, 4, 1, "", "fun_name"], [57, 4, 1, "", "observation"], [57, 4, 1, "", "step"], [57, 4, 1, "", "thought"]], "core.types.TokenLogProb": [[57, 4, 1, "", "logprob"], [57, 4, 1, "", "token"]], "core.types.Usage": [[57, 4, 1, "", "prompt_tokens"], [57, 4, 1, "", "total_tokens"]], "core.types.UserQuery": [[57, 4, 1, "", "metadata"], [57, 4, 1, "", "query_str"]], "eval": [[59, 0, 0, "-", "answer_match_acc"], [61, 0, 0, "-", "llm_as_judge"], [62, 0, 0, "-", "retriever_recall"], [63, 0, 0, "-", "retriever_relevance"]], "eval.answer_match_acc": [[59, 1, 1, "", "AnswerMatchAcc"]], "eval.answer_match_acc.AnswerMatchAcc": [[59, 2, 1, "", "compute"]], "eval.llm_as_judge": [[61, 1, 1, "", "DefaultLLMJudge"], [61, 1, 1, "", "LLMasJudge"]], "eval.llm_as_judge.DefaultLLMJudge": [[61, 2, 1, "", "call"]], "eval.llm_as_judge.LLMasJudge": [[61, 2, 1, "", "compute"]], "eval.retriever_recall": [[62, 1, 1, "", "RetrieverRecall"]], "eval.retriever_recall.RetrieverRecall": [[62, 2, 1, "", "compute"]], "eval.retriever_relevance": [[63, 1, 1, "", "RetrieverRelevance"]], "eval.retriever_relevance.RetrieverRelevance": [[63, 2, 1, "", "compute"]], "optim": [[67, 0, 0, "-", "few_shot_optimizer"], [68, 0, 0, "-", "llm_augment"], [69, 0, 0, "-", "llm_optimizer"], [70, 0, 0, "-", "optimizer"], [71, 0, 0, "-", "sampler"]], "optim.few_shot_optimizer": [[67, 1, 1, "", "BootstrapFewShot"]], "optim.few_shot_optimizer.BootstrapFewShot": [[67, 2, 1, "", "augment_samples"], [67, 2, 1, "", "init"], [67, 2, 1, "", "propose"], [67, 2, 1, "", "random_replace"], [67, 2, 1, "", "reset"], [67, 2, 1, "", "reset_parameter"], [67, 2, 1, "", "update_parameter"]], "optim.llm_augment": [[68, 1, 1, "", "LLMAugmenter"]], "optim.llm_augment.LLMAugmenter": [[68, 2, 1, "", "call"]], "optim.llm_optimizer": [[69, 1, 1, "", "Instruction"], [69, 1, 1, "", "LLMOptimizer"]], "optim.llm_optimizer.Instruction": [[69, 4, 1, "", "gts"], [69, 4, 1, "", "responses"], [69, 4, 1, "", "score"], [69, 4, 1, "", "text"]], "optim.llm_optimizer.LLMOptimizer": [[69, 2, 1, "", "propose"], [69, 2, 1, "", "reset"], [69, 2, 1, "", "reset_parameter"], [69, 2, 1, "", "update_parameter"]], "optim.optimizer": [[70, 1, 1, "", "Optimizer"]], "optim.optimizer.Optimizer": [[70, 2, 1, "", "state_dict"], [70, 2, 1, "", "step"]], "optim.sampler": [[71, 1, 1, "", "ClassSampler"], [71, 1, 1, "", "RandomSampler"], [71, 1, 1, "", "Sample"], [71, 1, 1, "", "Sampler"]], "optim.sampler.ClassSampler": [[71, 2, 1, "", "call"], [71, 2, 1, "", "random_replace"], [71, 2, 1, "", "random_sample"]], "optim.sampler.RandomSampler": [[71, 2, 1, "", "call"], [71, 4, 1, "", "dataset"], [71, 2, 1, "", "random_replace"], [71, 2, 1, "", "random_sample"]], "optim.sampler.Sample": [[71, 4, 1, "", "data"], [71, 4, 1, "", "index"], [71, 2, 1, "", "to_dict"]], "optim.sampler.Sampler": [[71, 2, 1, "", "call"], [71, 2, 1, "", "random_replace"]], "tracing": [[73, 0, 0, "-", "decorators"], [74, 0, 0, "-", "generator_call_logger"], [75, 0, 0, "-", "generator_state_logger"]], "tracing.decorators": [[73, 3, 1, "", "trace_generator_call"], [73, 3, 1, "", "trace_generator_states"]], "tracing.generator_call_logger": [[74, 1, 1, "", "GeneratorCallLogger"], [74, 1, 1, "", "GeneratorCallRecord"]], "tracing.generator_call_logger.GeneratorCallLogger": [[74, 5, 1, "", "generator_names_to_files"], [74, 2, 1, "", "get_calls"], [74, 2, 1, "", "get_log_location"], [74, 2, 1, "", "load"], [74, 2, 1, "", "load_meta_data"], [74, 2, 1, "", "log_call"], [74, 2, 1, "", "register_generator"], [74, 2, 1, "", "save_meta_data"]], "tracing.generator_call_logger.GeneratorCallRecord": [[74, 4, 1, "", "model_kwargs"], [74, 4, 1, "", "output"], [74, 4, 1, "", "prompt_kwargs"], [74, 4, 1, "", "time_stamp"]], "tracing.generator_state_logger": [[75, 1, 1, "", "GeneratorStateLogger"], [75, 1, 1, "", "GeneratorStatesRecord"]], "tracing.generator_state_logger.GeneratorStateLogger": [[75, 5, 1, "", "generator_names"], [75, 2, 1, "", "get_log_location"], [75, 2, 1, "", "load"], [75, 2, 1, "", "log_prompt"], [75, 2, 1, "", "save"]], "tracing.generator_state_logger.GeneratorStatesRecord": [[75, 4, 1, "", "prompt_states"], [75, 4, 1, "", "time_stamp"]], "utils": [[77, 0, 0, "-", "config"], [78, 0, 0, "-", "file_io"], [79, 0, 0, "-", "lazy_import"], [80, 0, 0, "-", "logger"], [81, 0, 0, "-", "registry"], [82, 0, 0, "-", "serialization"], [83, 0, 0, "-", "setup_env"]], "utils.config": [[77, 3, 1, "", "new_component"], [77, 3, 1, "", "new_components_from_config"]], "utils.file_io": [[78, 3, 1, "", "append_to_jsonl"], [78, 3, 1, "", "load"], [78, 3, 1, "", "load_json"], [78, 3, 1, "", "load_jsonl"], [78, 3, 1, "", "load_pickle"], [78, 3, 1, "", "save"], [78, 3, 1, "", "save_json"], [78, 3, 1, "", "save_pickle"], [78, 3, 1, "", "write_list_to_jsonl"]], "utils.lazy_import": [[79, 1, 1, "", "LazyImport"], [79, 1, 1, "", "OptionalPackages"], [79, 3, 1, "", "safe_import"]], "utils.lazy_import.OptionalPackages": [[79, 4, 1, "", "ANTHROPIC"], [79, 4, 1, "", "COHERE"], [79, 4, 1, "", "FAISS"], [79, 4, 1, "", "GOOGLE_GENERATIVEAI"], [79, 4, 1, "", "GROQ"], [79, 4, 1, "", "OPENAI"], [79, 4, 1, "", "PGVECTOR"], [79, 4, 1, "", "SQLALCHEMY"], [79, 4, 1, "", "TORCH"], [79, 4, 1, "", "TRANSFORMERS"]], "utils.logger": [[80, 3, 1, "", "enable_library_logging"], [80, 3, 1, "", "get_current_script_and_line"], [80, 3, 1, "", "get_logger"], [80, 3, 1, "", "printc"]], "utils.registry": [[81, 1, 1, "", "EntityMapping"]], "utils.registry.EntityMapping": [[81, 2, 1, "", "get"], [81, 2, 1, "", "get_all"], [81, 2, 1, "", "register"]], "utils.serialization": [[82, 1, 1, "", "ObjectTypes"], [82, 3, 1, "", "check_object"], [82, 3, 1, "", "default"], [82, 3, 1, "", "deserialize"], [82, 3, 1, "", "serialize"], [82, 3, 1, "", "to_dict"]], "utils.serialization.ObjectTypes": [[82, 4, 1, "", "CLASS"], [82, 4, 1, "", "INSTANCE"], [82, 4, 1, "", "TYPE"]], "utils.setup_env": [[83, 3, 1, "", "setup_env"]]}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "function", "Python function"], "4": ["py", "attribute", "Python attribute"], "5": ["py", "property", "Python property"], "6": ["py", "data", "Python data"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:function", "4": "py:attribute", "5": "py:property", "6": "py:data"}, "terms": {"": [8, 10, 13, 14, 15, 18, 19, 24, 26, 29, 36, 40, 46, 50, 51, 52, 53, 71, 80, 84, 88, 89, 90, 92, 93, 94, 95, 96, 98, 99, 101, 106, 109, 110, 111, 112, 115, 116, 121, 123], "0": [8, 11, 19, 26, 29, 36, 39, 40, 42, 47, 48, 57, 59, 61, 62, 63, 69, 84, 88, 90, 92, 94, 95, 102, 108, 109, 110, 111, 112, 115, 118], "00": [92, 93], "0001": 47, "00016600126": 94, "00018637415": 94, "0003912348": 94, "00045548353": 94, "00063306844": 94, "00093111617": 94, "0009763892": 94, "001149847": 94, "001270235": 94, "001274437": 94, "0013953627": 94, "0015121206": 94, "0016585035": 94, "0017067948": 94, "0017369769": 94, "0018af12": 92, "002240922": 94, "0023736332": 94, "0024688914": 94, "0025802834": 94, "0027390209": 94, "002749016": 94, "0027831418": 94, "0032514224": 94, "0032596611": 94, "0035554452": 94, "0035945757": 94, "004110795": 94, "0042391727": 94, "00427709": 94, "004391488": 94, "0045538875": 94, "0048683644": 94, "005190901": 94, "005429781": 94, "0055172783": 94, "0059066266": 94, "0060756463": 94, "0065862634": 94, "006953944": 94, "007086745": 94, "0072255824": 94, "0073946016": 94, "007424784": 94, "0076722763": 94, "008243256": 94, "008804435": 94, "00888027": 94, "00918361": 94, "0092658885": 94, "009380581": 94, "009410762": 94, "009845384": 94, "0098876385": 94, "0099192085": 94, "00z": 92, "010159277": 94, "010340369": 94, "01047317": 94, "010648226": 94, "010723059": 94, "011026398": 94, "01102852": 94, "011178068": 94, "011329738": 94, "011336377": 94, "011663412": 94, "0118985": 94, "012314276": 94, "012414178": 94, "012519513": 94, "012596182": 94, "012740267": 94, "01283127": 94, "012846436": 94, "013225611": 94, "013376684": 94, "013642286": 94, "013799232": 94, "014256966": 94, "014401053": 94, "0144541375": 94, "014545139": 94, "014752985": 94, "014813349": 94, "01541699": 94, "015417241": 94, "015500659": 94, "015549791": 94, "015742956": 94, "015791247": 94, "015851611": 94, "01600117": 94, "016137673": 94, "016201723": 94, "016310379": 94, "016319677": 94, "016503545": 94, "016853655": 94, "017123526": 94, "017179621": 94, "017199362": 94, "01721584": 94, "017252058": 94, "017384859": 94, "0175027": 94, "017819481": 94, "017942544": 94, "018185215": 94, "01821555": 94, "018579558": 94, "019038836": 94, "019186236": 94, "019337907": 94, "01965455": 94, "01t12": 92, "01z": 92, "020113317": 94, "020202424": 94, "020318555": 94, "02047543": 94, "020702936": 94, "02072903": 94, "020733269": 94, "020777322": 94, "02094634": 94, "02170693": 94, "021855626": 94, "022022463": 94, "022083132": 94, "022370934": 94, "022491662": 94, "022583641": 94, "022795979": 94, "022917315": 94, "023175154": 94, "02349366": 94, "02435818": 94, "024447458": 94, "024479514": 94, "02448e3fd394": 92, "02449575": 94, "024570517": 94, "024691852": 94, "024773424": 94, "02479802": 94, "024821715": 94, "0249183": 94, "024919357": 94, "024995193": 94, "025014881": 94, "025159756": 94, "025237864": 94, "025283365": 94, "025304629": 94, "025344033": 94, "0253592": 94, "025449503": 94, "025763396": 94, "025811687": 94, "025829377": 94, "026026547": 94, "02642089": 94, "02646639": 94, "026527058": 94, "026560202": 94, "026845565": 94, "02686073": 94, "027526028": 94, "027646756": 94, "027719192": 94, "02781625": 94, "02787692": 94, "027888212": 94, "028250396": 94, "028274542": 94, "028392596": 94, "028419416": 94, "028588437": 94, "028709164": 94, "028711103": 94, "028999276": 94, "029023057": 94, "029095493": 94, "029393617": 94, "029454285": 94, "029578406": 94, "02959079": 94, "029819863": 94, "02t15": 101, "02z": 92, "030351067": 94, "030515974": 94, "030561475": 94, "030737398": 94, "031122655": 94, "031425994": 94, "03148666": 94, "031992972": 94, "032282718": 94, "03250003": 94, "03254835": 94, "03288636": 94, "032958794": 94, "033031233": 94, "033200253": 94, "033320982": 94, "03374": 95, "03409": 69, "03414193": 94, "034190223": 94, "034338057": 94, "03438339": 94, "034398723": 94, "034489725": 94, "034673136": 94, "034793064": 94, "035096403": 94, "03520434": 94, "035276778": 94, "03530092": 94, "035399742": 94, "0354458": 94, "035460413": 94, "03567275": 94, "03575969": 94, "035794087": 94, "035945754": 94, "036188427": 94, "036249094": 94, "03629": [0, 87], "03648406": 94, "036582768": 94, "03718945": 94, "037280865": 94, "037715487": 94, "03773546": 94, "037787925": 94, "03828147": 94, "038294982": 94, "03841571": 94, "038463477": 94, "038898624": 94, "039161157": 94, "03934316": 94, "03940383": 94, "03940568": 94, "039555497": 94, "039792012": 94, "039828505": 94, "039919507": 94, "03t16": 101, "03z": 92, "04": 93, "040178344": 94, "040274926": 94, "04090271": 94, "041820247": 94, "041868538": 94, "042224888": 94, "042285554": 94, "042497892": 94, "042649563": 94, "042810217": 94, "0428619": 94, "042922568": 94, "042952903": 94, "043104574": 94, "04352925": 94, "04363117": 94, "043776043": 94, "043802254": 94, "043893255": 94, "044017497": 94, "0442831": 94, "044408932": 94, "0445487": 94, "044596992": 94, "04500747": 94, "045128196": 94, "045200635": 94, "045318954": 94, "04537962": 94, "045409955": 94, "045500956": 94, "045755986": 94, "046214752": 94, "046380643": 94, "046842538": 94, "047301304": 94, "04732545": 94, "04735133": 94, "04744618": 94, "048018675": 94, "048170548": 94, "048242986": 94, "04844335": 94, "048534352": 94, "04865569": 94, "04874669": 94, "04882248": 94, "0491107": 94, "049112227": 94, "049257103": 94, "049474705": 94, "04964343": 94, "04988489": 94, "04it": 92, "05011172": 94, "050126344": 94, "050688066": 94, "050995983": 102, "05133363": 94, "051385745": 94, "051749755": 94, "05202276": 94, "052057996": 94, "052106287": 94, "05220287": 94, "052417103": 94, "053175453": 94, "05331357": 94, "05338779": 94, "05369113": 94, "05408623": 94, "054115806": 94, "054617435": 94, "054762308": 94, "055341803": 94, "055390093": 94, "055631552": 94, "055824716": 94, "05584484": 94, "05606617": 94, "056500793": 94, "056549083": 94, "057031997": 94, "057118867": 94, "057209868": 94, "05794953": 94, "057968218": 94, "05877048": 94, "059393916": 94, "059543144": 94, "059977766": 94, "06": 101, "060026057": 94, "06033427": 94, "060455605": 94, "060750425": 94, "060758945": 94, "060940947": 94, "06109262": 94, "06205429": 94, "062150873": 94, "062199164": 94, "062427312": 94, "06244062": 94, "0625372": 94, "062609315": 94, "06335816": 94, "063458666": 94, "06351934": 94, "06358001": 94, "06424735": 94, "06430802": 94, "06437227": 94, "06527871": 94, "065521374": 94, "065724425": 94, "06596588": 94, "06615905": 94, "066492066": 94, "06691674": 94, "067159414": 94, "06782676": 94, "06799412": 94, "06842874": 94, "06881507": 94, "069404125": 94, "06978089": 94, "06995014": 94, "06ea7cea": 92, "070553556": 94, "07061748": 94, "0708433": 94, "0708916": 94, "07113305": 94, "07158817": 94, "07185742": 94, "07249819": 94, "07261953": 94, "07296812": 94, "07298353": 94, "074030526": 94, "07407882": 94, "07456173": 94, "07486424": 94, "07510691": 94, "07595626": 94, "07597": 15, "076138265": 94, "07654167": 94, "07736263": 94, "077507496": 94, "07753363": 94, "077776305": 94, "07794212": 94, "0780387": 94, "078569904": 94, "078763075": 94, "07881136": 94, "079110995": 94, "07989968": 94, "08088789": 94, "08103276": 94, "08112934": 94, "081225924": 94, "08199859": 94, "08256907": 94, "08275107": 94, "08277125": 94, "082872406": 94, "083054416": 94, "08317575": 94, "083539754": 94, "083600424": 94, "083737075": 94, "08397853": 94, "0841717": 94, "08426777": 94, "08432844": 94, "084389105": 94, "08494435": 94, "08523846": 94, "085717015": 94, "085905805": 94, "08651248": 94, "08658626": 94, "08663": 109, "08669449": 94, "08774": 95, "08851453": 94, "08861449": 94, "08880766": 94, "088952534": 94, "08962861": 94, "09": 92, "090455905": 94, "09081991": 94, "09100191": 94, "091183916": 94, "091244586": 94, "09148726": 94, "09172993": 94, "09199488": 94, "09209394": 94, "09213976": 94, "092639945": 94, "0935402": 94, "09354997": 94, "09382995": 94, "09433865": 94, "0946509": 94, "09503723": 94, "09614793": 94, "09634069": 94, "09793471": 94, "09925275": 94, "099495426": 94, "0d16": [8, 26, 29, 111], "0d95cc65e6ef": 94, "0th": 110, "0x104970220": 112, "0x104970400": 112, "0x105e3b920": 112, "0x105e3bc40": 112, "0x1062a2840": 112, "0x106d691c0": 112, "0x10fb26f20": 92, "0x11742eca0": 112, "0x117b98360": 112, "0x14d9d3f60": 112, "0x14d9e4040": 112, "0x14d9e40e0": 112, "0x14d9e4180": 112, "0x14d9e4220": 112, "0x14d9e4360": 112, "1": [0, 8, 14, 15, 17, 18, 19, 21, 24, 26, 29, 36, 39, 40, 42, 45, 46, 52, 54, 57, 59, 61, 62, 63, 69, 77, 79, 82, 84, 88, 90, 92, 93, 95, 99, 101, 102, 106, 108, 109, 111, 114, 118, 121, 123], "10": [0, 71, 80, 92, 98, 109, 112, 114, 118, 123], "100": [17, 45, 57, 77, 92, 93, 94, 95, 102, 110, 118], "1000": [8, 26, 29, 93, 116], "100156106": 94, "10046611": 94, "10054244": 94, "10064811": 94, "10204348": 94, "10205": 92, "10210415": 94, "1024": 99, "102407485": 94, "102468155": 94, "10289283": 94, "1029535": 94, "103074834": 94, "104888655": 94, "10519821": 94, "10580489": 94, "106168896": 94, "106957585": 94, "10762493": 94, "10875195": 94, "10950564": 94, "11": [18, 93, 109], "111386344": 94, "11155285": 94, "11164943": 94, "11174601": 94, "1124177": 94, "11396741": 94, "11423773": 94, "11496575": 94, "11532976": 94, "1156331": 94, "115995646": 94, "11618881": 94, "11686489": 94, "11802388": 94, "11903": 18, "12": [95, 115], "121821225": 94, "12218524": 94, "122670576": 94, "122853": 94, "123": [51, 57], "127": 84, "128": 118, "12936": 110, "12it": 92, "13": 110, "13125569": 94, "13164201": 94, "13225": 110, "1328": 110, "13395482": 94, "13516818": 94, "13577485": 94, "13985154": 94, "13ac": 110, "14": 102, "14545332": 94, "14796448": 94, "15": [84, 94, 95, 110], "150": 15, "151683837681807": 109, "15d838c4": 110, "16": 11, "163da9868ea4": [8, 26, 29, 111], "16574481": 94, "17": 110, "17654371": 94, "17761531": 94, "17933443": 94, "17e7": 110, "18041": 95, "18089913": 94, "18447268": 94, "19306852": 94, "196ec25d39c4": 94, "19736": 95, "1976": [62, 63, 95], "1997": 87, "1998": [62, 63, 95], "1dfe96ccb65f": 110, "2": [0, 8, 14, 15, 17, 18, 19, 24, 26, 29, 34, 36, 39, 40, 42, 46, 48, 52, 54, 57, 59, 61, 62, 77, 82, 84, 88, 90, 92, 93, 94, 95, 99, 102, 106, 108, 109, 111, 114, 121, 123], "20": 90, "200": [8, 26, 29, 77, 110], "2014": [19, 36], "2020": [95, 99], "2021": [92, 95], "2023": [0, 18, 95], "2024": [11, 13, 95, 101], "20240229": 99, "20417552": 94, "21": [101, 110], "2104": 109, "2107": 95, "21549304": 102, "2167": 92, "21f0385d": 92, "22": [13, 112], "2201": 18, "2210": [0, 87], "223220": 101, "2303": 95, "2309": [15, 69], "2310": 95, "2329ffa8d4b6": 92, "2375": 110, "2402": 95, "24047995": 102, "24366009": 102, "24it": 92, "25": [19, 36, 39, 109, 110, 118, 123], "256": [45, 77, 92, 93, 94, 109, 110], "26": 115, "27": 108, "27cc": 92, "28": [62, 63, 95], "29": [62, 63, 95], "2971": 110, "2a78": 92, "2e25ae5336c8": [8, 26, 29, 111], "2e6f4452827b": 92, "2e8e63041698": 92, "2ed0196b0c81": 110, "2f": 112, "2it": 92, "3": [18, 19, 36, 40, 42, 45, 47, 48, 54, 57, 59, 61, 62, 77, 82, 84, 88, 90, 92, 93, 94, 95, 96, 99, 102, 106, 108, 109, 111, 114, 118, 121, 123], "30": [39, 115], "32": 118, "32768": 13, "3333333333333333": 95, "33437008": 102, "353b738c1b71": 92, "37": 101, "37041178": 102, "37e1d8ff0526": 92, "37it": 92, "38": 95, "382": 110, "3927": [8, 26, 29, 111], "3rd": [39, 109], "4": [13, 47, 57, 84, 95, 108, 109, 112, 115, 121, 123], "40": 98, "400": 77, "401": 96, "405a": 92, "4077": 92, "40f0": [8, 26, 29, 111], "4206": 92, "4248": [8, 26, 29, 111], "435b": 92, "439037e58842": 110, "43a4": 92, "43f5": 92, "44": 101, "442f": 92, "4499fa22525d": 110, "44a8aa37": [8, 26, 29, 111], "45": [95, 101], "4509756": 102, "456": 51, "4568096570283078": 109, "45efa517": 92, "4667": 92, "46it": 92, "4780": [92, 110], "483b": 92, "4870": 92, "48ce": 92, "49": 110, "4917": 94, "493d": 92, "4972": 110, "49b5": [8, 26, 29, 111], "49ff": 92, "4bd0": 92, "4c00": 110, "4c39": 110, "4c92": 110, "4cc5": 110, "4ce3": 94, "4dde": 110, "4df0": 110, "4dfa": 110, "4e24": 92, "4e69": 110, "4eb4": 92, "4f5f": 92, "4f88": [8, 26, 29, 111], "4o": 109, "5": [8, 18, 19, 23, 26, 29, 36, 40, 46, 47, 48, 88, 90, 92, 95, 96, 99, 102, 108, 109, 110, 111, 112, 115, 118, 121, 123], "50": [6, 26, 27, 92, 110, 112], "512": 102, "5166601493236314": 109, "518a": 92, "5316efd58d58": 92, "5343238380789569": 109, "55": 101, "557cc52b": 110, "56": 101, "569a": 92, "582859": 101, "59it": 93, "5ba2": 94, "6": [11, 18, 71, 92, 95, 102, 109, 110, 112, 121], "6060606060606061": [63, 95], "609": 92, "6175549": 102, "6229580777634034": [19, 36], "6294762236217233": 109, "63072": 92, "64": 118, "64987b2b": 92, "6666666666666666": [95, 112], "68ae": 110, "6bd772b9": 110, "7": [108, 109, 121], "70b": [13, 108], "72": 112, "724": 110, "7335e34ee0c6": 92, "73c12be3": 92, "741": 110, "75": [19, 36, 109], "756148": 101, "765794": 101, "768": 93, "7749403119087219": 95, "7749999761581421": 109, "7790170272403408": 109, "7844": 92, "7853187918663025": 95, "78917586": 94, "7959791421890259": 95, "79it": 92, "7a17ed45": 92, "7a4f86892556": 92, "7b": [13, 15], "7de4b00a": 110, "8": [19, 36, 102, 109, 110, 115], "80": 84, "800": [8, 26, 29], "8000": 84, "803030303030303": [63, 95], "8031794089550072": 109, "8109999895095825": 109, "8119999766349792": 109, "8169999718666077": 109, "8192": [13, 40, 96, 108, 118], "840021aa1953": 92, "844a": 110, "8678": 92, "8762": 110, "87e0": 92, "882e": 110, "88b4": 110, "8b": [13, 40, 96, 118], "8b0d": 92, "8bc3": 92, "8c3e": 92, "8e52": 92, "8f78": 110, "8x7b": 13, "9": [108, 109, 110], "90": 98, "910e984cdb65": 92, "9122": 92, "9216": 118, "922c0f8a4efb": 110, "93922b619293": 92, "9419728517532349": 95, "9435ed755e20": 92, "9498793313012154": 109, "9670": 92, "9696708": 109, "9701269": 109, "97db": [8, 26, 29, 111], "98742366": 109, "991f": 110, "9950029253959656": 109, "99520767": 109, "9994476437568665": 109, "9994490742683411": 109, "9996004700660706": 109, "9a424d4c": 92, "9bae": 110, "9c14": 94, "9ca4": [8, 26, 29, 111], "9cd745effb43": 110, "A": [8, 10, 11, 13, 14, 17, 18, 23, 26, 29, 36, 39, 40, 45, 47, 51, 57, 61, 81, 87, 92, 94, 95, 96, 102, 108, 109, 110, 112, 115], "And": [24, 47, 48, 90, 99, 106, 110, 112, 116], "As": [40, 42, 88, 90, 92, 94, 106, 109, 112, 118, 123], "At": [24, 108], "But": [99, 101, 109, 110, 112], "By": [48, 90, 93, 111, 112], "For": [0, 8, 11, 17, 18, 24, 26, 29, 34, 39, 50, 61, 84, 88, 92, 93, 95, 96, 97, 102, 108, 109, 110, 111, 112, 116, 121, 123], "If": [8, 15, 17, 21, 26, 29, 34, 36, 39, 40, 45, 47, 56, 57, 71, 73, 74, 80, 84, 88, 92, 93, 95, 96, 98, 99, 106, 109, 110, 111, 112, 116, 123], "In": [42, 47, 52, 57, 87, 88, 90, 92, 94, 98, 101, 102, 106, 108, 110, 111, 112, 121, 123], "It": [6, 8, 9, 14, 15, 19, 24, 26, 27, 29, 31, 36, 40, 42, 48, 50, 57, 59, 67, 71, 73, 80, 90, 92, 93, 94, 95, 96, 97, 98, 101, 102, 106, 108, 109, 110, 111, 112, 118, 121, 123], "Its": [92, 109], "No": [46, 61, 109, 110, 116], "Not": [9, 31], "On": [88, 118], "One": 75, "Or": [109, 112, 115], "Such": [40, 54], "The": [6, 8, 15, 17, 18, 19, 23, 24, 26, 27, 29, 34, 36, 38, 39, 40, 42, 45, 47, 48, 50, 52, 53, 55, 57, 58, 61, 62, 63, 65, 69, 71, 73, 74, 75, 77, 78, 79, 80, 82, 84, 87, 88, 90, 92, 93, 95, 96, 97, 98, 99, 101, 102, 106, 108, 109, 110, 111, 112, 116, 117, 118, 121, 123], "Then": [8, 26, 29, 84, 92, 94, 102, 108, 110, 111, 112], "There": [0, 15, 21, 36, 98, 99, 109], "These": [8, 29, 58, 65, 84, 90, 94, 97, 106, 109, 110, 111, 112, 121], "To": [19, 36, 53, 54, 84, 88, 90, 93, 95, 96, 97, 101, 106, 108, 109, 110, 112, 115, 116, 121, 123], "Will": 117, "With": [47, 53, 92, 94, 102, 108, 110, 118], "_": [19, 36, 109], "__call__": [55, 90, 96, 97, 102], "__dict__": [39, 42, 92], "__doc__": 109, "__init__": [19, 36, 40, 73, 90, 93, 101, 102, 109, 112, 115, 118], "__main__": 112, "__name__": [82, 102], "__repr__": 90, "_acal": [10, 13, 14, 15, 50], "_api_kei": 102, "_call": [10, 13, 14, 15, 50, 74, 102], "_coarse_labels_desc": 88, "_combine_input_and_model_kwarg": 102, "_compon": 101, "_compute_single_item": 61, "_extra_repr": [90, 93], "_field_typ": 69, "_generator_names_to_fil": 74, "_generator_trac": 73, "_init_async_cli": 102, "_init_sync_cli": 102, "_is_async": 112, "_missing_typ": 69, "_paramet": 101, "_template_str": 101, "_trace_map": 75, "a2acf8ba4c27": 92, "a2b7": 110, "a595": 110, "a958": 92, "aa81": 92, "aaa8": 92, "ab": [0, 15, 18, 69, 87, 96, 109], "ab64": 92, "aba9": 92, "abbrevi": 88, "abc": 92, "abda": 110, "abil": [87, 92, 95], "abl": [88, 96, 109], "about": [58, 65, 84, 99], "abov": [24, 90, 96, 98, 99, 101, 102, 106, 109, 112, 115], "absolut": 110, "abstract": [17, 50, 71, 88, 89, 97, 98, 102, 118], "abstract_algebra": 95, "ac": [19, 36], "ac78": 94, "academ": 95, "acal": [10, 11, 13, 14, 40, 45, 46, 48, 50, 53, 90, 96, 97, 102, 109, 112, 118], "acc_list": 59, "access": [21, 24, 36, 40, 42, 56, 73, 87, 95, 108, 109, 112, 115], "accomplish": 97, "accord": [8, 19, 26, 29, 36, 121], "account": 96, "accumul": 110, "accur": 109, "accuraci": [24, 59, 95, 98, 121], "acetaminophen": 90, "achiam": 95, "achiev": [18, 46, 88, 96, 98, 112], "acm": 95, "across": [47, 88, 95, 112, 123], "act": [87, 94, 108], "action": [24, 57, 108], "activ": [57, 116], "actual": [21, 36, 47, 96, 101, 109, 111], "ad": [14, 19, 36, 40, 42, 47, 51, 57, 90, 92, 96, 101, 109, 110, 112, 116], "adapt": [19, 36, 61, 93, 95, 96, 112, 116, 118], "adc9": 110, "add": [0, 17, 18, 19, 34, 36, 40, 42, 45, 47, 57, 80, 84, 88, 90, 92, 93, 97, 99, 102, 108, 112, 116], "add_compon": 40, "add_llm_as_fallback": 0, "add_missing_right_brac": [47, 54], "add_missing_right_bracket": [47, 54], "add_on": 90, "add_point": 112, "addit": [0, 19, 36, 47, 57, 90, 93, 96, 102, 108, 112], "addition": [11, 13, 15, 21, 36, 50, 93, 95, 109, 112], "additional_context": [56, 112], "additon": 55, "addonecompon": 90, "address": 98, "adjust": 98, "adpat": 96, "advanc": [90, 99], "advis": 39, "ae99": 92, "afbd": 92, "afc": [8, 26, 29, 111], "affect": [88, 93], "after": [19, 36, 39, 42, 45, 48, 52, 54, 84, 88, 94, 96, 99, 108, 109, 110, 112], "afternoon": 110, "afun": 40, "ag": [39, 123], "again": [94, 109, 110], "agenda": 87, "agent": [24, 46, 57, 95, 98, 99, 106, 112, 116, 118], "agnost": [96, 99, 102], "ahead": [88, 97], "ai": [90, 113, 116], "aim": [95, 98, 110], "al": 95, "algorithm": 110, "alia": [40, 57], "align": [8, 26, 29, 84, 111], "all": [11, 13, 14, 15, 17, 24, 39, 40, 42, 46, 50, 52, 53, 56, 57, 69, 77, 80, 82, 84, 88, 90, 92, 93, 96, 97, 98, 99, 101, 102, 106, 108, 109, 110, 112, 115, 116, 118, 123], "all_gt_answ": [59, 121], "all_gt_context": [62, 63, 121], "all_pred_answ": [59, 121], "all_quest": 121, "all_retrieved_context": [62, 63, 121], "allevi": [90, 109], "allow": [39, 40, 47, 57, 74, 88, 90, 92, 96, 98, 106, 108, 109, 110, 116, 118, 121], "allowi": 92, "almost": [98, 99, 109], "along": [21, 36, 39, 42, 48, 80, 84, 88, 90, 92, 102, 109], "alpha": 110, "alreadi": [18, 19, 24, 36, 40, 57, 88, 96, 109, 112], "also": [8, 17, 18, 19, 26, 29, 34, 36, 40, 45, 46, 47, 55, 57, 88, 90, 92, 95, 96, 98, 106, 108, 109, 110, 111, 112, 123], "although": [19, 36, 108, 109, 110], "alwai": [17, 24, 34, 39, 42, 69, 92, 96, 111, 112], "amount": [92, 96], "an": [0, 9, 14, 15, 17, 31, 34, 39, 40, 45, 46, 47, 48, 51, 52, 53, 57, 61, 67, 73, 77, 79, 82, 87, 88, 90, 92, 93, 94, 95, 98, 101, 102, 106, 109, 110, 112, 115, 117, 121, 123], "analysi": [8, 26, 29, 95, 110, 111], "analyz": [108, 110], "ancestor": 80, "andrew": [19, 36], "angel": 99, "ani": [0, 8, 10, 11, 13, 14, 15, 17, 19, 21, 23, 24, 26, 29, 34, 36, 39, 40, 42, 45, 46, 47, 48, 50, 52, 53, 54, 56, 57, 61, 68, 69, 71, 73, 74, 75, 77, 78, 82, 88, 90, 92, 93, 96, 97, 98, 101, 102, 106, 109, 110, 112, 116, 118], "anoth": [21, 36, 52, 71, 87, 101, 109, 110, 116], "ansi": 80, "answer": [0, 17, 18, 24, 34, 59, 61, 88, 90, 95, 108, 109, 112, 116, 121, 123], "answer_match_acc": [64, 121], "answermacthevalu": 121, "answermatchacc": [59, 95], "anthrop": [10, 57, 79, 99, 102, 115], "anthropic_api_kei": 115, "anthropic_cli": 102, "anthropicapicli": [10, 102], "anyth": [17, 34, 98, 106, 112], "ap": [95, 101], "api": [10, 11, 13, 14, 15, 16, 18, 33, 38, 40, 45, 50, 53, 57, 58, 84, 94, 95, 97, 98, 99, 108, 114, 116, 118], "api_kei": [10, 11, 13, 14, 77, 102], "api_kwarg": [10, 11, 13, 14, 15, 50, 102], "api_respons": [16, 33], "apicli": 50, "apidoc": 84, "apidocoutdir": 84, "app": [57, 80], "app_log_filenam": 80, "appear": [51, 110], "append": [40, 42, 78, 92, 102, 112, 121], "append_dialog_turn": 57, "append_to_jsonl": 78, "appl": [61, 62, 63, 95, 110], "appli": [8, 26, 29, 42, 45, 47, 48, 52, 92, 93, 94, 109, 110, 111], "applic": [8, 9, 26, 29, 31, 39, 54, 87, 88, 92, 95, 97, 98, 109, 110, 111, 118, 122, 123], "application_nam": 116, "apply_transform": [42, 92], "approach": [8, 26, 29, 90, 94, 108, 110], "appropri": [90, 95], "ar": [0, 8, 15, 17, 19, 24, 26, 29, 34, 36, 40, 42, 47, 51, 52, 56, 57, 58, 65, 73, 74, 79, 80, 84, 87, 88, 90, 92, 93, 95, 96, 97, 98, 99, 101, 102, 106, 108, 109, 110, 111, 112, 116, 118, 121, 122, 123], "arena": 95, "arg": [17, 24, 39, 40, 46, 47, 50, 53, 56, 57, 70, 71, 108, 112], "argument": [0, 11, 13, 15, 24, 39, 40, 46, 47, 48, 50, 52, 57, 71, 77, 93, 94, 96, 101, 102, 106, 108, 109, 110, 111, 112], "aris": 95, "arithmet": 57, "around": [55, 73, 89], "arr": 112, "arrai": [47, 109, 112], "arriv": 18, "articul": 116, "artifici": 96, "arxiv": [0, 15, 18, 69, 87, 95, 109], "asdict": [47, 88], "ask": [21, 36, 57, 61, 88, 92, 101, 106, 108, 109, 112, 113, 116], "aspect": 95, "aspirin": 90, "assert": [39, 93, 102], "assess": [95, 121], "assign": [8, 26, 29, 40, 51, 94], "assist": [9, 17, 31, 34, 52, 57, 90, 92, 96, 99, 101, 106, 118, 121], "assistant_respons": [57, 92], "assistant_response_timestamp": [57, 92], "assistantrespons": [57, 92], "assit": 106, "assum": [42, 57, 92], "assumpt": 99, "ast": [47, 57], "async": [10, 11, 13, 14, 40, 45, 46, 48, 50, 53, 56, 102, 109, 112, 118], "async_cli": 102, "async_function_1": 46, "async_function_2": 46, "async_tool_1": 46, "async_tool_2": 46, "asynccal": 57, "asynchron": [46, 90], "asyncio": [46, 112], "asyncopenai": 102, "atmospher": 110, "atom": [92, 109], "attach": [73, 110], "attention_mask": [15, 102], "attribut": [21, 23, 36, 40, 42, 51, 52, 53, 73, 77, 88, 90, 92, 96, 101, 109, 112], "audio": 109, "augement": 109, "augment": [68, 95, 110, 121], "augment_sampl": 67, "auto": [40, 90, 98, 101, 102, 106], "autodoc": 84, "autom": [95, 98], "automat": [45, 51, 73, 84, 90, 96, 101, 108, 112, 116], "automodel": 102, "autonom": [87, 98], "autoreset": 80, "autotoken": 102, "avail": [13, 24, 57, 95, 112, 115, 121], "available_funct": 112, "averag": [19, 36, 59, 61, 62, 63, 121], "average_idf": [19, 36], "average_pool": [15, 102], "average_tim": 108, "avg_acc": 59, "avg_judg": [61, 121], "avg_recal": [62, 95, 121], "avg_relev": [63, 95, 121], "avgdl": [19, 36, 109], "avoid": [19, 36, 40, 84, 90, 92, 93, 109], "aw": 110, "await": [0, 46, 56, 57, 112, 118], "awar": [21, 36, 110], "award": 123, "awlai": 112, "b": [19, 24, 36, 57, 108, 109, 110, 112], "b0d98c1b": 110, "b2dbdf2f": 92, "b3e9": 92, "b4c312bed365": 110, "b6c6": 92, "b81f": 110, "baai": [15, 109], "back": [17, 19, 34, 36, 42, 77, 82, 88, 94, 96], "backslash": 24, "backtick": [17, 34, 47, 112], "backward": 40, "bad": 110, "ball": 18, "banana": 110, "bank": 95, "bare": [89, 106, 118], "basd": 109, "base": [0, 6, 8, 9, 10, 11, 13, 14, 15, 17, 19, 21, 23, 26, 27, 29, 31, 34, 36, 39, 40, 42, 45, 46, 48, 50, 51, 52, 53, 54, 55, 56, 57, 59, 61, 62, 63, 67, 68, 69, 70, 71, 74, 75, 79, 81, 82, 87, 88, 89, 90, 93, 95, 96, 98, 102, 108, 110, 112, 118, 121, 123], "base_class": 39, "base_data_class": [58, 88, 110, 121, 123], "basedataclass": 122, "basic": [58, 65, 98, 110], "batch": [8, 26, 29, 45, 57, 92, 93, 94, 102, 109], "batch_dict": 102, "batch_embedd": [92, 93], "batch_siz": [6, 8, 26, 27, 29, 45, 77, 92, 93, 94, 110], "batchembedd": [45, 92], "batchembedderinputtyp": 45, "batchembedderoutputtyp": 45, "bbc3": 110, "bc0ff7f6": 92, "bcbc6ff9": 92, "bdbd": 92, "beauti": [19, 36], "becaus": [8, 26, 29, 98, 102, 108, 111, 123], "becom": [95, 109, 110], "been": [57, 92, 109], "befor": [8, 26, 29, 54, 61, 62, 63, 90, 92, 93, 95, 97, 108, 109, 110, 111, 123], "beforehand": 110, "begin": [80, 98, 116], "begin_of_text": [99, 106], "behavior": [110, 112], "behind": [17, 34, 97, 99], "beij": 61, "being": [73, 88, 97, 98, 112], "belong": 87, "below": [95, 109, 112], "benchmark": [18, 95, 108, 118], "benef": 109, "benefit": [57, 92, 109], "bert": 95, "bertscor": 95, "besid": [40, 87, 92, 96, 106, 108, 110, 123], "best": [19, 36, 90, 109, 110, 116], "beta": [15, 112], "better": [8, 26, 29, 39, 68, 69, 84, 88, 90, 108, 109, 110, 112, 123], "between": [8, 24, 26, 29, 50, 98, 109, 110, 111, 116], "beyond": [8, 29, 98, 112], "bge": [15, 109], "bi": 109, "bias": [40, 90], "bigger": [19, 36], "bit": [46, 88], "black": 80, "bland": 110, "block": [39, 46, 47, 58, 65, 80, 90, 97, 98, 109, 116, 118], "blow": 101, "blue": 80, "bm25": [19, 36, 92, 109, 110], "bm25_index": [19, 36], "bm25_retriev": [36, 109], "bm25retriev": [19, 36, 110], "bonjour": 101, "bool": [0, 6, 15, 17, 19, 26, 27, 36, 40, 42, 46, 47, 51, 52, 53, 54, 55, 57, 61, 71, 73, 80, 92, 93, 102], "boolean": [0, 17, 109], "booleanoutputpars": 17, "boost": [92, 109], "bootstrapfewshot": 67, "border": [8, 26, 29, 110, 111], "bore": 98, "both": [8, 14, 19, 29, 36, 40, 46, 56, 57, 78, 84, 88, 92, 95, 96, 97, 101, 109, 112, 121, 123], "boundari": [39, 57, 79, 82], "box": [90, 98, 109], "brace": 47, "bracket": 47, "break": [8, 26, 29, 98, 110, 111], "bridg": [10, 13, 15, 50], "brief": 96, "brittl": 98, "broad": 95, "broader": 84, "browser": [84, 108], "budget": [8, 26, 29, 111], "bui": 18, "build": [19, 23, 36, 47, 53, 58, 65, 88, 90, 95, 109, 110, 116, 118, 121, 122], "build_index": 121, "build_index_from_docu": [19, 21, 23, 36, 53, 92, 109, 110], "build_info_from_docu": 110, "builder": 52, "built": [19, 23, 36, 47, 53, 97, 108, 109, 110, 112, 115], "busi": 98, "c": [19, 36, 40], "c4e4": 92, "c4e5": 94, "c5431397": 92, "c77c98ac260f": 92, "c8fc": 92, "ca": 112, "ca0af45b": [8, 26, 29, 111], "cach": [15, 92, 102], "cai": 95, "calcul": [94, 95, 110], "call": [0, 8, 10, 11, 13, 14, 15, 17, 18, 19, 21, 23, 24, 26, 29, 34, 36, 39, 40, 45, 46, 47, 48, 50, 52, 53, 54, 56, 57, 61, 68, 71, 73, 74, 78, 80, 82, 90, 92, 93, 94, 96, 97, 98, 99, 101, 102, 106, 108, 109, 110, 111, 116, 118, 121], "call_async_funct": 46, "callabl": [0, 14, 19, 21, 23, 36, 39, 40, 42, 46, 47, 53, 56, 57, 71, 92], "callbackmanag": 116, "can": [0, 8, 9, 11, 13, 14, 15, 17, 18, 19, 21, 24, 26, 29, 31, 34, 36, 39, 40, 42, 45, 46, 47, 48, 50, 51, 52, 53, 55, 56, 57, 59, 61, 62, 63, 69, 71, 73, 75, 77, 79, 81, 84, 87, 88, 89, 90, 92, 93, 94, 95, 96, 97, 98, 99, 101, 102, 106, 108, 109, 110, 111, 112, 113, 115, 116, 118, 121, 123], "candid": 109, "cannot": [95, 116], "cansof": 18, "cantain": 40, "capabl": [38, 46, 65, 95, 112], "capit": [39, 47, 88, 93, 101, 102, 106], "captur": [47, 96], "carbon": [92, 109], "card": 106, "carefulli": 116, "carri": 112, "case": [9, 21, 31, 36, 39, 42, 90, 92, 95, 96, 97, 98, 106, 108, 109, 110, 112, 116, 123], "cat": 110, "categor": [39, 102, 109], "caus": 90, "caution": 46, "cd": 84, "cdot": [19, 36], "celsiu": 112, "center": 89, "certain": [15, 47, 123], "chain": [18, 48, 57, 88, 90, 92, 93, 96, 97, 108, 109], "challeng": [98, 109], "chanc": [21, 36, 98], "chang": [75, 80, 92, 95, 96, 98, 101, 109], "charact": [84, 110], "chat": [10, 11, 13, 14, 15, 43, 50, 92, 96, 101, 102, 106], "chat_completion_pars": 14, "chat_histori": [43, 92, 101], "chat_history_str": [43, 92, 96, 101, 106], "chatbot": [92, 95, 96, 97, 98], "chatcompletiontokenlogprob": 57, "cheapest": 109, "check": [8, 13, 24, 26, 29, 42, 47, 50, 51, 52, 57, 71, 88, 90, 92, 94, 95, 102, 108, 109, 110, 111, 112, 116, 120, 123], "check_object": 82, "checker": 88, "chen": 95, "child": [40, 110], "children": 40, "china": [61, 93], "chip": 15, "choic": [95, 96], "choos": [19, 36, 53, 110, 112], "chunk": [6, 8, 26, 27, 29, 92, 93, 97, 109, 110, 116], "chunk_overlap": [8, 26, 29, 111], "chunk_siz": [8, 26, 29, 111], "citi": 112, "cl": [47, 88], "cl100k_base": [8, 26, 29, 55], "clariti": [84, 98, 118], "class": [0, 6, 8, 9, 10, 11, 13, 14, 15, 17, 19, 21, 23, 26, 27, 29, 31, 34, 36, 39, 40, 42, 43, 45, 46, 47, 48, 50, 51, 52, 53, 54, 55, 56, 57, 59, 61, 62, 63, 67, 68, 69, 70, 71, 73, 74, 75, 77, 79, 81, 82, 88, 90, 92, 93, 96, 98, 101, 102, 108, 112, 116, 117, 118, 121, 123], "class_index": 88, "class_inst": 39, "class_nam": [39, 73, 88], "classes": 123, "classic": 98, "classif": [95, 98, 117], "classifi": [88, 117], "classmethod": [14, 19, 36, 39, 40, 42, 45, 48, 52, 53, 57, 81, 88], "classsampl": 71, "claud": [10, 99], "clean": 110, "clean_up_tokenization_spac": 15, "clear": [97, 108, 116], "client": [0, 10, 11, 13, 14, 15, 16, 21, 23, 33, 36, 45, 48, 50, 61, 97, 98, 99, 102], "climat": [92, 109], "clone": [84, 116], "close": [47, 98, 109, 110], "closest": 110, "cloth": 109, "cloud": [9, 31, 102, 109], "co": [15, 93, 109], "coarse_label": [71, 88], "code": [8, 14, 17, 26, 29, 39, 47, 57, 69, 73, 80, 92, 93, 95, 96, 97, 98, 101, 102, 106, 109, 110, 111, 112, 115, 116, 118, 121], "coher": [11, 57, 79, 99, 109, 115], "cohere_api_kei": 115, "cohere_cli": 109, "cohereapicli": [11, 23, 36, 109], "collabor": 113, "collect": [57, 101], "color": 80, "colorama": 80, "colored_print": 80, "com": [10, 11, 13, 14, 84, 96, 106, 109, 112], "combat": [92, 109], "combin": [10, 14, 47, 48, 52, 94, 96, 98, 109, 112, 116], "combine_kwarg": 47, "come": [92, 96, 102, 116, 118], "command": 80, "comment": 106, "commit": 116, "common": [62, 63, 95, 109, 110], "commonli": [8, 17, 29, 94, 95, 110], "commun": [46, 50, 102, 114, 116], "compact": [57, 112], "compar": [17, 19, 34, 36, 47, 59, 69, 92, 93, 95, 111], "comparison": [90, 109, 112, 116], "compat": [90, 96, 102], "complet": [0, 9, 10, 11, 13, 14, 15, 31, 46, 47, 48, 50, 69, 84, 87, 102, 108], "complex": [17, 34, 47, 88, 95, 110, 116], "complic": [18, 106, 112], "compon": [42, 45, 46, 47, 48, 50, 51, 52, 53, 54, 55, 56, 57, 61, 67, 68, 73, 77, 79, 81, 82, 84, 87, 88, 89, 92, 93, 94, 95, 96, 101, 102, 106, 108, 109, 110, 111, 112, 115, 118, 121, 123], "componenet": [40, 77], "component1": 40, "component2": 40, "component3": 40, "component4": 40, "component_config": [45, 48, 77, 96], "component_nam": [45, 48, 77, 96], "compos": [52, 99], "compose_model_kwarg": 47, "compose_prompt_kwarg": 52, "comprehens": 95, "comput": [59, 61, 62, 63, 88, 95, 98, 109, 110, 121], "compute_context_relev": 121, "compute_judg": 121, "compute_match_acc": 121, "compute_recal": 121, "con": [92, 109], "concaten": 110, "concept": [88, 90, 96], "concis": [88, 90], "conclus": 121, "concurr": 112, "condit": [42, 106, 108], "condition": [32, 106], "condition_fn": 92, "conf": 84, "confer": 95, "config": [40, 45, 48, 80, 93, 121], "configur": [8, 26, 29, 40, 45, 47, 77, 80, 81, 84, 94, 96, 98, 110, 111, 115, 118, 121], "confus": [40, 88, 90, 116], "consid": [39, 40, 95, 109, 110, 111], "consin": 109, "consist": [17, 52, 57, 84, 96, 123], "consol": [13, 80], "constant": [19, 36, 47], "constantli": 88, "constraint": 111, "construct": [77, 121], "constructor": [40, 93], "contain": [8, 19, 24, 26, 29, 36, 40, 46, 47, 51, 57, 59, 61, 84, 92, 93, 101, 108, 110, 112, 116, 121, 123], "content": [14, 92, 99, 102, 109, 110, 111, 114, 117, 119, 123], "contex": [43, 96, 101], "context": [8, 26, 29, 39, 40, 43, 46, 47, 52, 56, 62, 63, 90, 92, 95, 97, 98, 101, 108, 110, 111, 112, 116, 121], "context_map": [47, 57, 112], "context_str": [43, 52, 96, 101, 106, 112, 121], "contextu": [95, 121], "continu": [92, 106, 110], "contrari": 118, "contravari": 109, "contribut": [86, 92, 109, 116], "contributor": [84, 116], "control": [8, 26, 29, 57, 80, 84, 88, 92, 98, 99, 106, 110, 111, 116, 123], "conv1": [90, 118], "conv2": [90, 118], "conv2d": [90, 118], "conveni": [90, 108], "convent": [17, 34, 88, 112], "conver": 92, "convers": [9, 31, 57, 92, 96, 106, 108, 109, 112, 113], "conversation_histori": 109, "conversation_id": 57, "convert": [14, 15, 39, 40, 47, 50, 57, 82, 88, 90, 92, 94, 99, 102, 109, 110, 112, 116], "convert_inputs_to_api_kwarg": [10, 11, 13, 14, 15, 50, 102], "convert_schema_to_signatur": 47, "cookbook": [109, 116, 123], "copi": [6, 14, 26, 27, 40, 93, 94, 102, 116], "core": [8, 17, 26, 29, 74, 88, 90, 92, 93, 94, 96, 97, 98, 101, 102, 106, 108, 109, 110, 111, 112, 116, 118, 121, 123], "corpu": [19, 36, 110], "correct": [51, 95, 121], "correctli": [42, 84, 88], "corresbond": 84, "correspond": [8, 26, 29, 47, 95, 108, 110, 111, 121], "cosin": [95, 110], "cost": 109, "cot": 18, "could": [47, 57], "count": 55, "count_token": 55, "counter": 90, "cours": [95, 101], "cover": [9, 31, 88, 92, 109, 112, 116, 123], "coverag": 109, "covert": 112, "cpu": 115, "creat": [8, 14, 15, 26, 29, 39, 40, 42, 45, 46, 48, 52, 57, 73, 77, 88, 90, 92, 93, 94, 99, 101, 102, 106, 108, 109, 110, 111, 112, 117, 121, 123], "create_embedding_respons": 57, "create_from_dict": 39, "created_at": 57, "createembeddingrespons": 14, "creation": 68, "criterion": [8, 26, 29, 106, 111], "critic": [8, 26, 29, 80], "cross": 109, "crucial": [38, 65, 88, 92, 95, 106, 109, 110], "crud": [42, 92], "ctrl": 108, "cumul": 110, "current": [40, 42, 67, 69, 80, 92, 93, 96, 101, 102, 108, 109, 112, 115], "custom": [8, 17, 21, 26, 29, 36, 47, 80, 82, 88, 93, 95, 96, 97, 98, 102, 108, 110, 116, 121], "custom_asdict": [47, 88], "customiz": [89, 108, 110, 118], "cut": 109, "cutoff": 110, "cyan": 80, "d": [17, 19, 34, 36], "d19a": 92, "dai": [19, 36, 62, 63, 95], "dan": 95, "data": [6, 8, 9, 14, 17, 21, 26, 27, 29, 31, 34, 36, 39, 40, 42, 45, 47, 48, 51, 52, 57, 68, 71, 78, 82, 90, 93, 94, 96, 98, 101, 102, 108, 110, 111, 112, 116, 117, 118, 121, 123], "data_class": [17, 34, 112], "data_class_for_yaml": [17, 34], "data_compon": [26, 94, 110], "data_dict": 39, "data_process": [38, 92, 94, 97, 111], "data_transform": 92, "databas": [53, 57, 97, 110, 121], "dataclass": [17, 34, 39, 47, 57, 67, 68, 69, 74, 75, 82, 89, 92, 93, 96, 97, 109, 112, 118, 123], "dataclass_obj_from_dict": 47, "dataclassformattyp": [17, 34, 39, 88], "dataformat": 57, "datapiplin": 92, "dataset": [71, 92, 95, 108, 117, 121], "date": 84, "datetim": 57, "db": [58, 92, 97, 109, 110], "db2": 42, "deal": [92, 109], "debug": [80, 92, 97, 98], "decid": [0, 11, 13, 15, 39, 50, 88, 95, 96, 108, 109, 112, 116], "decis": [95, 108], "decod": [55, 108], "decor": [39, 40, 78, 88, 90, 96, 101], "decreas": 93, "decreaseembeddingdim": 93, "decreat": 93, "dedupl": [6, 26, 27], "deep": 96, "deepcopi": 93, "deeper": 118, "deepmind": 69, "def": [17, 34, 40, 46, 47, 57, 73, 88, 90, 92, 93, 101, 102, 106, 108, 109, 110, 112, 118], "defaul": 101, "default": [0, 10, 13, 14, 15, 17, 19, 21, 23, 24, 34, 36, 39, 42, 43, 45, 47, 48, 50, 51, 52, 53, 55, 61, 69, 73, 74, 75, 78, 80, 82, 88, 90, 92, 96, 99, 101, 109, 110, 112, 123], "default_factori": [39, 69, 88], "default_lightrag_system_prompt": [43, 48, 52, 96, 106], "default_llm_evaluator_prompt": 121, "default_model_kwarg": 47, "default_num_shot": 71, "default_prompt_templ": [58, 96, 106], "default_react_agent_system_prompt": 0, "defaultllmjudg": [61, 96], "defens": 97, "defin": [8, 26, 29, 39, 53, 79, 90, 102, 108, 109, 110, 111, 121, 123], "definit": [8, 26, 29, 46, 56, 57, 106, 108, 109, 111, 112], "del": 40, "delet": [40, 42, 92], "delete_dialog_turn": 57, "delibr": [96, 112], "demo": [90, 98], "demonstr": [15, 61, 93, 94, 96, 108, 109, 112, 117, 123], "denomin": [19, 36], "denot": 99, "depend": [8, 19, 21, 29, 36, 47, 57, 84, 90, 99, 108, 110, 116, 121, 123], "deriv": 112, "desc": [39, 43, 69, 88, 96, 101, 109, 123], "descend": 40, "describ": [39, 46, 112, 123], "descript": [17, 24, 34, 39, 47, 57, 88, 92, 95, 97, 106, 108, 110, 112, 116, 121, 123], "deseri": [82, 88, 98, 106, 109], "design": [39, 40, 46, 50, 54, 57, 71, 89, 92, 93, 97, 102, 108, 110, 111], "desir": [17, 34, 95, 96, 106], "destin": [40, 98], "detail": [8, 10, 11, 13, 26, 29, 38, 39, 48, 58, 61, 65, 84, 85, 88, 90, 92, 95, 96, 102, 108, 112, 123], "detect": 73, "determin": [8, 26, 29, 90, 95, 108], "develop": [8, 21, 26, 29, 36, 84, 89, 92, 94, 96, 97, 98, 99, 101, 106, 108, 109, 110, 111, 116, 118, 123], "devic": 15, "df68": 92, "diagram": [99, 106], "dialog": [57, 92], "dialog_turn": [57, 92], "dialog_turn_db": 92, "dialog_turns_as_docu": 92, "dialog_turns_input": 57, "dialogturn": [42, 57, 109], "dict": [0, 10, 11, 13, 14, 15, 17, 21, 23, 34, 36, 39, 40, 42, 45, 47, 48, 50, 52, 54, 56, 57, 61, 68, 69, 71, 74, 75, 77, 78, 81, 82, 88, 92, 96, 102, 112, 123], "dict_exampl": 88, "dict_factori": 47, "dictionari": [8, 14, 17, 26, 29, 34, 39, 40, 45, 47, 48, 52, 57, 77, 78, 82, 88, 92, 110, 111, 112, 123], "did": [67, 92, 96, 101, 106, 109, 112, 118, 123], "differ": [9, 19, 31, 36, 42, 57, 71, 90, 93, 96, 97, 98, 99, 102, 106, 108, 109, 111, 112, 116, 118, 122], "differen": 109, "differenti": [54, 109], "difficult": 112, "dim": 102, "dimens": [45, 57, 77, 92, 93, 94, 102, 109, 110], "dimension": 88, "diminish": [19, 36], "dir": [73, 101, 102], "direct": [40, 84, 90, 110], "directionli": 46, "directli": [8, 26, 29, 47, 57, 61, 71, 84, 88, 90, 92, 93, 106, 109, 111, 112, 116], "directori": [50, 73, 74, 75, 80, 84, 101, 115, 116], "disabl": 108, "disappoint": 109, "disclos": [99, 106], "discord": 113, "discuss": [113, 123], "disk": 109, "disrupt": [92, 109], "distil": 98, "distilbert": 95, "divers": [95, 109], "divid": [19, 24, 36, 95, 108, 110, 112, 121], "divis": [8, 19, 26, 29, 36], "do": [9, 14, 17, 31, 34, 39, 47, 57, 71, 73, 80, 88, 92, 94, 96, 98, 102, 106, 108, 109, 110, 112, 116, 118], "doc": [8, 10, 11, 13, 14, 15, 23, 26, 29, 36, 40, 53, 57, 84, 88, 90, 92, 93, 94, 106, 109, 110, 111, 112], "doc1": [8, 26, 29, 110, 111], "doc2": 110, "doc_index": [92, 110], "doc_indic": [19, 36, 57, 92, 109], "doc_len": 109, "doc_list": 121, "doc_qa": 40, "doc_scor": [19, 36, 57, 109, 110], "docqa": [40, 90], "docstr": [24, 112], "doctest": 84, "doctor": [17, 34, 40, 90], "document": [6, 8, 11, 15, 19, 21, 23, 26, 27, 29, 36, 38, 42, 53, 55, 57, 58, 65, 85, 86, 93, 94, 96, 97, 109, 112, 114, 116, 119, 121], "document_indic": 110, "document_map_func": [19, 21, 23, 36, 53, 109], "document_splitt": [77, 110], "documents_embed": 109, "documentsplitt": [57, 77, 92, 94, 110], "dodger": 99, "doe": [6, 18, 26, 27, 39, 42, 50, 61, 77, 102, 109, 110, 121, 123], "doesn": 108, "domain": 95, "domest": 110, "don": [17, 19, 36, 99, 110, 116], "done": [88, 108], "dont": [92, 99, 116], "dorianbrown": [19, 36, 109], "dotenv": [94, 108, 110, 115], "dotenv_path": [94, 108, 110], "doubl": [24, 112], "doubt": [98, 109], "download": 116, "downsid": [92, 109], "downstream": 93, "drink": 90, "driven": 110, "drop": 111, "dropout1": 118, "dropout2": 118, "dropout2d": 118, "due": [95, 109, 112], "dummi": 116, "dump": [47, 112], "dumper": 47, "duplic": 71, "dure": [8, 26, 29, 92, 93, 94, 96, 101, 109, 110, 111, 115, 123], "dynam": [39, 73, 108], "dynamicdataclassfactori": 39, "dynamicoutput": 39, "e": [8, 21, 24, 26, 29, 36, 71, 84, 99, 102, 111, 112, 121], "e3b48bcc": 92, "e3f04c8b": 110, "e4850140": 110, "e539": 110, "e636facc": 92, "e7b617b2": [8, 26, 29, 111], "each": [0, 8, 14, 15, 17, 18, 19, 24, 26, 29, 34, 36, 38, 39, 40, 57, 59, 61, 62, 63, 65, 71, 74, 75, 79, 88, 92, 93, 94, 97, 98, 108, 109, 110, 111, 112, 121], "ear": 101, "earth": 61, "eas": [57, 88, 97, 98], "easi": [90, 96, 98, 106, 108, 116, 118], "easier": [108, 112], "easili": [90, 92, 93, 95, 97, 106, 109, 112, 116, 118, 123], "eat": 110, "ec0fc247ac8b": [8, 26, 29, 111], "ec910402": 92, "economi": [92, 109], "ecosystem": [92, 109], "edit": [84, 101], "effcient": 39, "effect": [19, 36, 65, 87, 92, 94, 109, 110], "effici": [57, 108, 111, 112, 123], "effort": [42, 88, 97], "eg": 79, "eiffel": 101, "either": [0, 47, 50, 57, 88, 93, 97, 101, 102, 109, 116], "el": 92, "electr": [92, 109], "electron": [92, 109], "element": [17, 34, 52, 112], "elif": [102, 112], "els": [101, 102, 108, 110, 112], "emb": [8, 29, 93, 110], "embed": [6, 8, 11, 13, 14, 15, 16, 26, 27, 29, 33, 45, 50, 57, 77, 92, 93, 94, 95, 97, 102, 109, 110, 111], "embedd": [6, 14, 15, 26, 27, 40, 50, 57, 58, 77, 92, 97, 102, 109, 116], "embedder_config": 45, "embedder_response_processor": 110, "embedder_transform": 92, "embedderoutput": [14, 15, 16, 33, 45, 50, 57, 92, 102], "embedderoutputtyp": 57, "embedderrespons": [94, 110], "embedding_dim": [57, 93], "emiss": [92, 109], "emit": 39, "emphas": [84, 123], "emploi": 95, "empti": [21, 24, 36, 42, 96], "en": [10, 15, 19, 36, 93, 106, 109], "enabl": [48, 80, 94, 108, 110, 118], "enable_consol": 80, "enable_fil": 80, "enable_library_log": 80, "encapsul": 108, "enclos": [17, 34, 112], "encod": [8, 26, 29, 55, 109], "encoding_format": [45, 77, 92, 93, 94, 102, 109, 110], "encourag": [8, 29, 48, 102], "end": [24, 40, 42, 47, 84, 88, 92, 97, 98, 99, 117, 118], "end_header_id": [99, 106], "end_of_text": [99, 106], "end_tim": [46, 112], "endfor": [24, 52, 106, 109, 112], "endif": [24, 43, 52, 96, 101, 106, 112, 123], "energi": [92, 109], "enforc": [14, 51, 92, 96], "engag": [88, 113], "engin": [40, 90, 98, 101, 106, 116, 118], "english": [11, 109], "enhanc": [80, 90, 97, 108, 123], "enhance_queri": 90, "enhancequerycompon": 90, "enjoi": 116, "enorm": 96, "enough": 98, "enssenti": 123, "ensur": [15, 24, 39, 45, 47, 52, 84, 88, 90, 93, 94, 97, 99, 109, 110, 115], "entir": 109, "entiti": [77, 81, 88, 98, 108], "entity_cl": 81, "entity_config": 77, "entity_nam": 77, "entity_st": 77, "entitymap": 81, "enum": [39, 57, 79, 82, 102, 112], "enumer": [40, 112], "env": [93, 94, 108, 109, 110, 115, 116], "environ": [8, 29, 47, 52, 84, 87, 92, 93, 94, 102, 108, 109, 110, 114, 116], "environment": [92, 109], "eot_id": [99, 106], "epilon": [19, 36], "epsilon": [19, 36, 109], "equal": [15, 61, 109], "equival": [40, 47, 92, 112], "error": [11, 13, 15, 21, 36, 39, 47, 50, 57, 73, 79, 80, 88, 93, 102, 108, 112], "error_messag": [57, 101], "error_onli": 73, "escap": 24, "especi": [6, 8, 24, 26, 27, 29, 39, 73, 75, 90, 93, 95, 99, 109, 110, 111], "espeic": 109, "essenc": 116, "essenti": [58, 65, 92, 108, 109], "establish": 116, "estimated_num_token": [57, 92, 94, 110], "et": 95, "etc": [17, 34, 40, 42, 47, 71, 93, 95, 109, 110, 116], "eval": [40, 46, 47, 56, 57, 64, 95, 96, 112, 117, 121], "evalu": [40, 47, 57, 59, 61, 62, 63, 90, 96, 97, 98, 101, 109, 122], "evaluate_ast_nod": 47, "even": [8, 17, 26, 29, 47, 88, 90, 93, 96, 98, 106, 109, 111, 112], "event": 46, "eventu": [88, 109], "ever": 102, "everi": [42, 98, 116], "eviron": 108, "exact": [8, 26, 29, 95, 110, 111, 121], "exact_match": [59, 121], "exactli": [40, 59, 96, 109, 121], "exam": 95, "examin": [19, 36], "exampl": [0, 8, 11, 13, 14, 15, 17, 18, 19, 21, 23, 24, 26, 29, 34, 36, 39, 40, 42, 43, 45, 46, 47, 48, 50, 51, 52, 54, 57, 59, 61, 62, 63, 67, 71, 73, 77, 80, 84, 90, 92, 93, 94, 95, 99, 101, 102, 106, 108, 109, 110, 112, 115, 116, 117, 118, 121, 123], "example1": [94, 110], "example2": 110, "example3": 110, "example4": 110, "example_funct": 47, "example_json": [39, 88], "example_str": 88, "example_yaml": [39, 88], "examples_prompt": 52, "examples_str": [43, 52, 96, 101, 106], "examples_templ": 52, "excel": 118, "except": [8, 26, 29, 50, 93, 102, 112], "exclud": [17, 34, 39, 40, 47, 56, 57, 88, 92, 112], "exclude_field": [17, 34], "excludetyp": 88, "exclus": 88, "execlud": 112, "execut": [8, 24, 26, 29, 46, 47, 56, 108, 111, 112], "execute_func": [56, 112], "execute_func_expr": [56, 112], "execute_func_expr_via_ev": [56, 112], "execute_func_expr_via_sandbox": [56, 112], "exist": [52, 88, 98, 108, 109, 118], "exmplari": 15, "expand": 116, "expans": [6, 27, 109], "expect": [11, 19, 23, 24, 36, 42, 47, 51, 53, 54], "expens": 109, "experi": [9, 19, 31, 36, 42, 90, 92, 98, 110], "explain": [92, 96, 108, 110, 116, 121], "explan": [19, 36], "explicitli": [39, 51], "explor": 65, "expr": [56, 112], "express": [46, 47, 56, 57, 112], "extend": [8, 14, 29, 42, 46, 92, 93, 112, 116], "extens": [40, 84, 116], "extern": [82, 94, 95, 108, 109], "extra": 110, "extract": [8, 17, 26, 29, 34, 47, 54, 71, 108, 111, 116, 121], "extract_dataclass_typ": 47, "extract_json_str": 47, "extract_list_str": 47, "extract_yaml_str": 47, "ey": 101, "f": [6, 8, 19, 26, 27, 29, 36, 40, 46, 78, 90, 93, 94, 95, 102, 106, 108, 109, 110, 112, 121, 123], "f1": 95, "f1be8330c167": 110, "f2d0f52a": 110, "f2eddc77": 92, "f513": 92, "f89e0955e3a3": 110, "f98f": 92, "face": [45, 48, 84, 93, 95, 96], "facebookresearch": 109, "facet": 109, "facilit": [108, 111], "fact": [101, 108], "factor": [19, 36], "factori": [39, 42, 57, 74, 75], "factual": 109, "fahrenheit": 112, "fail": [21, 36, 57, 73, 92, 93, 96, 98, 101, 108, 112], "failur": [24, 93, 96], "fair": 95, "faiss": [79, 109, 110, 115], "faiss_query_result": 110, "faiss_retriev": [92, 109, 110], "faissretriev": [77, 92, 110], "fall": 90, "fallback": 0, "fals": [6, 15, 17, 26, 27, 34, 39, 40, 42, 47, 53, 55, 57, 61, 71, 80, 101, 112, 121], "famili": 87, "fantast": [94, 110], "far": 92, "farm": [92, 109], "fast": [19, 36, 110], "faster": 109, "fc1": 118, "fc2": 118, "fd11f12958b3": 92, "fdbc447d": 94, "fdc2429b": 110, "feasibl": 88, "featur": [46, 84, 90, 95, 99, 112, 118], "feburari": [62, 63, 95], "fed": [112, 121], "fetch": [21, 36, 42, 92, 110, 121], "fetch_item": 42, "fetch_transformed_item": 42, "fetched_dialog_turn": 92, "fever": 108, "few": [18, 39, 67, 71, 88, 95, 106, 108, 109, 112, 123], "field": [17, 19, 34, 36, 39, 45, 47, 48, 56, 57, 68, 69, 88, 92, 93, 94, 99, 109, 110, 112, 123], "field_nam": 39, "field_valu": 39, "fieldtyp": 47, "file": [9, 15, 19, 31, 36, 40, 42, 45, 53, 73, 74, 75, 78, 80, 84, 88, 93, 94, 96, 101, 102, 109, 115, 116, 121], "file_io": 90, "file_path": 74, "filenam": [73, 74, 75, 80], "filepath": [40, 42, 73, 75, 92], "filesystem": 42, "fill": [19, 36, 48, 52, 68, 116], "filter": [106, 109, 110, 116], "final": [0, 19, 24, 36, 52, 57, 92, 94, 95, 96, 106, 108, 109, 110, 112, 121], "final_model_kwarg": 102, "final_prompt": 106, "find": [55, 92, 93, 94, 96, 108, 109, 110, 115], "fine": [57, 110], "finish": [24, 108], "first": [8, 14, 24, 26, 29, 42, 47, 51, 92, 94, 95, 96, 97, 99, 102, 108, 109, 110, 111, 112, 121], "fit": [39, 45, 57, 92, 96, 97, 111], "five": 90, "fix_json_escaped_single_quot": 47, "fix_json_missing_comma": 47, "flat": 61, "flexibl": [42, 47, 57, 88, 90, 98, 102, 106, 108, 110, 112, 116, 123], "flexibli": 97, "float": [15, 17, 19, 34, 36, 45, 47, 57, 59, 61, 62, 63, 67, 69, 71, 77, 92, 93, 94, 102, 109, 110, 112], "flow": [92, 108, 109, 123], "fn": [46, 47, 108, 112], "fn_schema_str": [24, 57, 108], "fnew": 110, "focu": [92, 108, 110], "focus": 97, "folder": [84, 116], "follow": [8, 11, 16, 17, 21, 24, 29, 33, 34, 36, 39, 40, 48, 80, 84, 88, 93, 95, 96, 98, 99, 101, 106, 109, 110, 112, 115, 116, 121, 123], "food": 110, "footprint": [92, 109], "forc": 84, "fork": 84, "form": [8, 26, 29, 57, 88, 92, 106, 109, 111, 118], "format": [8, 10, 13, 14, 15, 17, 19, 24, 26, 29, 34, 36, 39, 40, 43, 46, 48, 50, 53, 54, 57, 77, 80, 82, 84, 92, 93, 96, 97, 99, 101, 102, 106, 108, 109, 118, 121, 123], "format_chat_history_str": 92, "format_class_str": [39, 88], "format_example_str": [39, 88], "format_instruct": [17, 34, 112], "format_str": 39, "format_typ": [17, 34, 39, 88], "formula": 110, "forward": [40, 55, 90, 118], "fossil": [92, 109], "found": [47, 61, 62, 63, 79, 84, 92, 95, 109, 121], "foundament": 90, "foundat": [58, 65], "four": [50, 109, 112], "frac": [19, 36], "framework": [38, 65, 108, 116], "franc": [39, 47, 88, 101, 102, 106], "francisco": 112, "franklin": 87, "free": [92, 109], "frequenc": [19, 36, 110], "frequent": [19, 36], "fresh": 109, "friendli": 110, "from": [6, 8, 14, 15, 16, 17, 18, 19, 23, 26, 27, 29, 33, 34, 36, 39, 40, 42, 45, 46, 47, 48, 50, 51, 52, 53, 54, 55, 57, 61, 69, 71, 73, 74, 77, 78, 80, 84, 89, 92, 93, 94, 95, 97, 98, 99, 101, 102, 106, 108, 109, 110, 111, 112, 115, 116, 117, 118, 121, 123], "from_config": [40, 45, 48, 96, 109], "from_default": 108, "from_dict": [14, 17, 19, 34, 36, 39, 40, 52, 53, 57, 88, 106, 109, 112, 123], "from_dict_to_json": 47, "from_dict_to_yaml": 47, "from_funct": [57, 112], "from_json": [39, 88], "from_json_to_dict": 47, "from_pretrain": 102, "from_yaml": [39, 88], "from_yaml_to_dict": 47, "frustrat": [96, 98, 101], "fsspec": 92, "fuel": [92, 109], "full": [57, 98, 109, 116, 118, 121], "fullwiki": 121, "fun": [40, 57, 101, 116], "fun_arg": 57, "fun_compon": [40, 90], "fun_expr": 57, "fun_kwarg": 57, "fun_nam": 57, "fun_to_compon": [40, 90], "func": [47, 56, 57, 112], "func_desc": [57, 112], "func_expr": 112, "func_nam": [57, 112], "func_output": 112, "func_paramet": [57, 112], "func_pars": 112, "func_tool": [58, 112], "funciton": 112, "funcnam": 112, "funcompon": 40, "function": [0, 6, 8, 14, 15, 16, 19, 23, 24, 26, 27, 29, 36, 38, 39, 40, 42, 46, 50, 52, 54, 56, 57, 58, 65, 77, 80, 81, 88, 90, 92, 93, 95, 96, 97, 98, 108, 109, 110, 111, 116, 121, 123], "function_arg": 112, "function_definit": [56, 112], "function_expr": [47, 112], "function_nam": [80, 112], "function_respons": 112, "function_to_cal": 112, "functiondefinit": [46, 56, 57, 112], "functionexpress": [46, 56, 57], "functionoutput": [46, 56, 57, 112], "functiontool": [0, 46, 56, 108, 118], "fundament": [98, 116, 118], "further": [8, 26, 29, 45, 88, 90, 93, 96, 101, 109, 111, 116], "futur": [8, 26, 29, 87, 93, 96, 98, 109, 111, 116], "fuzzi": [95, 109, 121], "fuzzy_match": [59, 121], "g": [8, 21, 24, 26, 29, 36, 71, 84, 99, 102, 111, 112, 121], "ga": [92, 109], "game": 92, "gap": [50, 98], "gase": [92, 109], "gather": [46, 106, 112], "gemma": 13, "genai": 98, "genear": 109, "gener": [0, 8, 14, 17, 26, 29, 34, 39, 40, 42, 47, 50, 51, 53, 54, 57, 61, 67, 68, 69, 71, 73, 74, 75, 78, 84, 87, 88, 90, 92, 93, 94, 95, 97, 98, 99, 101, 102, 106, 108, 109, 110, 111, 112, 116, 118, 121, 123], "generate_function_call_expression_from_cal": [47, 112], "generate_readable_key_for_funct": 47, "generated_text": 95, "generativeai": [79, 115], "generator2": 101, "generator2_cal": 101, "generator_2": 101, "generator_2_cal": 101, "generator_cal": [73, 101], "generator_call_logg": [72, 73, 96, 101], "generator_evalu": 121, "generator_nam": 75, "generator_names_to_fil": 74, "generator_state_logg": [72, 96], "generator_state_trac": [75, 101], "generatorcalllogg": [74, 96, 101], "generatorcallrecord": 74, "generatorlogg": 73, "generatoroutput": [21, 36, 48, 57, 73, 74, 92, 110], "generatorstatelogg": [75, 96, 101], "generatorstatesrecord": 75, "get": [8, 14, 19, 24, 26, 29, 36, 39, 40, 42, 47, 52, 53, 57, 61, 74, 80, 81, 88, 90, 92, 95, 102, 108, 109, 110, 111, 112, 121, 123], "get_al": 81, "get_all_messages_cont": 14, "get_cal": 74, "get_chat_history_str": 57, "get_current_script_and_lin": 80, "get_current_weath": 112, "get_data_class_schema": [47, 123], "get_data_key_fun": 71, "get_dataclass_schema": 47, "get_default_log_config": 80, "get_dialog_turn": 57, "get_first_message_cont": 14, "get_fun_schema": [46, 47, 112], "get_jinja2_environ": 52, "get_log_loc": [74, 75], "get_logg": 80, "get_model_arg": 57, "get_next_ord": 57, "get_prob": 14, "get_prompt_vari": 52, "get_string_token": 55, "get_subcompon": 40, "get_supporting_sent": 121, "get_top_k_indices_scor": 47, "get_transformed_data": 42, "get_transformer_kei": 42, "get_type_schema": 47, "getenv": 102, "git": [84, 116], "github": [84, 113, 120], "give": [90, 92, 98, 109, 112], "given": [19, 36, 40, 47, 53, 68, 75, 77, 96, 97, 99, 108, 109, 110, 112, 121], "go": [96, 98, 101, 108, 109, 116, 118], "goal": [96, 108, 111, 112, 118], "goe": 98, "good": [19, 36, 88, 90, 92, 95, 110, 112], "googl": [61, 62, 63, 69, 79, 84, 94, 95, 102, 106, 115], "google_api_kei": 115, "google_cli": 102, "google_generativeai": 79, "googlegenaicli": [79, 102], "got": 109, "gpt": [40, 47, 48, 90, 92, 95, 96, 99, 102, 109, 110, 112], "gpt3": 18, "gpt_model_kwarg": 110, "graesser": 87, "graph": 110, "gre": 95, "great": [8, 26, 29, 88, 94, 95, 97, 98, 101, 110], "green": 80, "greenhous": [92, 109], "greet": 57, "groq": [13, 57, 79, 96, 102, 115], "groq_api_kei": 115, "groq_client": 102, "groqapicli": [13, 40, 96, 102, 108, 110, 118], "ground": [59, 61, 62, 63, 69, 92, 95, 109, 116, 121], "group": 57, "grow": 110, "growth": [92, 109], "gt": [69, 109], "gt_answer": [59, 61], "gt_context": [62, 63, 95], "gt_context_sentence_list": 121, "gte": [15, 93, 102], "gu": 111, "guarante": [17, 84], "guid": [14, 84, 86, 108, 110, 112], "guidelin": [85, 95], "guo": 95, "ha": [18, 23, 36, 39, 42, 47, 53, 62, 63, 71, 73, 75, 80, 82, 88, 89, 92, 95, 109, 110, 111, 112, 115, 116, 118, 121, 123], "had": [94, 110], "halluci": 109, "hand": [95, 109], "handi": 106, "handl": [11, 13, 15, 21, 36, 39, 40, 47, 50, 88, 92, 93, 96, 97, 101, 102, 108, 109, 112, 123], "happen": 96, "hard": 98, "harri": 123, "hash": 69, "hashcod": 95, "have": [11, 14, 17, 18, 19, 24, 34, 36, 39, 40, 45, 50, 57, 71, 73, 84, 88, 90, 92, 93, 94, 95, 96, 97, 99, 106, 108, 109, 110, 112, 115, 116, 118, 121], "hazard": [92, 109], "he": [18, 123], "headach": 90, "heavi": 98, "hello": [8, 19, 26, 29, 36, 42, 51, 57, 80, 99, 110, 111], "helm": 95, "help": [6, 8, 17, 18, 26, 27, 29, 34, 39, 46, 52, 79, 88, 90, 92, 96, 97, 98, 99, 101, 106, 109, 111, 112, 118, 121], "helper": [6, 16, 27, 33, 40, 52, 77, 90, 109], "henc": [108, 123], "hendryck": 95, "here": [8, 11, 13, 15, 24, 26, 29, 50, 57, 71, 88, 90, 92, 95, 96, 99, 101, 102, 106, 108, 109, 110, 111, 112, 114, 115, 116, 119, 123], "hero": [98, 118], "hf_token": 115, "hi": [57, 123], "hierarchi": [97, 118], "high": [98, 109, 116], "higher": [58, 65, 69, 98, 109, 110], "highest": 110, "highli": [8, 29, 42, 98, 101, 102, 116], "hint": [24, 47, 88, 96, 112], "histor": 92, "histori": [24, 43, 57, 75, 92, 96, 101, 106, 108, 109], "hobbi": 110, "hold": 57, "homepag": [19, 36], "hook": 116, "hop": 108, "host": 109, "hotpot_qa": 121, "hotpotqa": [108, 121], "how": [8, 14, 15, 18, 19, 21, 26, 29, 36, 39, 48, 57, 61, 65, 88, 90, 92, 93, 96, 97, 99, 102, 106, 108, 109, 110, 112, 118, 121, 122, 123], "howev": [8, 29, 90, 92, 98, 99, 106, 109, 112], "html": [8, 26, 29, 84, 88, 109, 111], "http": [0, 10, 11, 13, 14, 15, 18, 19, 36, 69, 84, 87, 88, 93, 96, 106, 109, 112], "hub": [15, 95], "hug": 95, "hug_tran": 95, "huggingfac": [15, 88, 93, 102, 109], "huggingfaceh4": 15, "human": [88, 95, 96, 109], "humanev": 95, "humor": 101, "hundr": 109, "hydrat": 90, "hydro": [92, 109], "hypernetwork": 116, "hyperparmet": 109, "hypothesi": 108, "i": [0, 6, 8, 9, 10, 14, 15, 17, 18, 19, 21, 24, 26, 27, 29, 31, 34, 36, 39, 40, 42, 43, 45, 46, 47, 48, 50, 51, 52, 53, 55, 57, 59, 61, 62, 63, 68, 69, 71, 73, 74, 75, 77, 78, 79, 80, 84, 87, 88, 89, 90, 92, 93, 94, 95, 96, 97, 98, 99, 101, 102, 106, 109, 110, 111, 112, 114, 115, 118, 119, 121, 123], "ibuprofen": 90, "icl": [67, 71, 98], "id": [8, 26, 29, 55, 57, 92, 94, 110, 111], "idea": 113, "ideal": [8, 26, 29, 106, 111], "identifi": [47, 75, 110], "idf": [19, 36, 92, 109, 110], "idf_vers": 95, "idx": [40, 110, 112], "igh": 111, "ik": [8, 26, 29], "illustr": [8, 26, 29, 108, 111], "imag": [93, 109], "immedi": 40, "impact": [8, 17, 19, 26, 29, 36, 71, 92, 108, 109, 110], "implement": [0, 8, 9, 11, 13, 15, 19, 26, 29, 31, 36, 50, 53, 93, 95, 102, 109, 110, 111, 121, 123], "implicitli": 51, "import": [8, 17, 19, 26, 29, 34, 36, 39, 40, 46, 47, 52, 79, 80, 88, 90, 92, 93, 94, 95, 96, 97, 99, 101, 102, 106, 108, 109, 110, 111, 112, 115, 116, 118, 121, 123], "import_path": 79, "importerror": 79, "impress": 95, "improv": [19, 36, 67, 95, 96, 101, 109, 110, 111], "inabl": 47, "inc": 84, "includ": [8, 9, 19, 26, 29, 31, 36, 39, 40, 42, 47, 53, 57, 77, 84, 90, 92, 97, 106, 108, 109, 110, 111, 112, 116, 121, 123], "includng": 116, "incomplet": 47, "incorpor": 95, "incorrect": [51, 96], "increa": 92, "increas": [19, 36, 92, 109, 110], "increasingli": 95, "incress": 112, "indent": [17, 34, 47], "index": [8, 15, 19, 21, 23, 24, 29, 36, 42, 52, 53, 57, 71, 84, 92, 93, 102, 106, 109, 110, 112, 121], "index_kei": [53, 109], "indexflatip": 110, "indic": [21, 36, 39, 47, 109, 110], "infanc": 98, "infer": [15, 51, 57, 93, 95], "infer_bge_reranker_bas": 15, "infer_gte_base_embed": [15, 102], "influenc": [19, 36, 95, 110], "info": 80, "inform": [39, 55, 58, 65, 90, 96, 108, 109, 110, 116, 120, 123], "infrastructur": [92, 109], "ingest": [8, 29, 116], "ingestionpipelin": 116, "inherit": [50, 92, 109, 116], "init": [67, 69, 80], "init_async_cli": [10, 11, 13, 14, 50, 102], "init_llm_cli": 15, "init_model": [15, 102], "init_reranker_cli": 15, "init_sync_cli": [10, 11, 13, 14, 15, 50, 102], "initi": [15, 19, 21, 23, 24, 36, 50, 52, 53, 67, 71, 80, 92, 96, 102, 106, 108, 109, 110, 112, 121, 123], "initvar": 57, "inmemoryfaissretriev": 109, "inner": 110, "input": [0, 6, 10, 11, 13, 14, 15, 17, 19, 21, 23, 26, 27, 34, 36, 39, 40, 45, 47, 48, 50, 53, 54, 55, 57, 68, 88, 92, 93, 94, 95, 96, 97, 99, 101, 102, 106, 109, 110, 111, 112, 116, 123], "input_data_obj": 68, "input_str": [24, 40, 43, 73, 90, 92, 96, 101, 106, 109, 110, 112, 118], "input_text": 15, "insert": 42, "insid": [8, 24, 26, 29, 110, 111], "instal": [32, 79, 80, 84, 92, 93, 109, 114, 116], "install_messag": 79, "instanc": [14, 17, 18, 34, 39, 40, 47, 48, 52, 73, 82, 94, 95, 110, 112, 116, 121, 123], "instanti": [40, 77, 88, 96], "instead": [8, 14, 26, 29, 39, 40, 47, 61, 88, 90, 92, 93, 96, 98, 110, 111, 112, 116], "instruct": [17, 18, 21, 24, 34, 36, 39, 69, 88, 95, 96, 110, 112, 116, 123], "instructur": 112, "int": [0, 6, 8, 11, 15, 19, 21, 23, 26, 27, 29, 36, 39, 42, 45, 47, 51, 53, 55, 57, 67, 71, 80, 88, 92, 93, 108, 109, 112, 123], "int_param": 51, "integ": [17, 34, 51], "integr": [8, 10, 11, 13, 14, 15, 16, 26, 29, 32, 33, 65, 92, 93, 97, 98, 102, 108, 109, 116, 118], "intellig": [95, 96], "intend": 84, "intent": 95, "interact": [24, 38, 39, 57, 65, 88, 97, 98, 108, 112, 118, 123], "interchang": 112, "interest": [92, 95], "interfac": [17, 46, 47, 50, 90, 93, 94, 96, 97, 98, 102], "intergr": [98, 102, 109], "interleav": [99, 108], "intermedi": [92, 108], "intern": [39, 65, 79, 82, 95, 98, 102, 108, 112], "interpret": [8, 26, 29], "intial": 96, "intro": 10, "introduc": [8, 26, 29, 106, 111], "introduct": [14, 122], "intuit": [8, 26, 29, 111], "invalid_api_kei": 96, "invalid_request_error": 96, "invers": [19, 36, 110], "invest": [92, 109], "investig": [96, 123], "invok": [39, 47], "involv": [95, 110], "io": [40, 45, 53], "irrelev": 109, "is_dataclass_inst": 47, "is_key_in_templ": 52, "is_norm": [47, 57, 93], "is_pick": 90, "is_pickl": 40, "is_potential_dataclass": 47, "is_running_in_event_loop": 46, "isinst": 102, "issu": 84, "item": [42, 92, 112], "item1": 54, "item2": 54, "iter": [40, 51, 98, 108, 110, 118], "itertool": 110, "its": [8, 19, 26, 29, 36, 40, 47, 51, 53, 57, 73, 74, 75, 77, 87, 88, 90, 92, 96, 98, 106, 108, 109, 110, 111, 112, 116, 121], "itself": [9, 31, 40, 47, 52, 78, 98, 99, 106, 110], "jan": 18, "jinja": [106, 116], "jinja2": [52, 96, 97, 116, 123], "jinja2_template_exampl": 106, "job": [92, 109], "john": [24, 39, 123], "join": [24, 92, 108, 112, 113, 121], "joke": 123, "joke_exampl": 123, "jokeoutput": 123, "josh": 95, "json": [8, 17, 19, 24, 26, 29, 34, 36, 39, 47, 54, 56, 57, 73, 74, 75, 77, 78, 82, 88, 90, 96, 101, 108, 109, 111, 112, 116, 118, 121, 123], "json_definit": [56, 112], "json_obj": 54, "json_pars": 54, "json_signatur": 88, "json_signature_exclud": 88, "json_str": [39, 47, 54, 88], "jsonl": [73, 74, 78, 101], "jsonoutputpars": [17, 34, 112], "jsonpars": [0, 54, 96, 108, 121], "judg": [61, 95, 96, 121], "judgement": [61, 95, 121], "judgement_list": [61, 121], "judgement_queri": [61, 121], "jump": 116, "just": [15, 92, 96, 102, 112, 116], "k": [21, 23, 36, 110], "k1": [19, 36, 109, 110], "keep": [39, 42, 88, 90, 92, 99, 109, 110, 111, 123], "kei": [11, 14, 24, 39, 40, 42, 47, 52, 53, 54, 57, 87, 88, 90, 92, 93, 94, 96, 108, 109, 110, 112, 114, 116, 123], "kept": [8, 26, 29], "keyword": [24, 47, 52, 57, 106, 109, 112], "kind": 116, "kmp_duplicate_lib_ok": 110, "knock": [92, 109], "know": [14, 96, 98, 99, 101, 112], "knowledg": [98, 108, 109, 112, 121], "known": [87, 88, 109], "kw_onli": 69, "kwarg": [0, 10, 13, 14, 15, 17, 19, 21, 23, 24, 36, 40, 45, 46, 47, 48, 50, 52, 53, 57, 61, 70, 71, 102, 106, 108, 109, 112], "l": [15, 111], "label": [39, 47, 71, 88, 109, 116], "lack": [106, 109], "lambda": [40, 71, 92, 109], "land": [92, 109], "landscap": 109, "languag": [8, 19, 26, 29, 36, 84, 87, 95, 96, 99, 108, 116, 118], "larg": [45, 87, 92, 95, 96, 109, 110, 111, 118], "larger": [45, 110], "last": [8, 26, 29, 42, 92, 109, 112], "last_hidden_st": [15, 102], "later": [42, 48, 88, 92, 109, 110, 112], "latest": 108, "layer": 98, "lazi": 79, "lazy_import": [57, 115], "lazyimport": [57, 79], "lead": [21, 36, 69, 71, 92, 109], "leap": [62, 63, 95], "learn": [40, 90, 93, 95, 96, 97, 98, 102, 109, 111, 113, 116, 121], "least": 47, "left": [19, 36], "legal": 95, "len": [92, 110, 112, 121], "length": [8, 19, 26, 29, 36, 42, 57, 92, 93, 110, 111, 112], "lengthi": 116, "lengthier": [19, 36, 110], "less": [17, 19, 34, 36, 57, 88, 93, 109, 110, 112, 118], "let": [18, 32, 88, 90, 92, 101, 106, 108, 109, 110, 112, 121], "level": [58, 65, 80, 89, 108, 112, 116, 118], "leverag": [8, 29, 47, 53, 84, 88, 92, 108, 109, 110, 111, 112, 121], "leverg": [19, 36, 53], "li": [88, 92, 93, 102, 106, 109, 112, 117], "lib": 80, "librari": [8, 26, 29, 39, 42, 48, 61, 73, 79, 80, 88, 89, 90, 95, 97, 98, 99, 102, 109, 111, 116, 118], "lickabl": 110, "life": 95, "lifecyl": 112, "lifestyl": 90, "lift": 98, "light": [92, 109, 118], "light_rag": 116, "lightrag": [8, 14, 15, 17, 19, 26, 29, 36, 38, 39, 40, 42, 43, 50, 52, 57, 58, 65, 74, 79, 80, 84, 86, 87, 88, 89, 90, 92, 93, 94, 95, 96, 97, 98, 102, 106, 109, 111, 113, 114, 118, 121, 123], "lightrag_default_prompt_arg": 106, "lightweight": 88, "like": [8, 26, 29, 39, 42, 47, 50, 57, 73, 80, 88, 90, 92, 93, 94, 96, 98, 99, 101, 102, 108, 109, 110, 111, 116, 118, 123], "limit": [84, 92, 95, 97, 109, 110, 111, 112], "line": [80, 84, 96, 97, 98, 101, 116], "line_numb": 80, "linear": 118, "link": 84, "list": [0, 6, 8, 11, 14, 15, 17, 19, 21, 23, 26, 27, 29, 34, 36, 39, 40, 42, 45, 47, 48, 51, 52, 53, 54, 55, 56, 57, 59, 61, 62, 63, 67, 69, 71, 73, 74, 78, 88, 90, 92, 93, 95, 99, 102, 109, 110, 112, 115, 121], "list_output_format_templ": [17, 34], "list_pars": 54, "listoutputpars": [17, 34], "listpars": [21, 36, 54, 109, 110], "liter": [8, 26, 29, 47, 57, 80, 109], "liu": 95, "llama": [8, 29, 106], "llama3": [13, 40, 96, 99, 106, 108, 118], "llama_index": 116, "llamaindex": [8, 29, 116], "llm": [0, 9, 15, 21, 24, 31, 36, 39, 40, 46, 48, 54, 57, 61, 68, 69, 87, 90, 92, 96, 97, 101, 102, 108, 110, 111, 112, 116, 118, 121, 122, 123], "llm_as_judg": [64, 96], "llm_augment": 67, "llm_evalu": [61, 121], "llm_judg": [61, 121], "llm_kwarg": 92, "llm_model_kwarg": 108, "llm_optim": 96, "llm_query_indic": 110, "llm_query_output": 110, "llm_retriev": [96, 109, 110], "llm_tool": 108, "llmasjudg": [61, 95, 121], "llmasretriev": 109, "llmaugment": 68, "llmoptim": [69, 96], "llmretriev": [21, 36, 73, 96, 109, 110], "llmretrieveroutputtyp": [21, 36], "lo": 99, "load": [19, 36, 39, 40, 42, 53, 67, 69, 74, 75, 77, 78, 84, 92, 95, 102, 108, 109, 112, 114, 121, 123], "load_dataset": [95, 121], "load_dotenv": [94, 108, 110, 115], "load_from_fil": [19, 36, 53, 109], "load_from_pickl": 40, "load_index": 110, "load_json": 78, "load_jsonl": 78, "load_meta_data": 74, "load_metr": 95, "load_pickl": 78, "load_stat": [42, 92], "load_state_dict": [40, 90], "load_state_pickl": 40, "loaded_exampl": 123, "local": [9, 15, 31, 40, 50, 84, 97, 102, 109, 112], "local_db": 42, "local_db_load": 42, "local_embedd": 93, "local_embedder_256": 93, "local_item_db": 42, "localdb": [9, 31, 42, 57, 92], "locat": [84, 88, 109, 112], "lock": 116, "log": [19, 36, 73, 74, 75, 78, 80, 92, 96, 98, 102, 117], "log_cal": 74, "log_prompt": 75, "logger": [73, 101], "logger_metadata": 101, "logic": [11, 13, 15, 50, 95, 98, 110], "logprob": [57, 109], "long": [8, 26, 29, 92, 96, 97, 101, 109, 110, 111], "longest": 109, "look": [47, 88, 92, 93, 101, 106, 108, 109, 110, 117], "lookup": 108, "loop": [24, 46, 52, 95, 106, 109, 112], "lose": [96, 101, 116], "lost": [42, 109], "lot": [54, 95, 110], "love": 110, "lower": [98, 110, 112], "lru_cach": 102, "lstrip_block": 106, "luna": 110, "m": [57, 84, 101], "m1": 15, "macbook": 15, "made": [42, 88, 96, 97], "magenta": 80, "mai": [8, 29, 90, 99], "main": [42, 52, 71, 84, 90, 94, 109, 116], "mainli": [57, 79, 88, 92, 98, 110, 116], "maintain": [8, 26, 29, 39, 84, 88, 110], "major": 84, "make": [17, 34, 42, 50, 65, 84, 88, 90, 92, 95, 96, 101, 102, 106, 108, 109, 112, 115, 116, 123], "makefil": 84, "manag": [8, 29, 42, 43, 53, 56, 57, 68, 77, 90, 92, 94, 96, 102, 108, 110, 111, 112, 123], "mani": [18, 106, 109, 112], "manipul": [108, 116], "manner": 108, "manual": [40, 77, 84, 90, 98, 101, 116, 117], "manufactur": [92, 109], "map": [8, 23, 26, 29, 36, 40, 42, 47, 53, 78, 82, 88, 92, 109, 111, 112], "map_dialogturn_to_docu": 92, "map_fn": [42, 92], "map_to_docu": 92, "mapper_setup": [42, 92], "mappingproxi": 69, "mar": 0, "mark": [88, 95], "markdown": [8, 26, 29, 111], "marshmallow": [39, 88], "massiv": 95, "match": [19, 36, 40, 47, 59, 88, 95, 110, 121], "match_acc_list": 121, "materi": [92, 109], "mathemat": 95, "matrix": 88, "matter": [46, 88, 92], "max": [46, 108], "max_length": [15, 102], "max_step": [0, 108], "max_token": [99, 102], "maxim": [98, 106], "maximum": [0, 8, 24, 26, 29, 89, 99, 110, 111, 118], "mayb": 116, "md": [116, 117], "me": [106, 109], "mean": [8, 26, 29, 42, 71, 96, 98, 99, 108, 110, 111, 112], "meant": 84, "meanwhil": 110, "measur": [19, 36, 95, 110], "mechan": 102, "medata": 39, "medic": [90, 95], "member": [40, 113], "memo": 40, "memoi": 97, "memori": [42, 45, 57, 58, 92, 93, 97, 98, 110, 111, 112], "meng": 95, "mere": 110, "merg": [8, 26, 29, 111, 116], "messag": [10, 14, 24, 57, 79, 93, 96, 99, 102, 106], "meta": [99, 106, 110], "meta_data": [8, 26, 29, 57, 92, 94, 110, 111, 121], "metadata": [17, 24, 34, 39, 46, 47, 57, 69, 88, 92, 96, 101, 108, 109, 123], "methd": 53, "method": [8, 10, 11, 13, 14, 15, 17, 19, 26, 29, 34, 36, 39, 40, 42, 50, 52, 53, 55, 61, 71, 73, 82, 88, 90, 92, 93, 95, 96, 97, 101, 102, 106, 109, 112, 118], "metric": [59, 61, 62, 63, 95, 109, 121], "middl": 109, "might": [15, 18, 21, 36, 40, 42, 46, 88, 92, 93, 96, 109, 110, 112], "million": 109, "mimic": 18, "mimick": 88, "mind": [98, 101], "minim": [9, 31, 98], "minimum": [24, 89, 106, 118], "minut": 114, "mislead": [24, 39, 123], "miss": [39, 47, 68, 109, 112], "misunderstand": 110, "mixtral": 13, "mmlu": 95, "mode": [40, 97, 116], "modecli": 94, "model": [0, 8, 9, 10, 11, 13, 14, 15, 16, 18, 19, 21, 23, 26, 29, 31, 32, 33, 36, 40, 42, 45, 47, 48, 50, 57, 61, 68, 77, 87, 90, 94, 95, 97, 98, 99, 106, 108, 109, 110, 111, 112, 116, 118, 121, 123], "model_cli": [0, 21, 23, 36, 38, 40, 45, 48, 58, 61, 68, 69, 73, 77, 79, 90, 92, 93, 94, 96, 97, 102, 108, 109, 110, 112, 118, 121], "model_kwarg": [0, 10, 11, 13, 14, 15, 21, 23, 36, 40, 45, 47, 48, 50, 57, 61, 68, 69, 74, 77, 90, 92, 93, 94, 96, 101, 102, 108, 109, 110, 112, 118, 121], "model_nam": [15, 77, 102], "model_typ": [10, 11, 13, 14, 15, 40, 45, 48, 50, 57, 90, 95, 96, 102], "modelcli": [0, 10, 11, 13, 14, 15, 21, 23, 36, 40, 45, 48, 50, 57, 61, 68, 69, 90, 93, 96, 97, 106, 109, 118], "modelclienttyp": [57, 92, 96, 109, 112], "modeltyp": [10, 11, 13, 14, 15, 40, 45, 48, 50, 57, 90, 96, 102, 109], "modif": [14, 90], "modifi": [6, 26, 27], "modoel": 92, "modubl": 40, "modul": [21, 39, 40, 47, 54, 57, 79, 82, 84, 88, 90, 92, 97, 109, 116, 118, 121], "modular": 118, "module_nam": 79, "moment": 98, "monitor": [92, 116], "month": [62, 63, 95], "monument": 101, "moon": 95, "more": [8, 10, 11, 13, 18, 19, 24, 26, 29, 36, 39, 40, 47, 54, 55, 56, 57, 61, 68, 84, 85, 88, 89, 90, 92, 93, 95, 96, 97, 98, 99, 101, 108, 109, 110, 111, 112, 116, 118, 120, 121, 123], "moreov": 108, "most": [17, 90, 96, 97, 99, 101, 106, 109, 110], "mostli": [39, 109], "move": [8, 26, 29, 97, 109, 111], "movi": [94, 110], "mp": 15, "much": [90, 96, 101, 109, 110], "mulitpl": [6, 27], "multi": [88, 93, 99, 108, 116], "multifacet": 95, "multilingu": 11, "multipl": [0, 42, 71, 74, 75, 77, 87, 92, 93, 96, 108, 109, 112, 116], "multipli": [108, 112], "multitask": 95, "multple_function_call_templ": 112, "must": [24, 40, 42, 102], "my_db": 42, "my_funct": 40, "my_function_compon": 40, "my_inst": [39, 123], "myfunctioncompon": 40, "myoutput": [39, 123], "mypi": 88, "n": [8, 14, 17, 19, 26, 29, 34, 36, 43, 54, 92, 101, 102, 110, 112], "n_________": 92, "nadd": 112, "name": [24, 39, 40, 42, 46, 47, 55, 57, 69, 73, 74, 75, 77, 78, 79, 80, 81, 82, 88, 90, 92, 95, 98, 101, 108, 109, 110, 112, 116, 121, 123], "named_children": 40, "named_compon": 40, "named_paramet": [40, 90], "nanswer": 101, "nativ": [88, 106], "natur": [8, 26, 29, 47, 95], "navig": 84, "nd": 109, "ndarrai": [47, 109, 112], "ndivid": 112, "necessari": [15, 84, 110, 112, 115, 116, 121], "need": [0, 8, 11, 13, 14, 15, 17, 19, 26, 29, 36, 39, 40, 45, 46, 50, 54, 56, 57, 79, 80, 88, 92, 93, 96, 98, 102, 106, 109, 110, 111, 112, 116, 121], "neg": [19, 36, 59, 110], "nest": [17, 34, 39, 40, 47, 57, 88, 97], "net": 118, "neutral": [59, 116], "new": [0, 8, 26, 29, 42, 47, 69, 84, 92, 93, 95, 108, 109, 110, 112, 116], "new_compon": [77, 96], "new_components_from_config": 77, "new_dim": 93, "new_embed": 93, "new_turn": 92, "next": [24, 40, 94, 95, 99, 102, 106, 108, 110, 112, 121], "nget": 112, "nkei": 54, "nlg": 95, "nlp": [8, 26, 29, 94, 98, 110, 111], "nlu": 95, "nmultipli": 112, "nn": [40, 90, 118], "nnew": 110, "nnone": 112, "nnow": 101, "node": 47, "nois": 110, "non": [8, 26, 29], "none": [0, 8, 9, 10, 11, 13, 14, 15, 17, 19, 21, 23, 26, 29, 31, 34, 36, 39, 40, 42, 45, 46, 47, 48, 50, 51, 52, 53, 56, 57, 61, 67, 68, 69, 71, 73, 74, 75, 78, 79, 80, 82, 88, 92, 94, 96, 102, 109, 110, 111, 112], "nonetyp": 57, "nonsens": [110, 111], "normal": [19, 36, 47, 57, 88, 93, 102, 110], "normalize_np_arrai": 47, "normalize_vector": [47, 93], "nosql": 109, "note": [15, 17, 18, 19, 36, 39, 40, 47, 53, 57, 80, 90, 92, 96, 97, 108, 109, 112, 116, 121], "notebook": [108, 109], "noth": 108, "notic": [96, 99], "notimplementederror": [102, 109], "now": [15, 18, 40, 73, 88, 92, 93, 94, 96, 101, 106, 108, 109, 110, 112, 116], "np": [109, 112], "nsearch": 112, "nsum": 112, "nthe": 101, "null": [92, 101], "num": 71, "num_class": 71, "num_doc": 121, "num_row": 95, "num_shot": [67, 71], "number": [0, 8, 19, 23, 26, 29, 36, 55, 62, 63, 80, 93, 94, 95, 108, 110, 111, 112, 121], "numer": [88, 94, 109, 110], "numpi": [93, 109, 112], "numpy_sum": 112, "nyou": 43, "nz": [19, 36], "o": [82, 84, 102, 110], "o200k_bas": 110, "obj": [40, 47, 78, 82], "object": [8, 15, 17, 26, 29, 34, 39, 40, 47, 48, 52, 54, 56, 57, 59, 61, 62, 63, 68, 69, 70, 73, 74, 75, 78, 79, 81, 82, 88, 94, 96, 108, 110, 111, 112], "objecttyp": [82, 112], "observ": [24, 57, 98, 108], "obtain": [94, 95], "occur": [19, 36, 93], "occurr": 110, "off": [102, 109], "offer": [92, 96, 102, 109, 116, 118, 123], "offici": 118, "often": [19, 36, 57, 92, 93, 96, 102, 106, 109, 111], "okapi": 110, "okapi_bm25": [19, 36, 109], "old_dim": 93, "old_embed": 93, "onc": [95, 109, 110], "one": [6, 15, 24, 27, 46, 47, 80, 93, 96, 99, 101, 106, 108, 109, 110, 112], "ones": [73, 96, 110, 111], "onli": [14, 17, 19, 24, 34, 36, 39, 40, 42, 45, 47, 48, 56, 57, 61, 73, 77, 79, 88, 90, 92, 93, 96, 98, 101, 102, 106, 108, 109, 110, 112, 116, 123], "open": [84, 95, 116, 121], "openai": [11, 13, 14, 15, 16, 33, 50, 57, 79, 92, 94, 96, 99, 102, 109, 110, 112, 115, 116, 123], "openai_api_kei": [93, 102, 115], "openai_cli": [79, 93, 102, 121], "openaicli": [11, 13, 14, 15, 40, 45, 48, 50, 73, 77, 79, 90, 92, 93, 94, 96, 102, 108, 109, 110, 121], "oper": [6, 26, 27, 39, 42, 45, 57, 58, 65, 88, 92, 109, 110, 123], "operand": 112, "opinion": 116, "opro": 69, "opt": 106, "optim": [19, 36, 51, 88, 90, 92, 96, 101, 109, 110, 116, 118], "option": [0, 8, 10, 13, 14, 15, 17, 19, 21, 23, 26, 29, 34, 36, 39, 40, 42, 45, 47, 48, 50, 51, 52, 53, 55, 57, 61, 73, 74, 75, 78, 79, 80, 88, 90, 92, 96, 102, 109, 111, 112, 114, 118, 123], "optional_packag": 79, "optionalpackag": [79, 115], "opu": 99, "orang": 110, "orchestr": [45, 46, 48, 67, 92, 93, 94, 97, 106], "ord_docu": 92, "order": [8, 26, 29, 39, 40, 52, 57, 88, 92, 93, 98, 110, 111], "ordereddict": [40, 57], "org": [0, 15, 18, 19, 36, 69, 87, 88, 109], "org_docu": 92, "organ": [84, 92, 110, 116], "origin": [8, 26, 29, 42, 88, 92, 94, 109, 110], "orpo": 69, "oss": 116, "otago": [19, 36], "other": [8, 17, 24, 26, 29, 34, 40, 47, 54, 57, 77, 82, 84, 88, 90, 93, 95, 96, 97, 98, 109, 112, 113, 116, 123], "othersi": 40, "otherwis": [40, 57, 111], "our": [32, 39, 40, 48, 61, 71, 84, 85, 88, 90, 92, 93, 96, 97, 99, 102, 106, 108, 109, 110, 112, 113, 114, 115, 116, 118, 119, 121], "ourselv": 116, "out": [88, 90, 95, 96, 98, 102, 108, 109, 110, 112, 116], "outcom": [8, 26, 29], "outer": 88, "outlin": [38, 65, 95, 108], "outperform": 108, "output": [8, 13, 14, 16, 19, 21, 24, 26, 29, 33, 34, 36, 39, 40, 43, 45, 46, 47, 48, 54, 57, 61, 67, 68, 71, 73, 74, 80, 88, 90, 92, 94, 97, 99, 101, 102, 106, 108, 109, 110, 111, 116, 121, 123], "output_1": 109, "output_2": 109, "output_3": 109, "output_data_class": 112, "output_data_obj": 68, "output_format": [43, 96, 101, 112, 123], "output_format_str": [17, 43, 96, 101, 106, 112], "output_pars": [38, 112], "output_processor": [0, 17, 21, 34, 36, 45, 48, 67, 93, 94, 97, 108, 109, 110, 112, 121], "output_str": 101, "outputformat": 88, "outputpars": [14, 17, 34, 112, 118], "outstand": 123, "over": [40, 46, 87, 90, 106, 110, 116, 118], "overal": [39, 95, 98, 108, 112], "overflow": 93, "overhead": 46, "overlap": [8, 26, 29, 88, 110, 111], "overpr": 110, "overrid": [94, 108, 110], "overview": [92, 95], "overwrit": 39, "own": [8, 14, 29, 39, 40, 47, 53, 74, 87, 88, 93, 95, 102, 109, 116, 121], "p": 102, "p1": 112, "p2": 112, "packag": [79, 84, 88, 94, 109, 110, 114, 116, 118], "pad": 102, "page": [8, 26, 29, 84, 108, 110, 111], "paid": 101, "pain": 90, "pair": 109, "paitesanshi": 87, "palletsproject": 106, "panel": [92, 109], "paper": [15, 19, 36, 95, 108, 109], "paragraph": 110, "parallel": 87, "param": [40, 47, 51, 62, 90, 96], "paramet": [8, 10, 13, 14, 15, 17, 19, 21, 23, 24, 26, 29, 34, 36, 39, 40, 42, 45, 47, 48, 50, 52, 53, 55, 57, 59, 61, 63, 67, 69, 73, 74, 75, 77, 78, 79, 80, 82, 88, 90, 97, 108, 110, 112, 116, 121], "parent": 110, "parent_doc_id": [8, 26, 29, 57, 92, 110, 111], "pari": [101, 102, 112], "pars": [10, 13, 14, 15, 16, 17, 33, 34, 46, 47, 48, 50, 54, 56, 57, 96, 97, 102, 108, 112], "parse_chat_complet": [10, 13, 14, 15, 50, 102], "parse_embedding_respons": [14, 15, 16, 32, 33, 50, 102], "parse_func_expr": [56, 112], "parse_function_call_expr": [47, 112], "parse_json_str_to_obj": 47, "parse_yaml_str_to_obj": 47, "parsed_input": [57, 112], "parser": [14, 17, 34, 97, 108, 110, 112], "part": [47, 87, 96, 97, 106, 109, 110, 122], "parti": [39, 80, 109], "particip": 113, "particl": [92, 109], "particulai": 95, "particular": [45, 50, 53, 90, 96, 97, 101, 118], "particularli": 110, "pass": [14, 19, 23, 36, 40, 45, 47, 48, 52, 57, 61, 88, 90, 93, 96, 99, 102, 106, 108, 109, 110, 112], "passag": [8, 26, 29, 110, 111], "past": [57, 106], "path": [19, 36, 53, 73, 75, 79, 95, 97, 121], "path_to_html_output": 84, "pattern": [16, 33, 40, 46, 47, 57], "pdf": [8, 19, 26, 29, 36, 111], "pdfminer": [8, 26, 29, 111], "per": 57, "percent": 106, "perform": [42, 61, 67, 68, 71, 92, 93, 95, 96, 98, 101, 106, 108, 109, 110, 111, 116, 121], "perhap": 101, "period": [8, 26, 29, 111], "perplex": 95, "persist": [9, 19, 31, 36, 42, 53, 57, 90, 92, 109], "persit": 92, "person": [39, 123], "pgvector": [79, 109, 115], "phase": 110, "philosophi": [89, 97], "phoenix": 116, "photon": [92, 109], "phrase": 109, "pickabl": 90, "pickl": [40, 42, 78, 92, 109], "picklabl": [40, 42], "pickle_to_fil": 40, "piec": [8, 26, 29, 110], "pip": [79, 80, 84, 115], "pipelin": [9, 15, 31, 40, 42, 77, 90, 93, 95, 96, 98, 109, 118, 122], "pkl": [42, 77, 92], "place": [51, 112, 115], "placehold": 106, "plai": [38, 50, 65, 92, 99, 106, 109, 110], "plain": 111, "plan": [97, 102, 108, 115], "plann": 87, "planner": 0, "platform": [14, 95, 96, 112, 113], "pleas": [8, 17, 26, 29, 34, 39, 46, 48, 61, 79, 80, 84, 85, 90, 93, 95, 96, 102, 108, 109, 110, 111, 112, 116, 120, 123], "plenti": 90, "plot": 89, "plug": [50, 116], "poetri": [84, 116], "point": [8, 26, 29, 73, 88, 111, 112, 121], "pollut": [92, 109], "pool": 109, "pop": [42, 92], "popular": [87, 95, 110], "posit": [24, 40, 47, 57, 59, 80, 92, 94, 109, 110, 112], "possibl": 88, "post": [21, 36, 109], "postgr": 109, "postgres_retriev": 36, "postgresql": 109, "postprocessor": 116, "potenti": [24, 47, 88, 99, 108, 111], "power": [92, 109, 118], "powershel": 80, "practic": [109, 110, 116], "practis": [90, 109], "pre": [92, 95, 116], "precis": [95, 109], "pred_answ": [59, 61], "predefin": 47, "predict": [39, 48, 57, 59, 61, 73, 88, 95, 96, 97, 99, 101, 106, 121], "prefer": [24, 109, 112], "prefix": [39, 40, 47, 106, 123], "prepar": [21, 36, 92, 94, 109, 110, 112], "prepend": 40, "preprint": 95, "preprocess": [8, 29, 55, 110], "prescript": 90, "presenc": [19, 36], "preserv": 88, "preset": [0, 48, 52, 106, 110], "preset_prompt_kwarg": [17, 34, 52, 73, 101, 108, 109, 110, 121], "pretti": 109, "prevent": [8, 26, 29, 110, 111], "previou": [24, 40, 69, 92, 96, 108, 110, 111, 121], "previous": [14, 40, 52, 109], "principl": 116, "print": [8, 17, 19, 26, 29, 34, 36, 39, 40, 46, 47, 52, 54, 57, 80, 88, 92, 93, 94, 95, 96, 102, 106, 108, 109, 110, 111, 112, 121, 123], "print_prompt": [48, 52, 92, 96], "print_prompt_templ": 52, "printc": 80, "printout": [90, 92, 106, 109, 112], "prior": 80, "priorit": 109, "pro": [92, 109], "prob": 109, "probab": 109, "probabl": [14, 109, 110], "problem": [108, 109, 112, 116], "procesor": 93, "process": [8, 18, 21, 24, 26, 29, 36, 42, 45, 54, 57, 84, 88, 90, 92, 93, 94, 95, 96, 97, 98, 101, 106, 108, 109, 110, 111, 112, 116, 121], "process_queri": 112, "processor": [17, 34, 45, 48, 57, 67, 96, 97], "produc": [92, 109, 121], "product": [8, 29, 92, 93, 95, 98, 109, 110], "production": 116, "profess": 109, "profil": [109, 110], "program": 88, "programmat": [97, 106], "prohibit": 84, "project": [14, 65, 74, 75, 84, 93, 101, 113, 114, 115, 119], "project_nam": [73, 74, 75], "prompt": [0, 14, 17, 21, 24, 34, 36, 39, 40, 43, 48, 52, 57, 68, 73, 75, 80, 88, 90, 92, 96, 97, 98, 99, 101, 102, 108, 109, 110, 112, 116, 117, 118, 121, 123], "prompt_build": [58, 96, 106, 112, 121, 123], "prompt_kwarg": [0, 48, 52, 74, 90, 92, 96, 101, 106, 112], "prompt_stat": [75, 101], "prompt_templ": 123, "prompt_token": [57, 102], "prompt_vari": [40, 90, 96, 101, 106, 109, 118], "promt_kwarg": 0, "properli": 123, "properti": [42, 47, 56, 57, 74, 75, 88, 93, 108, 112], "propetriari": 99, "propos": [67, 69], "proprietari": [106, 116], "protocol": [50, 95, 97, 109], "provid": [8, 21, 24, 26, 29, 32, 36, 38, 39, 40, 47, 50, 51, 52, 58, 65, 69, 73, 74, 80, 88, 89, 90, 92, 93, 94, 95, 96, 97, 98, 99, 101, 102, 106, 108, 109, 110, 112, 116, 118, 121, 123], "proxim": 109, "pt": 102, "publish": [0, 18], "pull": 84, "punchlin": 123, "punctuat": [8, 26, 29, 111], "pure": 96, "purpos": [8, 26, 29, 90, 92, 111, 121], "purposli": 40, "pursuit": 87, "push": 84, "put": [88, 90, 93, 98, 109, 116], "py": [57, 84, 115, 116, 121], "pydant": [39, 88], "pydata_sphinx_them": 84, "pypdf2": [8, 26, 29, 111], "python": [8, 17, 24, 26, 29, 34, 39, 47, 54, 57, 84, 88, 95, 106, 111, 115, 116], "pytorch": [39, 40, 71, 84, 88, 90, 98, 118, 123], "q": [18, 19, 36, 108], "q_i": [19, 36], "qa": 40, "qualiti": [84, 95, 96, 121], "qualnam": [39, 57, 79, 82], "quantit": 95, "queri": [0, 6, 11, 15, 17, 19, 21, 24, 27, 34, 36, 40, 57, 59, 61, 62, 63, 87, 90, 93, 95, 101, 102, 106, 108, 109, 110, 112, 118, 121], "query_1": 109, "query_1_short": 109, "query_1_token": 109, "query_1_word": 109, "query_2": 109, "query_2_short": 109, "query_or_queri": [21, 36, 110], "query_str": [57, 92], "question": [8, 17, 18, 26, 29, 34, 39, 47, 61, 88, 90, 95, 101, 108, 111, 113, 116, 121, 123], "quick": [56, 108, 110], "quickli": [92, 109, 116], "quit": [96, 106, 109], "quot": [24, 112], "r": [24, 40, 52, 84, 90, 96, 102, 106, 109, 112, 118, 121, 123], "rag": [87, 95, 108, 109, 110, 116, 118, 122], "rag_hotpotqa": 121, "raga": 95, "rais": [8, 26, 29, 39, 47, 79, 88, 93, 96, 102, 109], "random": [54, 71], "random_replac": [67, 71], "random_sampl": 71, "randomli": 71, "randomsampl": 71, "rang": [57, 61, 69, 71, 88, 95, 109, 110, 112, 121], "rank": [19, 23, 36, 110], "rank_bm25": [19, 36, 109], "rare": [19, 36], "rate": 112, "rather": [88, 93, 96], "ratio": [62, 63, 110, 121], "raw": [8, 19, 24, 29, 36, 57, 88, 96, 106, 112], "raw_respons": [21, 36, 57, 93, 96, 101, 102, 112], "re": [108, 109], "reach": [19, 36, 106, 108], "react": [24, 87], "reactag": [0, 87, 97, 108], "read": [24, 73, 99, 106, 108, 116, 123], "readabl": 84, "readi": [109, 110, 112], "readili": 95, "readm": [84, 116, 117], "real": [8, 26, 29, 92, 109, 111, 113, 118], "realiti": 106, "realli": [92, 96, 102, 108], "realtion": 109, "reason": [17, 19, 34, 36, 87, 88, 95, 97, 108, 109, 110], "reattach": [8, 26, 29], "rebuilt": 77, "recal": [62, 95, 109, 121], "recall_list": [62, 95, 121], "receiv": [94, 99, 110], "recogn": 116, "recognit": 98, "recommend": [95, 115], "recomnend": 71, "recomput": 109, "reconstruct": [77, 88], "reconstructed_from_json": 88, "reconstructed_from_yaml": 88, "record": [57, 73, 74, 92, 96, 110], "recreat": 77, "recurs": [40, 47, 90], "red": 80, "reduc": [92, 109], "refer": [0, 8, 11, 14, 15, 19, 26, 29, 36, 39, 40, 48, 61, 84, 95, 108, 110, 111, 123], "reference_text": 95, "reflect": [8, 26, 29, 111], "regardless": 112, "regex": 47, "regist": [42, 74, 81, 92, 102], "register_compon": 40, "register_gener": 74, "register_paramet": [40, 90], "register_transform": [42, 92], "regress": 106, "regular": 40, "reimplement": 109, "reiniti": [21, 36, 109], "rel": [19, 36], "relai": 96, "relat": [57, 109, 110], "relationship": 110, "relax": 90, "relev": [21, 36, 62, 63, 92, 93, 95, 96, 97, 99, 109, 110, 112, 121], "relevance_list": [63, 95, 121], "reli": [39, 98, 110, 112, 118], "relianc": [92, 109], "reliev": 90, "reload": 92, "reloaded_dialog_turn_db": 92, "relu": 90, "remain": [84, 94, 109], "rememb": 24, "remov": [42, 84, 92], "remove_dupl": 40, "remove_stop_word": 55, "remove_transform": [42, 92], "render": [52, 106], "renered_prompt": 112, "renew": [92, 109], "renewab": 92, "repeat": 111, "replac": [0, 71], "repo": 116, "reponse_embedder_output": 102, "report": 95, "repositori": [84, 116, 120], "repr": 69, "repr_str": 93, "repres": [39, 40, 47, 51, 88, 92, 106, 109, 110, 112, 118, 121], "represent": [39, 52, 57, 82, 94, 95, 110], "represent_ordereddict": 47, "request": 108, "requir": [17, 21, 32, 34, 36, 39, 42, 47, 48, 51, 54, 57, 59, 84, 88, 92, 99, 102, 106, 108, 109, 110, 112, 121, 123], "required_field": [39, 47, 88], "requires_opt": 51, "requr": 112, "rerank": [11, 15, 23, 36, 57, 116], "reranker_retriev": 109, "rerankerretriev": [23, 36, 109], "research": [92, 93, 95, 98, 106, 108, 109, 110, 116], "reserv": 96, "reset": [0, 19, 21, 23, 36, 42, 53, 67, 69, 92], "reset_index": [19, 21, 23, 36, 53, 110], "reset_paramet": [67, 69], "resolv": [47, 123], "resourc": [84, 108, 109], "respect": [47, 94], "respond": [96, 106, 112], "respons": [0, 14, 15, 16, 17, 21, 33, 36, 48, 50, 57, 69, 90, 92, 93, 96, 99, 102, 108, 109, 110, 112, 121], "response_format": 14, "response_str": [57, 92], "response_text": 102, "rest": [50, 90, 99, 106, 110], "restor": [19, 36, 39, 42, 53, 109], "restored_data": 39, "restored_dialog_turn_db": 92, "restructuredtext": 84, "result": [8, 19, 24, 29, 36, 40, 46, 47, 48, 57, 61, 80, 89, 94, 95, 96, 97, 98, 101, 109, 110, 111, 112, 118], "result1": 112, "result1someth": 112, "result2": 112, "result2someth": 112, "retri": [11, 13, 15, 50, 102], "retriev": [6, 8, 9, 26, 27, 29, 31, 40, 47, 57, 62, 63, 90, 92, 94, 95, 96, 97, 98, 102, 106, 111, 112, 116, 118, 121], "retrieved_context": [62, 63, 95], "retriever2": [19, 36], "retriever_1": 109, "retriever_evalu": 121, "retriever_output": [6, 27], "retriever_output_to_context_str": [6, 26, 27], "retriever_recal": [64, 95], "retriever_relev": [64, 95], "retrieverdocumentstyp": [23, 36, 109], "retrieverdocumenttyp": [19, 21, 23, 36, 53, 57, 109], "retrieverevalu": 121, "retrieveroutput": [6, 19, 21, 23, 27, 36, 53, 57, 92, 109, 110], "retrieveroutputtocontextstr": [6, 26, 27], "retrieveroutputtyp": [21, 36, 109], "retrieverqueriestyp": 109, "retrieverquerytyp": [53, 57, 109], "retrieverrecal": [62, 95], "retrieverrelev": [63, 95], "retrieverstrqueriestyp": [21, 36, 109], "retrieverstrquerytyp": 109, "return": [8, 17, 19, 21, 26, 29, 34, 36, 39, 40, 42, 45, 46, 47, 55, 57, 59, 61, 62, 63, 77, 78, 80, 82, 88, 90, 92, 93, 96, 97, 102, 106, 108, 109, 110, 111, 112, 118], "return_logg": 80, "return_tensor": 102, "review": [84, 94, 95, 110], "right": [19, 36, 47, 96, 98, 101, 109], "rigid": 116, "robust": [24, 95, 118], "roger": 18, "role": [24, 38, 39, 65, 92, 99, 102, 106, 108, 109, 116, 123], "root": [80, 115], "roug": 95, "row": 57, "rst": 84, "rule": [8, 26, 29, 98, 111], "run": [0, 15, 46, 84, 90, 92, 93, 94, 101, 108, 112, 115, 116, 123], "run_async_function_cal": 112, "run_sync_and_async_mix": 46, "run_sync_and_async_mix_without_wait": 46, "runtim": [52, 115], "safe": [47, 79], "safe_import": 79, "safe_load": 121, "sai": [88, 101, 109], "same": [21, 36, 40, 42, 55, 57, 59, 71, 80, 88, 92, 93, 96, 102, 106, 108, 109, 110, 116, 118], "sampl": [67, 71, 121], "sampler": 67, "san": 112, "sandbox": [46, 47, 56, 112], "sandbox_exec": [46, 47], "sandbox_execut": 112, "sat": 95, "satur": [19, 36, 110], "save": [19, 36, 39, 42, 53, 57, 73, 74, 75, 78, 80, 90, 92, 93, 96, 101, 109], "save_dir": [73, 74, 75, 80], "save_index": 110, "save_json": [78, 90], "save_meta_data": 74, "save_pickl": 78, "save_st": [42, 92], "save_to_fil": [19, 36, 53, 109], "scale": [109, 110], "scarecrow": 123, "scene": 99, "schema": [17, 34, 39, 47, 57, 88, 112, 123], "schmea": 88, "scope": [8, 29], "score": [8, 19, 21, 26, 29, 36, 47, 57, 61, 69, 92, 94, 95, 110, 111], "script": [80, 121], "script_nam": 80, "sdk": [15, 32, 57, 109, 115, 118], "seamless": 108, "seamlessli": 109, "search": [94, 95, 108, 109, 110, 112], "search_reranking_with_cross": 109, "second": [46, 47, 62, 63, 95, 101, 102, 109, 110, 111, 112], "secret": 99, "section": [38, 58, 65, 84, 92, 99, 106, 108, 112], "sector": [92, 109], "see": [8, 11, 13, 15, 18, 26, 29, 50, 73, 85, 88, 89, 90, 92, 94, 99, 106, 108, 109, 110, 111, 112, 116, 118], "seek": [106, 116], "seen": 92, "segment": [8, 26, 29, 111], "select": [71, 95, 121, 123], "self": [17, 34, 40, 47, 73, 88, 90, 93, 101, 102, 109, 112, 118], "semant": [92, 94, 109], "send": [106, 109], "sens": [87, 95, 101], "sensit": [39, 88, 98, 109, 118], "sensor": 109, "sent": 106, "sentenc": [8, 26, 29, 96, 108, 110, 111, 121], "sentiment": [8, 26, 29, 94, 95, 110, 111], "separ": [8, 26, 29, 50, 84, 106, 111, 116], "seq": [40, 90], "sequenc": [6, 19, 21, 23, 26, 27, 36, 45, 53, 71, 90, 92, 97, 102, 108, 109], "sequenti": [0, 40, 48, 55, 87, 92, 93, 96, 97, 108, 121], "seral": [88, 98], "sercur": 112, "seri": [8, 15, 26, 29, 99, 110, 111], "serial": [14, 39, 40, 52, 78, 88, 90, 97, 106, 109, 123], "serializ": 42, "serv": [58, 65, 90], "server": 84, "servic": 110, "session": 57, "session_id": [57, 92], "set": [0, 8, 15, 19, 21, 26, 29, 36, 40, 47, 48, 52, 61, 80, 84, 92, 93, 94, 97, 102, 108, 109, 110, 111, 114, 117, 121, 123], "set_assistant_respons": 57, "set_user_queri": 57, "setup": [42, 92, 93, 94, 96, 101, 109, 115, 116, 123], "setup_env": [93, 102, 115], "seven": 106, "sever": [90, 95], "shallow": 40, "shape": 98, "share": [8, 29, 113, 116], "shell": 116, "shift": [8, 26, 29, 110, 111], "shorten": 84, "shorter": [109, 110, 111], "shorthair": 110, "shot": [18, 39, 67, 71, 106, 108, 109, 117, 123], "should": [8, 11, 13, 14, 15, 17, 21, 26, 29, 34, 36, 39, 40, 42, 45, 50, 57, 69, 75, 90, 93, 96, 101, 106, 109, 110, 111, 112, 116, 123], "show": [17, 34, 57, 84, 90, 94, 96, 108, 109, 110, 112, 116, 121, 123], "showcas": 109, "shown": 112, "signal": 110, "signatur": [39, 88, 112, 123], "signature_json": [17, 34, 39, 88], "signature_yaml": [17, 34, 39, 88], "signific": [92, 109, 110], "significantli": [19, 36, 92, 109], "signitur": 123, "similar": [47, 57, 93, 94, 95, 106, 108, 109, 110, 118], "similaritypostprocessor": 116, "similarli": [88, 96, 101, 116], "simpl": [17, 24, 34, 71, 92, 93, 94, 96, 106, 109], "simple_prompt": 106, "simpleqa": [101, 118], "simpler": 123, "simplest": 112, "simpli": [47, 67, 87, 88, 93, 96, 109], "simplifi": [14, 92, 93, 96, 98, 101, 108, 109, 112], "simplili": 112, "simul": [46, 108, 109, 110], "singl": [42, 45, 48, 57, 61, 77, 92, 93, 95, 96, 99, 101, 106, 108, 109, 112, 123], "site": 84, "situat": [87, 93], "size": [8, 26, 29, 45, 93, 109, 110, 111], "skim": 109, "skip": 71, "skip_special_token": 15, "sleep": [46, 110, 112], "slide": [8, 26, 29, 110, 111], "slightli": 112, "small": [45, 77, 92, 93, 94, 102, 109, 110], "small_tool_manag": 112, "smaller": [8, 26, 29, 93, 97, 109, 110, 111], "smallest": [8, 26, 29, 111], "smell": 110, "smooth": 118, "snippet": [57, 84, 95, 112, 121], "so": [47, 55, 57, 87, 88, 92, 98, 99, 102, 108, 109, 111], "softwar": 98, "solar": [92, 109], "solut": [98, 110, 116, 118], "solv": [24, 108, 116, 123], "some": [21, 36, 54, 71, 88, 92, 95, 96, 101, 106, 109, 116], "someth": 112, "sometim": [61, 88, 116], "soon": 96, "sort": 52, "sort_kei": [39, 47], "sourc": [0, 6, 8, 9, 10, 11, 13, 14, 15, 16, 17, 19, 21, 23, 26, 27, 29, 31, 33, 34, 36, 39, 40, 42, 45, 46, 47, 48, 50, 51, 52, 53, 54, 55, 56, 57, 59, 61, 62, 63, 67, 68, 69, 70, 71, 73, 74, 75, 77, 78, 79, 80, 81, 82, 83, 84, 92, 108, 109, 110, 116], "space": [8, 17, 26, 29, 34, 94, 108, 110, 111], "span": 95, "speak": [112, 116], "spec": 57, "speciaf": 121, "special": [38, 65, 99, 106], "specif": [10, 13, 14, 15, 23, 24, 36, 38, 46, 48, 50, 51, 53, 56, 57, 61, 65, 88, 95, 102, 106, 108, 109, 121], "specifc": 57, "specifi": [8, 14, 26, 29, 39, 51, 57, 88, 106, 109, 110, 111, 112], "spectrum": 95, "speed": [109, 110], "spend": 98, "sphinx": 84, "split": [6, 8, 19, 26, 27, 29, 36, 84, 92, 94, 97, 109, 111, 117], "split_and_emb": 92, "split_bi": [8, 26, 29, 77, 92, 94, 110, 111], "split_funct": 110, "split_length": [77, 92, 94, 110], "split_overlap": [77, 92, 94, 110], "split_text": [8, 26, 29], "split_text_by_token_fn": 110, "split_text_by_word_fn": [19, 36, 109], "split_text_by_word_fn_then_lower_token": [19, 36, 109], "split_text_token": 19, "splitted_doc": [8, 26, 29, 94, 110, 111], "splitter": [8, 26, 29, 92, 94, 97, 109], "splitter_config": 92, "splitter_set": 110, "sql": [54, 92, 109], "sqlalchemi": [79, 92, 109, 115], "staff": 110, "stage": [93, 108, 109, 116], "stai": [90, 116], "stand": 96, "standar": [90, 98], "standard": [10, 13, 14, 15, 17, 34, 39, 46, 50, 57, 93, 96, 97, 102, 109, 112, 116, 123], "star": 95, "start": [0, 18, 24, 39, 57, 79, 82, 93, 110, 112, 121], "start_header_id": [99, 106], "start_tim": [46, 112], "starter": 69, "state": [19, 21, 23, 36, 39, 40, 42, 53, 73, 75, 77, 90, 92, 96, 97, 98, 101, 109, 110, 112], "state_dict": [40, 70, 90], "static": [39, 88], "statu": 88, "step": [0, 8, 18, 24, 26, 29, 43, 57, 69, 70, 87, 93, 96, 101, 106, 108, 109, 110, 111, 121], "step_histori": 24, "stepoutput": [57, 108], "steps_str": [43, 96, 101, 106], "stick": 96, "still": [84, 92, 96, 98, 109, 110, 111, 112], "stop": [96, 106], "storag": [8, 9, 29, 31, 42, 77, 92, 109], "store": [8, 29, 40, 42, 48, 74, 75, 88, 92, 94, 96, 101, 109, 110], "str": [0, 6, 8, 10, 11, 13, 14, 15, 17, 19, 21, 23, 24, 26, 27, 29, 34, 36, 39, 40, 42, 45, 47, 48, 50, 51, 52, 53, 54, 55, 56, 57, 59, 61, 62, 63, 68, 69, 73, 74, 75, 77, 78, 79, 80, 81, 82, 88, 90, 92, 93, 96, 102, 109, 110, 111, 112, 123], "str_param": 51, "straightforward": [96, 108], "strateg": 108, "streamlin": [39, 97, 112, 123], "stress": 90, "strict": 40, "string": [0, 13, 17, 21, 24, 34, 36, 39, 47, 48, 51, 52, 54, 55, 57, 59, 61, 62, 63, 82, 84, 96, 97, 99, 106, 108, 109, 110, 112, 116, 121], "string_pars": [17, 58, 96, 110, 121], "structu": 88, "structur": [8, 14, 15, 24, 26, 29, 39, 40, 47, 50, 57, 71, 88, 92, 93, 96, 97, 101, 102, 109, 111, 112, 118, 123], "stuck": 111, "style": 84, "subclass": [11, 13, 15, 17, 19, 36, 39, 40, 50, 53, 57, 88, 89, 90, 93, 96, 97, 102, 106, 109, 112, 118], "subcompon": [40, 90, 96], "subcomponn": 90, "subject": 95, "submit": 110, "subqueri": [24, 108], "subquest": 24, "subsequ": 108, "subset": 121, "substanti": [92, 109], "substitut": 106, "subtract": 108, "success": [96, 112], "successfulli": 112, "sudden": [8, 26, 29, 110, 111], "suggest": [14, 19, 36, 108, 110], "suitabl": [8, 29], "sum": 112, "sum_": [19, 36], "summar": [95, 98, 116], "summari": [96, 123], "sunlight": [92, 109], "super": [40, 88, 90, 93, 101, 102, 118], "support": [8, 14, 18, 26, 29, 39, 46, 47, 48, 56, 57, 80, 82, 88, 93, 96, 99, 102, 109, 110, 111, 112, 115, 118, 121, 123], "support_model": 15, "support_model_list": 102, "supporting_fact": 121, "suppos": 109, "sure": [17, 34, 88, 109, 112, 115, 123], "survei": [87, 95], "sustain": [92, 109], "switch": [21, 36, 93, 102, 109, 116, 118], "sy": [24, 40, 43, 90, 92, 96, 106, 109, 112, 118], "sylphai": 84, "sync": [11, 13, 15, 40, 46, 50, 56, 57, 102, 112], "sync_client": 102, "sync_function_1": 46, "sync_function_2": 46, "sync_tool_1": 46, "sync_tool_2": 46, "syncapicli": 15, "synchron": [46, 90], "syntax": [96, 106], "system": [24, 43, 50, 52, 57, 58, 65, 87, 92, 95, 99, 102, 106, 108, 110, 116], "system_input": 14, "system_prompt": 40, "system_tim": 92, "t": [8, 14, 17, 19, 26, 29, 36, 40, 42, 47, 51, 52, 57, 99, 106, 108, 110, 111, 116], "t0": 108, "t2d": [109, 110], "t_co": [57, 71], "tabl": [92, 109, 110], "take": [0, 8, 24, 26, 29, 46, 87, 94, 96, 99, 106, 108, 109, 111, 112, 116, 118], "taken": 112, "target": 73, "task": [0, 8, 18, 24, 26, 29, 40, 43, 46, 48, 61, 69, 73, 77, 78, 90, 92, 93, 95, 96, 97, 98, 101, 106, 108, 109, 110, 112, 117, 121, 123], "task_context_str": 68, "task_desc_str": [17, 34, 43, 52, 96, 101, 106, 110, 121], "task_input_dataclass": 67, "task_output_dataclass": 67, "team": 118, "technic": [84, 95, 112], "techniqu": [90, 109], "technologi": [92, 95, 109], "temperatur": [47, 48, 102, 108, 110, 112], "templat": [17, 34, 40, 43, 48, 52, 61, 73, 84, 90, 108, 109, 110, 112, 118, 123], "template_doc": [40, 90], "tenni": 18, "tensor": [15, 39, 40, 88, 90, 123], "term": [19, 36, 110], "termin": [96, 108], "terribl": 110, "test": [11, 13, 15, 17, 40, 42, 95, 96, 109, 115, 116, 117, 118], "test_input_4": 54, "testcod": 84, "testgener": 73, "testgenerator_generator_trac": 73, "text": [8, 14, 19, 26, 29, 36, 42, 45, 47, 52, 54, 55, 57, 69, 77, 80, 88, 92, 93, 94, 95, 96, 97, 98, 102, 106, 108, 109, 116, 121], "text_splitt": [26, 94, 110, 111], "text_splitter_set": [94, 110], "textsearch": 109, "textsplitt": [8, 26, 29, 92, 109], "than": [17, 24, 34, 39, 40, 45, 69, 88, 89, 90, 93, 98, 108, 109, 111, 112, 118, 123], "thank": 57, "theater": 110, "thei": [14, 40, 42, 51, 92, 96, 98, 99, 108, 109, 110, 123], "them": [19, 36, 39, 40, 53, 54, 57, 62, 63, 84, 90, 92, 94, 95, 98, 99, 106, 109, 112, 116, 118, 121, 123], "theme": 84, "themselv": 87, "thenlper": [15, 93, 102], "therefor": 108, "thi": [8, 9, 11, 13, 14, 15, 17, 18, 21, 24, 26, 29, 31, 36, 39, 40, 42, 43, 45, 46, 47, 50, 52, 54, 57, 59, 61, 62, 63, 65, 73, 77, 80, 81, 84, 88, 89, 90, 92, 93, 94, 95, 96, 97, 98, 101, 102, 106, 108, 109, 110, 111, 112, 115, 116, 118, 121, 123], "thing": [50, 98, 102], "think": [18, 116], "third": [80, 109], "those": 99, "though": [17, 102, 106, 109], "thought": [17, 18, 24, 34, 57, 88, 108, 112], "thoughtact": [17, 34], "three": [48, 93, 94, 96, 97, 98, 99, 101, 112, 116], "through": [57, 84, 92, 94, 95, 96, 101, 108, 109, 110, 116, 121], "thu": [57, 93, 106, 121], "tiktoken": [8, 26, 29, 55], "time": [24, 46, 71, 87, 94, 98, 106, 108, 109, 110, 112, 113], "time_stamp": [74, 75, 101], "timeout": 47, "timestamp": [57, 80], "titl": [57, 92, 109, 110, 121], "to_dict": [14, 19, 36, 39, 40, 51, 52, 53, 71, 82, 88, 90, 106, 109, 112], "to_dict_class": [39, 82], "to_embed": [77, 94], "to_json": [39, 57, 88, 112, 123], "to_json_exampl": 39, "to_json_obj": [39, 88], "to_json_signatur": [39, 88, 112, 123], "to_schema": [39, 88], "to_schema_str": [39, 88], "to_thread": 46, "to_yaml": [39, 57, 88, 92, 112, 123], "to_yaml_exampl": 39, "to_yaml_obj": [39, 88], "to_yaml_signatur": [39, 88, 123], "toctre": 84, "todai": [19, 36], "todo": [24, 99], "toembed": [6, 26, 27, 77, 92, 94, 110], "toembedderrespons": [94, 110], "togeth": [90, 92, 93, 94, 97, 106, 116], "token": [8, 14, 17, 19, 26, 29, 34, 36, 39, 57, 58, 63, 92, 97, 99, 102, 106, 109, 110, 111, 112, 121, 123], "tokenlogprob": [14, 57], "tokyo": 112, "tol": 47, "tolist": [15, 102], "too": [90, 92, 109, 110, 118], "took": 24, "tool": [0, 14, 24, 43, 46, 54, 56, 57, 87, 95, 96, 97, 98, 99, 101, 106, 108, 112, 116, 118], "tool_1": 46, "tool_cal": 112, "tool_choic": 14, "tool_help": 108, "tool_manag": 112, "toolmanag": [56, 118], "toolnam": [24, 108], "tools_str": [43, 96, 101, 106], "top": [19, 21, 23, 36, 40, 88, 90, 98, 108, 109, 110, 118], "top_k": [19, 21, 23, 36, 47, 53, 77, 92, 110], "top_k_docu": 92, "top_n": 11, "topic": 118, "torch": [15, 71, 79, 90, 118], "torchmetr": 95, "total": [19, 36, 62, 63, 95, 109, 112, 121], "total_docu": 109, "total_token": [57, 102], "tower": 101, "trace": [108, 117], "trace_gener": 73, "trace_generator_cal": [73, 78, 96, 101], "trace_generator_error": 101, "trace_generator_st": [73, 96, 101], "track": [57, 75, 90, 92, 96, 101, 109, 116], "tradit": 110, "trag": 111, "train": [40, 48, 71, 90, 95, 97, 99, 101, 106, 117, 121], "trainabl": 48, "trainable_param": 48, "trainer": 98, "transact": 95, "transfom": 92, "transform": [6, 15, 19, 26, 27, 36, 42, 57, 79, 92, 93, 94, 97, 102, 109, 110, 111, 115, 116], "transformed_item": [42, 92], "transformer_setup": [42, 92], "transformercli": 102, "transformerembedd": [15, 102], "transformerllm": 15, "transformerrerank": 15, "transformers_cli": [93, 102, 109], "transformerscli": [15, 23, 36, 93, 102, 109], "transit": 118, "translat": [95, 98], "transpar": [39, 88, 90, 98, 116], "treat": [110, 112], "treatment": 90, "trec": 117, "trec_data": 39, "trec_data_dict": 47, "trec_data_list": [39, 47], "trecdata": [39, 47, 88], "trecdata2": 88, "trecdatalist": [39, 47], "tredatalist": 39, "tree": 40, "trend": 110, "trim_block": 106, "tripl": [17, 34, 47, 112], "true": [0, 15, 17, 19, 34, 36, 40, 42, 47, 51, 54, 57, 61, 69, 71, 73, 80, 88, 92, 93, 94, 95, 102, 106, 108, 109, 110, 112, 121, 123], "truli": 96, "truncat": 102, "truth": [59, 61, 62, 63, 69, 92, 95, 109, 121], "try": [98, 102, 112], "tuna": 110, "tune": 110, "tupl": [40, 47, 59, 61, 62, 63, 71, 79, 80], "turbo": [40, 47, 48, 90, 92, 96, 99, 102, 109, 110, 112], "turn": [57, 92, 94, 96, 108], "turn_db": [9, 31], "tutori": [84, 90, 108, 110, 111, 121, 123], "two": [15, 17, 18, 24, 42, 71, 78, 80, 89, 92, 93, 96, 101, 102, 108, 109, 112, 118], "txt": 84, "type": [8, 10, 13, 14, 15, 17, 19, 21, 23, 24, 26, 29, 34, 36, 39, 40, 42, 45, 46, 47, 50, 51, 53, 58, 59, 61, 62, 63, 69, 71, 74, 77, 79, 80, 81, 82, 84, 88, 90, 92, 93, 94, 96, 101, 102, 108, 110, 112, 121, 123], "type_hint": 47, "type_obj": 47, "typeerror": [8, 26, 29, 39, 51], "typevar": 109, "typic": [88, 90, 95, 96, 101, 102, 116], "u": [42, 88, 92, 94, 106, 109, 112], "ultim": 98, "unabl": 108, "unbias": 95, "uncas": 95, "uncased_l5_no": 95, "uncontrol": 116, "undefin": [10, 11, 13, 14, 15, 50, 57, 102], "underli": 90, "understand": [14, 15, 50, 65, 92, 95, 97, 102, 108, 109, 110, 112, 116], "unexpect": 95, "unifi": [39, 90, 92, 96], "union": [15, 19, 36, 47, 57, 62, 63, 102, 109], "uniqu": [40, 57, 75, 90, 98, 108, 116], "unit": [8, 26, 29, 57, 93, 110, 111, 112], "unknown": 112, "unless": 42, "unlik": [108, 110], "unmodifi": 94, "unsupport": [47, 112], "until": 106, "up": [0, 21, 36, 47, 57, 65, 84, 88, 93, 94, 96, 97, 98, 108, 109, 110, 114, 116, 117, 118, 123], "upcom": 90, "updat": [51, 52, 67, 73, 75, 84, 108, 112], "update_default_model_kwarg": 45, "update_dialog_turn": 57, "update_paramet": [67, 69], "update_prompt_kwarg": 52, "update_valu": 51, "us": [0, 6, 8, 9, 10, 11, 13, 14, 15, 17, 19, 21, 23, 24, 26, 27, 29, 31, 34, 36, 39, 40, 42, 43, 45, 46, 47, 48, 50, 51, 52, 53, 55, 56, 57, 61, 67, 68, 69, 71, 73, 75, 77, 78, 79, 80, 81, 84, 87, 88, 90, 92, 94, 95, 97, 98, 99, 106, 108, 110, 112, 115, 116, 117, 118, 121, 123], "usag": [8, 17, 24, 26, 29, 34, 57, 84, 92, 94, 96, 102, 108, 109], "use_cas": [116, 117, 121], "use_llm_as_fallback": 0, "use_token": [19, 36, 109], "user": [0, 9, 14, 17, 19, 21, 24, 31, 32, 34, 36, 40, 43, 45, 47, 48, 57, 69, 84, 87, 88, 90, 92, 93, 96, 97, 98, 99, 101, 102, 106, 108, 109, 110, 112, 118], "user_id": [57, 92], "user_queri": [57, 92], "user_query_timestamp": [57, 92], "user_tim": 92, "userqueri": [57, 92], "usual": 101, "util": [8, 26, 29, 32, 57, 71, 90, 93, 95, 96, 97, 102, 108, 110, 111, 115], "uuid": 57, "uuid4": 57, "v": [24, 47, 98], "v2": 11, "v3": [11, 109], "valid": [17, 24, 34, 47, 54, 112], "validate_data": 47, "valu": [17, 19, 36, 39, 47, 51, 54, 57, 59, 62, 63, 68, 79, 82, 88, 112], "valueerror": [8, 26, 29, 47, 102], "varaibl": 106, "vari": [18, 99], "variabl": [47, 48, 52, 57, 93, 96, 102, 106, 112, 114, 116], "varieti": 95, "variou": [38, 47, 65, 84, 90, 96, 108, 109, 113, 121, 122], "vast": 96, "ve": 123, "vector": [8, 26, 29, 57, 77, 92, 93, 94, 109, 110, 111], "vectorizer_set": [94, 110], "vectorstor": 110, "vendor": 116, "verbos": 88, "veri": [19, 36, 111, 116], "verif": 108, "version": [42, 78, 80, 84, 108, 109, 115], "via": [45, 46, 48, 50, 51, 56, 73, 87, 88, 90, 93, 94, 95, 96, 97, 98, 102, 110, 112], "video": 109, "view": [84, 112], "visit": [10, 11, 13, 101, 108], "visual": [90, 93, 106, 118], "vote": 95, "vouch": 116, "wa": [39, 99, 110, 123], "wai": [15, 18, 39, 42, 56, 88, 90, 92, 93, 102, 109, 110, 111, 112, 116], "walk": 121, "wand": 110, "want": [17, 34, 39, 45, 57, 73, 88, 93, 96, 98, 106, 109, 112, 116, 118, 123], "warn": [48, 80, 84], "wast": [92, 109], "watch": [94, 110], "water": [90, 96, 98], "we": [8, 14, 24, 26, 29, 32, 39, 40, 42, 47, 48, 50, 52, 54, 55, 57, 75, 78, 84, 88, 89, 90, 92, 93, 94, 95, 96, 97, 98, 101, 102, 106, 108, 109, 110, 111, 112, 116, 118, 121, 123], "weather": 112, "web": [84, 95], "weight": [19, 36, 40, 67, 90], "weights_per_class": [67, 71], "welcom": [65, 110], "well": [17, 40, 42, 87, 89, 92, 98, 106, 108, 109, 123], "what": [14, 21, 24, 36, 39, 47, 87, 88, 90, 92, 93, 94, 96, 101, 102, 106, 109, 110, 111, 112, 123], "when": [6, 14, 19, 24, 27, 36, 39, 42, 45, 51, 52, 57, 67, 79, 92, 93, 94, 95, 96, 99, 101, 106, 108, 109, 110, 111, 112, 116, 123], "whenev": [96, 102], "where": [8, 26, 29, 57, 73, 80, 92, 96, 98, 99, 101, 106, 109, 110, 112, 116], "whether": [0, 19, 36, 42, 47, 53, 93, 96], "which": [0, 8, 11, 13, 15, 19, 21, 26, 29, 36, 39, 42, 45, 46, 50, 57, 69, 71, 80, 87, 88, 90, 92, 93, 95, 96, 97, 99, 101, 106, 108, 109, 110, 111, 112, 116, 121], "while": [47, 88, 92, 97, 98, 109], "white": 80, "who": [17, 34, 53, 96, 97, 99, 109, 118], "whole": [40, 57, 97, 109, 121], "why": [24, 57, 90, 92, 93, 97, 102, 109, 116, 123], "wide": [88, 95, 98, 109, 110], "wider": 118, "wiki": [19, 36, 108, 109], "wikidata": 106, "wikipedia": [19, 36, 106, 108, 109], "win": 123, "wind": [92, 109], "window": [8, 26, 29, 80, 109, 110, 111], "within": [39, 40, 47, 84, 87, 97, 110, 118], "without": [18, 21, 36, 39, 46, 47, 54, 57, 80, 92, 96, 99, 106, 109, 110, 112, 116, 118], "won": [57, 99, 111], "word": [8, 19, 26, 29, 36, 55, 77, 92, 94, 95, 99, 109, 110, 111], "work": [8, 26, 29, 40, 42, 46, 47, 90, 92, 94, 96, 97, 101, 106, 109, 110, 123], "workabl": 96, "workflow": [97, 108], "world": [8, 19, 26, 29, 36, 42, 57, 73, 92, 98, 99, 101, 110, 111, 112, 116, 118], "world2": 42, "world3": 42, "world4": 42, "wors": [96, 101], "would": [80, 90, 94, 101, 106, 108, 109, 110], "wrap": [6, 26, 27, 40, 46, 47, 55, 88, 112], "wrapper": [10, 11, 13, 14, 73, 112], "write": [15, 47, 78, 80, 85, 86, 90, 95, 102, 106, 112, 116], "write_list_to_jsonl": 78, "written": 78, "wrong": 96, "www": [19, 36, 109], "x": [19, 36, 40, 47, 71, 90, 106, 109, 110, 112, 118], "x0c": 110, "xb": 110, "xiaoyi": 111, "xq": 110, "xx": 112, "y": [47, 112], "yaml": [17, 34, 39, 47, 54, 56, 57, 88, 90, 112, 121, 123], "yaml_definit": [56, 112], "yaml_format_instruct": [17, 34], "yaml_obj": 54, "yaml_output_format": [17, 34], "yaml_output_format_templ": [17, 34], "yaml_pars": [17, 34, 54], "yaml_signatur": 88, "yaml_str": [17, 34, 39, 47, 54, 88], "yamloutputpars": [17, 34], "yamlpars": [17, 34, 54], "yang": 95, "ye": [61, 109, 116], "year": [62, 63, 95], "yellow": 80, "yet": [15, 48], "yield": [19, 36, 40, 110], "yin": [88, 92, 93, 102, 106, 109, 112], "yml": 47, "you": [6, 8, 11, 13, 15, 17, 18, 19, 21, 24, 26, 27, 29, 34, 36, 39, 40, 42, 45, 46, 47, 48, 50, 52, 53, 55, 56, 57, 61, 73, 77, 80, 84, 88, 90, 92, 93, 94, 95, 96, 97, 99, 101, 102, 106, 109, 110, 111, 112, 113, 115, 116, 118, 121, 123], "your": [8, 14, 17, 19, 24, 29, 34, 36, 39, 40, 48, 57, 61, 65, 77, 80, 84, 88, 90, 92, 93, 94, 95, 96, 98, 101, 102, 109, 110, 111, 112, 115, 116, 121, 123], "your_api_kei": 77, "your_api_key_if_you_use_anthrop": 115, "your_api_key_if_you_use_coher": 115, "your_api_key_if_you_use_googl": 115, "your_api_key_if_you_use_groq": 115, "your_api_key_if_you_use_hf": 115, "your_api_key_if_you_use_openai": 115, "yourself": [77, 102, 109, 115], "yupeng": 95, "zephyr": 15, "zero": [19, 36, 109, 117], "zip": 110, "zishan": 95}, "titles": ["components.agent.react", "\ufeffcomponents.api_client.anthropic_client", "\ufeffcomponents.api_client.google_client", "\ufeffcomponents.api_client.groq_client", "\ufeffcomponents.api_client.openai_client", "\ufeffcomponents.api_client.transformers_client", "components.data_process.data_components", "\ufeffcomponents.data_process.document_splitter", "components.data_process.text_splitter", "components.memory.memory", "components.model_client.anthropic_client", "components.model_client.cohere_client", "\ufeffcomponents.model_client.google_client", "components.model_client.groq_client", "components.model_client.openai_client", "components.model_client.transformers_client", "components.model_client.utils", "components.output_parsers.outputs", "components.reasoning.chain_of_thought", "components.retriever.bm25_retriever", "\ufeffcomponents.retriever.faiss_retriever", "components.retriever.llm_retriever", "\ufeffcomponents.retriever.postgres_retriever", "components.retriever.reranker_retriever", "DEFAULT_REACT_AGENT_SYSTEM_PROMPT", "components.agent", "components.data_process", "components.data_process.data_components", "components.data_process.document_splitter", "components.data_process.text_splitter", "components.memory", "components.memory.memory", "components.model_client", "components.model_client.utils", "components.output_parsers", "components.reasoning", "components.retriever", "components.retriever.postgres_retriever", "Components", "core.base_data_class", "core.component", "core.data_components", "core.db", "core.default_prompt_template", "core.document_splitter", "core.embedder", "core.func_tool", "core.functional", "core.generator", "core.memory", "core.model_client", "core.parameter", "core.prompt_builder", "core.retriever", "core.string_parser", "core.tokenizer", "core.tool_manager", "core.types", "Core", "eval.answer_match_acc", "eval.evaluators", "eval.llm_as_judge", "eval.retriever_recall", "eval.retriever_relevance", "Evaluation", "API Reference", "Optimizer", "optim.few_shot_optimizer", "optim.llm_augment", "optim.llm_optimizer", "optim.optimizer", "optim.sampler", "Tracing", "tracing.decorators", "tracing.generator_call_logger", "tracing.generator_state_logger", "Utils", "utils.config", "utils.file_io", "utils.lazy_import", "utils.logger", "utils.registry", "utils.serialization", "utils.setup_env", "Contribute to Document", "LightRAG Contribution Guide", "For Contributors", "Agent", "DataClass", "Class Hierarchy", "Component", "Data Pipeline", "Data & RAG", "Embedder", "Embedder", "LLM Evaluation", "Generator", "Tutorials", "Design Philosophy", "Introduction", "Logging", "Logging & Tracing", "ModelClient", "Optimizer", "Parser", "Parameter", "Prompt", "RAG application", "ReAct Agent", "Retriever", "Retriever", "Text Splitter", "Function calls", "Community", "Get Started", "Installation", "Introduction", "LightRAG in 10 minutes", "Introduction", "Resources", "Resources", "Evaluating a RAG Pipeline", "Use Cases", "Introduction to BaseDataClass", "<no title>"], "titleterms": {"": 108, "1": [98, 110, 112, 115], "10": 117, "2": [98, 110, 112, 115], "3": [98, 110, 112, 115], "For": 86, "In": [96, 109], "With": 109, "across": 96, "action": [88, 90, 93, 96, 109, 112], "ad": 84, "agent": [0, 25, 38, 87, 97, 108], "an": [96, 108], "answer_match_acc": 59, "anthropic_cli": [1, 10], "api": [65, 87, 88, 90, 92, 93, 96, 102, 106, 109, 112, 115], "api_cli": [1, 2, 3, 4, 5], "applat": 99, "applic": [106, 107, 116], "author": [88, 92, 93, 95, 102, 106, 109, 111, 112], "base": [97, 109], "base_data_class": 39, "basedataclass": 123, "batchembedd": 93, "bm25_retriev": 19, "bm25retriev": 109, "both": 118, "build": [84, 97, 98], "call": 112, "case": 122, "chain_of_thought": 18, "chang": 84, "chat": 99, "chunk": 111, "class": [89, 97, 106, 109], "client": [38, 58, 96], "cloud": 92, "code": 84, "cohere_cli": 11, "commit": 84, "commun": 113, "complet": 99, "compon": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 40, 58, 65, 90, 97], "config": [77, 96], "configur": [90, 97], "context": [106, 109], "contribut": [84, 85], "contributor": 86, "control": 118, "core": [39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 65], "creat": 96, "custom": 111, "data": [38, 58, 88, 91, 92, 97, 99, 106, 109], "data_compon": [6, 27, 41], "data_process": [6, 7, 8, 26, 27, 28, 29], "databas": [92, 109], "dataclass": 88, "dataset": [88, 97], "db": 42, "decor": [72, 73], "deep": [98, 108], "default": 106, "default_prompt_templ": 43, "default_react_agent_system_prompt": 24, "describ": 88, "deseri": 90, "design": [88, 90, 96, 98, 106, 109, 112], "detail": 111, "dialogturn": 92, "directli": 102, "dive": 108, "do": 99, "docstr": 84, "document": [84, 92, 110, 111], "document_splitt": [7, 28, 44], "doe": 111, "embed": 58, "embedd": [45, 93, 94, 110], "embedderoutput": 93, "end": [112, 116], "environ": 115, "error": 96, "essenti": 97, "eval": [59, 60, 61, 62, 63], "evalu": [60, 64, 65, 95, 121], "evaul": 97, "exampl": [88, 96, 111], "experiment": 96, "faiss_retriev": 20, "faissretriev": 109, "few_shot_optim": 67, "file": [90, 92], "file_io": 78, "flow": [99, 106], "format": [88, 112], "foundat": 116, "from": [88, 90, 96], "func_tool": 46, "funcompon": 90, "function": [47, 112], "functionexpress": 112, "functiontool": 112, "gener": [48, 58, 96], "generator_call_logg": 74, "generator_state_logg": 75, "generatoroutput": 96, "get": [96, 114], "google_cli": [2, 12], "graph": 92, "groq_client": [3, 13], "guid": 85, "handl": 58, "hierarchi": 89, "how": [95, 111, 116], "i": [108, 116], "implement": 108, "infer": 102, "instal": 115, "instanc": 88, "instead": [99, 109], "integr": 111, "introduct": [99, 108, 116, 118, 123], "jinja2": 106, "kei": 115, "lazy_import": 79, "librari": 96, "lightrag": [85, 99, 108, 110, 112, 115, 116, 117], "llm": [88, 95, 98, 99, 106, 109], "llm_as_judg": 61, "llm_augment": 68, "llm_optim": 69, "llm_retriev": 21, "load": [88, 115], "local": [92, 93], "localdb": 109, "log": [97, 100, 101], "logger": [72, 76, 80], "memori": [9, 30, 31, 49, 109], "minimum": 96, "minut": 117, "model": [38, 58, 92, 93, 96, 102], "model_cli": [10, 11, 12, 13, 14, 15, 16, 32, 33, 50], "modelcli": 102, "need": [99, 108], "openai": 93, "openai_cli": [4, 14], "optim": [65, 66, 67, 68, 69, 70, 71, 97, 98, 103], "option": [110, 115], "orchestr": 96, "other": 111, "our": 98, "output": [17, 38, 93, 96, 112], "output_pars": [17, 34], "output_processor": 96, "over": 98, "overview": [38, 58, 64, 72, 76, 111], "packag": 115, "parallel": 112, "paramet": [51, 58, 105], "pars": 88, "parser": [38, 104], "part": 116, "pattern": 109, "philosophi": 98, "pipelin": [91, 92, 97, 121], "postgres_retriev": [22, 37], "postgresretriev": 109, "practic": 98, "previou": 99, "principl": 98, "print": 90, "process": 38, "processor": 93, "product": 118, "prompt": [58, 106], "prompt_build": 52, "protocol": 102, "qualiti": 98, "quantiti": 98, "quick": 112, "rag": [92, 97, 107, 121], "react": [0, 108], "read": 92, "reason": [18, 35], "refer": [65, 87, 88, 90, 92, 93, 96, 102, 106, 109, 112], "registri": 81, "rerank": 109, "reranker_retriev": 23, "research": 118, "resourc": [99, 119, 120], "retriev": [19, 20, 21, 22, 23, 36, 37, 38, 53, 58, 109, 110], "retriever_recal": 62, "retriever_relev": 63, "sampler": 71, "scope": 112, "score": 109, "sdk": 102, "searal": 90, "sequenti": 90, "serial": [76, 82], "set": 115, "setup": 84, "setup_env": [76, 83], "show": 88, "showmanship": 98, "simplic": 118, "souc": 84, "split": 110, "splitter": [110, 111], "standard": 84, "start": [114, 116], "storag": 97, "string": 88, "string_pars": 54, "structur": [90, 99, 116], "submodul": [25, 26, 30, 32, 34, 35, 36], "suggest": 92, "switch": 96, "templat": [58, 96, 106], "test": 84, "text": [99, 110, 111], "text_splitt": [8, 29], "textsplitt": 111, "threshold": 109, "tip": 111, "togeth": 109, "token": 55, "tool_manag": 56, "toolmanag": 112, "top_k": 109, "trace": [65, 72, 73, 74, 75, 96, 97, 101], "train": 96, "trainer": 97, "transformers_cli": [5, 15], "tutori": 97, "type": [57, 109, 111], "understand": 98, "unit": 118, "up": 115, "us": [93, 96, 102, 109, 111, 122], "util": [16, 33, 58, 65, 76, 77, 78, 79, 80, 81, 82, 83], "variabl": 115, "walkthrough": 112, "we": 99, "what": [95, 108, 116], "where": 95, "why": [99, 106, 108], "work": [88, 111], "workflow": 98, "write": [84, 92], "you": 108}})
\ No newline at end of file