from lightrag.components.data_process.text_splitter import TextSplitter
from lightrag.core.types import Document
@@ -597,16 +610,87 @@ How to use it
diff --git a/objects.inv b/objects.inv
index c8f52532..4722cf32 100644
Binary files a/objects.inv and b/objects.inv differ
diff --git a/searchindex.js b/searchindex.js
index 52f095e9..99cbf2f2 100644
--- a/searchindex.js
+++ b/searchindex.js
@@ -1 +1 @@
-Search.setIndex({"alltitles": {"1. Document Splitter": [[96, "document-splitter"]], "1. FunctionTool": [[98, "functiontool"]], "1. Install LightRAG": [[102, "install-lightrag"]], "1. Install Optional Packages": [[102, "install-optional-packages"]], "2. Embedder": [[96, "embedder"]], "2. Set up API keys": [[102, "set-up-api-keys"]], "2. ToolManager": [[98, "toolmanager"]], "3. Function Call end-to-end": [[98, "function-call-end-to-end"]], "3. LightRAG Retrievers": [[96, "lightrag-retrievers"]], "3. Load environment variables": [[102, "load-environment-variables"]], "API Reference": [[49, "api-reference"]], "API References": [[71, null], [72, null], [78, null], [86, null], [90, null], [92, null], [95, null], [98, null]], "API reference": [[74, null], [79, null], [82, null], [88, null]], "Adding Documentation Tests": [[68, "adding-documentation-tests"]], "Agent": [[25, "agent"], [71, "agent"]], "Agent Essentials": [[83, "agent-essentials"]], "An orchestrator": [[82, "an-orchestrator"]], "BM25Retriever": [[95, "bm25retriever"]], "Base classes": [[83, "base-classes"]], "BatchEmbedder": [[79, "batchembedder"]], "Building": [[83, "building"]], "Chunking Example Detailed": [[97, "id2"]], "Class Hierarchy": [[73, "class-hierarchy"]], "Cloud database": [[78, "cloud-database"]], "Commit Changes": [[68, "commit-changes"]], "Community": [[100, "community"]], "Component": [[74, "component"]], "Component in Action": [[74, "component-in-action"]], "Components": [[25, "components"], [49, "components"]], "Configurations": [[75, "configurations"], [83, "configurations"]], "Configure from file": [[74, "configure-from-file"]], "Context": [[90, "context"], [92, "context"], [95, "context"]], "Contribute to Document": [[68, "contribute-to-document"]], "Core": [[43, "core"], [49, "core"]], "Create from configs": [[82, "create-from-configs"]], "Customization Tips": [[97, "customization-tips"]], "Data & RAG": [[78, "data-rag"]], "Data Flow & LightRAG structure": [[85, "data-flow-lightrag-structure"]], "Data Flow in LLM applications": [[92, "data-flow-in-llm-applications"]], "Data Models": [[78, "data-models"]], "Data Pipeline": [[76, "data-pipeline"], [78, "data-pipeline"]], "Data Pipeline and Storage": [[83, "data-pipeline-and-storage"]], "Data Process": [[25, "data-process"]], "DataClass": [[72, "dataclass"]], "DataClass in Action": [[72, "dataclass-in-action"]], "Datasets": [[77, "datasets"]], "Default Prompt Template": [[92, "default-prompt-template"]], "Describe the data format to LLMs": [[72, "describe-the-data-format-to-llms"]], "Describing the Data Format": [[72, "describing-the-data-format"]], "Design": [[72, "design"], [74, "design"], [82, "design"], [86, "design"], [92, "design"]], "Design Philosophy": [[84, "design-philosophy"]], "Design pattern": [[95, "design-pattern"]], "DialogTurn": [[78, "dialogturn"]], "Document": [[78, "document"]], "Embedder": [[79, "embedder"], [80, "embedder"]], "Embedder in Action": [[79, "embedder-in-action"]], "EmbedderOutput": [[79, "embedderoutput"]], "End-to-end applications": [[103, "end-to-end-applications"]], "Evaluating": [[83, "evaluating"]], "Evaluating a RAG Pipeline": [[109, "evaluating-a-rag-pipeline"]], "Evaluation": [[48, "evaluation"], [49, "evaluation"]], "Examples across the library": [[82, "examples-across-the-library"]], "For Contributors": [[70, "for-contributors"]], "Foundation": [[103, "foundation"]], "FunComponent": [[74, "funcomponent"]], "Function Call in Action": [[98, "function-call-in-action"]], "Function Output Format": [[98, "function-output-format"]], "Function calls": [[98, "function-calls"]], "FunctionExpression Output Format": [[98, "functionexpression-output-format"]], "Generator": [[82, "generator"]], "Generator In Action": [[82, "generator-in-action"]], "GeneratorOutput": [[82, "generatoroutput"]], "Get Started": [[101, "get-started"]], "Get errors in the output": [[82, "get-errors-in-the-output"]], "Graph database": [[78, "graph-database"]], "How does it work": [[97, "how-does-it-work"]], "How the library logs": [[86, "how-the-library-logs"]], "How to evaluate?": [[81, "how-to-evaluate"]], "How to start?": [[103, "how-to-start"]], "How to use it": [[97, "how-to-use-it"]], "How users set up the logger": [[86, "how-users-set-up-the-logger"]], "Important Notes": [[105, "important-notes"]], "In-memory FAISSRetriever": [[95, "in-memory-faissretriever"]], "Installation": [[102, "installation"]], "Integration with Other Document Types": [[97, "integration-with-other-document-types"]], "Introduction": [[85, "introduction"], [94, "introduction"], [103, "introduction"]], "Introduction to BaseDataClass": [[111, "introduction-to-basedataclass"]], "Introduction to LLM applations": [[85, "introduction-to-llm-applations"]], "LLM Evaluation": [[81, "llm-evaluation"]], "LLM as Retriever": [[95, "llm-as-retriever"]], "Light": [[106, "light"]], "LightRAG": [[103, "lightrag"]], "LightRAG Contribution Guide": [[69, "lightrag-contribution-guide"]], "LightRAG Scope and Design": [[98, "lightrag-scope-and-design"]], "LightRAG in 10 minutes": [[104, "lightrag-in-10-minutes"]], "LightRAG\u2019s Implementation": [[94, "lightrag-s-implementation"]], "Load data from dataset as example": [[72, "load-data-from-dataset-as-example"]], "Local database": [[78, "local-database"]], "Logging": [[86, "logging"]], "Logging & Tracing": [[83, "logging-tracing"]], "Memory": [[25, "memory"]], "Minimum Example": [[82, "minimum-example"]], "Model Inference SDKs": [[88, "model-inference-sdks"]], "ModelClient": [[25, "modelclient"], [88, "modelclient"]], "ModelClient Protocol": [[88, "modelclient-protocol"]], "Modular": [[106, "modular"]], "Optimizer": [[49, "optimizer"], [50, "optimizer"], [89, "optimizer"]], "Optimizing": [[83, "optimizing"]], "Our understanding of LLM workflow": [[84, "our-understanding-of-llm-workflow"]], "Output Parsers": [[25, "output-parsers"], [90, "output-parsers"]], "Output Parsers in Action": [[90, "output-parsers-in-action"]], "Overview": [[0, "overview"], [2, "overview"], [5, "overview"], [7, "overview"], [15, "overview"], [17, "overview"], [19, "overview"], [43, "overview"], [48, "overview"], [50, "overview"], [56, "overview"], [60, "overview"], [105, "overview"]], "Parallel Function Calls": [[98, "parallel-function-calls"]], "Parameter": [[91, "parameter"]], "Parser": [[90, "parser"], [90, "id1"]], "Parser in Action": [[90, "parser-in-action"]], "PostgresRetriever": [[95, "postgresretriever"]], "Principle 1: Simplicity over Complexity": [[84, "principle-1-simplicity-over-complexity"]], "Principle 2: Quality over Quantity": [[84, "principle-2-quality-over-quantity"]], "Principle 3: Optimizing over Building": [[84, "principle-3-optimizing-over-building"]], "Print the structure": [[74, "print-the-structure"]], "Prompt": [[92, "prompt"]], "Prompt class": [[92, "prompt-class"]], "Quick Walkthrough": [[98, "quick-walkthrough"]], "RAG Essentials": [[83, "rag-essentials"]], "RAG application": [[93, "rag-application"]], "RAG components": [[83, "rag-components"]], "ReAct Agent": [[94, "react-agent"]], "ReAct Agent Deep Dive": [[94, "react-agent-deep-dive"]], "Reasoning": [[25, "reasoning"]], "References": [[71, null], [72, null], [79, null], [86, null], [92, null], [95, null], [98, null]], "Release Version Control Guide": [[105, "release-version-control-guide"]], "Reranker as Retriever": [[95, "reranker-as-retriever"]], "Resources": [[85, "resources"], [107, "resources"], [108, "resources"]], "Retriever": [[25, "retriever"], [95, "retriever"], [96, "retriever"]], "Retriever Base Class": [[95, "retriever-base-class"]], "Retriever Data Types": [[95, "retriever-data-types"]], "Retriever in Action": [[95, "retriever-in-action"]], "Robust": [[106, "robust"]], "Scope and Design": [[90, "scope-and-design"]], "Searalization and deserialization": [[74, "searalization-and-deserialization"]], "Separate library and application logs": [[86, "separate-library-and-application-logs"]], "Sequential": [[74, "sequential"]], "Set up all logs in one file": [[86, "set-up-all-logs-in-one-file"]], "Setup & Build Documentation": [[68, "setup-build-documentation"]], "Show data examples & parse string to data instance": [[72, "show-data-examples-parse-string-to-data-instance"]], "Souce Code Docstring Standard": [[68, "souce-code-docstring-standard"]], "Steps to Release a New Version": [[105, "steps-to-release-a-new-version"]], "Structure": [[103, "structure"]], "Suggestion on File reading and writing": [[78, "suggestion-on-file-reading-and-writing"]], "Switch model client": [[82, "switch-model-client"]], "Text Splitter": [[97, "text-splitter"]], "Text Splitting Options": [[96, "id4"]], "TextSplitter Overview": [[97, "textsplitter-overview"]], "Tracing": [[49, "tracing"], [56, "tracing"], [82, "tracing"], [87, "tracing"], [87, "id1"]], "Trainer": [[99, "trainer"]], "Training": [[83, "training"]], "Training [Experimental]": [[82, "training-experimental"]], "Troubleshooting": [[105, "troubleshooting"]], "Tutorials": [[83, "tutorials"]], "Unites Research and Production": [[106, "unites-research-and-production"]], "Use Cases": [[110, "use-cases"]], "Use Local Model": [[79, "use-local-model"]], "Use Logger in Projects": [[86, "use-logger-in-projects"]], "Use ModelClient directly": [[88, "use-modelclient-directly"]], "Use OpenAI API": [[79, "use-openai-api"]], "Use Output Processors": [[79, "use-output-processors"]], "Use Score Threshold instead of top_k": [[95, "use-score-threshold-instead-of-top-k"]], "Use output_processors": [[82, "use-output-processors"]], "Use template": [[82, "use-template"]], "Use together with Database": [[95, "use-together-with-database"]], "Utils": [[49, "utils"], [60, "utils"]], "What is LightRAG?": [[103, "what-is-lightrag"]], "What is an agent and why you need it?": [[94, "what-is-an-agent-and-why-you-need-it"]], "What is not part of LightRAG?": [[103, "what-is-not-part-of-lightrag"]], "What to evaluate?": [[81, "what-to-evaluate"]], "Where to evaluate?": [[81, "where-to-evaluate"]], "Why Jinja2?": [[92, "why-jinja2"]], "Why do we need chat completion instead of the previous text completion?": [[85, "why-do-we-need-chat-completion-instead-of-the-previous-text-completion"]], "With LocalDB": [[95, "with-localdb"]], "Work with Data Instance": [[72, "work-with-data-instance"]], "Writing Documentation": [[68, "writing-documentation"]], "agent": [[0, "agent"]], "answer_match_acc": [[44, "module-eval.answer_match_acc"]], "anthropic_client": [[8, "anthropic-client"]], "base_data_class": [[26, "module-core.base_data_class"]], "bm25_retriever": [[20, "module-components.retriever.bm25_retriever"]], "chain_of_thought": [[18, "module-components.reasoning.chain_of_thought"]], "cohere_client": [[9, "cohere-client"]], "component": [[27, "module-core.component"]], "config": [[61, "module-utils.config"]], "container": [[28, "module-core.container"]], "data_components": [[3, "module-components.data_process.data_components"]], "data_process": [[2, "data-process"]], "db": [[29, "module-core.db"]], "decorators": [[57, "module-tracing.decorators"]], "default_prompt_template": [[30, "module-core.default_prompt_template"]], "embedder": [[31, "module-core.embedder"]], "faiss_retriever": [[21, "faiss-retriever"]], "few_shot_optimizer": [[51, "module-optim.few_shot_optimizer"]], "file_io": [[62, "module-utils.file_io"]], "func_tool": [[32, "module-core.func_tool"]], "functional": [[33, "module-core.functional"]], "generator": [[34, "module-core.generator"]], "generator_call_logger": [[58, "module-tracing.generator_call_logger"]], "generator_state_logger": [[59, "module-tracing.generator_state_logger"]], "google_client": [[10, "module-components.model_client.google_client"]], "groq_client": [[11, "groq-client"]], "lazy_import": [[63, "module-utils.lazy_import"]], "llm_as_judge": [[45, "module-eval.llm_as_judge"]], "llm_augment": [[52, "module-optim.llm_augment"]], "llm_optimizer": [[53, "module-optim.llm_optimizer"]], "llm_retriever": [[22, "module-components.retriever.llm_retriever"]], "logger": [[64, "module-utils.logger"]], "memory": [[5, "memory"], [6, "module-components.memory.memory"]], "model_client": [[7, "model-client"], [35, "module-core.model_client"]], "openai_client": [[12, "openai-client"]], "optimizer": [[54, "module-optim.optimizer"]], "output_parsers": [[15, "output-parsers"]], "outputs": [[16, "module-components.output_parsers.outputs"]], "parameter": [[36, "module-core.parameter"]], "postgres_retriever": [[23, "postgres-retriever"]], "printc function": [[86, "printc-function"]], "prompt_builder": [[37, "module-core.prompt_builder"]], "react": [[1, "module-components.agent.react"]], "reasoning": [[17, "reasoning"]], "registry": [[65, "module-utils.registry"]], "reranker_retriever": [[24, "module-components.retriever.reranker_retriever"]], "retriever": [[19, "retriever"], [38, "module-core.retriever"]], "retriever_recall": [[46, "module-eval.retriever_recall"]], "retriever_relevance": [[47, "module-eval.retriever_relevance"]], "sampler": [[55, "module-optim.sampler"]], "serialization": [[66, "module-utils.serialization"]], "setup_env": [[67, "module-utils.setup_env"]], "string_parser": [[39, "module-core.string_parser"]], "text_splitter": [[4, "module-components.data_process.text_splitter"]], "tokenizer": [[40, "module-core.tokenizer"]], "tool_manager": [[41, "module-core.tool_manager"]], "transformers_client": [[13, "transformers-client"]], "types": [[42, "module-core.types"]], "utils": [[14, "module-components.model_client.utils"]]}, "docnames": ["apis/components/components.agent", "apis/components/components.agent.react", "apis/components/components.data_process", "apis/components/components.data_process.data_components", "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.anthropic_client", "apis/components/components.model_client.cohere_client", "apis/components/components.model_client.google_client", "apis/components/components.model_client.groq_client", "apis/components/components.model_client.openai_client", "apis/components/components.model_client.transformers_client", "apis/components/components.model_client.utils", "apis/components/components.output_parsers", "apis/components/components.output_parsers.outputs", "apis/components/components.reasoning", "apis/components/components.reasoning.chain_of_thought", "apis/components/components.retriever", "apis/components/components.retriever.bm25_retriever", "apis/components/components.retriever.faiss_retriever", "apis/components/components.retriever.llm_retriever", "apis/components/components.retriever.postgres_retriever", "apis/components/components.retriever.reranker_retriever", "apis/components/index", "apis/core/core.base_data_class", "apis/core/core.component", "apis/core/core.container", "apis/core/core.db", "apis/core/core.default_prompt_template", "apis/core/core.embedder", "apis/core/core.func_tool", "apis/core/core.functional", "apis/core/core.generator", "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.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/configs", "developer_notes/data_pipeline", "developer_notes/datasets", "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", "developer_notes/trainer", "get_started/community", "get_started/index", "get_started/installation", "get_started/introduction", "get_started/lightrag_in_10_mins", "get_started/version_control", "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/components.agent.rst", "apis/components/components.agent.react.rst", "apis/components/components.data_process.rst", "apis/components/components.data_process.data_components.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.anthropic_client.rst", "apis/components/components.model_client.cohere_client.rst", "apis/components/components.model_client.google_client.rst", "apis/components/components.model_client.groq_client.rst", "apis/components/components.model_client.openai_client.rst", "apis/components/components.model_client.transformers_client.rst", "apis/components/components.model_client.utils.rst", "apis/components/components.output_parsers.rst", "apis/components/components.output_parsers.outputs.rst", "apis/components/components.reasoning.rst", "apis/components/components.reasoning.chain_of_thought.rst", "apis/components/components.retriever.rst", "apis/components/components.retriever.bm25_retriever.rst", "apis/components/components.retriever.faiss_retriever.rst", "apis/components/components.retriever.llm_retriever.rst", "apis/components/components.retriever.postgres_retriever.rst", "apis/components/components.retriever.reranker_retriever.rst", "apis/components/index.rst", "apis/core/core.base_data_class.rst", "apis/core/core.component.rst", "apis/core/core.container.rst", "apis/core/core.db.rst", "apis/core/core.default_prompt_template.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.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.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/configs.rst", "developer_notes/data_pipeline.rst", "developer_notes/datasets.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", "developer_notes/trainer.rst", "get_started/community.rst", "get_started/index.rst", "get_started/installation.rst", "get_started/introduction.rst", "get_started/lightrag_in_10_mins.rst", "get_started/version_control.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() (component method)": [[27, "core.component.Component.acall", false]], "acall() (embedder method)": [[31, "core.embedder.Embedder.acall", false]], "acall() (functiontool method)": [[32, "core.func_tool.FunctionTool.acall", false]], "acall() (generator method)": [[34, "core.generator.Generator.acall", false]], "acall() (modelclient method)": [[35, "core.model_client.ModelClient.acall", false]], "acall() (retriever method)": [[38, "core.retriever.Retriever.acall", false]], "action (functionexpression attribute)": [[42, "core.types.FunctionExpression.action", false]], "action (stepoutput attribute)": [[42, "core.types.StepOutput.action", false]], "add() (localdb method)": [[29, "core.db.LocalDB.add", false]], "add_component() (component method)": [[27, "core.component.Component.add_component", false]], "answermatchacc (class in eval)": [[48, "eval.AnswerMatchAcc", false]], "answermatchacc (class in eval.answer_match_acc)": [[44, "eval.answer_match_acc.AnswerMatchAcc", false]], "anthropic (optionalpackages attribute)": [[63, "utils.lazy_import.OptionalPackages.ANTHROPIC", false]], "append() (sequential method)": [[28, "core.container.Sequential.append", false]], "append_dialog_turn() (conversation method)": [[42, "core.types.Conversation.append_dialog_turn", false]], "append_to_jsonl() (in module utils.file_io)": [[62, "utils.file_io.append_to_jsonl", false]], "args (function attribute)": [[42, "core.types.Function.args", false]], "assistant_response (dialogturn attribute)": [[42, "core.types.DialogTurn.assistant_response", false]], "assistant_response_timestamp (dialogturn attribute)": [[42, "core.types.DialogTurn.assistant_response_timestamp", false]], "assistantresponse (class in core.types)": [[42, "core.types.AssistantResponse", false]], "augment_samples() (bootstrapfewshot method)": [[50, "optim.BootstrapFewShot.augment_samples", false], [51, "optim.few_shot_optimizer.BootstrapFewShot.augment_samples", false]], "batchembedder (class in core.embedder)": [[31, "core.embedder.BatchEmbedder", false]], "bm25retriever (class in components.retriever.bm25_retriever)": [[20, "components.retriever.bm25_retriever.BM25Retriever", false]], "booleanoutputparser (class in components.output_parsers.outputs)": [[16, "components.output_parsers.outputs.BooleanOutputParser", false]], "booleanparser (class in core.string_parser)": [[39, "core.string_parser.BooleanParser", false]], "bootstrapfewshot (class in optim)": [[50, "optim.BootstrapFewShot", false]], "bootstrapfewshot (class in optim.few_shot_optimizer)": [[51, "optim.few_shot_optimizer.BootstrapFewShot", false]], "build_index_from_documents() (bm25retriever method)": [[20, "components.retriever.bm25_retriever.BM25Retriever.build_index_from_documents", false]], "build_index_from_documents() (llmretriever method)": [[22, "components.retriever.llm_retriever.LLMRetriever.build_index_from_documents", false]], "build_index_from_documents() (rerankerretriever method)": [[24, "components.retriever.reranker_retriever.RerankerRetriever.build_index_from_documents", false]], "build_index_from_documents() (retriever method)": [[38, "core.retriever.Retriever.build_index_from_documents", false]], "call() (batchembedder method)": [[31, "core.embedder.BatchEmbedder.call", false]], "call() (bm25retriever method)": [[20, "components.retriever.bm25_retriever.BM25Retriever.call", false]], "call() (booleanoutputparser method)": [[16, "components.output_parsers.outputs.BooleanOutputParser.call", false]], "call() (classsampler method)": [[50, "optim.ClassSampler.call", false], [55, "optim.sampler.ClassSampler.call", false]], "call() (component method)": [[27, "core.component.Component.call", false]], "call() (defaultllmjudge method)": [[45, "eval.llm_as_judge.DefaultLLMJudge.call", false]], "call() (embedder method)": [[31, "core.embedder.Embedder.call", false]], "call() (funcomponent method)": [[27, "core.component.FunComponent.call", false]], "call() (functiontool method)": [[32, "core.func_tool.FunctionTool.call", false]], "call() (generator method)": [[34, "core.generator.Generator.call", false]], "call() (googlegenaiclient method)": [[10, "components.model_client.google_client.GoogleGenAIClient.call", false]], "call() (jsonoutputparser method)": [[16, "components.output_parsers.outputs.JsonOutputParser.call", false]], "call() (jsonparser method)": [[39, "core.string_parser.JsonParser.call", false]], "call() (listoutputparser method)": [[16, "components.output_parsers.outputs.ListOutputParser.call", false]], "call() (llmaugmenter method)": [[52, "optim.llm_augment.LLMAugmenter.call", false]], "call() (llmretriever method)": [[22, "components.retriever.llm_retriever.LLMRetriever.call", false]], "call() (modelclient method)": [[35, "core.model_client.ModelClient.call", false]], "call() (outputparser method)": [[16, "components.output_parsers.outputs.OutputParser.call", false]], "call() (prompt method)": [[37, "core.prompt_builder.Prompt.call", false]], "call() (randomsampler method)": [[50, "optim.RandomSampler.call", false], [55, "optim.sampler.RandomSampler.call", false]], "call() (reactagent method)": [[1, "components.agent.react.ReActAgent.call", false]], "call() (rerankerretriever method)": [[24, "components.retriever.reranker_retriever.RerankerRetriever.call", false]], "call() (retriever method)": [[38, "core.retriever.Retriever.call", false]], "call() (sampler method)": [[50, "optim.Sampler.call", false], [55, "optim.sampler.Sampler.call", false]], "call() (sequential method)": [[28, "core.container.Sequential.call", false]], "call() (textsplitter method)": [[4, "components.data_process.text_splitter.TextSplitter.call", false]], "call() (yamloutputparser method)": [[16, "components.output_parsers.outputs.YamlOutputParser.call", false]], "call() (yamlparser method)": [[39, "core.string_parser.YamlParser.call", false]], "check_object() (in module utils.serialization)": [[66, "utils.serialization.check_object", false]], "children() (component method)": [[27, "core.component.Component.children", false]], "class (objecttypes attribute)": [[66, "utils.serialization.ObjectTypes.CLASS", false]], "classsampler (class in optim)": [[50, "optim.ClassSampler", false]], "classsampler (class in optim.sampler)": [[55, "optim.sampler.ClassSampler", false]], "cohere (optionalpackages attribute)": [[63, "utils.lazy_import.OptionalPackages.COHERE", false]], "component (class in core.component)": [[27, "core.component.Component", false]], "components() (component method)": [[27, "core.component.Component.components", false]], "components.agent.react": [[1, "module-components.agent.react", false]], "components.data_process.data_components": [[3, "module-components.data_process.data_components", false]], "components.data_process.text_splitter": [[4, "module-components.data_process.text_splitter", false]], "components.memory.memory": [[6, "module-components.memory.memory", false]], "components.model_client.google_client": [[10, "module-components.model_client.google_client", false]], "components.model_client.utils": [[14, "module-components.model_client.utils", false]], "components.output_parsers.outputs": [[16, "module-components.output_parsers.outputs", false]], "components.reasoning.chain_of_thought": [[18, "module-components.reasoning.chain_of_thought", false]], "components.retriever.bm25_retriever": [[20, "module-components.retriever.bm25_retriever", false]], "components.retriever.llm_retriever": [[22, "module-components.retriever.llm_retriever", false]], "components.retriever.reranker_retriever": [[24, "module-components.retriever.reranker_retriever", false]], "compose_model_kwargs() (in module core.functional)": [[33, "core.functional.compose_model_kwargs", false]], "compose_prompt_kwargs() (prompt method)": [[37, "core.prompt_builder.Prompt.compose_prompt_kwargs", false]], "compute() (answermatchacc method)": [[44, "eval.answer_match_acc.AnswerMatchAcc.compute", false], [48, "eval.AnswerMatchAcc.compute", false]], "compute() (llmasjudge method)": [[45, "eval.llm_as_judge.LLMasJudge.compute", false], [48, "eval.LLMasJudge.compute", false]], "compute() (retrieverrecall method)": [[46, "eval.retriever_recall.RetrieverRecall.compute", false], [48, "eval.RetrieverRecall.compute", false]], "compute() (retrieverrelevance method)": [[47, "eval.retriever_relevance.RetrieverRelevance.compute", false], [48, "eval.RetrieverRelevance.compute", false]], "conversation (class in core.types)": [[42, "core.types.Conversation", false]], "conversation_id (dialogturn attribute)": [[42, "core.types.DialogTurn.conversation_id", false]], "convert_inputs_to_api_kwargs() (googlegenaiclient method)": [[10, "components.model_client.google_client.GoogleGenAIClient.convert_inputs_to_api_kwargs", false]], "convert_inputs_to_api_kwargs() (modelclient method)": [[35, "core.model_client.ModelClient.convert_inputs_to_api_kwargs", false]], "convert_schema_to_signature() (in module core.functional)": [[33, "core.functional.convert_schema_to_signature", false]], "core.base_data_class": [[26, "module-core.base_data_class", false]], "core.component": [[27, "module-core.component", false]], "core.container": [[28, "module-core.container", false]], "core.db": [[29, "module-core.db", false]], "core.default_prompt_template": [[30, "module-core.default_prompt_template", false]], "core.embedder": [[31, "module-core.embedder", false]], "core.func_tool": [[32, "module-core.func_tool", false]], "core.functional": [[33, "module-core.functional", false]], "core.generator": [[34, "module-core.generator", false]], "core.model_client": [[35, "module-core.model_client", false]], "core.parameter": [[36, "module-core.parameter", false]], "core.prompt_builder": [[37, "module-core.prompt_builder", false]], "core.retriever": [[38, "module-core.retriever", false]], "core.string_parser": [[39, "module-core.string_parser", false]], "core.tokenizer": [[40, "module-core.tokenizer", false]], "core.tool_manager": [[41, "module-core.tool_manager", false]], "core.types": [[42, "module-core.types", false]], "count_tokens() (tokenizer method)": [[40, "core.tokenizer.Tokenizer.count_tokens", false]], "create_from_dict() (dynamicdataclassfactory static method)": [[26, "core.base_data_class.DynamicDataClassFactory.create_from_dict", false]], "created_at (conversation attribute)": [[42, "core.types.Conversation.created_at", false]], "custom_asdict() (in module core.functional)": [[33, "core.functional.custom_asdict", false]], "data (embedderoutput attribute)": [[42, "core.types.EmbedderOutput.data", false]], "data (generatoroutput attribute)": [[42, "core.types.GeneratorOutput.data", false]], "data (sample attribute)": [[55, "optim.sampler.Sample.data", false]], "dataclass (class in core.base_data_class)": [[26, "core.base_data_class.DataClass", false]], "dataclass_obj_from_dict() (in module core.functional)": [[33, "core.functional.dataclass_obj_from_dict", false]], "dataclassformattype (class in core.base_data_class)": [[26, "core.base_data_class.DataClassFormatType", false]], "dataset (randomsampler attribute)": [[50, "optim.RandomSampler.dataset", false], [55, "optim.sampler.RandomSampler.dataset", false]], "decode() (tokenizer method)": [[40, "core.tokenizer.Tokenizer.decode", false]], "default() (in module utils.serialization)": [[66, "utils.serialization.default", false]], "default_lightrag_system_prompt (in module core.default_prompt_template)": [[30, "core.default_prompt_template.DEFAULT_LIGHTRAG_SYSTEM_PROMPT", false]], "defaultllmjudge (class in eval.llm_as_judge)": [[45, "eval.llm_as_judge.DefaultLLMJudge", false]], "delete() (localdb method)": [[29, "core.db.LocalDB.delete", false]], "delete_dialog_turn() (conversation method)": [[42, "core.types.Conversation.delete_dialog_turn", false]], "deserialize() (in module utils.serialization)": [[66, "utils.serialization.deserialize", false]], "dialog_turns (conversation attribute)": [[42, "core.types.Conversation.dialog_turns", false]], "dialog_turns_input (conversation attribute)": [[42, "core.types.Conversation.dialog_turns_input", false]], "dialogturn (class in core.types)": [[42, "core.types.DialogTurn", false]], "doc_indices (retrieveroutput attribute)": [[42, "core.types.RetrieverOutput.doc_indices", false]], "doc_scores (retrieveroutput attribute)": [[42, "core.types.RetrieverOutput.doc_scores", false]], "document (class in core.types)": [[42, "core.types.Document", false]], "documents (retrieveroutput attribute)": [[42, "core.types.RetrieverOutput.documents", false]], "dynamicdataclassfactory (class in core.base_data_class)": [[26, "core.base_data_class.DynamicDataClassFactory", false]], "embedder (class in core.embedder)": [[31, "core.embedder.Embedder", false]], "embedder (modeltype attribute)": [[42, "core.types.ModelType.EMBEDDER", false]], "embedderoutput (class in core.types)": [[42, "core.types.EmbedderOutput", false]], "embedderoutputtype (in module core.types)": [[42, "core.types.EmbedderOutputType", false]], "embedding (class in core.types)": [[42, "core.types.Embedding", false]], "embedding (embedding attribute)": [[42, "core.types.Embedding.embedding", false]], "embedding_dim (embedderoutput property)": [[42, "core.types.EmbedderOutput.embedding_dim", false]], "encode() (tokenizer method)": [[40, "core.tokenizer.Tokenizer.encode", false]], "entitymapping (class in utils.registry)": [[65, "utils.registry.EntityMapping", false]], "error (embedderoutput attribute)": [[42, "core.types.EmbedderOutput.error", false]], "error (functionoutput attribute)": [[42, "core.types.FunctionOutput.error", false]], "error (generatoroutput attribute)": [[42, "core.types.GeneratorOutput.error", false]], "estimated_num_tokens (document attribute)": [[42, "core.types.Document.estimated_num_tokens", false]], "eval": [[48, "module-eval", false]], "eval() (component method)": [[27, "core.component.Component.eval", false]], "eval.answer_match_acc": [[44, "module-eval.answer_match_acc", false]], "eval.llm_as_judge": [[45, "module-eval.llm_as_judge", false]], "eval.retriever_recall": [[46, "module-eval.retriever_recall", false]], "eval.retriever_relevance": [[47, "module-eval.retriever_relevance", false]], "evaluate_ast_node() (in module core.functional)": [[33, "core.functional.evaluate_ast_node", false]], "example_json (dataclassformattype attribute)": [[26, "core.base_data_class.DataClassFormatType.EXAMPLE_JSON", false]], "example_yaml (dataclassformattype attribute)": [[26, "core.base_data_class.DataClassFormatType.EXAMPLE_YAML", false]], "execute() (functiontool method)": [[32, "core.func_tool.FunctionTool.execute", false]], "execute_func() (toolmanager method)": [[41, "core.tool_manager.ToolManager.execute_func", false]], "execute_func_expr() (toolmanager method)": [[41, "core.tool_manager.ToolManager.execute_func_expr", false]], "execute_func_expr_via_eval() (toolmanager method)": [[41, "core.tool_manager.ToolManager.execute_func_expr_via_eval", false]], "execute_func_expr_via_sandbox() (toolmanager method)": [[41, "core.tool_manager.ToolManager.execute_func_expr_via_sandbox", false]], "extend() (localdb method)": [[29, "core.db.LocalDB.extend", false]], "extend() (sequential method)": [[28, "core.container.Sequential.extend", false]], "extract_dataclass_type() (in module core.functional)": [[33, "core.functional.extract_dataclass_type", false]], "extract_first_boolean() (in module core.functional)": [[33, "core.functional.extract_first_boolean", false]], "extract_first_float() (in module core.functional)": [[33, "core.functional.extract_first_float", false]], "extract_first_int() (in module core.functional)": [[33, "core.functional.extract_first_int", false]], "extract_json_str() (in module core.functional)": [[33, "core.functional.extract_json_str", false]], "extract_list_str() (in module core.functional)": [[33, "core.functional.extract_list_str", false]], "extract_yaml_str() (in module core.functional)": [[33, "core.functional.extract_yaml_str", false]], "faiss (optionalpackages attribute)": [[63, "utils.lazy_import.OptionalPackages.FAISS", false]], "fetch_items() (localdb method)": [[29, "core.db.LocalDB.fetch_items", false]], "fetch_transformed_items() (localdb method)": [[29, "core.db.LocalDB.fetch_transformed_items", false]], "fix_json_escaped_single_quotes() (in module core.functional)": [[33, "core.functional.fix_json_escaped_single_quotes", false]], "fix_json_missing_commas() (in module core.functional)": [[33, "core.functional.fix_json_missing_commas", false]], "floatparser (class in core.string_parser)": [[39, "core.string_parser.FloatParser", false]], "fn_schema_str() (functiondefinition method)": [[42, "core.types.FunctionDefinition.fn_schema_str", false]], "format_class_str() (dataclass class method)": [[26, "core.base_data_class.DataClass.format_class_str", false]], "format_example_str() (dataclass method)": [[26, "core.base_data_class.DataClass.format_example_str", false]], "format_instructions() (booleanoutputparser method)": [[16, "components.output_parsers.outputs.BooleanOutputParser.format_instructions", false]], "format_instructions() (jsonoutputparser method)": [[16, "components.output_parsers.outputs.JsonOutputParser.format_instructions", false]], "format_instructions() (listoutputparser method)": [[16, "components.output_parsers.outputs.ListOutputParser.format_instructions", false]], "format_instructions() (outputparser method)": [[16, "components.output_parsers.outputs.OutputParser.format_instructions", false]], "format_instructions() (yamloutputparser method)": [[16, "components.output_parsers.outputs.YamlOutputParser.format_instructions", false]], "from_config() (component class method)": [[27, "core.component.Component.from_config", false]], "from_config() (embedder class method)": [[31, "core.embedder.Embedder.from_config", false]], "from_config() (generator class method)": [[34, "core.generator.Generator.from_config", false]], "from_dict() (component class method)": [[27, "core.component.Component.from_dict", false]], "from_dict() (dataclass class method)": [[26, "core.base_data_class.DataClass.from_dict", false]], "from_dict() (document class method)": [[42, "core.types.Document.from_dict", false]], "from_dict() (prompt class method)": [[37, "core.prompt_builder.Prompt.from_dict", false]], "from_dict_to_json() (in module core.functional)": [[33, "core.functional.from_dict_to_json", false]], "from_dict_to_yaml() (in module core.functional)": [[33, "core.functional.from_dict_to_yaml", false]], "from_function() (functionexpression class method)": [[42, "core.types.FunctionExpression.from_function", false]], "from_json() (dataclass class method)": [[26, "core.base_data_class.DataClass.from_json", false]], "from_json_to_dict() (in module core.functional)": [[33, "core.functional.from_json_to_dict", false]], "from_yaml() (dataclass class method)": [[26, "core.base_data_class.DataClass.from_yaml", false]], "from_yaml_to_dict() (in module core.functional)": [[33, "core.functional.from_yaml_to_dict", false]], "fun_args (stepoutput attribute)": [[42, "core.types.StepOutput.fun_args", false]], "fun_kwargs (stepoutput attribute)": [[42, "core.types.StepOutput.fun_kwargs", false]], "fun_name (stepoutput attribute)": [[42, "core.types.StepOutput.fun_name", false]], "fun_to_component() (in module core.component)": [[27, "core.component.fun_to_component", false]], "func_desc (functiondefinition attribute)": [[42, "core.types.FunctionDefinition.func_desc", false]], "func_name (functiondefinition attribute)": [[42, "core.types.FunctionDefinition.func_name", false]], "func_parameters (functiondefinition attribute)": [[42, "core.types.FunctionDefinition.func_parameters", false]], "funcomponent (class in core.component)": [[27, "core.component.FunComponent", false]], "function (class in core.types)": [[42, "core.types.Function", false]], "function_definitions (toolmanager property)": [[41, "core.tool_manager.ToolManager.function_definitions", false]], "functiondefinition (class in core.types)": [[42, "core.types.FunctionDefinition", false]], "functionexpression (class in core.types)": [[42, "core.types.FunctionExpression", false]], "functionoutput (class in core.types)": [[42, "core.types.FunctionOutput", false]], "functiontool (class in core.func_tool)": [[32, "core.func_tool.FunctionTool", false]], "generate_function_call_expression_from_callable() (in module core.functional)": [[33, "core.functional.generate_function_call_expression_from_callable", false]], "generate_readable_key_for_function() (in module core.functional)": [[33, "core.functional.generate_readable_key_for_function", false]], "generator (class in core.generator)": [[34, "core.generator.Generator", false]], "generator_names (generatorstatelogger property)": [[59, "tracing.generator_state_logger.GeneratorStateLogger.generator_names", false]], "generator_names_to_files (generatorcalllogger property)": [[58, "tracing.generator_call_logger.GeneratorCallLogger.generator_names_to_files", false]], "generatorcalllogger (class in tracing.generator_call_logger)": [[58, "tracing.generator_call_logger.GeneratorCallLogger", false]], "generatorcallrecord (class in tracing.generator_call_logger)": [[58, "tracing.generator_call_logger.GeneratorCallRecord", false]], "generatoroutput (class in core.types)": [[42, "core.types.GeneratorOutput", false]], "generatorstatelogger (class in tracing.generator_state_logger)": [[59, "tracing.generator_state_logger.GeneratorStateLogger", false]], "generatorstatesrecord (class in tracing.generator_state_logger)": [[59, "tracing.generator_state_logger.GeneratorStatesRecord", false]], "get() (entitymapping class method)": [[65, "utils.registry.EntityMapping.get", false]], "get_all() (entitymapping class method)": [[65, "utils.registry.EntityMapping.get_all", false]], "get_calls() (generatorcalllogger method)": [[58, "tracing.generator_call_logger.GeneratorCallLogger.get_calls", false]], "get_chat_history_str() (conversation method)": [[42, "core.types.Conversation.get_chat_history_str", false]], "get_current_script_and_line() (in module utils.logger)": [[64, "utils.logger.get_current_script_and_line", false]], "get_dataclass_schema() (in module core.functional)": [[33, "core.functional.get_dataclass_schema", false]], "get_dialog_turns() (conversation method)": [[42, "core.types.Conversation.get_dialog_turns", false]], "get_fun_schema() (in module core.functional)": [[33, "core.functional.get_fun_schema", false]], "get_jinja2_environment() (in module core.prompt_builder)": [[37, "core.prompt_builder.get_jinja2_environment", false]], "get_log_location() (generatorcalllogger method)": [[58, "tracing.generator_call_logger.GeneratorCallLogger.get_log_location", false]], "get_log_location() (generatorstatelogger method)": [[59, "tracing.generator_state_logger.GeneratorStateLogger.get_log_location", false]], "get_logger() (in module utils.logger)": [[64, "utils.logger.get_logger", false]], "get_model_args() (in module core.types)": [[42, "core.types.get_model_args", false]], "get_next_order() (conversation method)": [[42, "core.types.Conversation.get_next_order", false]], "get_prompt_variables() (prompt method)": [[37, "core.prompt_builder.Prompt.get_prompt_variables", false]], "get_string_tokens() (tokenizer method)": [[40, "core.tokenizer.Tokenizer.get_string_tokens", false]], "get_subcomponent() (component method)": [[27, "core.component.Component.get_subcomponent", false]], "get_top_k_indices_scores() (in module core.functional)": [[33, "core.functional.get_top_k_indices_scores", false]], "get_transformed_data() (localdb method)": [[29, "core.db.LocalDB.get_transformed_data", false]], "get_transformer_keys() (localdb method)": [[29, "core.db.LocalDB.get_transformer_keys", false]], "get_type_schema() (in module core.functional)": [[33, "core.functional.get_type_schema", false]], "google_generativeai (optionalpackages attribute)": [[63, "utils.lazy_import.OptionalPackages.GOOGLE_GENERATIVEAI", false]], "googlegenaiclient (class in components.model_client.google_client)": [[10, "components.model_client.google_client.GoogleGenAIClient", false]], "groq (optionalpackages attribute)": [[63, "utils.lazy_import.OptionalPackages.GROQ", false]], "gts (instruction attribute)": [[53, "optim.llm_optimizer.Instruction.gts", false]], "id (conversation attribute)": [[42, "core.types.Conversation.id", false]], "id (dialogturn attribute)": [[42, "core.types.DialogTurn.id", false]], "id (document attribute)": [[42, "core.types.Document.id", false]], "index (embedding attribute)": [[42, "core.types.Embedding.index", false]], "index (sample attribute)": [[55, "optim.sampler.Sample.index", false]], "index_keys (retriever attribute)": [[38, "core.retriever.Retriever.index_keys", false]], "indexed (retriever attribute)": [[38, "core.retriever.Retriever.indexed", false]], "init() (bootstrapfewshot method)": [[50, "optim.BootstrapFewShot.init", false], [51, "optim.few_shot_optimizer.BootstrapFewShot.init", false]], "init_async_client() (modelclient method)": [[35, "core.model_client.ModelClient.init_async_client", false]], "init_sync_client() (googlegenaiclient method)": [[10, "components.model_client.google_client.GoogleGenAIClient.init_sync_client", false]], "init_sync_client() (modelclient method)": [[35, "core.model_client.ModelClient.init_sync_client", false]], "input (embedderoutput attribute)": [[42, "core.types.EmbedderOutput.input", false]], "input (functionoutput attribute)": [[42, "core.types.FunctionOutput.input", false]], "insert() (sequential method)": [[28, "core.container.Sequential.insert", false]], "instance (objecttypes attribute)": [[66, "utils.serialization.ObjectTypes.INSTANCE", false]], "instruction (class in optim.llm_optimizer)": [[53, "optim.llm_optimizer.Instruction", false]], "intparser (class in core.string_parser)": [[39, "core.string_parser.IntParser", false]], "is_dataclass_instance() (in module core.functional)": [[33, "core.functional.is_dataclass_instance", false]], "is_key_in_template() (prompt method)": [[37, "core.prompt_builder.Prompt.is_key_in_template", false]], "is_normalized (embedderoutput property)": [[42, "core.types.EmbedderOutput.is_normalized", false]], "is_normalized() (in module core.functional)": [[33, "core.functional.is_normalized", false]], "is_picklable() (component method)": [[27, "core.component.Component.is_picklable", false]], "is_potential_dataclass() (in module core.functional)": [[33, "core.functional.is_potential_dataclass", false]], "is_running_in_event_loop() (in module core.func_tool)": [[32, "core.func_tool.is_running_in_event_loop", false]], "items (localdb attribute)": [[29, "core.db.LocalDB.items", false]], "json_definitions (toolmanager property)": [[41, "core.tool_manager.ToolManager.json_definitions", false]], "jsonoutputparser (class in components.output_parsers.outputs)": [[16, "components.output_parsers.outputs.JsonOutputParser", false]], "jsonparser (class in core.string_parser)": [[39, "core.string_parser.JsonParser", false]], "kwargs (function attribute)": [[42, "core.types.Function.kwargs", false]], "lazyimport (class in utils.lazy_import)": [[63, "utils.lazy_import.LazyImport", false]], "length (embedderoutput property)": [[42, "core.types.EmbedderOutput.length", false]], "length (localdb property)": [[29, "core.db.LocalDB.length", false]], "listoutputparser (class in components.output_parsers.outputs)": [[16, "components.output_parsers.outputs.ListOutputParser", false]], "listparser (class in core.string_parser)": [[39, "core.string_parser.ListParser", false]], "llm (modeltype attribute)": [[42, "core.types.ModelType.LLM", false]], "llmasjudge (class in eval)": [[48, "eval.LLMasJudge", false]], "llmasjudge (class in eval.llm_as_judge)": [[45, "eval.llm_as_judge.LLMasJudge", false]], "llmaugmenter (class in optim.llm_augment)": [[52, "optim.llm_augment.LLMAugmenter", false]], "llmoptimizer (class in optim)": [[50, "optim.LLMOptimizer", false]], "llmoptimizer (class in optim.llm_optimizer)": [[53, "optim.llm_optimizer.LLMOptimizer", false]], "llmretriever (class in components.retriever.llm_retriever)": [[22, "components.retriever.llm_retriever.LLMRetriever", false]], "load() (generatorcalllogger method)": [[58, "tracing.generator_call_logger.GeneratorCallLogger.load", false]], "load() (generatorstatelogger method)": [[59, "tracing.generator_state_logger.GeneratorStateLogger.load", false]], "load() (in module utils.file_io)": [[62, "utils.file_io.load", false]], "load() (localdb method)": [[29, "core.db.LocalDB.load", false]], "load_class() (lazyimport method)": [[63, "utils.lazy_import.LazyImport.load_class", false]], "load_from_file() (bm25retriever class method)": [[20, "components.retriever.bm25_retriever.BM25Retriever.load_from_file", false]], "load_from_file() (retriever class method)": [[38, "core.retriever.Retriever.load_from_file", false]], "load_from_pickle() (component class method)": [[27, "core.component.Component.load_from_pickle", false]], "load_json() (in module utils.file_io)": [[62, "utils.file_io.load_json", false]], "load_jsonl() (in module utils.file_io)": [[62, "utils.file_io.load_jsonl", false]], "load_meta_data() (generatorcalllogger method)": [[58, "tracing.generator_call_logger.GeneratorCallLogger.load_meta_data", false]], "load_pickle() (in module utils.file_io)": [[62, "utils.file_io.load_pickle", false]], "load_state() (localdb class method)": [[29, "core.db.LocalDB.load_state", false]], "load_state_dict() (component method)": [[27, "core.component.Component.load_state_dict", false]], "load_state_pickle() (component class method)": [[27, "core.component.Component.load_state_pickle", false]], "localdb (class in core.db)": [[29, "core.db.LocalDB", false]], "log_call() (generatorcalllogger method)": [[58, "tracing.generator_call_logger.GeneratorCallLogger.log_call", false]], "log_prompt() (generatorstatelogger method)": [[59, "tracing.generator_state_logger.GeneratorStateLogger.log_prompt", false]], "logprob (tokenlogprob attribute)": [[42, "core.types.TokenLogProb.logprob", false]], "mapper_setups (localdb attribute)": [[29, "core.db.LocalDB.mapper_setups", false]], "memory (class in components.memory.memory)": [[6, "components.memory.memory.Memory", false]], "meta_data (document attribute)": [[42, "core.types.Document.meta_data", false]], "metadata (assistantresponse attribute)": [[42, "core.types.AssistantResponse.metadata", false]], "metadata (conversation attribute)": [[42, "core.types.Conversation.metadata", false]], "metadata (dialogturn attribute)": [[42, "core.types.DialogTurn.metadata", false]], "metadata (generatoroutput attribute)": [[42, "core.types.GeneratorOutput.metadata", false]], "metadata (userquery attribute)": [[42, "core.types.UserQuery.metadata", false]], "model (embedderoutput attribute)": [[42, "core.types.EmbedderOutput.model", false]], "model_client (embedder attribute)": [[31, "core.embedder.Embedder.model_client", false]], "model_client (generator attribute)": [[34, "core.generator.Generator.model_client", false]], "model_kwargs (generatorcallrecord attribute)": [[58, "tracing.generator_call_logger.GeneratorCallRecord.model_kwargs", false]], "model_type (embedder attribute)": [[31, "core.embedder.Embedder.model_type", false]], "model_type (generator attribute)": [[34, "core.generator.Generator.model_type", false]], "modelclient (class in core.model_client)": [[35, "core.model_client.ModelClient", false]], "modelclienttype (class in core.types)": [[42, "core.types.ModelClientType", false]], "modeltype (class in core.types)": [[42, "core.types.ModelType", false]], "module": [[1, "module-components.agent.react", false], [3, "module-components.data_process.data_components", false], [4, "module-components.data_process.text_splitter", false], [6, "module-components.memory.memory", false], [10, "module-components.model_client.google_client", false], [14, "module-components.model_client.utils", false], [16, "module-components.output_parsers.outputs", false], [18, "module-components.reasoning.chain_of_thought", false], [20, "module-components.retriever.bm25_retriever", false], [22, "module-components.retriever.llm_retriever", false], [24, "module-components.retriever.reranker_retriever", false], [26, "module-core.base_data_class", false], [27, "module-core.component", false], [28, "module-core.container", false], [29, "module-core.db", false], [30, "module-core.default_prompt_template", false], [31, "module-core.embedder", false], [32, "module-core.func_tool", false], [33, "module-core.functional", false], [34, "module-core.generator", false], [35, "module-core.model_client", false], [36, "module-core.parameter", false], [37, "module-core.prompt_builder", false], [38, "module-core.retriever", false], [39, "module-core.string_parser", false], [40, "module-core.tokenizer", false], [41, "module-core.tool_manager", false], [42, "module-core.types", false], [44, "module-eval.answer_match_acc", false], [45, "module-eval.llm_as_judge", false], [46, "module-eval.retriever_recall", false], [47, "module-eval.retriever_relevance", false], [48, "module-eval", false], [50, "module-optim", false], [51, "module-optim.few_shot_optimizer", false], [52, "module-optim.llm_augment", false], [53, "module-optim.llm_optimizer", false], [54, "module-optim.optimizer", false], [55, "module-optim.sampler", false], [57, "module-tracing.decorators", false], [58, "module-tracing.generator_call_logger", false], [59, "module-tracing.generator_state_logger", false], [61, "module-utils.config", false], [62, "module-utils.file_io", false], [63, "module-utils.lazy_import", false], [64, "module-utils.logger", false], [65, "module-utils.registry", false], [66, "module-utils.serialization", false], [67, "module-utils.setup_env", false]], "name (conversation attribute)": [[42, "core.types.Conversation.name", false]], "name (function attribute)": [[42, "core.types.Function.name", false]], "name (functionoutput attribute)": [[42, "core.types.FunctionOutput.name", false]], "name (localdb attribute)": [[29, "core.db.LocalDB.name", false]], "named_children() (component method)": [[27, "core.component.Component.named_children", false]], "named_components() (component method)": [[27, "core.component.Component.named_components", false]], "named_parameters() (component method)": [[27, "core.component.Component.named_parameters", false]], "new_component() (in module utils.config)": [[61, "utils.config.new_component", false]], "new_components_from_config() (in module utils.config)": [[61, "utils.config.new_components_from_config", false]], "normalize_np_array() (in module core.functional)": [[33, "core.functional.normalize_np_array", false]], "normalize_vector() (in module core.functional)": [[33, "core.functional.normalize_vector", false]], "objecttypes (class in utils.serialization)": [[66, "utils.serialization.ObjectTypes", false]], "observation (stepoutput attribute)": [[42, "core.types.StepOutput.observation", false]], "openai (optionalpackages attribute)": [[63, "utils.lazy_import.OptionalPackages.OPENAI", false]], "optim": [[50, "module-optim", false]], "optim.few_shot_optimizer": [[51, "module-optim.few_shot_optimizer", false]], "optim.llm_augment": [[52, "module-optim.llm_augment", false]], "optim.llm_optimizer": [[53, "module-optim.llm_optimizer", false]], "optim.optimizer": [[54, "module-optim.optimizer", false]], "optim.sampler": [[55, "module-optim.sampler", false]], "optimizer (class in optim)": [[50, "optim.Optimizer", false]], "optimizer (class in optim.optimizer)": [[54, "optim.optimizer.Optimizer", false]], "optionalpackages (class in utils.lazy_import)": [[63, "utils.lazy_import.OptionalPackages", false]], "order (dialogturn attribute)": [[42, "core.types.DialogTurn.order", false]], "order (document attribute)": [[42, "core.types.Document.order", false]], "output (functionoutput attribute)": [[42, "core.types.FunctionOutput.output", false]], "output (generatorcallrecord attribute)": [[58, "tracing.generator_call_logger.GeneratorCallRecord.output", false]], "output_processors (embedder attribute)": [[31, "core.embedder.Embedder.output_processors", false]], "outputparser (class in components.output_parsers.outputs)": [[16, "components.output_parsers.outputs.OutputParser", false]], "parameter (class in core.parameter)": [[36, "core.parameter.Parameter", false]], "parameters() (component method)": [[27, "core.component.Component.parameters", false]], "parent_doc_id (document attribute)": [[42, "core.types.Document.parent_doc_id", false]], "parse_chat_completion() (googlegenaiclient method)": [[10, "components.model_client.google_client.GoogleGenAIClient.parse_chat_completion", false]], "parse_chat_completion() (modelclient method)": [[35, "core.model_client.ModelClient.parse_chat_completion", false]], "parse_embedding_response() (in module components.model_client.utils)": [[14, "components.model_client.utils.parse_embedding_response", false]], "parse_embedding_response() (modelclient method)": [[35, "core.model_client.ModelClient.parse_embedding_response", false]], "parse_func_expr() (toolmanager method)": [[41, "core.tool_manager.ToolManager.parse_func_expr", false]], "parse_function_call_expr() (in module core.functional)": [[33, "core.functional.parse_function_call_expr", false]], "parse_json_str_to_obj() (in module core.functional)": [[33, "core.functional.parse_json_str_to_obj", false]], "parse_yaml_str_to_obj() (in module core.functional)": [[33, "core.functional.parse_yaml_str_to_obj", false]], "parsed_input (functionoutput attribute)": [[42, "core.types.FunctionOutput.parsed_input", false]], "pgvector (optionalpackages attribute)": [[63, "utils.lazy_import.OptionalPackages.PGVECTOR", false]], "pickle_to_file() (component method)": [[27, "core.component.Component.pickle_to_file", false]], "preprocess() (tokenizer method)": [[40, "core.tokenizer.Tokenizer.preprocess", false]], "print_prompt() (generator method)": [[34, "core.generator.Generator.print_prompt", false]], "print_prompt() (prompt method)": [[37, "core.prompt_builder.Prompt.print_prompt", false]], "print_prompt_template() (prompt method)": [[37, "core.prompt_builder.Prompt.print_prompt_template", false]], "printc() (in module utils.logger)": [[64, "utils.logger.printc", false]], "prompt (class in core.prompt_builder)": [[37, "core.prompt_builder.Prompt", false]], "prompt_kwargs (generatorcallrecord attribute)": [[58, "tracing.generator_call_logger.GeneratorCallRecord.prompt_kwargs", false]], "prompt_states (generatorstatesrecord attribute)": [[59, "tracing.generator_state_logger.GeneratorStatesRecord.prompt_states", false]], "prompt_tokens (usage attribute)": [[42, "core.types.Usage.prompt_tokens", false]], "propose() (bootstrapfewshot method)": [[50, "optim.BootstrapFewShot.propose", false], [51, "optim.few_shot_optimizer.BootstrapFewShot.propose", false]], "propose() (llmoptimizer method)": [[50, "optim.LLMOptimizer.propose", false], [53, "optim.llm_optimizer.LLMOptimizer.propose", false]], "query (retrieveroutput attribute)": [[42, "core.types.RetrieverOutput.query", false]], "query_str (userquery attribute)": [[42, "core.types.UserQuery.query_str", false]], "random_replace() (bootstrapfewshot method)": [[50, "optim.BootstrapFewShot.random_replace", false], [51, "optim.few_shot_optimizer.BootstrapFewShot.random_replace", false]], "random_replace() (classsampler method)": [[50, "optim.ClassSampler.random_replace", false], [55, "optim.sampler.ClassSampler.random_replace", false]], "random_replace() (randomsampler method)": [[50, "optim.RandomSampler.random_replace", false], [55, "optim.sampler.RandomSampler.random_replace", false]], "random_replace() (sampler method)": [[50, "optim.Sampler.random_replace", false], [55, "optim.sampler.Sampler.random_replace", false]], "random_sample() (classsampler method)": [[50, "optim.ClassSampler.random_sample", false], [55, "optim.sampler.ClassSampler.random_sample", false]], "random_sample() (randomsampler method)": [[50, "optim.RandomSampler.random_sample", false], [55, "optim.sampler.RandomSampler.random_sample", false]], "randomsampler (class in optim)": [[50, "optim.RandomSampler", false]], "randomsampler (class in optim.sampler)": [[55, "optim.sampler.RandomSampler", false]], "raw_response (embedderoutput attribute)": [[42, "core.types.EmbedderOutput.raw_response", false]], "raw_response (generatoroutput attribute)": [[42, "core.types.GeneratorOutput.raw_response", false]], "reactagent (class in components.agent.react)": [[1, "components.agent.react.ReActAgent", false]], "register() (entitymapping class method)": [[65, "utils.registry.EntityMapping.register", false]], "register_component() (component method)": [[27, "core.component.Component.register_component", false]], "register_generator() (generatorcalllogger method)": [[58, "tracing.generator_call_logger.GeneratorCallLogger.register_generator", false]], "register_parameter() (component method)": [[27, "core.component.Component.register_parameter", false]], "register_transformer() (localdb method)": [[29, "core.db.LocalDB.register_transformer", false]], "represent_ordereddict() (in module core.functional)": [[33, "core.functional.represent_ordereddict", false]], "required_field() (in module core.base_data_class)": [[26, "core.base_data_class.required_field", false]], "reranker (modeltype attribute)": [[42, "core.types.ModelType.RERANKER", false]], "rerankerretriever (class in components.retriever.reranker_retriever)": [[24, "components.retriever.reranker_retriever.RerankerRetriever", false]], "reset() (bootstrapfewshot method)": [[50, "optim.BootstrapFewShot.reset", false], [51, "optim.few_shot_optimizer.BootstrapFewShot.reset", false]], "reset() (llmoptimizer method)": [[50, "optim.LLMOptimizer.reset", false], [53, "optim.llm_optimizer.LLMOptimizer.reset", false]], "reset() (localdb method)": [[29, "core.db.LocalDB.reset", false]], "reset() (reactagent method)": [[1, "components.agent.react.ReActAgent.reset", false]], "reset_index() (bm25retriever method)": [[20, "components.retriever.bm25_retriever.BM25Retriever.reset_index", false]], "reset_index() (llmretriever method)": [[22, "components.retriever.llm_retriever.LLMRetriever.reset_index", false]], "reset_index() (rerankerretriever method)": [[24, "components.retriever.reranker_retriever.RerankerRetriever.reset_index", false]], "reset_index() (retriever method)": [[38, "core.retriever.Retriever.reset_index", false]], "reset_parameter() (bootstrapfewshot method)": [[50, "optim.BootstrapFewShot.reset_parameter", false], [51, "optim.few_shot_optimizer.BootstrapFewShot.reset_parameter", false]], "reset_parameter() (llmoptimizer method)": [[50, "optim.LLMOptimizer.reset_parameter", false], [53, "optim.llm_optimizer.LLMOptimizer.reset_parameter", false]], "response_str (assistantresponse attribute)": [[42, "core.types.AssistantResponse.response_str", false]], "responses (instruction attribute)": [[53, "optim.llm_optimizer.Instruction.responses", false]], "retriever (class in core.retriever)": [[38, "core.retriever.Retriever", false]], "retriever_output_to_context_str() (in module components.data_process.data_components)": [[3, "components.data_process.data_components.retriever_output_to_context_str", false]], "retrieveroutput (class in core.types)": [[42, "core.types.RetrieverOutput", false]], "retrieveroutputtocontextstr (class in components.data_process.data_components)": [[3, "components.data_process.data_components.RetrieverOutputToContextStr", false]], "retrieverrecall (class in eval)": [[48, "eval.RetrieverRecall", false]], "retrieverrecall (class in eval.retriever_recall)": [[46, "eval.retriever_recall.RetrieverRecall", false]], "retrieverrelevance (class in eval)": [[48, "eval.RetrieverRelevance", false]], "retrieverrelevance (class in eval.retriever_relevance)": [[47, "eval.retriever_relevance.RetrieverRelevance", false]], "safe_import() (in module utils.lazy_import)": [[63, "utils.lazy_import.safe_import", false]], "sample (class in optim.sampler)": [[55, "optim.sampler.Sample", false]], "sampler (class in optim)": [[50, "optim.Sampler", false]], "sampler (class in optim.sampler)": [[55, "optim.sampler.Sampler", false]], "sandbox_exec() (in module core.functional)": [[33, "core.functional.sandbox_exec", false]], "save() (generatorstatelogger method)": [[59, "tracing.generator_state_logger.GeneratorStateLogger.save", false]], "save() (in module utils.file_io)": [[62, "utils.file_io.save", false]], "save_json() (in module utils.file_io)": [[62, "utils.file_io.save_json", false]], "save_meta_data() (generatorcalllogger method)": [[58, "tracing.generator_call_logger.GeneratorCallLogger.save_meta_data", false]], "save_pickle() (in module utils.file_io)": [[62, "utils.file_io.save_pickle", false]], "save_state() (localdb method)": [[29, "core.db.LocalDB.save_state", false]], "save_to_file() (bm25retriever method)": [[20, "components.retriever.bm25_retriever.BM25Retriever.save_to_file", false]], "save_to_file() (retriever method)": [[38, "core.retriever.Retriever.save_to_file", false]], "schema (dataclassformattype attribute)": [[26, "core.base_data_class.DataClassFormatType.SCHEMA", false]], "score (document attribute)": [[42, "core.types.Document.score", false]], "score (instruction attribute)": [[53, "optim.llm_optimizer.Instruction.score", false]], "sequential (class in core.container)": [[28, "core.container.Sequential", false]], "serialize() (in module utils.serialization)": [[66, "utils.serialization.serialize", false]], "set_assistant_response() (dialogturn method)": [[42, "core.types.DialogTurn.set_assistant_response", false]], "set_user_query() (dialogturn method)": [[42, "core.types.DialogTurn.set_user_query", false]], "setup_env() (in module utils.setup_env)": [[67, "utils.setup_env.setup_env", false]], "signature_json (dataclassformattype attribute)": [[26, "core.base_data_class.DataClassFormatType.SIGNATURE_JSON", false]], "signature_yaml (dataclassformattype attribute)": [[26, "core.base_data_class.DataClassFormatType.SIGNATURE_YAML", false]], "split_text() (textsplitter method)": [[4, "components.data_process.text_splitter.TextSplitter.split_text", false]], "split_text_by_word_fn() (in module components.retriever.bm25_retriever)": [[20, "components.retriever.bm25_retriever.split_text_by_word_fn", false]], "split_text_by_word_fn_then_lower_tokenized() (in module components.retriever.bm25_retriever)": [[20, "components.retriever.bm25_retriever.split_text_by_word_fn_then_lower_tokenized", false]], "split_text_tokenized() (in module components.retriever.bm25_retriever)": [[20, "components.retriever.bm25_retriever.split_text_tokenized", false]], "sqlalchemy (optionalpackages attribute)": [[63, "utils.lazy_import.OptionalPackages.SQLALCHEMY", false]], "state_dict() (component method)": [[27, "core.component.Component.state_dict", false]], "state_dict() (optimizer method)": [[50, "optim.Optimizer.state_dict", false], [54, "optim.optimizer.Optimizer.state_dict", false]], "step (stepoutput attribute)": [[42, "core.types.StepOutput.step", false]], "step() (optimizer method)": [[50, "optim.Optimizer.step", false], [54, "optim.optimizer.Optimizer.step", false]], "stepoutput (class in core.types)": [[42, "core.types.StepOutput", false]], "text (document attribute)": [[42, "core.types.Document.text", false]], "text (instruction attribute)": [[53, "optim.llm_optimizer.Instruction.text", false]], "textsplitter (class in components.data_process.text_splitter)": [[4, "components.data_process.text_splitter.TextSplitter", false]], "thought (function attribute)": [[42, "core.types.Function.thought", false]], "thought (functionexpression attribute)": [[42, "core.types.FunctionExpression.thought", false]], "thought (stepoutput attribute)": [[42, "core.types.StepOutput.thought", false]], "time_stamp (generatorcallrecord attribute)": [[58, "tracing.generator_call_logger.GeneratorCallRecord.time_stamp", false]], "time_stamp (generatorstatesrecord attribute)": [[59, "tracing.generator_state_logger.GeneratorStatesRecord.time_stamp", false]], "to_dict() (component method)": [[27, "core.component.Component.to_dict", false]], "to_dict() (dataclass method)": [[26, "core.base_data_class.DataClass.to_dict", false]], "to_dict() (in module utils.serialization)": [[66, "utils.serialization.to_dict", false]], "to_dict() (parameter method)": [[36, "core.parameter.Parameter.to_dict", false]], "to_dict() (prompt method)": [[37, "core.prompt_builder.Prompt.to_dict", false]], "to_dict() (sample method)": [[55, "optim.sampler.Sample.to_dict", false]], "to_dict_class() (dataclass class method)": [[26, "core.base_data_class.DataClass.to_dict_class", false]], "to_json() (dataclass method)": [[26, "core.base_data_class.DataClass.to_json", false]], "to_json_obj() (dataclass method)": [[26, "core.base_data_class.DataClass.to_json_obj", false]], "to_json_signature() (dataclass class method)": [[26, "core.base_data_class.DataClass.to_json_signature", false]], "to_schema() (dataclass class method)": [[26, "core.base_data_class.DataClass.to_schema", false]], "to_schema_str() (dataclass class method)": [[26, "core.base_data_class.DataClass.to_schema_str", false]], "to_yaml() (dataclass method)": [[26, "core.base_data_class.DataClass.to_yaml", false]], "to_yaml_obj() (dataclass method)": [[26, "core.base_data_class.DataClass.to_yaml_obj", false]], "to_yaml_signature() (dataclass class method)": [[26, "core.base_data_class.DataClass.to_yaml_signature", false]], "toembeddings (class in components.data_process.data_components)": [[3, "components.data_process.data_components.ToEmbeddings", false]], "token (tokenlogprob attribute)": [[42, "core.types.TokenLogProb.token", false]], "tokenizer (class in core.tokenizer)": [[40, "core.tokenizer.Tokenizer", false]], "tokenlogprob (class in core.types)": [[42, "core.types.TokenLogProb", false]], "toolmanager (class in core.tool_manager)": [[41, "core.tool_manager.ToolManager", false]], "torch (optionalpackages attribute)": [[63, "utils.lazy_import.OptionalPackages.TORCH", false]], "total_tokens (usage attribute)": [[42, "core.types.Usage.total_tokens", false]], "trace_generator_call() (in module tracing.decorators)": [[57, "tracing.decorators.trace_generator_call", false]], "trace_generator_states() (in module tracing.decorators)": [[57, "tracing.decorators.trace_generator_states", false]], "tracing.decorators": [[57, "module-tracing.decorators", false]], "tracing.generator_call_logger": [[58, "module-tracing.generator_call_logger", false]], "tracing.generator_state_logger": [[59, "module-tracing.generator_state_logger", false]], "train() (component method)": [[27, "core.component.Component.train", false]], "training (component attribute)": [[27, "core.component.Component.training", false]], "transform() (localdb method)": [[29, "core.db.LocalDB.transform", false]], "transformed_items (localdb attribute)": [[29, "core.db.LocalDB.transformed_items", false]], "transformer_setups (localdb attribute)": [[29, "core.db.LocalDB.transformer_setups", false]], "transformers (optionalpackages attribute)": [[63, "utils.lazy_import.OptionalPackages.TRANSFORMERS", false]], "type (objecttypes attribute)": [[66, "utils.serialization.ObjectTypes.TYPE", false]], "undefined (modeltype attribute)": [[42, "core.types.ModelType.UNDEFINED", false]], "update_default_model_kwargs() (embedder method)": [[31, "core.embedder.Embedder.update_default_model_kwargs", false]], "update_dialog_turn() (conversation method)": [[42, "core.types.Conversation.update_dialog_turn", false]], "update_parameter() (bootstrapfewshot method)": [[50, "optim.BootstrapFewShot.update_parameter", false], [51, "optim.few_shot_optimizer.BootstrapFewShot.update_parameter", false]], "update_parameter() (llmoptimizer method)": [[50, "optim.LLMOptimizer.update_parameter", false], [53, "optim.llm_optimizer.LLMOptimizer.update_parameter", false]], "update_prompt_kwargs() (prompt method)": [[37, "core.prompt_builder.Prompt.update_prompt_kwargs", false]], "update_value() (parameter method)": [[36, "core.parameter.Parameter.update_value", false]], "usage (class in core.types)": [[42, "core.types.Usage", false]], "usage (embedderoutput attribute)": [[42, "core.types.EmbedderOutput.usage", false]], "usage (generatoroutput attribute)": [[42, "core.types.GeneratorOutput.usage", false]], "user_id (conversation attribute)": [[42, "core.types.Conversation.user_id", false]], "user_id (dialogturn attribute)": [[42, "core.types.DialogTurn.user_id", false]], "user_query (dialogturn attribute)": [[42, "core.types.DialogTurn.user_query", false]], "user_query_timestamp (dialogturn attribute)": [[42, "core.types.DialogTurn.user_query_timestamp", false]], "userquery (class in core.types)": [[42, "core.types.UserQuery", false]], "utils.config": [[61, "module-utils.config", false]], "utils.file_io": [[62, "module-utils.file_io", false]], "utils.lazy_import": [[63, "module-utils.lazy_import", false]], "utils.logger": [[64, "module-utils.logger", false]], "utils.registry": [[65, "module-utils.registry", false]], "utils.serialization": [[66, "module-utils.serialization", false]], "utils.setup_env": [[67, "module-utils.setup_env", false]], "validate_data() (in module core.functional)": [[33, "core.functional.validate_data", false]], "vector (dialogturn attribute)": [[42, "core.types.DialogTurn.vector", false]], "vector (document attribute)": [[42, "core.types.Document.vector", false]], "write_list_to_jsonl() (in module utils.file_io)": [[62, "utils.file_io.write_list_to_jsonl", false]], "yaml_definitions (toolmanager property)": [[41, "core.tool_manager.ToolManager.yaml_definitions", false]], "yamloutputparser (class in components.output_parsers.outputs)": [[16, "components.output_parsers.outputs.YamlOutputParser", false]], "yamlparser (class in core.string_parser)": [[39, "core.string_parser.YamlParser", false]]}, "objects": {"": [[48, 0, 0, "-", "eval"], [50, 0, 0, "-", "optim"]], "components.agent": [[1, 0, 0, "-", "react"]], "components.agent.react": [[1, 1, 1, "", "ReActAgent"]], "components.agent.react.ReActAgent": [[1, 2, 1, "", "call"], [1, 2, 1, "", "reset"]], "components.data_process": [[3, 0, 0, "-", "data_components"], [4, 0, 0, "-", "text_splitter"]], "components.data_process.data_components": [[3, 1, 1, "", "RetrieverOutputToContextStr"], [3, 1, 1, "", "ToEmbeddings"], [3, 3, 1, "", "retriever_output_to_context_str"]], "components.data_process.text_splitter": [[4, 1, 1, "", "TextSplitter"]], "components.data_process.text_splitter.TextSplitter": [[4, 2, 1, "", "call"], [4, 2, 1, "", "split_text"]], "components.memory": [[6, 0, 0, "-", "memory"]], "components.memory.memory": [[6, 1, 1, "", "Memory"]], "components.model_client": [[10, 0, 0, "-", "google_client"], [14, 0, 0, "-", "utils"]], "components.model_client.google_client": [[10, 1, 1, "", "GoogleGenAIClient"]], "components.model_client.google_client.GoogleGenAIClient": [[10, 2, 1, "", "call"], [10, 2, 1, "", "convert_inputs_to_api_kwargs"], [10, 2, 1, "", "init_sync_client"], [10, 2, 1, "", "parse_chat_completion"]], "components.model_client.utils": [[14, 3, 1, "", "parse_embedding_response"]], "components.output_parsers": [[16, 0, 0, "-", "outputs"]], "components.output_parsers.outputs": [[16, 1, 1, "", "BooleanOutputParser"], [16, 1, 1, "", "JsonOutputParser"], [16, 1, 1, "", "ListOutputParser"], [16, 1, 1, "", "OutputParser"], [16, 1, 1, "", "YamlOutputParser"]], "components.output_parsers.outputs.BooleanOutputParser": [[16, 2, 1, "", "call"], [16, 2, 1, "", "format_instructions"]], "components.output_parsers.outputs.JsonOutputParser": [[16, 2, 1, "", "call"], [16, 2, 1, "", "format_instructions"]], "components.output_parsers.outputs.ListOutputParser": [[16, 2, 1, "", "call"], [16, 2, 1, "", "format_instructions"]], "components.output_parsers.outputs.OutputParser": [[16, 2, 1, "", "call"], [16, 2, 1, "", "format_instructions"]], "components.output_parsers.outputs.YamlOutputParser": [[16, 2, 1, "", "call"], [16, 2, 1, "", "format_instructions"]], "components.reasoning": [[18, 0, 0, "-", "chain_of_thought"]], "components.retriever": [[20, 0, 0, "-", "bm25_retriever"], [22, 0, 0, "-", "llm_retriever"], [24, 0, 0, "-", "reranker_retriever"]], "components.retriever.bm25_retriever": [[20, 1, 1, "", "BM25Retriever"], [20, 3, 1, "", "split_text_by_word_fn"], [20, 3, 1, "", "split_text_by_word_fn_then_lower_tokenized"], [20, 3, 1, "", "split_text_tokenized"]], "components.retriever.bm25_retriever.BM25Retriever": [[20, 2, 1, "", "build_index_from_documents"], [20, 2, 1, "", "call"], [20, 2, 1, "", "load_from_file"], [20, 2, 1, "", "reset_index"], [20, 2, 1, "", "save_to_file"]], "components.retriever.llm_retriever": [[22, 1, 1, "", "LLMRetriever"]], "components.retriever.llm_retriever.LLMRetriever": [[22, 2, 1, "", "build_index_from_documents"], [22, 2, 1, "", "call"], [22, 2, 1, "", "reset_index"]], "components.retriever.reranker_retriever": [[24, 1, 1, "", "RerankerRetriever"]], "components.retriever.reranker_retriever.RerankerRetriever": [[24, 2, 1, "", "build_index_from_documents"], [24, 2, 1, "", "call"], [24, 2, 1, "", "reset_index"]], "core": [[26, 0, 0, "-", "base_data_class"], [27, 0, 0, "-", "component"], [28, 0, 0, "-", "container"], [29, 0, 0, "-", "db"], [30, 0, 0, "-", "default_prompt_template"], [31, 0, 0, "-", "embedder"], [32, 0, 0, "-", "func_tool"], [33, 0, 0, "-", "functional"], [34, 0, 0, "-", "generator"], [35, 0, 0, "-", "model_client"], [36, 0, 0, "-", "parameter"], [37, 0, 0, "-", "prompt_builder"], [38, 0, 0, "-", "retriever"], [39, 0, 0, "-", "string_parser"], [40, 0, 0, "-", "tokenizer"], [41, 0, 0, "-", "tool_manager"], [42, 0, 0, "-", "types"]], "core.base_data_class": [[26, 1, 1, "", "DataClass"], [26, 1, 1, "", "DataClassFormatType"], [26, 1, 1, "", "DynamicDataClassFactory"], [26, 3, 1, "", "required_field"]], "core.base_data_class.DataClass": [[26, 2, 1, "", "format_class_str"], [26, 2, 1, "", "format_example_str"], [26, 2, 1, "", "from_dict"], [26, 2, 1, "", "from_json"], [26, 2, 1, "", "from_yaml"], [26, 2, 1, "", "to_dict"], [26, 2, 1, "", "to_dict_class"], [26, 2, 1, "", "to_json"], [26, 2, 1, "", "to_json_obj"], [26, 2, 1, "", "to_json_signature"], [26, 2, 1, "", "to_schema"], [26, 2, 1, "", "to_schema_str"], [26, 2, 1, "", "to_yaml"], [26, 2, 1, "", "to_yaml_obj"], [26, 2, 1, "", "to_yaml_signature"]], "core.base_data_class.DataClassFormatType": [[26, 4, 1, "", "EXAMPLE_JSON"], [26, 4, 1, "", "EXAMPLE_YAML"], [26, 4, 1, "", "SCHEMA"], [26, 4, 1, "", "SIGNATURE_JSON"], [26, 4, 1, "", "SIGNATURE_YAML"]], "core.base_data_class.DynamicDataClassFactory": [[26, 2, 1, "", "create_from_dict"]], "core.component": [[27, 1, 1, "", "Component"], [27, 1, 1, "", "FunComponent"], [27, 3, 1, "", "fun_to_component"]], "core.component.Component": [[27, 2, 1, "", "acall"], [27, 2, 1, "", "add_component"], [27, 2, 1, "", "call"], [27, 2, 1, "", "children"], [27, 2, 1, "", "components"], [27, 2, 1, "", "eval"], [27, 2, 1, "", "from_config"], [27, 2, 1, "", "from_dict"], [27, 2, 1, "", "get_subcomponent"], [27, 2, 1, "", "is_picklable"], [27, 2, 1, "", "load_from_pickle"], [27, 2, 1, "", "load_state_dict"], [27, 2, 1, "", "load_state_pickle"], [27, 2, 1, "", "named_children"], [27, 2, 1, "", "named_components"], [27, 2, 1, "", "named_parameters"], [27, 2, 1, "", "parameters"], [27, 2, 1, "", "pickle_to_file"], [27, 2, 1, "", "register_component"], [27, 2, 1, "", "register_parameter"], [27, 2, 1, "", "state_dict"], [27, 2, 1, "", "to_dict"], [27, 2, 1, "", "train"], [27, 4, 1, "", "training"]], "core.component.FunComponent": [[27, 2, 1, "", "call"]], "core.container": [[28, 1, 1, "", "Sequential"]], "core.container.Sequential": [[28, 2, 1, "", "append"], [28, 2, 1, "", "call"], [28, 2, 1, "", "extend"], [28, 2, 1, "", "insert"]], "core.db": [[29, 1, 1, "", "LocalDB"]], "core.db.LocalDB": [[29, 2, 1, "", "add"], [29, 2, 1, "", "delete"], [29, 2, 1, "", "extend"], [29, 2, 1, "", "fetch_items"], [29, 2, 1, "", "fetch_transformed_items"], [29, 2, 1, "", "get_transformed_data"], [29, 2, 1, "", "get_transformer_keys"], [29, 4, 1, "", "items"], [29, 5, 1, "", "length"], [29, 2, 1, "", "load"], [29, 2, 1, "", "load_state"], [29, 4, 1, "", "mapper_setups"], [29, 4, 1, "", "name"], [29, 2, 1, "", "register_transformer"], [29, 2, 1, "", "reset"], [29, 2, 1, "", "save_state"], [29, 2, 1, "", "transform"], [29, 4, 1, "", "transformed_items"], [29, 4, 1, "", "transformer_setups"]], "core.default_prompt_template": [[30, 6, 1, "", "DEFAULT_LIGHTRAG_SYSTEM_PROMPT"]], "core.embedder": [[31, 1, 1, "", "BatchEmbedder"], [31, 1, 1, "", "Embedder"]], "core.embedder.BatchEmbedder": [[31, 2, 1, "", "call"]], "core.embedder.Embedder": [[31, 2, 1, "", "acall"], [31, 2, 1, "", "call"], [31, 2, 1, "", "from_config"], [31, 4, 1, "", "model_client"], [31, 4, 1, "", "model_type"], [31, 4, 1, "", "output_processors"], [31, 2, 1, "", "update_default_model_kwargs"]], "core.func_tool": [[32, 1, 1, "", "FunctionTool"], [32, 3, 1, "", "is_running_in_event_loop"]], "core.func_tool.FunctionTool": [[32, 2, 1, "", "acall"], [32, 2, 1, "", "call"], [32, 2, 1, "", "execute"]], "core.functional": [[33, 3, 1, "", "compose_model_kwargs"], [33, 3, 1, "", "convert_schema_to_signature"], [33, 3, 1, "", "custom_asdict"], [33, 3, 1, "", "dataclass_obj_from_dict"], [33, 3, 1, "", "evaluate_ast_node"], [33, 3, 1, "", "extract_dataclass_type"], [33, 3, 1, "", "extract_first_boolean"], [33, 3, 1, "", "extract_first_float"], [33, 3, 1, "", "extract_first_int"], [33, 3, 1, "", "extract_json_str"], [33, 3, 1, "", "extract_list_str"], [33, 3, 1, "", "extract_yaml_str"], [33, 3, 1, "", "fix_json_escaped_single_quotes"], [33, 3, 1, "", "fix_json_missing_commas"], [33, 3, 1, "", "from_dict_to_json"], [33, 3, 1, "", "from_dict_to_yaml"], [33, 3, 1, "", "from_json_to_dict"], [33, 3, 1, "", "from_yaml_to_dict"], [33, 3, 1, "", "generate_function_call_expression_from_callable"], [33, 3, 1, "", "generate_readable_key_for_function"], [33, 3, 1, "", "get_dataclass_schema"], [33, 3, 1, "", "get_fun_schema"], [33, 3, 1, "", "get_top_k_indices_scores"], [33, 3, 1, "", "get_type_schema"], [33, 3, 1, "", "is_dataclass_instance"], [33, 3, 1, "", "is_normalized"], [33, 3, 1, "", "is_potential_dataclass"], [33, 3, 1, "", "normalize_np_array"], [33, 3, 1, "", "normalize_vector"], [33, 3, 1, "", "parse_function_call_expr"], [33, 3, 1, "", "parse_json_str_to_obj"], [33, 3, 1, "", "parse_yaml_str_to_obj"], [33, 3, 1, "", "represent_ordereddict"], [33, 3, 1, "", "sandbox_exec"], [33, 3, 1, "", "validate_data"]], "core.generator": [[34, 1, 1, "", "Generator"]], "core.generator.Generator": [[34, 2, 1, "", "acall"], [34, 2, 1, "", "call"], [34, 2, 1, "", "from_config"], [34, 4, 1, "", "model_client"], [34, 4, 1, "", "model_type"], [34, 2, 1, "", "print_prompt"]], "core.model_client": [[35, 1, 1, "", "ModelClient"]], "core.model_client.ModelClient": [[35, 2, 1, "", "acall"], [35, 2, 1, "", "call"], [35, 2, 1, "", "convert_inputs_to_api_kwargs"], [35, 2, 1, "", "init_async_client"], [35, 2, 1, "", "init_sync_client"], [35, 2, 1, "", "parse_chat_completion"], [35, 2, 1, "", "parse_embedding_response"]], "core.parameter": [[36, 1, 1, "", "Parameter"]], "core.parameter.Parameter": [[36, 2, 1, "", "to_dict"], [36, 2, 1, "", "update_value"]], "core.prompt_builder": [[37, 1, 1, "", "Prompt"], [37, 3, 1, "", "get_jinja2_environment"]], "core.prompt_builder.Prompt": [[37, 2, 1, "", "call"], [37, 2, 1, "", "compose_prompt_kwargs"], [37, 2, 1, "", "from_dict"], [37, 2, 1, "", "get_prompt_variables"], [37, 2, 1, "", "is_key_in_template"], [37, 2, 1, "", "print_prompt"], [37, 2, 1, "", "print_prompt_template"], [37, 2, 1, "", "to_dict"], [37, 2, 1, "", "update_prompt_kwargs"]], "core.retriever": [[38, 1, 1, "", "Retriever"]], "core.retriever.Retriever": [[38, 2, 1, "", "acall"], [38, 2, 1, "", "build_index_from_documents"], [38, 2, 1, "", "call"], [38, 4, 1, "", "index_keys"], [38, 4, 1, "", "indexed"], [38, 2, 1, "", "load_from_file"], [38, 2, 1, "", "reset_index"], [38, 2, 1, "", "save_to_file"]], "core.string_parser": [[39, 1, 1, "", "BooleanParser"], [39, 1, 1, "", "FloatParser"], [39, 1, 1, "", "IntParser"], [39, 1, 1, "", "JsonParser"], [39, 1, 1, "", "ListParser"], [39, 1, 1, "", "YamlParser"]], "core.string_parser.JsonParser": [[39, 2, 1, "", "call"]], "core.string_parser.YamlParser": [[39, 2, 1, "", "call"]], "core.tokenizer": [[40, 1, 1, "", "Tokenizer"]], "core.tokenizer.Tokenizer": [[40, 2, 1, "", "count_tokens"], [40, 2, 1, "", "decode"], [40, 2, 1, "", "encode"], [40, 2, 1, "", "get_string_tokens"], [40, 2, 1, "", "preprocess"]], "core.tool_manager": [[41, 1, 1, "", "ToolManager"]], "core.tool_manager.ToolManager": [[41, 2, 1, "", "execute_func"], [41, 2, 1, "", "execute_func_expr"], [41, 2, 1, "", "execute_func_expr_via_eval"], [41, 2, 1, "", "execute_func_expr_via_sandbox"], [41, 5, 1, "", "function_definitions"], [41, 5, 1, "", "json_definitions"], [41, 2, 1, "", "parse_func_expr"], [41, 5, 1, "", "yaml_definitions"]], "core.types": [[42, 1, 1, "", "AssistantResponse"], [42, 1, 1, "", "Conversation"], [42, 1, 1, "", "DialogTurn"], [42, 1, 1, "", "Document"], [42, 1, 1, "", "EmbedderOutput"], [42, 4, 1, "", "EmbedderOutputType"], [42, 1, 1, "", "Embedding"], [42, 1, 1, "", "Function"], [42, 1, 1, "", "FunctionDefinition"], [42, 1, 1, "", "FunctionExpression"], [42, 1, 1, "", "FunctionOutput"], [42, 1, 1, "", "GeneratorOutput"], [42, 1, 1, "", "ModelClientType"], [42, 1, 1, "", "ModelType"], [42, 1, 1, "", "RetrieverOutput"], [42, 1, 1, "", "StepOutput"], [42, 1, 1, "", "TokenLogProb"], [42, 1, 1, "", "Usage"], [42, 1, 1, "", "UserQuery"], [42, 3, 1, "", "get_model_args"]], "core.types.AssistantResponse": [[42, 4, 1, "", "metadata"], [42, 4, 1, "", "response_str"]], "core.types.Conversation": [[42, 2, 1, "", "append_dialog_turn"], [42, 4, 1, "", "created_at"], [42, 2, 1, "", "delete_dialog_turn"], [42, 4, 1, "", "dialog_turns"], [42, 4, 1, "", "dialog_turns_input"], [42, 2, 1, "", "get_chat_history_str"], [42, 2, 1, "", "get_dialog_turns"], [42, 2, 1, "", "get_next_order"], [42, 4, 1, "", "id"], [42, 4, 1, "", "metadata"], [42, 4, 1, "", "name"], [42, 2, 1, "", "update_dialog_turn"], [42, 4, 1, "", "user_id"]], "core.types.DialogTurn": [[42, 4, 1, "", "assistant_response"], [42, 4, 1, "", "assistant_response_timestamp"], [42, 4, 1, "", "conversation_id"], [42, 4, 1, "", "id"], [42, 4, 1, "", "metadata"], [42, 4, 1, "", "order"], [42, 2, 1, "", "set_assistant_response"], [42, 2, 1, "", "set_user_query"], [42, 4, 1, "", "user_id"], [42, 4, 1, "", "user_query"], [42, 4, 1, "", "user_query_timestamp"], [42, 4, 1, "", "vector"]], "core.types.Document": [[42, 4, 1, "", "estimated_num_tokens"], [42, 2, 1, "", "from_dict"], [42, 4, 1, "", "id"], [42, 4, 1, "", "meta_data"], [42, 4, 1, "", "order"], [42, 4, 1, "", "parent_doc_id"], [42, 4, 1, "", "score"], [42, 4, 1, "", "text"], [42, 4, 1, "", "vector"]], "core.types.EmbedderOutput": [[42, 4, 1, "", "data"], [42, 5, 1, "", "embedding_dim"], [42, 4, 1, "", "error"], [42, 4, 1, "", "input"], [42, 5, 1, "", "is_normalized"], [42, 5, 1, "", "length"], [42, 4, 1, "", "model"], [42, 4, 1, "", "raw_response"], [42, 4, 1, "", "usage"]], "core.types.Embedding": [[42, 4, 1, "", "embedding"], [42, 4, 1, "", "index"]], "core.types.Function": [[42, 4, 1, "", "args"], [42, 4, 1, "", "kwargs"], [42, 4, 1, "", "name"], [42, 4, 1, "", "thought"]], "core.types.FunctionDefinition": [[42, 2, 1, "", "fn_schema_str"], [42, 4, 1, "", "func_desc"], [42, 4, 1, "", "func_name"], [42, 4, 1, "", "func_parameters"]], "core.types.FunctionExpression": [[42, 4, 1, "", "action"], [42, 2, 1, "", "from_function"], [42, 4, 1, "", "thought"]], "core.types.FunctionOutput": [[42, 4, 1, "", "error"], [42, 4, 1, "", "input"], [42, 4, 1, "", "name"], [42, 4, 1, "", "output"], [42, 4, 1, "", "parsed_input"]], "core.types.GeneratorOutput": [[42, 4, 1, "", "data"], [42, 4, 1, "", "error"], [42, 4, 1, "", "metadata"], [42, 4, 1, "", "raw_response"], [42, 4, 1, "", "usage"]], "core.types.ModelType": [[42, 4, 1, "", "EMBEDDER"], [42, 4, 1, "", "LLM"], [42, 4, 1, "", "RERANKER"], [42, 4, 1, "", "UNDEFINED"]], "core.types.RetrieverOutput": [[42, 4, 1, "", "doc_indices"], [42, 4, 1, "", "doc_scores"], [42, 4, 1, "", "documents"], [42, 4, 1, "", "query"]], "core.types.StepOutput": [[42, 4, 1, "", "action"], [42, 4, 1, "", "fun_args"], [42, 4, 1, "", "fun_kwargs"], [42, 4, 1, "", "fun_name"], [42, 4, 1, "", "observation"], [42, 4, 1, "", "step"], [42, 4, 1, "", "thought"]], "core.types.TokenLogProb": [[42, 4, 1, "", "logprob"], [42, 4, 1, "", "token"]], "core.types.Usage": [[42, 4, 1, "", "prompt_tokens"], [42, 4, 1, "", "total_tokens"]], "core.types.UserQuery": [[42, 4, 1, "", "metadata"], [42, 4, 1, "", "query_str"]], "eval": [[48, 1, 1, "", "AnswerMatchAcc"], [48, 1, 1, "", "LLMasJudge"], [48, 1, 1, "", "RetrieverRecall"], [48, 1, 1, "", "RetrieverRelevance"], [44, 0, 0, "-", "answer_match_acc"], [45, 0, 0, "-", "llm_as_judge"], [46, 0, 0, "-", "retriever_recall"], [47, 0, 0, "-", "retriever_relevance"]], "eval.AnswerMatchAcc": [[48, 2, 1, "", "compute"]], "eval.LLMasJudge": [[48, 2, 1, "", "compute"]], "eval.RetrieverRecall": [[48, 2, 1, "", "compute"]], "eval.RetrieverRelevance": [[48, 2, 1, "", "compute"]], "eval.answer_match_acc": [[44, 1, 1, "", "AnswerMatchAcc"]], "eval.answer_match_acc.AnswerMatchAcc": [[44, 2, 1, "", "compute"]], "eval.llm_as_judge": [[45, 1, 1, "", "DefaultLLMJudge"], [45, 1, 1, "", "LLMasJudge"]], "eval.llm_as_judge.DefaultLLMJudge": [[45, 2, 1, "", "call"]], "eval.llm_as_judge.LLMasJudge": [[45, 2, 1, "", "compute"]], "eval.retriever_recall": [[46, 1, 1, "", "RetrieverRecall"]], "eval.retriever_recall.RetrieverRecall": [[46, 2, 1, "", "compute"]], "eval.retriever_relevance": [[47, 1, 1, "", "RetrieverRelevance"]], "eval.retriever_relevance.RetrieverRelevance": [[47, 2, 1, "", "compute"]], "optim": [[50, 1, 1, "", "BootstrapFewShot"], [50, 1, 1, "", "ClassSampler"], [50, 1, 1, "", "LLMOptimizer"], [50, 1, 1, "", "Optimizer"], [50, 1, 1, "", "RandomSampler"], [50, 1, 1, "", "Sampler"], [51, 0, 0, "-", "few_shot_optimizer"], [52, 0, 0, "-", "llm_augment"], [53, 0, 0, "-", "llm_optimizer"], [54, 0, 0, "-", "optimizer"], [55, 0, 0, "-", "sampler"]], "optim.BootstrapFewShot": [[50, 2, 1, "", "augment_samples"], [50, 2, 1, "", "init"], [50, 2, 1, "", "propose"], [50, 2, 1, "", "random_replace"], [50, 2, 1, "", "reset"], [50, 2, 1, "", "reset_parameter"], [50, 2, 1, "", "update_parameter"]], "optim.ClassSampler": [[50, 2, 1, "", "call"], [50, 2, 1, "", "random_replace"], [50, 2, 1, "", "random_sample"]], "optim.LLMOptimizer": [[50, 2, 1, "", "propose"], [50, 2, 1, "", "reset"], [50, 2, 1, "", "reset_parameter"], [50, 2, 1, "", "update_parameter"]], "optim.Optimizer": [[50, 2, 1, "", "state_dict"], [50, 2, 1, "", "step"]], "optim.RandomSampler": [[50, 2, 1, "", "call"], [50, 4, 1, "", "dataset"], [50, 2, 1, "", "random_replace"], [50, 2, 1, "", "random_sample"]], "optim.Sampler": [[50, 2, 1, "", "call"], [50, 2, 1, "", "random_replace"]], "optim.few_shot_optimizer": [[51, 1, 1, "", "BootstrapFewShot"]], "optim.few_shot_optimizer.BootstrapFewShot": [[51, 2, 1, "", "augment_samples"], [51, 2, 1, "", "init"], [51, 2, 1, "", "propose"], [51, 2, 1, "", "random_replace"], [51, 2, 1, "", "reset"], [51, 2, 1, "", "reset_parameter"], [51, 2, 1, "", "update_parameter"]], "optim.llm_augment": [[52, 1, 1, "", "LLMAugmenter"]], "optim.llm_augment.LLMAugmenter": [[52, 2, 1, "", "call"]], "optim.llm_optimizer": [[53, 1, 1, "", "Instruction"], [53, 1, 1, "", "LLMOptimizer"]], "optim.llm_optimizer.Instruction": [[53, 4, 1, "", "gts"], [53, 4, 1, "", "responses"], [53, 4, 1, "", "score"], [53, 4, 1, "", "text"]], "optim.llm_optimizer.LLMOptimizer": [[53, 2, 1, "", "propose"], [53, 2, 1, "", "reset"], [53, 2, 1, "", "reset_parameter"], [53, 2, 1, "", "update_parameter"]], "optim.optimizer": [[54, 1, 1, "", "Optimizer"]], "optim.optimizer.Optimizer": [[54, 2, 1, "", "state_dict"], [54, 2, 1, "", "step"]], "optim.sampler": [[55, 1, 1, "", "ClassSampler"], [55, 1, 1, "", "RandomSampler"], [55, 1, 1, "", "Sample"], [55, 1, 1, "", "Sampler"]], "optim.sampler.ClassSampler": [[55, 2, 1, "", "call"], [55, 2, 1, "", "random_replace"], [55, 2, 1, "", "random_sample"]], "optim.sampler.RandomSampler": [[55, 2, 1, "", "call"], [55, 4, 1, "", "dataset"], [55, 2, 1, "", "random_replace"], [55, 2, 1, "", "random_sample"]], "optim.sampler.Sample": [[55, 4, 1, "", "data"], [55, 4, 1, "", "index"], [55, 2, 1, "", "to_dict"]], "optim.sampler.Sampler": [[55, 2, 1, "", "call"], [55, 2, 1, "", "random_replace"]], "tracing": [[57, 0, 0, "-", "decorators"], [58, 0, 0, "-", "generator_call_logger"], [59, 0, 0, "-", "generator_state_logger"]], "tracing.decorators": [[57, 3, 1, "", "trace_generator_call"], [57, 3, 1, "", "trace_generator_states"]], "tracing.generator_call_logger": [[58, 1, 1, "", "GeneratorCallLogger"], [58, 1, 1, "", "GeneratorCallRecord"]], "tracing.generator_call_logger.GeneratorCallLogger": [[58, 5, 1, "", "generator_names_to_files"], [58, 2, 1, "", "get_calls"], [58, 2, 1, "", "get_log_location"], [58, 2, 1, "", "load"], [58, 2, 1, "", "load_meta_data"], [58, 2, 1, "", "log_call"], [58, 2, 1, "", "register_generator"], [58, 2, 1, "", "save_meta_data"]], "tracing.generator_call_logger.GeneratorCallRecord": [[58, 4, 1, "", "model_kwargs"], [58, 4, 1, "", "output"], [58, 4, 1, "", "prompt_kwargs"], [58, 4, 1, "", "time_stamp"]], "tracing.generator_state_logger": [[59, 1, 1, "", "GeneratorStateLogger"], [59, 1, 1, "", "GeneratorStatesRecord"]], "tracing.generator_state_logger.GeneratorStateLogger": [[59, 5, 1, "", "generator_names"], [59, 2, 1, "", "get_log_location"], [59, 2, 1, "", "load"], [59, 2, 1, "", "log_prompt"], [59, 2, 1, "", "save"]], "tracing.generator_state_logger.GeneratorStatesRecord": [[59, 4, 1, "", "prompt_states"], [59, 4, 1, "", "time_stamp"]], "utils": [[61, 0, 0, "-", "config"], [62, 0, 0, "-", "file_io"], [63, 0, 0, "-", "lazy_import"], [64, 0, 0, "-", "logger"], [65, 0, 0, "-", "registry"], [66, 0, 0, "-", "serialization"], [67, 0, 0, "-", "setup_env"]], "utils.config": [[61, 3, 1, "", "new_component"], [61, 3, 1, "", "new_components_from_config"]], "utils.file_io": [[62, 3, 1, "", "append_to_jsonl"], [62, 3, 1, "", "load"], [62, 3, 1, "", "load_json"], [62, 3, 1, "", "load_jsonl"], [62, 3, 1, "", "load_pickle"], [62, 3, 1, "", "save"], [62, 3, 1, "", "save_json"], [62, 3, 1, "", "save_pickle"], [62, 3, 1, "", "write_list_to_jsonl"]], "utils.lazy_import": [[63, 1, 1, "", "LazyImport"], [63, 1, 1, "", "OptionalPackages"], [63, 3, 1, "", "safe_import"]], "utils.lazy_import.LazyImport": [[63, 2, 1, "", "load_class"]], "utils.lazy_import.OptionalPackages": [[63, 4, 1, "", "ANTHROPIC"], [63, 4, 1, "", "COHERE"], [63, 4, 1, "", "FAISS"], [63, 4, 1, "", "GOOGLE_GENERATIVEAI"], [63, 4, 1, "", "GROQ"], [63, 4, 1, "", "OPENAI"], [63, 4, 1, "", "PGVECTOR"], [63, 4, 1, "", "SQLALCHEMY"], [63, 4, 1, "", "TORCH"], [63, 4, 1, "", "TRANSFORMERS"]], "utils.logger": [[64, 3, 1, "", "get_current_script_and_line"], [64, 3, 1, "", "get_logger"], [64, 3, 1, "", "printc"]], "utils.registry": [[65, 1, 1, "", "EntityMapping"]], "utils.registry.EntityMapping": [[65, 2, 1, "", "get"], [65, 2, 1, "", "get_all"], [65, 2, 1, "", "register"]], "utils.serialization": [[66, 1, 1, "", "ObjectTypes"], [66, 3, 1, "", "check_object"], [66, 3, 1, "", "default"], [66, 3, 1, "", "deserialize"], [66, 3, 1, "", "serialize"], [66, 3, 1, "", "to_dict"]], "utils.serialization.ObjectTypes": [[66, 4, 1, "", "CLASS"], [66, 4, 1, "", "INSTANCE"], [66, 4, 1, "", "TYPE"]], "utils.setup_env": [[67, 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": {"": [4, 10, 18, 20, 27, 28, 32, 35, 36, 37, 38, 55, 64, 68, 72, 73, 74, 78, 79, 80, 81, 82, 84, 85, 87, 92, 95, 96, 97, 98, 103, 106, 109, 111], "0": [4, 20, 26, 27, 28, 29, 33, 34, 42, 44, 45, 46, 47, 48, 53, 68, 72, 74, 78, 80, 81, 88, 90, 94, 95, 96, 97, 98, 102, 105, 106], "00": [78, 79], "0001": 33, "00016600126": 80, "00018637415": 80, "0003912348": 80, "00045548353": 80, "00063306844": 80, "00093111617": 80, "0009763892": 80, "001149847": 80, "001270235": 80, "001274437": 80, "0013953627": 80, "0015121206": 80, "0016585035": 80, "0017067948": 80, "0017369769": 80, "0018af12": 78, "002240922": 80, "0023736332": 80, "0024688914": 80, "0025802834": 80, "0027390209": 80, "002749016": 80, "0027831418": 80, "0032514224": 80, "0032596611": 80, "0035554452": 80, "0035945757": 80, "004110795": 80, "0042391727": 80, "00427709": 80, "004391488": 80, "0045538875": 80, "0048683644": 80, "005190901": 80, "005429781": 80, "0055172783": 80, "0059066266": 80, "0060756463": 80, "0065862634": 80, "006953944": 80, "007086745": 80, "0072255824": 80, "0073946016": 80, "007424784": 80, "0076722763": 80, "008243256": 80, "008804435": 80, "00888027": 80, "00918361": 80, "0092658885": 80, "009380581": 80, "009410762": 80, "009845384": 80, "0098876385": 80, "0099192085": 80, "00z": 78, "010159277": 80, "010340369": 80, "01047317": 80, "010648226": 80, "010723059": 80, "011026398": 80, "01102852": 80, "011178068": 80, "011329738": 80, "011336377": 80, "011663412": 80, "0118985": 80, "012314276": 80, "012414178": 80, "012519513": 80, "012596182": 80, "012740267": 80, "01283127": 80, "012846436": 80, "013225611": 80, "013376684": 80, "013642286": 80, "013799232": 80, "014256966": 80, "014401053": 80, "0144541375": 80, "014545139": 80, "014752985": 80, "014813349": 80, "01541699": 80, "015417241": 80, "015500659": 80, "015549791": 80, "015742956": 80, "015791247": 80, "015851611": 80, "01600117": 80, "016137673": 80, "016201723": 80, "016310379": 80, "016319677": 80, "016503545": 80, "016853655": 80, "017123526": 80, "017179621": 80, "017199362": 80, "01721584": 80, "017252058": 80, "017384859": 80, "0175027": 80, "017819481": 80, "017942544": 80, "018185215": 80, "01821555": 80, "018579558": 80, "019038836": 80, "019186236": 80, "019337907": 80, "01965455": 80, "01t12": 78, "01z": 78, "020113317": 80, "020202424": 80, "020318555": 80, "02047543": 80, "020702936": 80, "02072903": 80, "020733269": 80, "020777322": 80, "02094634": 80, "02170693": 80, "021855626": 80, "022022463": 80, "022083132": 80, "022370934": 80, "022491662": 80, "022583641": 80, "022795979": 80, "022917315": 80, "023175154": 80, "02349366": 80, "02435818": 80, "024447458": 80, "024479514": 80, "02448e3fd394": 78, "02449575": 80, "024570517": 80, "024691852": 80, "024773424": 80, "02479802": 80, "024821715": 80, "0249183": 80, "024919357": 80, "024995193": 80, "025014881": 80, "025159756": 80, "025237864": 80, "025283365": 80, "025304629": 80, "025344033": 80, "0253592": 80, "025449503": 80, "025763396": 80, "025811687": 80, "025829377": 80, "026026547": 80, "02642089": 80, "02646639": 80, "026527058": 80, "026560202": 80, "026845565": 80, "02686073": 80, "027526028": 80, "027646756": 80, "027719192": 80, "02781625": 80, "02787692": 80, "027888212": 80, "028250396": 80, "028274542": 80, "028392596": 80, "028419416": 80, "028588437": 80, "028709164": 80, "028711103": 80, "028999276": 80, "029023057": 80, "029095493": 80, "029393617": 80, "029454285": 80, "029578406": 80, "02959079": 80, "029819863": 80, "02t15": 87, "02z": 78, "030351067": 80, "030515974": 80, "030561475": 80, "030737398": 80, "031122655": 80, "031425994": 80, "03148666": 80, "031992972": 80, "032282718": 80, "03250003": 80, "03254835": 80, "03288636": 80, "032958794": 80, "033031233": 80, "033200253": 80, "033320982": 80, "03374": 81, "03409": 53, "03414193": 80, "034190223": 80, "034338057": 80, "03438339": 80, "034398723": 80, "034489725": 80, "034673136": 80, "034793064": 80, "035096403": 80, "03520434": 80, "035276778": 80, "03530092": 80, "035399742": 80, "0354458": 80, "035460413": 80, "03567275": 80, "03575969": 80, "035794087": 80, "035945754": 80, "036188427": 80, "036249094": 80, "03629": [1, 71], "03648406": 80, "036582768": 80, "03718945": 80, "037280865": 80, "037715487": 80, "03773546": 80, "037787925": 80, "03828147": 80, "038294982": 80, "03841571": 80, "038463477": 80, "038898624": 80, "039161157": 80, "03934316": 80, "03940383": 80, "03940568": 80, "039555497": 80, "039792012": 80, "039828505": 80, "039919507": 80, "03t16": 87, "03z": 78, "04": 79, "040178344": 80, "040274926": 80, "04090271": 80, "041820247": 80, "041868538": 80, "042224888": 80, "042285554": 80, "042497892": 80, "042649563": 80, "042810217": 80, "0428619": 80, "042922568": 80, "042952903": 80, "043104574": 80, "04352925": 80, "04363117": 80, "043776043": 80, "043802254": 80, "043893255": 80, "044017497": 80, "0442831": 80, "044408932": 80, "0445487": 80, "044596992": 80, "04500747": 80, "045128196": 80, "045200635": 80, "045318954": 80, "04537962": 80, "045409955": 80, "045500956": 80, "045755986": 80, "046214752": 80, "046380643": 80, "046842538": 80, "047301304": 80, "04732545": 80, "04735133": 80, "04744618": 80, "048018675": 80, "048170548": 80, "048242986": 80, "04844335": 80, "048534352": 80, "04865569": 80, "04874669": 80, "04882248": 80, "0491107": 80, "049112227": 80, "049257103": 80, "049474705": 80, "04964343": 80, "04988489": 80, "04it": 78, "05": 86, "05011172": 80, "050126344": 80, "050688066": 80, "050995983": 88, "05133363": 80, "051385745": 80, "051749755": 80, "05202276": 80, "052057996": 80, "052106287": 80, "05220287": 80, "052417103": 80, "053175453": 80, "05331357": 80, "05338779": 80, "05369113": 80, "05408623": 80, "054115806": 80, "054617435": 80, "054762308": 80, "055341803": 80, "055390093": 80, "055631552": 80, "055824716": 80, "05584484": 80, "05606617": 80, "056500793": 80, "056549083": 80, "057031997": 80, "057118867": 80, "057209868": 80, "05794953": 80, "057968218": 80, "05877048": 80, "059393916": 80, "059543144": 80, "059977766": 80, "06": 87, "060026057": 80, "06033427": 80, "060455605": 80, "060750425": 80, "060758945": 80, "060940947": 80, "06109262": 80, "06205429": 80, "062150873": 80, "062199164": 80, "062427312": 80, "06244062": 80, "0625372": 80, "062609315": 80, "06335816": 80, "063458666": 80, "06351934": 80, "06358001": 80, "06424735": 80, "06430802": 80, "06437227": 80, "06527871": 80, "065521374": 80, "065724425": 80, "06596588": 80, "06615905": 80, "066492066": 80, "06691674": 80, "067159414": 80, "06782676": 80, "06799412": 80, "06842874": 80, "06881507": 80, "069404125": 80, "06978089": 80, "06995014": 80, "06ea7cea": 78, "07": 86, "070553556": 80, "07061748": 80, "0708433": 80, "0708916": 80, "07113305": 80, "07158817": 80, "07185742": 80, "07249819": 80, "07261953": 80, "07296812": 80, "07298353": 80, "074030526": 80, "07407882": 80, "07456173": 80, "07486424": 80, "07510691": 80, "07595626": 80, "076138265": 80, "07654167": 80, "07736263": 80, "077507496": 80, "07753363": 80, "077776305": 80, "07794212": 80, "0780387": 80, "078569904": 80, "078763075": 80, "07881136": 80, "079110995": 80, "07989968": 80, "08088789": 80, "08103276": 80, "08112934": 80, "081225924": 80, "08199859": 80, "08256907": 80, "08275107": 80, "08277125": 80, "082872406": 80, "083054416": 80, "08317575": 80, "083539754": 80, "083600424": 80, "083737075": 80, "08397853": 80, "0841717": 80, "08426777": 80, "08432844": 80, "084389105": 80, "08494435": 80, "08523846": 80, "085717015": 80, "085905805": 80, "08651248": 80, "08658626": 80, "08663": 95, "08669449": 80, "08774": 81, "08851453": 80, "08861449": 80, "08880766": 80, "088952534": 80, "08962861": 80, "09": 78, "090455905": 80, "09081991": 80, "09100191": 80, "091183916": 80, "091244586": 80, "09148726": 80, "09172993": 80, "09199488": 80, "09209394": 80, "09213976": 80, "092639945": 80, "0935402": 80, "09354997": 80, "09382995": 80, "09433865": 80, "0946509": 80, "09503723": 80, "09614793": 80, "09634069": 80, "09793471": 80, "09925275": 80, "099495426": 80, "0d16": [4, 97], "0d95cc65e6ef": 80, "0th": 96, "0x104970220": 98, "0x104970400": 98, "0x105e3b920": 98, "0x105e3bc40": 98, "0x1062a2840": 98, "0x106d691c0": 98, "0x10fb26f20": 78, "0x11742eca0": 98, "0x117b98360": 98, "0x14d9d3f60": 98, "0x14d9e4040": 98, "0x14d9e40e0": 98, "0x14d9e4180": 98, "0x14d9e4220": 98, "0x14d9e4360": 98, "1": [1, 4, 16, 18, 20, 22, 26, 27, 28, 29, 31, 32, 37, 42, 44, 45, 46, 47, 48, 53, 61, 63, 66, 68, 72, 74, 78, 79, 81, 83, 85, 86, 87, 88, 90, 92, 94, 95, 97, 101, 105, 106, 109, 111], "10": [1, 50, 55, 64, 78, 84, 86, 95, 98, 101, 106, 111], "100": [31, 42, 61, 78, 79, 80, 81, 88, 96, 106], "1000": [4, 79, 103], "100156106": 80, "10046611": 80, "10054244": 80, "10064811": 80, "10204348": 80, "10205": 78, "10210415": 80, "1024": 85, "102407485": 80, "102468155": 80, "10289283": 80, "1029535": 80, "103074834": 80, "104888655": 80, "10519821": 80, "10580489": 80, "106168896": 80, "106957585": 80, "10762493": 80, "10875195": 80, "10950564": 80, "11": [18, 79, 95], "111386344": 80, "11155285": 80, "11164943": 80, "11174601": 80, "1124177": 80, "11396741": 80, "11423773": 80, "11496575": 80, "11532976": 80, "1156331": 80, "115995646": 80, "11618881": 80, "11686489": 80, "11802388": 80, "11903": 18, "12": [81, 102], "121821225": 80, "12218524": 80, "122670576": 80, "122853": 80, "123": [36, 39, 42], "127": 68, "128": 106, "12936": 96, "12it": 78, "13": 96, "13125569": 80, "13164201": 80, "13225": 96, "1328": 96, "13395482": 80, "13516818": 80, "13577485": 80, "13985154": 80, "13ac": 96, "14": 88, "14545332": 80, "14796448": 80, "15": [68, 80, 81, 96], "151683837681807": 95, "15d838c4": 96, "163da9868ea4": [4, 97], "16574481": 80, "17": 96, "17654371": 80, "17761531": 80, "17933443": 80, "17e7": 96, "18": 86, "180": 90, "18041": 81, "18089913": 80, "18447268": 80, "19306852": 80, "196ec25d39c4": 80, "19736": 81, "1976": [46, 47, 48, 81], "1997": 71, "1998": [46, 47, 48, 81], "1dfe96ccb65f": 96, "2": [1, 4, 16, 18, 20, 26, 27, 28, 29, 32, 34, 37, 42, 44, 45, 46, 48, 61, 66, 68, 72, 74, 78, 79, 80, 81, 83, 85, 86, 88, 90, 92, 94, 95, 97, 101, 105, 109, 111], "20": 74, "200": [4, 61, 96], "2014": 20, "2020": [81, 85], "2021": [78, 81], "2023": [1, 18, 81], "2024": [81, 86, 87], "20240229": 85, "20417552": 80, "21": [87, 96], "2104": 95, "2107": 81, "21549304": 88, "2167": 78, "21f0385d": 78, "22": [86, 98], "2201": 18, "2210": [1, 71], "223220": 87, "2303": 81, "2309": 53, "2310": 81, "2329ffa8d4b6": 78, "2375": 96, "2402": 81, "24047995": 88, "24366009": 88, "249": 86, "24it": 78, "25": [20, 26, 86, 95, 96, 106, 111], "256": [31, 61, 78, 79, 80, 95, 96], "26": 102, "27": 94, "27cc": 78, "28": [46, 47, 48, 81], "29": [46, 47, 48, 81], "2971": 96, "2a78": 78, "2e25ae5336c8": [4, 97], "2e6f4452827b": 78, "2e8e63041698": 78, "2ed0196b0c81": 96, "2f": 98, "2it": 78, "3": [18, 20, 27, 28, 29, 31, 33, 34, 42, 44, 45, 46, 48, 61, 66, 68, 72, 74, 78, 79, 80, 81, 82, 85, 86, 88, 92, 94, 95, 97, 101, 105, 106, 109, 111], "30": [26, 90, 102], "32": 106, "3333333333333333": 81, "33437008": 88, "353b738c1b71": 78, "37": 87, "37041178": 88, "37e1d8ff0526": 78, "37it": 78, "38": 81, "382": 96, "39": 86, "3927": [4, 97], "3rd": [26, 95], "4": [33, 42, 68, 81, 86, 94, 95, 98, 102, 105, 109, 111], "40": 84, "400": 61, "401": 82, "405a": 78, "4077": 78, "40f0": [4, 97], "42": 90, "4206": 78, "4248": [4, 97], "43": 86, "435b": 78, "439037e58842": 96, "43a4": 78, "43f5": 78, "44": 87, "440": 105, "442f": 78, "4499fa22525d": 96, "44a8aa37": [4, 97], "45": [39, 81, 87], "4509756": 88, "456": 36, "4568096570283078": 95, "45efa517": 78, "4667": 78, "46it": 78, "4780": [78, 96], "483b": 78, "4870": 78, "48ce": 78, "49": [86, 96], "4917": 80, "493d": 78, "4972": 96, "49b5": [4, 97], "49ff": 78, "4bd0": 78, "4c00": 96, "4c39": 96, "4c92": 96, "4cc5": 96, "4ce3": 80, "4dde": 96, "4df0": 96, "4dfa": 96, "4e24": 78, "4e69": 96, "4eb4": 78, "4f5f": 78, "4f88": [4, 97], "4o": 95, "5": [4, 18, 20, 24, 27, 32, 33, 34, 72, 74, 78, 81, 82, 85, 86, 88, 94, 95, 96, 97, 98, 102, 105, 106, 109, 111], "50": [3, 78, 96, 98], "512": 88, "5166601493236314": 95, "518a": 78, "5316efd58d58": 78, "5343238380789569": 95, "55": 87, "557cc52b": 96, "56": 87, "569a": 78, "582859": 87, "59it": 79, "5ba2": 80, "6": [18, 50, 55, 78, 81, 86, 88, 95, 96, 98, 109], "6060606060606061": [47, 48, 81], "609": 78, "6175549": 88, "6229580777634034": 20, "6294762236217233": 95, "63072": 78, "64": 106, "64987b2b": 78, "6666666666666666": [81, 98], "68ae": 96, "6bd772b9": 96, "7": [86, 90, 94, 95, 109], "70": 90, "70b": 94, "72": 98, "724": 96, "7335e34ee0c6": 78, "73c12be3": 78, "741": 96, "75": [20, 90, 95], "756148": 87, "765794": 87, "768": 79, "7749403119087219": 81, "7749999761581421": 95, "7790170272403408": 95, "7844": 78, "7853187918663025": 81, "78917586": 80, "7959791421890259": 81, "79it": 78, "7a17ed45": 78, "7a4f86892556": 78, "7de4b00a": 96, "8": [20, 88, 95, 96, 102], "80": 68, "800": 4, "8000": 68, "803030303030303": [47, 48, 81], "8031794089550072": 95, "8109999895095825": 95, "8119999766349792": 95, "8169999718666077": 95, "8192": [27, 82, 94, 106], "840021aa1953": 78, "844a": 96, "8678": 78, "8762": 96, "87e0": 78, "882e": 96, "88b4": 96, "8b": [27, 82, 106], "8b0d": 78, "8bc3": 78, "8c3e": 78, "8e52": 78, "8f78": 96, "9": [94, 95, 96], "90": 84, "910e984cdb65": 78, "9122": 78, "9216": 106, "922c0f8a4efb": 96, "93922b619293": 78, "9419728517532349": 81, "9435ed755e20": 78, "9498793313012154": 95, "9670": 78, "9696708": 95, "9701269": 95, "97db": [4, 97], "98": 86, "98742366": 95, "991f": 96, "9950029253959656": 95, "99520767": 95, "9994476437568665": 95, "9994490742683411": 95, "9996004700660706": 95, "9a424d4c": 78, "9bae": 96, "9c14": 80, "9ca4": [4, 97], "9cd745effb43": 96, "A": [4, 10, 16, 18, 24, 26, 28, 31, 33, 36, 42, 45, 65, 71, 78, 80, 81, 82, 86, 88, 94, 95, 96, 98, 102, 106], "And": [34, 74, 85, 90, 92, 96, 98, 103], "As": [27, 29, 33, 72, 74, 78, 80, 92, 95, 98, 111], "At": [86, 94], "But": [85, 87, 95, 96, 98], "By": [34, 74, 79, 97, 98], "For": [1, 4, 16, 18, 26, 35, 45, 48, 68, 72, 78, 79, 81, 82, 83, 88, 94, 95, 96, 97, 98, 103, 105, 109, 111], "If": [4, 16, 22, 26, 27, 31, 33, 39, 41, 42, 50, 55, 57, 58, 64, 68, 72, 78, 79, 81, 82, 84, 85, 90, 92, 95, 96, 97, 98, 103, 105, 111], "In": [28, 29, 37, 42, 71, 72, 74, 78, 80, 84, 86, 87, 88, 90, 92, 94, 96, 97, 98, 109, 111], "It": [3, 4, 6, 20, 27, 28, 29, 33, 34, 35, 39, 42, 44, 48, 50, 51, 55, 57, 63, 74, 78, 79, 80, 81, 82, 83, 84, 86, 87, 88, 90, 92, 94, 95, 96, 97, 98, 106, 109, 111], "Its": [78, 95], "NOT": 16, "No": [32, 45, 48, 95, 96, 103], "Not": [6, 105], "On": [72, 106], "One": 59, "Or": [95, 98, 102], "Such": 27, "The": [3, 4, 16, 18, 20, 24, 26, 27, 28, 29, 31, 33, 34, 35, 37, 38, 40, 41, 42, 45, 46, 47, 48, 49, 50, 53, 55, 57, 58, 59, 61, 62, 63, 64, 66, 68, 71, 72, 74, 78, 79, 81, 82, 83, 84, 85, 86, 87, 88, 90, 92, 94, 95, 96, 97, 98, 103, 104, 105, 106, 109, 110, 111], "Then": [4, 68, 78, 80, 88, 94, 96, 97, 98], "There": [1, 22, 84, 85, 86, 95], "These": [4, 68, 74, 80, 83, 92, 95, 96, 97, 98, 109], "To": [20, 38, 39, 68, 72, 74, 79, 81, 82, 83, 87, 92, 94, 95, 96, 98, 102, 103, 105, 106, 109, 111], "Will": 104, "With": [28, 33, 38, 78, 80, 88, 90, 94, 96], "_": [20, 95], "________": 90, "__call__": [40, 74, 82, 83, 88], "__dict__": [26, 29, 78], "__doc__": 95, "__init__": [20, 27, 57, 74, 79, 86, 87, 88, 95, 98, 106], "__main__": [90, 98], "__name__": [66, 86, 88], "__repr__": 74, "_acal": [10, 35], "_api_kei": 88, "_call": [10, 35, 58, 88], "_coarse_labels_desc": 72, "_combine_input_and_model_kwarg": 88, "_compon": 87, "_compute_single_item": 45, "_extra_repr": [74, 79], "_field_typ": 53, "_generator_names_to_fil": 58, "_generator_trac": 57, "_init_async_cli": 88, "_init_sync_cli": 88, "_is_async": 98, "_missing_typ": 53, "_paramet": 87, "_template_str": 87, "_trace_map": 59, "a2acf8ba4c27": 78, "a2b7": 96, "a595": 96, "a958": 78, "aa81": 78, "aaa8": 78, "ab": [1, 18, 53, 71, 82, 95], "ab64": 78, "aba9": 78, "abbrevi": 72, "abc": 78, "abda": 96, "abil": [71, 78, 81], "abl": [72, 82, 95], "about": [68, 84, 85], "abov": [74, 82, 84, 85, 87, 88, 90, 92, 95, 98], "absolut": 96, "abstract": [16, 35, 49, 50, 55, 72, 73, 83, 84, 88, 90, 106], "abstract_algebra": 81, "ac": 20, "ac78": 80, "academ": 81, "acal": [27, 31, 32, 34, 35, 38, 74, 82, 83, 88, 95, 98, 106], "acc_list": [44, 48], "access": [22, 27, 29, 41, 57, 71, 81, 94, 95, 98, 102], "accomplish": 83, "accord": [4, 20, 109], "accordingli": 90, "account": 82, "accumul": 96, "accur": 95, "accuraci": [44, 48, 81, 84, 109], "acetaminophen": 74, "achiam": 81, "achiev": [18, 32, 72, 82, 84, 98], "acm": 81, "across": [33, 72, 81, 98, 111], "act": [71, 80, 94], "action": [42, 94, 105], "activ": [42, 103], "actual": [16, 22, 33, 82, 87, 95, 97], "ad": [20, 27, 28, 29, 33, 36, 42, 74, 78, 82, 86, 87, 95, 96, 98, 103], "adapt": [20, 45, 79, 81, 82, 98, 103], "adc9": 96, "add": [1, 16, 18, 20, 27, 28, 29, 31, 33, 39, 42, 64, 68, 72, 74, 78, 79, 83, 85, 88, 90, 94, 98, 103, 105], "add_a_b": 28, "add_compon": 27, "add_llm_as_fallback": 1, "add_missing_right_brac": [33, 39], "add_missing_right_bracket": [33, 39], "add_on": 74, "add_point": 98, "addab": 28, "addit": [1, 20, 33, 42, 74, 79, 82, 86, 88, 94, 98], "addition": [22, 35, 79, 81, 86, 95, 98], "additional_context": [41, 98], "additon": 40, "addonecompon": 74, "address": 84, "adjust": 84, "adopt": 106, "adpat": 82, "advanc": [43, 74, 85, 86], "advis": 26, "ae99": 78, "afbd": 78, "afc": [4, 97], "affect": [72, 79], "after": [20, 26, 29, 31, 34, 37, 39, 68, 72, 80, 82, 85, 86, 94, 95, 96, 98, 105], "afternoon": 96, "afun": 27, "ag": [26, 90, 111], "again": [80, 95, 96], "agenda": 71, "agent": [1, 32, 42, 43, 49, 81, 84, 85, 92, 98, 103, 105, 106], "agnost": [82, 83, 85, 88, 106], "ahead": [72, 83], "ai": [10, 74, 86, 100, 103, 106], "aim": [81, 84, 90, 96], "al": 81, "algorithm": 96, "alia": [27, 42], "align": [4, 68, 97], "all": [16, 26, 27, 29, 32, 35, 37, 38, 41, 42, 49, 50, 53, 61, 66, 68, 72, 74, 78, 79, 82, 83, 84, 85, 87, 88, 90, 92, 94, 95, 96, 98, 102, 103, 106, 111], "all_gt_answ": [44, 48, 109], "all_gt_context": [46, 47, 48, 109], "all_pred_answ": [44, 48, 109], "all_quest": 109, "all_retrieved_context": [46, 47, 48, 109], "allevi": [74, 95], "allow": [26, 27, 28, 33, 42, 58, 72, 74, 78, 82, 84, 86, 92, 94, 95, 96, 103, 106, 109], "allowi": 78, "almost": [84, 85, 90, 95], "along": [22, 26, 29, 34, 64, 68, 72, 74, 78, 88, 95], "alpha": [96, 105], "alreadi": [18, 20, 27, 42, 72, 82, 86, 90, 95, 98, 105], "also": [4, 18, 20, 27, 31, 32, 33, 40, 42, 72, 74, 78, 81, 82, 84, 92, 94, 95, 96, 97, 98, 111], "altern": 28, "although": [20, 94, 95, 96], "alwai": [16, 26, 29, 50, 53, 78, 82, 86, 90, 97, 98], "amount": [78, 82], "an": [1, 6, 16, 26, 27, 28, 31, 32, 33, 34, 36, 37, 38, 39, 42, 45, 50, 51, 57, 61, 63, 64, 66, 71, 72, 74, 78, 79, 80, 81, 84, 86, 87, 88, 90, 92, 95, 96, 98, 102, 104, 109, 111], "analysi": [4, 81, 96, 97], "analyz": [94, 96], "andrew": 20, "angel": 85, "ani": [1, 4, 10, 16, 20, 22, 24, 26, 27, 28, 29, 31, 32, 33, 34, 35, 37, 38, 41, 42, 45, 50, 52, 53, 55, 57, 58, 59, 61, 62, 66, 72, 74, 78, 79, 82, 84, 87, 88, 90, 92, 95, 96, 98, 103, 106], "anoth": [22, 37, 50, 55, 71, 86, 87, 90, 95, 96, 103], "ansi": 64, "answer": [1, 16, 18, 44, 45, 48, 72, 74, 81, 90, 94, 95, 98, 103, 109, 111], "answer_match_acc": [48, 109], "answermacthevalu": 109, "answermatchacc": [44, 48, 81], "anthrop": [63, 85, 88, 102], "anthropic_api_kei": 102, "anthropic_cli": 88, "anthropicapicli": 88, "anyth": [16, 84, 90, 92, 98], "ap": [81, 87], "api": [10, 14, 18, 27, 31, 35, 38, 42, 68, 80, 81, 83, 84, 85, 94, 101, 103, 106], "api_kei": [10, 61, 88], "api_kwarg": [10, 35, 88], "api_respons": 14, "apicli": 35, "apidoc": 68, "apidocoutdir": 68, "app": [42, 64], "app_logg": 86, "appear": [36, 96], "append": [28, 29, 62, 78, 88, 98, 109], "append_dialog_turn": 42, "append_to_jsonl": 62, "appl": [45, 46, 47, 48, 81, 96], "appli": [4, 28, 29, 31, 33, 34, 37, 78, 79, 80, 95, 96, 97], "applic": [4, 6, 26, 64, 71, 72, 78, 81, 83, 84, 90, 95, 96, 97, 105, 106, 110, 111], "application_nam": 103, "apply_transform": [29, 78], "approach": [4, 74, 80, 94, 96], "appropri": [74, 81], "ar": [1, 4, 16, 20, 27, 28, 29, 30, 33, 36, 37, 39, 41, 42, 49, 57, 58, 63, 64, 68, 71, 72, 74, 78, 79, 81, 82, 83, 84, 85, 86, 87, 88, 90, 92, 94, 95, 96, 97, 98, 103, 105, 106, 109, 110, 111], "arbitrari": 28, "arena": 81, "arg": [16, 26, 27, 28, 32, 33, 35, 38, 41, 42, 50, 54, 55, 94, 98], "argument": [1, 26, 28, 32, 33, 34, 35, 37, 42, 50, 55, 61, 79, 80, 82, 87, 88, 90, 92, 94, 95, 96, 97, 98], "aris": 81, "arithmet": 42, "ariz": 86, "around": [40, 57, 73], "arr": 98, "arrai": [33, 95, 98], "arriv": 18, "articul": 103, "artifici": 82, "arxiv": [1, 18, 53, 71, 81, 95], "asdict": [33, 72], "ask": [22, 42, 45, 72, 78, 87, 92, 94, 95, 98, 100, 103], "aspect": 81, "aspirin": 74, "assert": [26, 79, 88], "assess": [81, 109], "assign": [4, 27, 36, 80], "assist": [6, 16, 30, 37, 42, 74, 78, 82, 85, 86, 87, 92, 106, 109], "assistant_respons": [42, 78], "assistant_response_timestamp": [42, 78], "assistantrespons": [42, 78], "assit": 92, "assum": [29, 42, 78, 86], "assumpt": 85, "ast": [33, 42, 90], "async": [27, 31, 32, 34, 35, 38, 41, 88, 95, 98, 106], "async_cli": 88, "async_function_1": 32, "async_function_2": 32, "async_tool_1": 32, "async_tool_2": 32, "asynccal": 42, "asynchron": [32, 74], "asyncio": [32, 98], "asyncopenai": 88, "atmospher": 96, "atom": [78, 95], "attach": [57, 86, 96], "attention_mask": 88, "attribut": [22, 24, 27, 29, 36, 37, 38, 57, 61, 72, 74, 78, 82, 87, 90, 95, 98], "audio": 95, "augement": 95, "augment": [52, 81, 96, 109], "augment_sampl": [50, 51], "author": 81, "auto": [27, 74, 84, 87, 88, 92], "autodoc": 68, "autom": [81, 84], "automat": [28, 31, 36, 57, 68, 74, 82, 87, 94, 98, 103], "automodel": 88, "autonom": [71, 84], "autoreset": 64, "autotoken": 88, "avail": [42, 81, 98, 102, 109], "available_funct": 98, "averag": [20, 44, 45, 46, 47, 48, 109], "average_idf": 20, "average_pool": 88, "average_tim": 94, "avg_acc": [44, 48], "avg_judg": [45, 48, 109], "avg_recal": [46, 48, 81, 109], "avg_relev": [47, 48, 81, 109], "avgdl": [20, 95], "avoid": [20, 27, 68, 74, 78, 79, 95], "aw": 96, "await": [1, 32, 41, 42, 98, 106], "awar": [22, 96], "award": 111, "awlai": 98, "b": [20, 28, 42, 94, 95, 96, 98], "b0d98c1b": 96, "b2dbdf2f": 78, "b3e9": 78, "b4c312bed365": 96, "b6c6": 78, "b81f": 96, "baai": 95, "back": [16, 20, 29, 61, 66, 72, 80, 82], "backtick": [16, 90, 98], "backward": 27, "bad": 96, "ball": 18, "banana": 96, "bank": 81, "bare": [73, 92, 106], "basd": 95, "base": [1, 3, 4, 6, 10, 16, 20, 22, 24, 26, 27, 28, 29, 31, 32, 34, 35, 36, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 58, 59, 63, 65, 66, 71, 72, 73, 74, 79, 81, 82, 84, 86, 88, 94, 96, 98, 106, 109, 111], "base_class": 26, "base_data_class": [72, 96, 109, 111], "basic": [49, 84, 96], "batch": [4, 31, 42, 78, 79, 80, 88, 95], "batch_dict": 88, "batch_embedd": [78, 79], "batch_siz": [3, 4, 31, 61, 78, 79, 80, 96], "batchembedd": [31, 78], "batchembedderinputtyp": 31, "batchembedderoutputtyp": 31, "bbc3": 96, "bc0ff7f6": 78, "bcbc6ff9": 78, "bdbd": 78, "beauti": 20, "becaus": [4, 84, 88, 94, 97, 111], "becom": [81, 95, 96], "been": [42, 78, 95], "befor": [4, 39, 45, 46, 47, 48, 74, 78, 79, 81, 83, 94, 95, 96, 97, 105, 111], "beforehand": 96, "begin": [64, 84, 103], "begin_of_text": [85, 92], "behavior": [86, 96, 98], "behind": [16, 83, 85], "beij": [45, 48], "being": [57, 72, 83, 84, 98], "belong": 71, "below": [81, 95, 98], "benchmark": [18, 81, 94], "benef": 95, "benefit": [28, 42, 78, 95], "bert": 81, "bertscor": 81, "besid": [27, 71, 78, 82, 92, 94, 96, 111], "best": [20, 74, 95, 96, 103], "beta": [98, 105], "better": [4, 26, 50, 52, 53, 68, 72, 74, 90, 94, 95, 96, 98, 111], "between": [4, 35, 84, 95, 96, 97, 103, 106], "beyond": [4, 84, 98], "bge": 95, "bi": 95, "bias": [27, 74, 86], "bigger": 20, "bit": [32, 72], "black": 64, "bland": 96, "block": [26, 32, 43, 64, 74, 83, 84, 95, 103, 106], "blow": 87, "blue": 64, "bm25": [20, 78, 95, 96], "bm25_index": 20, "bm25_retriev": 95, "bm25retriev": [20, 96], "bonjour": 87, "bool": [1, 3, 16, 20, 27, 29, 32, 33, 36, 37, 38, 39, 40, 42, 45, 48, 50, 55, 57, 64, 78, 79, 88, 90], "bool_str": 90, "bool_str_2": 90, "bool_str_3": 90, "bool_str_4": 90, "bool_str_5": 90, "bool_str_6": 90, "bool_str_7": 90, "bool_str_8": 90, "boolean": [1, 16, 33, 39, 90, 95], "boolean_pars": 39, "boolean_str": 90, "booleanoutputpars": [16, 90], "booleanpars": [39, 90], "boost": [78, 95], "bootstrapfewshot": [50, 51], "border": [4, 96, 97], "bore": 84, "both": [4, 20, 27, 32, 39, 41, 42, 62, 64, 68, 72, 78, 81, 82, 83, 86, 87, 90, 95, 98, 106, 109, 111], "boundari": [26, 42, 63, 66], "box": [74, 84, 95], "brace": [33, 39], "bracket": [33, 39], "branch": 105, "break": [4, 84, 86, 96, 97], "bridg": [35, 106], "brief": 82, "brittl": 84, "broad": 81, "broader": 68, "browser": [68, 94], "budget": [4, 97], "bui": 18, "build": [20, 24, 33, 38, 43, 72, 74, 81, 95, 96, 103, 105, 106, 109, 110], "build_index": 109, "build_index_from_docu": [20, 22, 24, 38, 78, 95, 96], "build_info_from_docu": 96, "builder": 37, "built": [20, 24, 33, 38, 83, 90, 94, 95, 96, 98, 102], "busi": 84, "c": [20, 27], "c4e4": 78, "c4e5": 80, "c5431397": 78, "c77c98ac260f": 78, "c8fc": 78, "ca": 98, "ca0af45b": [4, 97], "cach": [78, 88], "cai": 81, "calcul": [80, 81, 96], "call": [1, 4, 10, 16, 18, 20, 22, 24, 26, 27, 28, 31, 32, 33, 34, 35, 37, 38, 39, 41, 42, 45, 50, 52, 55, 57, 58, 62, 63, 64, 66, 74, 78, 79, 80, 82, 83, 84, 85, 86, 87, 88, 90, 92, 94, 95, 96, 97, 103, 106, 109], "call_async_funct": 32, "callabl": [1, 20, 22, 24, 26, 27, 29, 32, 33, 38, 41, 42, 50, 55, 78], "callback": 86, "callbackmanag": 103, "can": [1, 4, 6, 16, 18, 20, 22, 26, 27, 28, 29, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 50, 53, 55, 57, 59, 61, 63, 65, 68, 71, 72, 73, 74, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 90, 92, 94, 95, 96, 97, 98, 100, 102, 103, 105, 106, 109, 111], "candid": 95, "cannot": [81, 103], "cansof": 18, "cantain": 27, "capabl": [32, 81, 86, 98, 106], "capit": [26, 33, 72, 79, 87, 88, 92], "captur": [33, 82], "carbon": [78, 95], "card": 92, "carefulli": 103, "carri": 98, "case": [6, 22, 26, 29, 74, 78, 81, 82, 83, 84, 86, 90, 92, 94, 95, 96, 98, 103, 111], "cat": 96, "categor": [26, 88, 95], "caus": 74, "caution": 32, "cd": 68, "cdot": 20, "celsiu": 98, "center": 73, "certain": [33, 86, 111], "chain": [18, 28, 34, 42, 72, 74, 78, 79, 82, 83, 94, 95], "challeng": [84, 95], "chanc": [22, 84], "chang": [59, 78, 81, 82, 83, 84, 87, 95], "charact": [68, 96], "chat": [10, 30, 35, 78, 82, 87, 88, 92], "chat_histori": [30, 78, 87], "chat_history_str": [30, 78, 82, 87, 92], "chatbot": [78, 81, 82, 83, 84], "chatcompletiontokenlogprob": 42, "cheapest": 95, "check": [4, 29, 33, 35, 36, 37, 42, 50, 55, 72, 74, 78, 80, 81, 88, 94, 95, 96, 97, 98, 103, 105, 108, 111], "check_object": 66, "checker": 72, "chen": 81, "child": [27, 86, 96], "children": 27, "china": [45, 48, 79], "choic": [81, 82, 90], "choos": [20, 38, 96, 98], "chunk": [3, 4, 78, 79, 83, 95, 96, 103], "chunk_overlap": [4, 97], "chunk_siz": [4, 97], "citi": 98, "cl": [33, 72], "cl100k_base": [4, 40], "clariti": [68, 84, 106], "class": [1, 3, 4, 6, 10, 16, 20, 22, 24, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 57, 58, 59, 61, 63, 65, 66, 72, 74, 78, 79, 82, 84, 86, 87, 88, 90, 94, 98, 103, 104, 106, 109, 111], "class_index": 72, "class_inst": 26, "class_nam": [26, 57, 72], "classes": 111, "classic": 84, "classif": [81, 84, 90, 104], "classifi": [72, 104], "classmethod": [20, 26, 27, 29, 31, 34, 37, 38, 42, 65, 72], "classsampl": [50, 55], "claud": 85, "clean": [86, 96], "clear": [83, 94, 103], "client": [1, 10, 14, 22, 24, 31, 34, 35, 45, 49, 83, 84, 85, 88], "climat": [78, 95], "clone": [68, 103], "close": [33, 84, 95, 96], "closest": 96, "cloth": 95, "cloud": [6, 10, 88, 95], "co": [79, 86, 95], "coarse_label": [50, 55, 72], "code": [4, 26, 33, 42, 53, 57, 64, 78, 79, 81, 82, 83, 84, 86, 87, 88, 90, 92, 95, 96, 97, 98, 103, 106, 109], "codebas": 106, "coher": [63, 85, 95, 102], "cohere_api_kei": 102, "cohere_cli": 95, "cohereapicli": [24, 95], "collabor": 100, "collect": [42, 87], "color": [64, 86], "colorama": 64, "colored_print": 64, "com": [10, 68, 82, 86, 92, 95, 98], "combat": [78, 95], "combin": [10, 33, 34, 37, 80, 82, 84, 95, 98, 103], "combine_kwarg": 33, "come": [77, 78, 82, 83, 88, 89, 90, 91, 99, 103, 106, 110], "command": 64, "comment": 92, "commit": [103, 105], "common": [39, 46, 47, 48, 81, 95, 96, 105], "commonli": [4, 16, 80, 81, 96], "commun": [32, 35, 88, 101, 103], "compact": [42, 98], "compar": [16, 20, 33, 44, 48, 53, 78, 79, 81, 97], "comparison": [74, 95, 98, 103], "compat": [74, 82, 88], "complet": [1, 6, 10, 32, 33, 34, 35, 50, 53, 68, 71, 88, 94, 105], "complex": [16, 33, 39, 72, 81, 86, 90, 96, 103], "complext": 90, "complic": [18, 92, 98], "compon": [1, 3, 4, 6, 10, 16, 20, 28, 29, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 45, 48, 50, 51, 52, 57, 61, 63, 65, 66, 68, 71, 72, 73, 78, 79, 80, 81, 82, 86, 87, 88, 90, 92, 94, 95, 96, 97, 98, 102, 106, 109, 111], "componenet": [27, 61], "component1": 28, "component2": 28, "component3": 28, "component4": 28, "component_config": [31, 34, 61, 82], "component_nam": [31, 34, 61, 82], "compos": [28, 37, 73, 85, 106], "compose_model_kwarg": 33, "compose_prompt_kwarg": 37, "comprehens": 81, "comput": [44, 45, 46, 47, 48, 72, 81, 84, 86, 95, 96, 109], "compute_context_relev": 109, "compute_judg": 109, "compute_match_acc": 109, "compute_recal": 109, "con": [78, 95], "concaten": 96, "concept": [72, 74, 82], "conceptu": 86, "concis": [72, 74], "conclus": 109, "concurr": 98, "condit": [29, 86, 92, 94], "condition": 92, "condition_fn": 78, "conf": 68, "confer": 81, "config": [27, 31, 34, 79, 86, 109], "configur": [4, 27, 31, 33, 61, 64, 65, 68, 80, 82, 84, 96, 97, 102, 105, 109], "confus": [27, 72, 74, 103, 105], "consid": [26, 27, 81, 86, 95, 96, 97], "consin": 95, "consist": [16, 28, 34, 37, 42, 68, 82, 111], "consol": [64, 86], "constant": [20, 33], "constantli": 72, "constraint": 97, "construct": [61, 109], "constructor": [28, 79], "contain": [4, 20, 27, 32, 33, 36, 39, 42, 44, 45, 48, 68, 78, 79, 87, 94, 96, 98, 103, 109, 111], "content": [78, 85, 88, 95, 96, 97, 101, 104, 107, 111], "contex": [30, 82, 87], "context": [4, 26, 27, 28, 30, 32, 33, 37, 41, 46, 47, 48, 74, 78, 81, 83, 84, 87, 94, 96, 97, 98, 103, 109], "context_map": [33, 42, 98], "context_str": [30, 37, 82, 87, 92, 98, 109], "contextu": [81, 109], "continu": [78, 84, 86, 92, 96], "contrari": 106, "contravari": 95, "contribut": [70, 78, 95, 103], "contributor": [68, 103], "control": [4, 42, 64, 68, 72, 78, 84, 85, 86, 92, 96, 97, 103, 106, 111], "conv1": [74, 106], "conv2": [74, 106], "conv2d": [74, 106], "conveni": [28, 74, 94], "convent": [16, 72, 90, 98], "conver": 78, "convers": [6, 42, 78, 82, 92, 94, 95, 98, 100], "conversation_histori": 95, "conversation_id": 42, "convert": [10, 26, 27, 33, 35, 39, 42, 66, 72, 74, 78, 80, 85, 88, 90, 95, 96, 98, 103], "convert_inputs_to_api_kwarg": [10, 35, 88], "convert_schema_to_signatur": 33, "cookbook": [95, 103, 111], "copi": [3, 27, 79, 80, 88, 103], "core": [4, 16, 26, 27, 29, 32, 33, 37, 42, 58, 72, 74, 78, 79, 80, 82, 83, 84, 86, 87, 88, 90, 92, 94, 95, 96, 97, 98, 103, 106, 109, 111], "corpu": [20, 96], "correct": [36, 81, 105, 109], "correctli": [29, 68, 72, 105], "corresbond": 68, "correspond": [4, 33, 81, 94, 96, 97, 109], "cosin": [81, 96], "cost": 95, "cot": 18, "could": [33, 42], "count": 40, "count_token": 40, "counter": 74, "cours": [81, 87], "cover": [6, 72, 78, 90, 95, 98, 103, 111], "coverag": 95, "covert": 98, "cpu": 102, "creat": [4, 26, 27, 29, 31, 32, 34, 37, 42, 57, 61, 63, 72, 74, 78, 79, 80, 85, 86, 87, 88, 90, 92, 94, 95, 96, 97, 98, 104, 105, 109, 111], "create_embedding_respons": 42, "create_from_dict": 26, "created_at": 42, "creation": 52, "criterion": [4, 92, 97], "critic": [4, 64], "cross": 95, "crucial": [33, 72, 78, 81, 92, 95, 96], "crud": [29, 78], "ctrl": 94, "cumul": 96, "current": [27, 29, 50, 51, 53, 64, 78, 79, 82, 87, 88, 90, 94, 95, 98, 102], "custom": [4, 16, 22, 33, 64, 66, 72, 79, 81, 82, 83, 84, 86, 88, 94, 96, 103, 105, 109], "custom_asdict": [33, 72], "customiz": [73, 94, 96, 106], "cut": 95, "cutoff": 96, "cyan": 64, "d": [16, 20, 105], "d19a": 78, "dai": [20, 46, 47, 48, 81], "dan": 81, "data": [3, 4, 6, 16, 22, 26, 27, 28, 29, 31, 33, 34, 36, 37, 39, 42, 49, 50, 52, 55, 62, 66, 74, 79, 80, 82, 84, 86, 87, 88, 90, 94, 96, 97, 98, 103, 104, 106, 109, 111], "data_class": [16, 90, 98], "data_class_for_yaml": 16, "data_compon": [80, 96], "data_dict": 26, "data_process": [4, 25, 78, 80, 83, 97], "data_transform": 78, "databas": [38, 42, 83, 96, 109], "dataclass": [16, 26, 33, 42, 50, 51, 52, 53, 58, 59, 66, 73, 78, 79, 82, 83, 90, 95, 98, 106, 111], "dataclass_obj_from_dict": 33, "dataclassformattyp": [16, 26, 72], "dataformat": 42, "datapiplin": 78, "dataset": [50, 55, 78, 81, 83, 94, 104, 109], "date": 68, "datetim": 42, "db": [78, 83, 95, 96], "db2": 29, "deal": [78, 95], "debug": [64, 78, 83, 84, 86], "decid": [1, 26, 35, 72, 81, 82, 86, 94, 95, 98, 103], "decis": [81, 94], "decod": [40, 94], "decor": [26, 27, 62, 72, 74, 82, 86, 87], "decreas": 79, "decreaseembeddingdim": 79, "decreat": 79, "dedupl": 3, "deep": [82, 84, 106], "deepcopi": 79, "deeper": 106, "deepmind": 53, "def": [16, 27, 28, 32, 33, 42, 57, 72, 74, 78, 79, 86, 87, 88, 92, 94, 95, 96, 98, 106], "defaul": 87, "default": [1, 16, 20, 22, 24, 26, 29, 30, 31, 33, 34, 35, 36, 37, 38, 39, 40, 45, 48, 50, 53, 57, 58, 59, 62, 64, 66, 72, 74, 78, 82, 85, 86, 87, 90, 95, 96, 98, 111], "default_factori": [26, 53, 72], "default_lightrag_system_prompt": [30, 34, 37, 82, 92], "default_llm_evaluator_prompt": 109, "default_model_kwarg": 33, "default_num_shot": [50, 55], "default_prompt_templ": [82, 92], "default_react_agent_system_prompt": 1, "defaultllmjudg": [45, 48, 82], "defens": 86, "defin": [4, 26, 38, 63, 74, 86, 88, 90, 94, 95, 96, 97, 105, 109, 111], "definit": [4, 32, 41, 42, 92, 94, 95, 97, 98], "del": 28, "delet": [28, 29, 78, 105], "delete_dialog_turn": 42, "delibr": [82, 98], "demo": [74, 84], "demonstr": [45, 79, 80, 82, 90, 94, 95, 98, 104, 111], "denomin": 20, "denot": 85, "depend": [4, 20, 22, 33, 42, 68, 74, 85, 94, 96, 103, 105, 109, 111], "deploy": 105, "deriv": 98, "desc": [26, 30, 53, 72, 82, 87, 95, 111], "descend": 27, "describ": [26, 32, 90, 98, 111], "descript": [16, 26, 33, 42, 72, 78, 81, 83, 90, 92, 94, 96, 98, 103, 105, 109, 111], "deseri": [66, 72, 84, 92, 95], "design": [26, 27, 28, 32, 35, 42, 55, 73, 78, 79, 83, 88, 94, 96, 97], "desir": [16, 81, 82, 90, 92], "destin": [27, 84], "detail": [4, 10, 26, 34, 45, 68, 69, 72, 74, 78, 81, 82, 88, 94, 98, 105, 111], "detect": 57, "determin": [4, 74, 81, 94], "dev": 105, "develop": [4, 22, 68, 73, 78, 80, 82, 83, 84, 85, 87, 90, 92, 94, 95, 96, 97, 103, 106, 111], "df68": 78, "diagram": [85, 92], "dialog": [42, 78], "dialog_turn": [42, 78], "dialog_turn_db": 78, "dialog_turns_as_docu": 78, "dialog_turns_input": 42, "dialogturn": [29, 42, 95], "dict": [1, 10, 16, 22, 24, 26, 27, 29, 31, 33, 34, 35, 37, 39, 41, 42, 45, 50, 52, 53, 55, 58, 59, 61, 62, 65, 66, 72, 78, 82, 88, 90, 98, 111], "dict_exampl": 72, "dict_factori": 33, "dict_str": 90, "dictionari": [4, 26, 27, 31, 33, 34, 37, 39, 42, 61, 62, 66, 72, 78, 90, 96, 97, 98, 111], "did": [50, 51, 78, 82, 87, 92, 95, 98, 106, 111], "differ": [6, 20, 29, 42, 55, 74, 79, 82, 83, 84, 85, 86, 88, 92, 94, 95, 97, 98, 103, 106, 110], "differen": 95, "differenti": 95, "difficult": 98, "dim": 88, "dimens": [31, 42, 61, 78, 79, 80, 88, 95, 96], "dimension": 72, "diminish": 20, "dir": [57, 87, 88], "direct": [27, 68, 74, 96], "directionli": 32, "directli": [4, 33, 42, 45, 55, 68, 72, 74, 78, 79, 92, 95, 97, 98, 103], "directori": [35, 57, 58, 59, 64, 68, 87, 102, 103], "disabl": 94, "disappoint": 95, "disclos": [85, 92], "discord": 100, "discuss": [100, 111], "disk": 95, "disrupt": [78, 95], "distil": 84, "distilbert": 81, "distinct": 86, "divers": [81, 95], "divid": [20, 81, 94, 96, 98, 109], "divide_by_thre": 28, "dividebythre": 28, "divis": [4, 20], "do": [6, 16, 26, 33, 42, 50, 55, 57, 63, 64, 72, 78, 80, 82, 84, 86, 88, 90, 92, 94, 95, 96, 98, 103, 105, 106], "doc": [4, 10, 24, 27, 38, 42, 68, 72, 74, 78, 79, 80, 86, 92, 95, 96, 97, 98], "doc1": [4, 96, 97], "doc2": 96, "doc_index": [78, 96], "doc_indic": [20, 42, 78, 95], "doc_len": 95, "doc_list": 109, "doc_qa": 27, "doc_scor": [20, 42, 95, 96], "docqa": [27, 74], "docstr": 98, "doctest": 68, "doctor": [16, 27, 74], "document": [3, 4, 20, 22, 24, 29, 38, 40, 42, 69, 70, 79, 80, 82, 83, 95, 98, 101, 103, 107, 109, 110], "document_indic": 96, "document_map_func": [20, 22, 24, 38, 95], "document_splitt": [61, 96], "documents_embed": 95, "documentsplitt": [42, 61, 78, 80, 96], "dodger": 85, "doe": [3, 18, 26, 29, 33, 35, 39, 45, 48, 61, 88, 95, 96, 109, 111], "doesn": 94, "domain": 81, "domest": 96, "don": [16, 20, 85, 86, 96, 103], "done": [72, 86, 94], "dont": [78, 85, 103], "dorianbrown": [20, 95], "dotenv": [80, 94, 96, 102], "dotenv_path": [67, 80, 94, 96], "doubl": [90, 98], "doubt": [84, 95], "download": 103, "downsid": [78, 95], "downstream": 79, "drink": 74, "driven": 96, "drop": [86, 97], "dropout1": 106, "dropout2": 106, "dropout2d": 106, "due": [81, 95, 98], "dummi": 103, "dump": [33, 98], "dumper": 33, "duplic": [50, 55], "dure": [4, 78, 79, 80, 82, 83, 86, 87, 95, 96, 97, 102, 111], "dynam": [26, 57, 94], "dynamicdataclassfactori": 26, "dynamicoutput": 26, "e": [4, 22, 50, 55, 68, 85, 88, 97, 98, 105, 109], "e3b48bcc": 78, "e3f04c8b": 96, "e4850140": 96, "e539": 96, "e636facc": 78, "e7b617b2": [4, 97], "each": [1, 4, 18, 20, 26, 27, 28, 42, 44, 45, 46, 47, 48, 55, 58, 59, 63, 72, 78, 79, 80, 83, 84, 86, 94, 95, 96, 97, 98, 109], "ear": 87, "earth": [45, 48], "eas": [42, 72, 83, 84], "easi": [64, 74, 82, 84, 92, 94, 103, 106], "easier": [94, 98, 106], "easili": [74, 78, 79, 81, 83, 90, 92, 95, 98, 103, 106, 111], "eat": 96, "ec0fc247ac8b": [4, 97], "ec910402": 78, "economi": [78, 95], "ecosystem": [78, 95, 106], "edit": [68, 87], "effcient": 26, "effect": [20, 71, 78, 80, 95, 96], "effici": [42, 94, 97, 98, 111], "effort": [29, 72, 83], "eg": 63, "eiffel": 87, "either": [1, 33, 35, 39, 42, 72, 79, 83, 87, 88, 95, 103], "el": 78, "electr": [78, 95], "electron": [78, 95], "element": [37, 98], "elif": [88, 98], "els": [30, 87, 88, 94, 96, 98], "emb": [4, 79, 96], "embed": [3, 4, 14, 31, 35, 42, 61, 78, 79, 80, 81, 83, 88, 95, 96, 97], "embedd": [3, 27, 35, 42, 49, 61, 78, 83, 88, 95, 103, 106], "embedder_config": 31, "embedder_response_processor": 96, "embedder_transform": 78, "embedderoutput": [14, 31, 35, 42, 78, 88], "embedderoutputtyp": 42, "embedderrespons": [80, 96], "embedding_dim": [42, 79], "emiss": [78, 95], "emit": 26, "emphas": [68, 111], "emploi": 81, "empti": [22, 29, 82], "en": [20, 79, 86, 92, 95], "enabl": [34, 64, 80, 86, 94, 96, 106], "enable_consol": 64, "enable_fil": 64, "enable_library_log": 64, "encapsul": [28, 94], "enclos": [16, 90, 98], "encod": [4, 40, 95], "encoding_format": [31, 61, 78, 79, 80, 88, 95, 96], "encount": 105, "encourag": [4, 34, 88], "end": [16, 28, 29, 33, 68, 72, 78, 83, 84, 85, 104], "end_header_id": [85, 92], "end_of_text": [85, 92], "end_tim": [32, 98], "endfor": [37, 92, 95, 98], "endif": [30, 37, 82, 87, 90, 92, 98, 111], "energi": [78, 95], "enforc": [36, 78, 82], "engag": [72, 100], "engin": [27, 74, 84, 87, 92, 103, 106], "english": 95, "enhanc": [64, 74, 83, 94, 111], "enhance_queri": 74, "enhancequerycompon": 74, "enjoi": 103, "enorm": 82, "enough": 84, "enssenti": 111, "ensur": [26, 31, 33, 37, 68, 72, 74, 79, 80, 83, 85, 95, 96, 102, 105], "entir": 95, "entiti": [61, 65, 72, 84, 94], "entity_cl": 65, "entity_config": 61, "entity_nam": 61, "entity_st": 61, "entitymap": 65, "enum": [26, 42, 63, 66, 88, 98], "enumer": [27, 98], "env": [67, 79, 80, 94, 95, 96, 102, 103], "environ": [4, 33, 37, 67, 68, 71, 78, 79, 80, 88, 94, 95, 96, 101, 103], "environment": [78, 95], "eot_id": [85, 92], "epilon": 20, "epsilon": [20, 95], "equal": [45, 95], "equival": [27, 33, 78, 98], "error": [22, 26, 33, 35, 42, 57, 63, 64, 72, 79, 86, 88, 94, 98, 105], "error_messag": [42, 87], "error_onli": 57, "especi": [3, 4, 26, 57, 59, 74, 79, 81, 85, 95, 96, 97], "espeic": 95, "essenc": 103, "essenti": [78, 94, 95], "establish": 103, "estimated_num_token": [42, 78, 80, 96], "et": 81, "etc": [27, 29, 33, 50, 55, 79, 81, 83, 90, 95, 96, 103], "eval": [27, 32, 33, 41, 42, 81, 82, 98, 104, 109], "evalu": [27, 28, 33, 42, 44, 45, 46, 47, 74, 82, 84, 87, 95], "evaluate_ast_nod": 33, "even": [4, 16, 33, 72, 74, 79, 82, 84, 90, 92, 95, 97, 98], "event": [32, 86], "eventu": [72, 95], "ever": 88, "everi": [29, 84, 103], "eviron": 94, "exact": [4, 81, 96, 97, 109], "exact_match": [44, 48, 109], "exactli": [27, 28, 44, 48, 82, 95, 109], "exam": 81, "examin": 20, "exampl": [1, 4, 16, 18, 20, 22, 24, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 39, 42, 44, 45, 46, 47, 48, 50, 51, 55, 57, 61, 64, 68, 74, 78, 79, 80, 81, 85, 86, 87, 88, 90, 92, 94, 95, 96, 98, 102, 103, 104, 105, 106, 109, 111], "example1": [80, 96], "example2": 96, "example3": 96, "example4": 96, "example_funct": 33, "example_json": [26, 72], "example_str": 72, "example_yaml": [26, 72], "examples_prompt": 37, "examples_str": [30, 37, 82, 87, 92], "examples_templ": 37, "excel": 106, "except": [4, 35, 79, 88, 98], "exclud": [16, 26, 27, 33, 41, 42, 72, 78, 90, 98], "exclude_field": [16, 90], "excludetyp": 72, "exclus": 72, "execlud": 98, "execut": [4, 32, 33, 41, 86, 94, 97, 98], "execute_func": [41, 98], "execute_func_expr": [41, 98], "execute_func_expr_via_ev": [41, 98], "execute_func_expr_via_sandbox": [41, 98], "exist": [37, 72, 84, 94, 95, 105], "exp": 105, "expand": 103, "expans": [3, 95], "expect": [20, 24, 29, 36, 38, 39], "expens": 95, "experi": [6, 20, 29, 74, 78, 84, 96, 106], "explain": [78, 82, 86, 90, 94, 96, 103, 109], "explan": 20, "explicitli": [26, 36], "expr": [41, 98], "express": [32, 33, 41, 42, 98], "extend": [4, 28, 29, 32, 78, 79, 98, 103, 106], "extens": [27, 68, 86, 103], "extern": [66, 80, 81, 90, 94, 95], "extra": 96, "extract": [4, 16, 33, 39, 50, 55, 90, 94, 97, 103, 109], "extract_dataclass_typ": 33, "extract_first_boolean": 33, "extract_first_float": 33, "extract_first_int": 33, "extract_json_str": 33, "extract_list_str": 33, "extract_yaml_str": 33, "ey": 87, "f": [3, 4, 20, 27, 32, 62, 74, 79, 80, 81, 88, 92, 94, 95, 96, 98, 109, 111], "f1": 81, "f1be8330c167": 96, "f2d0f52a": 96, "f2eddc77": 78, "f513": 78, "f89e0955e3a3": 96, "f98f": 78, "face": [31, 34, 68, 79, 81, 82, 86], "facebookresearch": 95, "facet": 95, "facilit": [94, 97], "fact": [87, 94], "factor": 20, "factori": [26, 29, 42, 58, 59], "factual": 95, "fahrenheit": 98, "fail": [22, 42, 57, 78, 79, 82, 83, 84, 87, 90, 94, 98, 105], "failur": [79, 82], "fair": 81, "faiss": [63, 95, 96, 102], "faiss_query_result": 96, "faiss_retriev": [78, 95, 96], "faissretriev": [61, 78, 96], "fall": 74, "fallback": 1, "fals": [3, 16, 26, 27, 29, 33, 38, 40, 42, 45, 48, 50, 55, 87, 90, 98, 109], "famili": 71, "fantast": [80, 96], "far": 78, "farm": [78, 95], "fast": [20, 96], "faster": 95, "fc1": 106, "fc2": 106, "fd11f12958b3": 78, "fdbc447d": 80, "fdc2429b": 96, "feasibl": 72, "featur": [32, 68, 74, 81, 85, 98, 106], "feburari": [46, 47, 48, 81], "fed": [98, 109], "feel": 86, "fetch": [22, 29, 78, 96, 109], "fetch_item": 29, "fetch_transformed_item": 29, "fetched_dialog_turn": 78, "fever": 94, "few": [18, 26, 50, 51, 55, 72, 81, 92, 94, 95, 98, 111], "field": [16, 20, 26, 31, 33, 34, 41, 42, 52, 53, 72, 78, 79, 80, 85, 90, 95, 96, 98, 111], "field_nam": 26, "field_valu": 26, "fieldtyp": 33, "file": [6, 20, 27, 29, 31, 38, 57, 58, 59, 62, 64, 67, 68, 72, 79, 80, 82, 83, 87, 88, 95, 102, 103, 105, 109], "file_io": 74, "file_path": 58, "filenam": [57, 58, 59, 64], "filepath": [27, 29, 57, 59, 78], "filesystem": 29, "fill": [20, 34, 37, 52, 103], "filter": [92, 95, 96, 103], "final": [1, 20, 37, 42, 78, 80, 81, 82, 92, 94, 95, 96, 98, 109], "final_model_kwarg": 88, "final_prompt": 92, "find": [40, 78, 79, 80, 82, 94, 95, 96, 102], "fine": [42, 96], "finish": 94, "first": [4, 28, 29, 33, 36, 78, 80, 81, 82, 83, 85, 86, 88, 90, 94, 95, 96, 97, 98, 109], "fit": [26, 31, 42, 78, 82, 83, 97], "five": 74, "fix": 105, "fix_json_escaped_single_quot": 33, "fix_json_missing_comma": 33, "flat": [45, 48], "flexibl": [29, 33, 42, 72, 74, 84, 86, 88, 92, 94, 96, 98, 103, 111], "flexibli": 83, "float": [20, 31, 33, 39, 42, 44, 45, 46, 47, 48, 50, 51, 53, 55, 61, 78, 79, 80, 88, 90, 95, 96, 98], "float_pars": 39, "float_str": 90, "float_str_2": 90, "float_str_3": 90, "float_str_4": 90, "floatpars": [39, 90], "flow": [78, 94, 95, 111], "fn": [32, 33, 94, 98], "fn_schema_str": [42, 94], "fnew": 96, "focu": [78, 94, 96], "focus": 83, "folder": [68, 103], "follow": [4, 14, 16, 22, 26, 27, 28, 34, 64, 68, 72, 79, 81, 82, 84, 85, 86, 87, 90, 92, 95, 96, 98, 102, 103, 105, 109, 111], "food": 96, "footprint": [78, 95], "forc": 68, "fork": 68, "form": [4, 42, 72, 78, 92, 95, 97, 106], "format": [4, 10, 16, 20, 26, 27, 30, 32, 33, 34, 35, 38, 42, 61, 64, 66, 68, 78, 79, 82, 83, 85, 86, 87, 88, 90, 92, 94, 95, 106, 109, 111], "format_chat_history_str": 78, "format_class_str": [26, 72], "format_example_str": [26, 72], "format_instruct": [16, 90, 98], "format_str": 26, "format_typ": [16, 26, 72], "formula": 96, "forward": [27, 40, 74, 106], "fossil": [78, 95], "found": [33, 45, 46, 47, 48, 63, 68, 78, 81, 95, 109], "foundament": 74, "four": [35, 95, 98], "frac": 20, "framework": [94, 103], "franc": [26, 33, 72, 87, 88, 92], "francisco": 98, "franklin": 71, "free": [78, 95], "frequenc": [20, 96], "frequent": 20, "fresh": 95, "friendli": 96, "from": [3, 4, 14, 16, 18, 20, 24, 26, 27, 28, 29, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 42, 45, 50, 53, 55, 57, 58, 61, 62, 64, 67, 68, 73, 78, 79, 80, 81, 83, 84, 85, 86, 87, 88, 90, 92, 94, 95, 96, 97, 98, 102, 103, 104, 106, 109, 111], "from_config": [27, 31, 34, 82, 95], "from_default": 94, "from_dict": [16, 20, 26, 27, 37, 38, 42, 72, 90, 92, 95, 98, 111], "from_dict_to_json": 33, "from_dict_to_yaml": 33, "from_funct": [42, 98], "from_json": [26, 72], "from_json_to_dict": 33, "from_pretrain": 88, "from_yaml": [26, 72], "from_yaml_to_dict": 33, "frustrat": [82, 84, 87], "fsspec": 78, "fuel": [78, 95], "full": [42, 84, 95, 103, 106, 109], "fullwiki": 109, "fun": [27, 42, 87, 103], "fun_arg": 42, "fun_compon": [27, 74], "fun_expr": 42, "fun_kwarg": 42, "fun_nam": 42, "fun_to_compon": [27, 74], "func": [33, 41, 42, 63, 98], "func_desc": [42, 98], "func_expr": 98, "func_nam": [42, 98], "func_output": 98, "func_paramet": [42, 98], "func_pars": 98, "func_tool": 98, "funciton": 98, "funcnam": 98, "funcompon": 27, "function": [1, 3, 4, 14, 20, 24, 26, 27, 29, 32, 35, 37, 41, 42, 43, 49, 57, 61, 62, 63, 64, 65, 66, 67, 72, 74, 78, 79, 81, 82, 83, 84, 90, 94, 95, 96, 97, 103, 109, 111], "function_arg": 98, "function_definit": [41, 98], "function_expr": [33, 98], "function_nam": [64, 98], "function_respons": 98, "function_to_cal": 98, "functiondefinit": [32, 41, 42, 98], "functionexpress": [32, 41, 42], "functionoutput": [32, 41, 42, 98], "functiontool": [1, 32, 41, 94, 106], "fundament": [84, 103, 106], "further": [4, 31, 72, 74, 79, 82, 83, 87, 90, 95, 97, 103, 106], "futur": [4, 71, 79, 82, 84, 86, 95, 97, 103], "fuzzi": [81, 95, 109], "fuzzy_match": [44, 48, 109], "g": [4, 22, 50, 55, 68, 85, 88, 97, 98, 105, 109], "ga": [78, 95], "game": 78, "gap": [35, 84, 106], "gase": [78, 95], "gather": [32, 92, 98], "genai": [10, 84], "genear": 95, "gener": [1, 4, 10, 16, 26, 27, 29, 33, 35, 36, 38, 42, 45, 49, 50, 51, 52, 53, 55, 57, 58, 59, 62, 68, 71, 72, 74, 78, 79, 80, 81, 83, 84, 85, 86, 87, 88, 90, 92, 94, 95, 96, 97, 98, 103, 105, 106, 109, 111], "generate_function_call_expression_from_cal": [33, 98], "generate_readable_key_for_funct": 33, "generatecontentrespons": 10, "generated_text": 81, "generativeai": [63, 102], "generator2": 87, "generator2_cal": 87, "generator_2": 87, "generator_2_cal": 87, "generator_cal": [57, 87], "generator_call_logg": [57, 82, 87], "generator_evalu": 109, "generator_nam": 59, "generator_names_to_fil": 58, "generator_state_logg": 82, "generator_state_trac": [59, 87], "generatorcalllogg": [58, 82, 87], "generatorcallrecord": 58, "generatorlogg": 57, "generatoroutput": [22, 34, 42, 57, 58, 78, 86, 96], "generatorstatelogg": [59, 82, 87], "generatorstatesrecord": 59, "get": [4, 20, 26, 28, 29, 33, 37, 38, 42, 45, 48, 58, 64, 65, 72, 74, 78, 81, 86, 88, 90, 94, 95, 96, 97, 98, 105, 109, 111], "get_al": 65, "get_cal": 58, "get_chat_history_str": 42, "get_current_script_and_lin": 64, "get_current_weath": 98, "get_data_class_schema": [33, 111], "get_data_key_fun": [50, 55], "get_dataclass_schema": 33, "get_dialog_turn": 42, "get_fun_schema": [32, 33, 98], "get_jinja2_environ": 37, "get_log_loc": [58, 59], "get_logg": [64, 86], "get_model_arg": 42, "get_next_ord": 42, "get_prompt_vari": 37, "get_string_token": 40, "get_subcompon": 27, "get_supporting_sent": 109, "get_top_k_indices_scor": 33, "get_transformed_data": 29, "get_transformer_kei": 29, "get_type_schema": 33, "getenv": 88, "getlogg": 86, "git": [68, 103, 105], "github": [68, 100, 105, 108], "give": [74, 78, 84, 95, 98], "given": [20, 27, 28, 33, 38, 52, 59, 61, 82, 83, 85, 94, 95, 96, 98, 109], "go": [82, 84, 87, 94, 95, 103, 105, 106], "goal": [82, 94, 97, 98, 106], "goe": 84, "good": [20, 72, 74, 78, 81, 96, 98], "googl": [10, 45, 46, 47, 48, 53, 63, 68, 80, 81, 88, 92, 102], "google_api_kei": 102, "google_cli": 88, "google_generativeai": 63, "googlegenaicli": [10, 63, 88], "got": 95, "gpt": [27, 33, 34, 74, 78, 81, 82, 85, 88, 95, 96, 98], "gpt3": 18, "gpt_model_kwarg": 96, "graesser": 71, "graph": 96, "gre": 81, "great": [4, 72, 80, 81, 83, 84, 86, 87, 96], "green": [64, 86], "greenhous": [78, 95], "greet": 42, "groq": [63, 82, 88, 102], "groq_api_kei": 102, "groq_client": 88, "groqapicli": [27, 82, 88, 94, 96, 106], "ground": [44, 45, 46, 47, 48, 53, 78, 81, 95, 103, 109], "group": 42, "grow": 96, "growth": [78, 95], "gt": [53, 86, 95], "gt_answer": [44, 45, 48], "gt_context": [46, 47, 48, 81], "gt_context_sentence_list": 109, "gte": [79, 88], "guarante": 68, "guid": [68, 70, 94, 96, 98], "guidelin": [69, 81], "guo": 81, "ha": [18, 24, 26, 29, 33, 38, 46, 47, 48, 50, 55, 57, 59, 66, 72, 78, 81, 86, 95, 96, 97, 98, 102, 103, 106, 109, 111], "had": [80, 96], "halluci": 95, "hand": [81, 95], "handi": 92, "handl": [22, 26, 27, 33, 35, 72, 78, 79, 82, 83, 87, 88, 90, 94, 95, 98, 111], "handler": 86, "happen": 82, "hard": 84, "harri": 111, "hash": 53, "hashcod": 81, "have": [18, 20, 26, 27, 28, 31, 33, 35, 42, 50, 55, 57, 64, 68, 72, 74, 78, 79, 80, 81, 82, 83, 85, 86, 90, 92, 94, 95, 96, 98, 102, 103, 106, 109], "hazard": [78, 95], "he": [18, 111], "headach": 74, "healthi": 106, "heavi": 84, "height": 90, "hello": [4, 20, 29, 36, 42, 64, 85, 86, 96, 97], "helm": 81, "help": [3, 4, 16, 18, 26, 30, 32, 37, 63, 72, 74, 78, 82, 83, 84, 85, 86, 87, 90, 92, 95, 97, 98, 106, 109], "helper": [3, 14, 27, 37, 61, 74, 95], "henc": [94, 111], "hendryck": 81, "here": [4, 10, 35, 42, 49, 55, 72, 74, 78, 81, 82, 85, 86, 87, 88, 90, 92, 94, 95, 96, 97, 98, 101, 102, 103, 105, 107, 111], "hero": 84, "hf_token": 102, "hi": [42, 111], "hierarchi": [83, 106], "high": [84, 95, 103], "higher": [50, 53, 84, 95, 96], "highest": 96, "highli": [4, 29, 84, 87, 88, 103, 106], "hint": [33, 72, 82, 98], "histor": 78, "histori": [30, 42, 59, 78, 82, 83, 87, 92, 94, 95], "hobbi": 96, "hold": 42, "homepag": 20, "honestli": 90, "hook": [86, 103], "hop": 94, "host": 95, "hotpot_qa": 109, "hotpotqa": [94, 109], "how": [4, 18, 20, 22, 26, 34, 42, 45, 72, 74, 78, 79, 82, 83, 85, 88, 90, 92, 94, 95, 96, 98, 109, 110, 111], "howev": [4, 74, 78, 84, 85, 86, 90, 92, 95, 98], "html": [4, 68, 72, 86, 90, 95, 97], "http": [1, 10, 18, 20, 53, 68, 71, 72, 79, 82, 86, 92, 95, 98, 105], "hub": 81, "hug": 81, "hug_tran": 81, "huggingfac": [72, 79, 86, 88, 95], "human": [72, 81, 82, 95], "humanev": 81, "humor": 87, "hundr": 95, "hydrat": 74, "hydro": [78, 95], "hypernetwork": 103, "hyperparmet": 95, "hypothesi": 94, "i": [1, 3, 4, 6, 10, 16, 18, 20, 22, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 40, 42, 44, 45, 46, 47, 48, 49, 50, 52, 53, 55, 57, 58, 59, 61, 62, 63, 64, 68, 71, 72, 73, 74, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 90, 92, 95, 96, 97, 98, 101, 102, 105, 106, 107, 109, 110, 111], "ibuprofen": 74, "icl": [50, 51, 55, 84], "id": [4, 40, 42, 78, 80, 90, 96, 97], "idea": 100, "ideal": [4, 92, 97], "identifi": [33, 59, 96], "idf": [20, 78, 95, 96], "idf_vers": 81, "idx": [27, 28, 96, 98], "igh": 97, "ik": 4, "illustr": [4, 94, 97], "imag": [79, 95], "immedi": 27, "impact": [4, 20, 55, 78, 94, 95, 96], "implement": [1, 4, 6, 20, 35, 38, 79, 81, 88, 95, 96, 97, 109, 111], "implicitli": 36, "import": [4, 16, 20, 26, 27, 32, 33, 37, 63, 64, 72, 74, 78, 79, 80, 81, 82, 83, 85, 86, 87, 88, 90, 92, 94, 95, 96, 97, 98, 102, 103, 106, 109, 111], "import_path": 63, "importerror": 63, "impress": 81, "improv": [20, 50, 51, 81, 82, 83, 87, 95, 96, 97], "inabl": 33, "inc": 68, "includ": [4, 6, 20, 26, 27, 29, 33, 38, 42, 61, 64, 68, 74, 78, 83, 92, 94, 95, 96, 97, 98, 103, 105, 109, 111], "includng": 103, "incomplet": 33, "incorpor": 81, "incorrect": [36, 82], "increa": 78, "increas": [20, 78, 95, 96], "increasingli": 81, "increment": 105, "incress": 98, "indent": [16, 33, 90], "index": [4, 20, 22, 24, 28, 29, 37, 38, 42, 50, 55, 68, 78, 79, 88, 92, 95, 96, 98, 109], "index_kei": [38, 95], "indexflatip": 96, "indic": [22, 26, 33, 95, 96], "infanc": 84, "infer": [10, 36, 42, 79, 81], "infer_gte_base_embed": 88, "influenc": [20, 81, 96], "info": [64, 86], "inform": [26, 40, 74, 82, 94, 95, 96, 103, 108, 111], "infrastructur": [78, 95], "ingest": [4, 103], "ingestionpipelin": 103, "inherit": [35, 78, 95, 103, 106], "init": [50, 51, 53, 64], "init_async_cli": [35, 88], "init_model": 88, "init_sync_cli": [10, 35, 88], "initi": [20, 22, 24, 35, 37, 38, 50, 51, 55, 64, 78, 82, 88, 92, 94, 95, 96, 98, 109, 111], "initvar": 42, "inject": 86, "inmemoryfaissretriev": 95, "inner": 96, "input": [1, 3, 10, 16, 20, 22, 24, 26, 27, 28, 31, 33, 34, 35, 38, 39, 40, 42, 52, 72, 78, 79, 80, 81, 82, 83, 85, 87, 88, 92, 95, 96, 97, 98, 103, 111], "input_data_obj": 52, "input_str": [27, 30, 57, 74, 78, 82, 87, 92, 95, 96, 98, 106], "insert": [28, 29], "insid": [4, 96, 97], "instal": [63, 64, 68, 78, 79, 95, 101, 103], "install_messag": 63, "instanc": [16, 18, 26, 27, 33, 34, 37, 57, 66, 80, 81, 90, 96, 98, 103, 109, 111], "instanti": [27, 61, 63, 72, 82], "instead": [4, 26, 27, 33, 45, 72, 74, 78, 79, 82, 84, 96, 97, 98, 103], "instruct": [16, 18, 22, 26, 50, 53, 72, 81, 82, 90, 96, 98, 103, 111], "instructur": 98, "int": [1, 3, 4, 20, 22, 24, 26, 28, 29, 31, 33, 36, 38, 39, 40, 42, 50, 51, 55, 64, 72, 78, 79, 90, 94, 95, 98, 111], "int_param": 36, "int_pars": 39, "int_str": 90, "int_str_2": 90, "int_str_3": 90, "int_str_4": 90, "integ": [33, 36, 39, 90], "integr": [4, 10, 14, 78, 79, 83, 84, 88, 94, 95, 103, 106], "intellig": [81, 82], "intend": 68, "intent": 81, "interact": [26, 42, 72, 83, 84, 90, 94, 98, 106, 111], "interchang": 98, "interest": [78, 81], "interfac": [16, 32, 33, 34, 35, 74, 79, 80, 82, 83, 84, 88], "intergr": [83, 84, 88, 95], "interleav": [85, 94], "intermedi": [78, 94], "intern": [26, 63, 66, 81, 84, 88, 94, 98], "interpret": [4, 83, 90], "intial": 82, "intpars": [39, 90], "introduc": [4, 92, 97], "intuit": [4, 97], "invalid_api_kei": 82, "invalid_request_error": 82, "invers": [20, 96], "invest": [78, 95], "investig": [82, 111], "invok": [26, 33], "involv": [81, 96], "io": [27, 31, 38, 86], "irrelev": 95, "is_dataclass_inst": 33, "is_key_in_templ": 37, "is_norm": [33, 42, 79], "is_pick": 74, "is_pickl": 27, "is_potential_dataclass": 33, "is_running_in_event_loop": 32, "isinst": 88, "issu": [68, 105], "item": [29, 78, 98], "item1": 39, "item2": 39, "iter": [27, 28, 36, 84, 94, 96, 106], "itertool": 96, "its": [4, 20, 27, 33, 36, 38, 42, 57, 58, 59, 61, 71, 72, 74, 78, 82, 84, 86, 92, 94, 95, 96, 97, 98, 103, 109], "itself": [6, 27, 33, 37, 62, 84, 85, 92, 96], "jan": 18, "jane": 90, "jinja": [92, 103], "jinja2": [37, 82, 83, 103, 111], "jinja2_template_exampl": 92, "job": [78, 95], "john": [26, 90, 111], "join": [78, 94, 98, 100, 109], "joke": 111, "joke_exampl": 111, "jokeoutput": 111, "josh": 81, "json": [4, 16, 20, 26, 33, 39, 41, 42, 57, 58, 59, 61, 62, 66, 72, 74, 82, 87, 90, 94, 95, 97, 98, 103, 106, 109, 111], "json_definit": [41, 98], "json_obj": 39, "json_output_format_prompt": 90, "json_output_pars": 90, "json_pars": 39, "json_parser_output_typ": 39, "json_signatur": 72, "json_signature_exclud": 72, "json_str": [26, 33, 39, 72], "jsonl": [57, 58, 62, 87], "jsonoutputpars": [16, 90, 98], "jsonpars": [1, 39, 82, 90, 94, 109], "judg": [45, 48, 81, 82, 109], "judgement": [45, 48, 81, 109], "judgement_list": [45, 48, 109], "judgement_queri": [45, 48, 109], "jump": 103, "just": [78, 82, 86, 88, 98, 103], "k": [22, 24, 96], "k1": [20, 95, 96], "keep": [26, 29, 72, 74, 78, 85, 86, 95, 96, 97, 111], "kei": [26, 27, 29, 33, 37, 38, 39, 42, 71, 72, 74, 78, 79, 80, 82, 90, 94, 95, 96, 98, 101, 103, 111], "kept": 4, "keyword": [28, 33, 37, 42, 92, 95, 98], "kind": [90, 103], "kmp_duplicate_lib_ok": 96, "knock": [78, 95], "know": [82, 84, 85, 87, 98], "knowledg": [84, 94, 95, 98, 109], "known": [71, 72, 95], "kw_onli": 53, "kwarg": [1, 10, 16, 20, 22, 24, 27, 28, 31, 32, 33, 34, 35, 37, 38, 42, 45, 50, 54, 55, 88, 92, 94, 95, 98], "l": 97, "label": [26, 33, 50, 55, 72, 95, 103], "lack": [92, 95], "lambda": [27, 50, 55, 78, 95], "land": [78, 95], "landscap": 95, "languag": [4, 20, 68, 71, 81, 82, 85, 94, 103, 106], "larg": [31, 71, 78, 81, 82, 95, 96, 97, 106], "larger": [31, 96], "last": [4, 29, 78, 90, 95, 98], "last_hidden_st": 88, "later": [29, 34, 72, 78, 95, 96, 98], "latest": [94, 105], "layer": 84, "lazi": 63, "lazy_import": 102, "lazyimport": 63, "lead": [22, 50, 53, 55, 78, 95, 105], "leap": [46, 47, 48, 81], "learn": [27, 28, 74, 79, 81, 82, 83, 84, 88, 95, 97, 100, 103, 106, 109], "left": 20, "legal": 81, "len": [78, 96, 98, 109], "length": [4, 20, 29, 42, 78, 79, 96, 97, 98], "lengthi": 103, "lengthier": [20, 96], "less": [16, 20, 42, 72, 79, 95, 96, 98, 106], "let": [18, 72, 74, 78, 87, 90, 92, 94, 95, 96, 98, 109], "level": [64, 73, 86, 94, 98, 103, 106], "leverag": [4, 33, 38, 68, 72, 78, 94, 95, 96, 97, 98, 109], "leverg": [20, 38], "li": [95, 104], "lib": [64, 86], "librari": [4, 26, 29, 34, 45, 57, 63, 64, 72, 73, 74, 81, 83, 84, 85, 88, 95, 97, 103, 105, 106], "lickabl": 96, "life": 81, "lifecyl": 98, "lifestyl": 74, "lift": 84, "light": [78, 95], "light_rag": 103, "lightn": 86, "lightrag": [4, 16, 20, 26, 27, 29, 30, 35, 37, 49, 58, 63, 64, 68, 70, 71, 72, 73, 74, 78, 79, 80, 81, 82, 83, 84, 86, 88, 90, 92, 95, 97, 100, 101, 105, 106, 109, 111], "lightrag_default_prompt_arg": 92, "lightweight": 72, "like": [4, 26, 28, 29, 33, 35, 39, 42, 49, 57, 64, 72, 74, 78, 79, 80, 82, 84, 85, 86, 87, 88, 90, 94, 95, 96, 97, 103, 106, 111], "limit": [68, 78, 81, 83, 95, 96, 97, 98], "line": [64, 68, 82, 83, 84, 86, 87, 103], "line_numb": 64, "linear": 106, "link": 68, "list": [1, 3, 4, 16, 20, 22, 24, 26, 27, 29, 31, 33, 34, 36, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 50, 51, 53, 55, 57, 58, 62, 72, 74, 78, 79, 81, 85, 88, 90, 95, 96, 98, 102, 105, 109], "list_dict_str": 90, "list_output_format_templ": 16, "list_pars": 39, "list_str": 90, "list_str_2": 90, "list_str_3": 90, "listoutputpars": [16, 90], "listpars": [22, 39, 90, 95, 96], "liter": [4, 33, 42, 64, 95], "literal_ev": 90, "liu": 81, "llama": [4, 92], "llama3": [27, 82, 85, 92, 94, 106], "llama_index": 103, "llamaindex": [4, 103], "llm": [1, 6, 22, 26, 27, 32, 34, 42, 45, 48, 50, 52, 53, 71, 74, 78, 82, 83, 87, 88, 90, 94, 96, 97, 98, 103, 105, 106, 109, 110, 111], "llm_as_judg": 82, "llm_augment": [50, 51], "llm_evalu": [45, 48, 109], "llm_judg": [45, 48, 109], "llm_kwarg": 78, "llm_model_kwarg": 94, "llm_optim": 82, "llm_query_indic": 96, "llm_query_output": 96, "llm_retriev": [82, 95, 96], "llm_tool": 94, "llmasjudg": [45, 48, 81, 109], "llmasretriev": 95, "llmaugment": 52, "llmoptim": [50, 53, 82], "llmretriev": [22, 57, 82, 95, 96], "llmretrieveroutputtyp": 22, "lo": 85, "load": [20, 26, 27, 29, 38, 50, 51, 53, 58, 59, 61, 62, 67, 68, 78, 81, 88, 90, 94, 95, 98, 101, 109, 111], "load_class": 63, "load_dataset": [81, 109], "load_dotenv": [80, 94, 96, 102], "load_from_fil": [20, 38, 95], "load_from_pickl": 27, "load_index": 96, "load_json": 62, "load_jsonl": 62, "load_meta_data": 58, "load_metr": 81, "load_pickl": 62, "load_stat": [29, 78], "load_state_dict": [27, 74], "load_state_pickl": 27, "loaded_exampl": 111, "local": [6, 27, 35, 49, 68, 83, 88, 90, 95, 98, 105], "local_db": 29, "local_db_load": 29, "local_embedd": 79, "local_embedder_256": 79, "local_item_db": 29, "localdb": [6, 29, 42, 78], "locat": [68, 72, 90, 95, 98], "lock": 103, "log": [20, 57, 58, 59, 62, 64, 78, 82, 84, 87, 88, 104, 105], "log_cal": 58, "log_prompt": 59, "logger": [57, 87], "logger_metadata": 87, "loggind": 86, "logging_config": 86, "logic": [35, 81, 84, 86, 96], "logprob": [42, 95], "long": [4, 78, 82, 83, 87, 95, 96, 97], "longest": 95, "look": [33, 72, 78, 79, 87, 92, 94, 95, 96, 104], "lookup": 94, "loop": [32, 37, 81, 92, 95, 98], "lose": [82, 87, 103], "lost": [29, 95], "lot": [81, 96], "love": 96, "lower": [84, 96, 98], "lru_cach": 88, "lstrip_block": 92, "lt": 86, "luna": 96, "m": [42, 68, 86, 87, 105], "made": [29, 72, 82, 83, 105], "magenta": 64, "mai": [4, 74, 85, 86], "main": [29, 37, 50, 55, 68, 74, 80, 86, 90, 95, 103], "main_class": 86, "mainli": [42, 63, 72, 78, 84, 86, 96, 103], "maintain": [4, 26, 68, 72, 73, 96], "major": 68, "make": [16, 29, 35, 68, 72, 74, 78, 81, 82, 87, 88, 90, 92, 94, 95, 98, 102, 103, 105, 106, 111], "makefil": 68, "manag": [4, 29, 30, 38, 41, 42, 52, 61, 74, 78, 80, 82, 88, 94, 96, 97, 98, 111], "mani": [18, 92, 95, 98], "manipul": [94, 103], "manner": 94, "manual": [27, 28, 61, 68, 74, 84, 87, 103, 104], "manufactur": [78, 95], "map": [4, 24, 27, 29, 33, 38, 62, 66, 72, 78, 95, 97, 98], "map_dialogturn_to_docu": 78, "map_fn": [29, 78], "map_to_docu": 78, "mapper_setup": [29, 78], "mappingproxi": 53, "mar": 1, "mark": [72, 81], "markdown": [4, 97], "marshmallow": [26, 72], "massiv": 81, "match": [20, 27, 44, 48, 72, 81, 96, 109], "match_acc_list": 109, "materi": [78, 95], "mathemat": 81, "matrix": 72, "matter": [32, 72, 78], "max": [32, 94], "max_length": 88, "max_step": [1, 94], "max_token": [85, 88], "maxim": [84, 86, 92, 106], "maximum": [1, 4, 73, 85, 96, 97, 106], "mayb": 103, "md": [103, 104], "me": [92, 95], "mean": [4, 29, 50, 55, 64, 82, 84, 85, 94, 96, 97, 98], "meant": 68, "meanwhil": 96, "measur": [20, 81, 96], "mechan": [86, 88], "medata": 26, "medic": [74, 81], "member": [27, 100], "memo": 27, "memoi": 83, "memori": [29, 31, 42, 78, 79, 83, 84, 96, 97, 98], "mere": 96, "merg": [4, 97, 103], "messag": [42, 63, 79, 82, 85, 86, 88, 92], "meta": [85, 92, 96], "meta_data": [4, 42, 78, 80, 96, 97, 109], "metadata": [16, 26, 32, 33, 42, 53, 72, 78, 82, 86, 87, 90, 94, 95, 111], "methd": 38, "method": [4, 10, 16, 20, 26, 27, 29, 35, 37, 38, 40, 45, 50, 55, 57, 66, 72, 74, 78, 79, 81, 82, 83, 87, 88, 90, 92, 95, 98, 106], "metric": [44, 45, 46, 47, 48, 81, 83, 95, 109], "middl": 95, "might": [18, 22, 27, 29, 32, 72, 78, 79, 82, 95, 96, 98, 105], "million": 95, "mimic": 18, "mimick": 72, "mind": [84, 87], "minim": [6, 84, 106], "minimum": [73, 92, 106], "minut": 101, "mislead": [26, 111], "miss": [26, 33, 39, 52, 95, 98], "mistaken": 16, "misunderstand": 96, "mmlu": 81, "mode": [27, 83, 103], "modecli": 80, "model": [1, 4, 6, 10, 14, 18, 20, 22, 24, 27, 29, 31, 33, 34, 35, 42, 45, 49, 52, 61, 71, 74, 80, 81, 83, 84, 85, 92, 94, 95, 96, 97, 98, 103, 106, 109, 111], "model_cli": [1, 22, 24, 25, 27, 31, 34, 45, 50, 52, 53, 57, 61, 63, 74, 78, 79, 80, 82, 83, 88, 94, 95, 96, 98, 106, 109], "model_kwarg": [1, 10, 22, 24, 27, 31, 33, 34, 35, 42, 45, 50, 52, 53, 58, 61, 74, 78, 79, 80, 82, 87, 88, 94, 95, 96, 98, 106, 109], "model_nam": [61, 88], "model_typ": [10, 27, 31, 34, 35, 42, 74, 81, 82, 88], "modelcli": [1, 10, 22, 24, 27, 31, 34, 35, 42, 45, 50, 52, 53, 74, 79, 82, 83, 92, 95, 106], "modelclienttyp": [42, 78, 82, 95, 98], "modeltyp": [10, 27, 31, 34, 35, 42, 74, 82, 88, 95], "modif": 74, "modifi": [3, 86], "modoel": 78, "modubl": 27, "modul": [22, 26, 27, 33, 42, 63, 66, 68, 72, 74, 78, 83, 86, 95, 103, 106, 109], "module_nam": 63, "moment": 84, "monitor": [78, 103, 105], "month": [46, 47, 48, 81], "monument": 87, "moon": 81, "more": [4, 10, 18, 20, 26, 27, 33, 39, 40, 41, 42, 43, 45, 52, 68, 69, 72, 73, 74, 78, 79, 81, 82, 83, 84, 85, 86, 87, 94, 95, 96, 97, 98, 103, 105, 106, 108, 109, 111], "moreov": 94, "most": [16, 74, 82, 83, 85, 87, 92, 95, 96], "mostli": [26, 95], "move": [4, 83, 95, 97], "movi": [80, 96], "much": [74, 82, 87, 95, 96], "mulitpl": 3, "multi": [72, 79, 85, 94, 103], "multifacet": 81, "multipl": [1, 28, 29, 50, 55, 58, 59, 61, 71, 78, 79, 82, 90, 94, 95, 98, 103], "multipli": [94, 98], "multiply_by_two": 28, "multiplybytwo": 28, "multitask": 81, "multple_function_call_templ": 98, "must": [27, 29, 88, 105], "my_app": 86, "my_db": 29, "my_funct": 27, "my_function_compon": 27, "my_inst": [26, 111], "myfunctioncompon": 27, "myoutput": [26, 111], "mypi": 72, "n": [4, 16, 20, 30, 39, 78, 87, 88, 90, 96, 98], "n_________": 78, "nadd": 98, "nage": 90, "name": [26, 27, 29, 32, 33, 40, 42, 53, 57, 58, 59, 61, 62, 63, 64, 65, 66, 72, 74, 78, 81, 84, 86, 87, 90, 94, 95, 96, 98, 103, 105, 109, 111], "named_children": 27, "named_compon": 27, "named_paramet": [27, 74], "nanswer": 87, "nativ": [72, 83, 86, 92], "nattribut": 90, "natur": [4, 33, 81], "navig": 68, "nd": 95, "ndarrai": [33, 95, 98], "ndivid": 98, "neat": 86, "necessari": [68, 96, 98, 102, 103, 109], "need": [1, 4, 16, 20, 26, 27, 31, 32, 35, 41, 42, 63, 64, 72, 78, 79, 82, 84, 86, 88, 92, 95, 96, 97, 98, 103, 105, 109], "neg": [20, 44, 48, 96], "nest": [26, 27, 33, 42, 72, 83, 90], "nested_dict_str": 90, "net": 106, "neutral": [44, 48, 103], "never": 105, "new": [1, 4, 29, 33, 50, 53, 68, 78, 79, 81, 94, 95, 96, 98, 103, 106], "new_compon": [61, 82], "new_components_from_config": 61, "new_dim": 79, "new_embed": 79, "new_turn": 78, "next": [28, 80, 81, 85, 88, 92, 94, 96, 98, 109], "nget": 98, "nightli": 105, "nkei": 39, "nlg": 81, "nlp": [4, 80, 84, 96, 97], "nlu": 81, "nmultipli": 98, "nn": [27, 28, 74, 86, 106], "nname": 90, "nnew": 96, "nnone": 98, "nnow": 87, "node": 33, "nois": 96, "non": 4, "none": [1, 4, 6, 10, 16, 20, 22, 24, 26, 27, 28, 29, 31, 32, 33, 34, 35, 36, 37, 38, 41, 42, 45, 48, 50, 51, 52, 53, 55, 57, 58, 59, 62, 63, 64, 66, 72, 78, 80, 82, 86, 88, 90, 95, 96, 97, 98], "none_str": 90, "nonetyp": 42, "nonsens": [96, 97], "normal": [20, 33, 42, 72, 79, 88, 96], "normalize_np_arrai": 33, "normalize_vector": [33, 79], "nosql": 95, "note": [18, 20, 26, 27, 38, 42, 64, 74, 78, 82, 83, 90, 94, 95, 98, 103, 109], "notebook": [94, 95], "noth": 94, "notic": [82, 85], "notimplementederror": [88, 95], "now": [18, 27, 57, 72, 78, 79, 80, 82, 87, 90, 92, 94, 95, 96, 98, 103], "np": [95, 98], "nsearch": 98, "nsum": 98, "nthe": 87, "null": [78, 87, 90], "null_str": 90, "num": [50, 55], "num_class": [50, 55], "num_doc": 109, "num_row": 81, "num_shot": [50, 51, 55], "number": [1, 4, 20, 24, 40, 46, 47, 48, 64, 79, 80, 81, 90, 94, 96, 97, 98, 105, 109], "numer": [72, 80, 95, 96], "numpi": [79, 95, 98], "numpy_sum": 98, "nyou": 30, "nz": 20, "o": [66, 68, 88, 96], "o200k_bas": 96, "obj": [27, 33, 62, 66], "object": [4, 16, 26, 27, 28, 33, 34, 37, 39, 41, 42, 44, 45, 46, 47, 48, 50, 52, 53, 54, 57, 58, 59, 62, 63, 65, 66, 72, 80, 82, 86, 90, 94, 96, 97, 98], "objecttyp": [66, 98], "observ": [42, 84, 94], "obtain": [80, 81], "occur": [20, 79], "occurr": 96, "off": [88, 95], "offer": [78, 82, 88, 95, 103, 106, 111], "offici": 106, "often": [20, 28, 42, 78, 79, 82, 88, 92, 95, 97], "okapi": 96, "okapi_bm25": [20, 95], "old_dim": 79, "old_embed": 79, "onc": [81, 95, 96], "one": [3, 32, 33, 64, 79, 82, 85, 87, 90, 92, 94, 95, 96, 98], "ones": [57, 82, 96, 97], "onli": [16, 20, 26, 27, 28, 29, 31, 33, 34, 41, 42, 45, 57, 61, 63, 72, 74, 78, 79, 82, 84, 87, 88, 90, 92, 94, 95, 96, 98, 103, 105, 106, 111], "open": [68, 81, 103, 109], "openai": [14, 35, 42, 63, 78, 80, 82, 85, 88, 95, 96, 98, 102, 103, 111], "openai_api_kei": [79, 88, 102], "openai_cli": [63, 79, 88, 109], "openaicli": [27, 31, 34, 35, 57, 61, 63, 74, 78, 79, 80, 82, 88, 94, 95, 96, 109], "oper": [3, 26, 28, 29, 31, 42, 72, 78, 95, 96, 111], "operand": 98, "opinion": 103, "opro": 53, "opt": 92, "optim": [20, 36, 51, 53, 72, 74, 78, 82, 87, 95, 96, 103, 106], "option": [1, 4, 16, 20, 22, 24, 26, 27, 29, 31, 33, 34, 35, 36, 37, 38, 39, 40, 42, 45, 48, 57, 58, 59, 62, 63, 64, 72, 74, 78, 82, 88, 90, 95, 97, 98, 101, 106, 111], "optional_packag": 63, "optionalpackag": [63, 102], "opu": 85, "orang": 96, "orchestr": [31, 32, 34, 50, 51, 78, 79, 80, 83, 90, 92, 106], "ord_docu": 78, "order": [4, 26, 28, 37, 42, 72, 78, 79, 84, 96, 97], "orderdict": 28, "ordereddict": [27, 28, 42], "org": [1, 18, 20, 53, 71, 72, 86, 95, 105], "org_docu": 78, "organ": [49, 68, 78, 96, 103], "origin": [4, 29, 72, 78, 80, 95, 96, 105], "orpo": 53, "oss": 103, "otago": 20, "other": [4, 16, 27, 33, 42, 61, 66, 68, 72, 74, 79, 81, 82, 84, 90, 95, 98, 100, 103, 111], "othersi": 27, "otherwis": [27, 42, 97, 105], "our": [26, 27, 34, 45, 55, 68, 69, 72, 74, 78, 79, 82, 83, 85, 86, 88, 90, 92, 94, 95, 96, 98, 100, 101, 102, 103, 106, 107, 109], "ourselv": 103, "out": [72, 74, 81, 82, 84, 88, 94, 95, 96, 98, 103], "outcom": 4, "outer": 72, "outlin": [81, 94, 105], "outperform": 94, "output": [4, 10, 14, 20, 22, 26, 28, 30, 31, 32, 33, 34, 39, 42, 45, 49, 50, 51, 52, 55, 57, 58, 64, 72, 74, 78, 80, 83, 85, 86, 87, 88, 92, 94, 95, 96, 97, 103, 109, 111], "output_1": 95, "output_2": 95, "output_3": 95, "output_data_class": 98, "output_data_obj": 52, "output_format": [30, 82, 87, 98, 111], "output_format_str": [30, 82, 87, 92, 98], "output_pars": [25, 90, 98], "output_processor": [1, 16, 22, 31, 34, 50, 51, 79, 80, 83, 90, 94, 95, 96, 98, 109], "output_str": 87, "outputformat": 72, "outputpars": [16, 90, 98, 106], "outstand": 111, "over": [27, 28, 32, 71, 74, 92, 96, 103, 106], "overal": [26, 81, 84, 94, 98], "overflow": 79, "overhead": 32, "overlap": [4, 72, 96, 97], "overpr": 96, "overrid": [80, 94, 96], "overview": [78, 81], "overwrit": 26, "own": [4, 26, 27, 33, 38, 58, 71, 72, 79, 81, 88, 95, 103, 109], "p": 88, "p1": 98, "p2": 98, "packag": [63, 68, 72, 80, 95, 96, 101, 103, 105, 106], "pad": 88, "page": [4, 68, 94, 96, 97], "paid": 87, "pain": 74, "pair": 95, "paitesanshi": 71, "palletsproject": 92, "panel": [78, 95], "paper": [20, 81, 94, 95], "paragraph": 96, "parallel": 71, "param": [27, 33, 36, 46, 48, 74, 82], "paramet": [4, 16, 20, 22, 24, 26, 27, 29, 31, 33, 34, 35, 37, 38, 39, 40, 42, 44, 45, 47, 48, 50, 51, 53, 57, 58, 59, 61, 62, 63, 64, 66, 72, 74, 83, 94, 96, 98, 103, 109], "parent": 96, "parent_doc_id": [4, 42, 78, 96, 97], "pari": [87, 88, 98], "pars": [10, 14, 16, 32, 33, 34, 35, 39, 41, 42, 82, 83, 88, 90, 94, 98], "parse_chat_complet": [10, 35, 88], "parse_embedding_respons": [14, 35, 88], "parse_func_expr": [41, 98], "parse_function_call_expr": [33, 98], "parse_json_str_to_obj": 33, "parse_yaml_str_to_obj": 33, "parsed_input": [42, 98], "parsed_us": 90, "parser": [16, 49, 83, 94, 96, 98], "part": [33, 71, 82, 83, 92, 95, 96, 110], "parti": [26, 64, 95], "particip": 100, "particl": [78, 95], "particulai": 81, "particular": [31, 35, 38, 74, 82, 83, 87], "particularli": 96, "pass": [20, 24, 28, 31, 33, 34, 37, 42, 45, 72, 74, 79, 82, 85, 88, 92, 94, 95, 96, 98], "passag": [4, 96, 97], "past": [42, 92], "path": [20, 38, 57, 59, 63, 81, 83, 109], "path_to_html_output": 68, "pattern": [14, 27, 28, 32, 42], "pdf": [4, 20, 97], "pdfminer": [4, 97], "pep": 105, "per": [42, 90], "percent": 92, "perform": [29, 45, 48, 50, 51, 52, 55, 78, 79, 81, 82, 84, 87, 92, 94, 95, 96, 97, 103, 109], "perhap": 87, "period": [4, 97], "perplex": 81, "persist": [6, 20, 29, 38, 42, 74, 78, 95], "persit": 78, "person": [26, 111], "pgvector": [63, 95, 102], "phase": 96, "philosophi": [73, 83], "phoenix": [86, 103], "photon": [78, 95], "phrase": 95, "pickabl": 74, "pickl": [27, 29, 62, 78, 95], "picklabl": [27, 29], "pickle_to_fil": 27, "piec": [4, 96], "pip": [63, 64, 68, 102], "pipelin": [6, 27, 28, 29, 34, 61, 74, 79, 81, 82, 84, 95, 105, 106], "pkl": [29, 61, 78], "place": [36, 98], "placehold": 92, "plai": [35, 78, 85, 92, 95, 96], "plain": 97, "plan": [83, 88, 94, 102], "plann": 71, "planner": 1, "platform": [81, 82, 98, 100], "pleas": [4, 16, 26, 32, 34, 45, 63, 64, 68, 69, 74, 79, 81, 82, 88, 90, 94, 95, 96, 97, 98, 103, 105, 108, 111], "plenti": 74, "plot": 73, "plug": [35, 103], "poetri": [68, 103, 105], "point": [4, 57, 72, 86, 97, 98, 109], "pollut": [78, 86, 95], "pool": 95, "pop": [29, 78], "popular": [71, 81, 96], "posit": [28, 33, 42, 44, 48, 64, 78, 80, 95, 96, 98], "possibl": 72, "post": [22, 95], "postgr": 95, "postgresql": 95, "postprocessor": 103, "potenti": [33, 72, 85, 94, 97, 105], "power": [73, 78, 86, 95, 106], "powershel": 64, "practic": [95, 96, 103], "practis": [74, 95], "pre": [78, 81, 103, 105], "precis": [81, 95], "pred_answ": [44, 45, 48], "predefin": 33, "predict": [26, 34, 42, 44, 45, 48, 57, 72, 81, 82, 83, 85, 87, 92, 109], "prefer": [86, 95, 98], "prefix": [26, 27, 90, 92, 111], "prepar": [22, 78, 80, 95, 96, 98], "prepend": 27, "preprint": 81, "preprocess": [4, 40, 96], "prescript": 74, "presenc": 20, "preserv": 72, "preset": [1, 34, 37, 92, 96], "preset_prompt_kwarg": [16, 37, 57, 87, 94, 95, 96, 109], "pretti": 95, "prevent": [4, 96, 97], "previou": [28, 50, 53, 78, 82, 90, 94, 96, 97, 109], "previous": [27, 37, 95], "principl": 103, "print": [4, 16, 20, 26, 27, 28, 32, 33, 37, 39, 42, 64, 72, 78, 79, 80, 81, 82, 86, 88, 90, 92, 94, 95, 96, 97, 98, 109, 111], "print_prompt": [34, 37, 78, 82], "print_prompt_templ": 37, "printc": 64, "printout": [74, 78, 90, 92, 95, 98], "prior": 64, "priorit": 95, "pro": [78, 95], "prob": 95, "probab": 95, "probabl": [95, 96], "problem": [94, 95, 98, 103, 105], "procesor": 79, "process": [4, 18, 22, 29, 31, 42, 49, 68, 72, 74, 78, 79, 80, 81, 82, 83, 84, 87, 90, 92, 94, 95, 96, 97, 98, 103, 105, 109], "process_queri": 98, "processor": [16, 31, 34, 42, 50, 51, 82, 83], "produc": [78, 95, 109], "product": [4, 78, 79, 81, 84, 95, 96], "production": 103, "profess": 95, "profil": [95, 96], "program": [72, 86], "programmat": [83, 92], "progress": 105, "prohibit": 68, "project": [58, 59, 68, 79, 87, 100, 101, 102, 107], "project_nam": [57, 58, 59], "prompt": [1, 16, 22, 26, 27, 30, 34, 37, 42, 52, 57, 59, 64, 72, 74, 78, 82, 83, 84, 85, 87, 88, 90, 94, 95, 96, 98, 103, 104, 106, 109, 111], "prompt_build": [82, 92, 98, 109, 111], "prompt_kwarg": [1, 34, 37, 58, 74, 78, 82, 87, 92, 98], "prompt_stat": [59, 87], "prompt_templ": 111, "prompt_token": [42, 88], "prompt_vari": [27, 74, 82, 87, 90, 92, 95, 106], "promt_kwarg": 1, "properli": [90, 111], "properti": [16, 29, 33, 41, 42, 58, 59, 72, 79, 94, 98], "propetriari": 85, "propos": [50, 51, 53], "proprietari": [92, 103], "protocol": [35, 81, 83, 95], "provid": [4, 22, 26, 27, 33, 35, 36, 37, 50, 53, 57, 58, 64, 72, 73, 74, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 92, 94, 95, 96, 98, 103, 106, 109, 111], "proxi": 63, "proxim": 95, "pt": 88, "publish": [1, 18, 105], "pull": 68, "punchlin": 111, "punctuat": [4, 97], "pure": 82, "purpos": [4, 74, 78, 97, 109], "purposli": 27, "pursuit": 71, "push": [68, 105], "put": [72, 74, 79, 84, 95, 103], "py": [42, 68, 86, 103, 109], "pydant": [26, 72], "pydata_sphinx_them": 68, "pypdf2": [4, 97], "pypi": 105, "pyproject": 105, "python": [4, 16, 26, 33, 39, 42, 68, 72, 81, 86, 90, 92, 97, 102, 103], "pytorch": [26, 27, 28, 55, 68, 72, 74, 84, 86, 105, 106, 111], "q": [18, 20, 94], "q_i": 20, "qa": 27, "qualiti": [68, 81, 82, 109], "qualnam": [26, 42, 63, 66], "quantit": 81, "queri": [1, 3, 16, 20, 22, 27, 42, 44, 45, 46, 47, 48, 71, 74, 79, 81, 87, 88, 92, 94, 95, 96, 98, 106, 109], "query_1": 95, "query_1_short": 95, "query_1_token": 95, "query_1_word": 95, "query_2": 95, "query_2_short": 95, "query_or_queri": [22, 96], "query_str": [42, 78], "question": [4, 16, 18, 26, 33, 45, 48, 72, 74, 81, 87, 94, 97, 100, 103, 109, 111], "quick": [41, 94, 96], "quickli": [78, 95, 103], "quit": [82, 90, 92, 95], "quot": [90, 98], "r": [27, 37, 68, 74, 82, 88, 92, 95, 98, 106, 109, 111], "rag": [43, 71, 81, 94, 95, 96, 103, 105, 106], "rag_hotpotqa": 109, "raga": 81, "rais": [4, 26, 33, 39, 63, 72, 79, 82, 88, 90, 95], "random": [39, 50, 55], "random_replac": [50, 51, 55], "random_sampl": [50, 55], "randomli": [50, 55], "randomsampl": [50, 55], "rang": [42, 45, 50, 53, 55, 72, 81, 95, 96, 98, 109], "rank": [20, 24, 83, 96], "rank_bm25": [20, 95], "rare": 20, "rate": 98, "rather": [72, 79, 82], "ratio": [46, 47, 48, 96, 109], "raw": [4, 20, 42, 72, 82, 92, 98], "raw_respons": [22, 42, 79, 82, 86, 87, 88, 98], "rc": 105, "re": [94, 95, 105], "reach": [20, 83, 92, 94], "react": 71, "reactag": [1, 71, 83, 94], "read": [57, 85, 92, 94, 103, 111], "readabl": [68, 106], "readi": [86, 95, 96, 98], "readili": 81, "readm": [68, 103, 104], "readthedoc": 86, "real": [4, 78, 95, 97, 100], "realiti": 92, "realli": [78, 82, 88, 94], "realtion": 95, "reason": [16, 20, 71, 72, 81, 83, 94, 95, 96], "reattach": 4, "rebuilt": 61, "recal": [46, 48, 81, 95, 109], "recall_list": [46, 48, 81, 109], "receiv": [28, 80, 85, 96], "recogn": 103, "recognit": 84, "recommend": [81, 102], "recomnend": [50, 55], "recomput": 95, "reconstruct": [61, 72], "reconstructed_from_json": 72, "reconstructed_from_yaml": 72, "record": [42, 57, 58, 78, 82, 96], "recreat": 61, "recurs": [27, 33, 74], "red": 64, "reduc": [78, 95], "redund": 105, "refer": [1, 4, 10, 20, 26, 27, 34, 45, 68, 81, 94, 96, 97, 111], "reference_text": 81, "reflect": [4, 97], "regardless": 98, "regist": [29, 58, 65, 78, 86, 88], "register_compon": 27, "register_gener": 58, "register_module_forward_hook": 86, "register_paramet": [27, 74], "register_transform": [29, 78], "regress": [90, 92], "regular": 27, "reimplement": 95, "reiniti": [22, 95], "rel": 20, "relai": 82, "relat": [42, 95, 96, 105], "relationship": 96, "relax": 74, "relev": [22, 46, 47, 48, 78, 79, 81, 82, 83, 85, 95, 96, 98, 109], "relevance_list": [47, 48, 81, 109], "reli": [26, 84, 96, 98, 106], "relianc": [78, 95, 106], "reliev": 74, "reload": 78, "reloaded_dialog_turn_db": 78, "relu": 74, "remain": [68, 80, 95], "remov": [29, 68, 78], "remove_dupl": 27, "remove_stop_word": 40, "remove_transform": [29, 78], "render": [37, 92], "renered_prompt": 98, "renew": [78, 95], "renewab": 78, "repeat": 97, "replac": [1, 50, 55], "repo": 103, "reponse_embedder_output": 88, "report": 81, "repositori": [68, 103, 105, 108], "repr": 53, "repr_str": 79, "repres": [26, 27, 33, 36, 72, 78, 92, 95, 96, 98, 106, 109], "represent": [26, 37, 42, 66, 80, 81, 96], "represent_ordereddict": 33, "request": 94, "requir": [16, 22, 26, 29, 33, 34, 36, 42, 44, 48, 68, 72, 78, 85, 86, 88, 90, 92, 94, 95, 96, 98, 109, 111], "required_field": [26, 33, 72], "requires_opt": 36, "requr": 98, "rerank": [24, 42, 103], "reranker_retriev": 95, "rerankerretriev": [24, 95], "research": [78, 79, 81, 84, 92, 94, 95, 96, 103], "resembl": 106, "reserv": 82, "reset": [1, 20, 22, 24, 29, 38, 50, 51, 53, 78], "reset_index": [20, 22, 24, 38, 96], "reset_paramet": [50, 51, 53], "resolv": [33, 111], "resort": 90, "resourc": [68, 94, 95], "respect": [33, 80, 83], "respond": [82, 92, 98], "respons": [1, 14, 16, 22, 34, 35, 42, 53, 74, 78, 79, 82, 85, 86, 88, 94, 95, 96, 98, 109], "response_str": [42, 78], "response_text": 88, "rest": [28, 35, 74, 85, 92, 96], "restor": [20, 26, 29, 38, 95], "restored_data": 26, "restored_dialog_turn_db": 78, "restructuredtext": 68, "result": [4, 20, 27, 28, 32, 33, 34, 42, 45, 48, 73, 80, 81, 82, 83, 84, 87, 95, 96, 97, 98, 106], "result1": 98, "result1someth": 98, "result2": 98, "result2someth": 98, "retri": [35, 88], "retriev": [3, 4, 6, 20, 22, 24, 27, 33, 42, 46, 47, 48, 49, 74, 78, 80, 81, 82, 83, 84, 88, 92, 97, 98, 103, 105, 106, 109], "retrieved_context": [46, 47, 48, 81], "retriever2": 20, "retriever_1": 95, "retriever_evalu": 109, "retriever_output": 3, "retriever_output_to_context_str": 3, "retriever_recal": [48, 81], "retriever_relev": [48, 81], "retrieverdocumentstyp": [24, 95], "retrieverdocumenttyp": [20, 22, 24, 38, 42, 95], "retrieverevalu": 109, "retrieveroutput": [3, 20, 22, 24, 38, 42, 78, 95, 96], "retrieveroutputtocontextstr": 3, "retrieveroutputtyp": [22, 95], "retrieverqueriestyp": 95, "retrieverquerytyp": [38, 42, 95], "retrieverrecal": [46, 48, 81], "retrieverrelev": [47, 48, 81], "retrieverstrqueriestyp": [22, 95], "retrieverstrquerytyp": 95, "return": [4, 16, 20, 22, 26, 27, 28, 29, 31, 32, 33, 39, 40, 42, 44, 45, 46, 47, 48, 61, 62, 64, 66, 72, 74, 78, 79, 82, 83, 88, 90, 92, 94, 95, 96, 97, 98, 106], "return_data_class": 16, "return_tensor": 88, "reus": 105, "review": [68, 80, 81, 96, 105], "right": [20, 33, 39, 82, 84, 87, 90, 95], "rigid": 103, "robust": [81, 90], "roger": 18, "role": [26, 78, 85, 88, 92, 94, 95, 103, 111], "rom": 90, "root": [64, 86, 102], "root_logg": [64, 86], "roug": 81, "row": 42, "rst": 68, "rule": [4, 84, 97, 105], "run": [1, 32, 68, 74, 78, 79, 80, 86, 87, 94, 98, 102, 103, 105, 111], "run_async_function_cal": 98, "run_sync_and_async_mix": 32, "run_sync_and_async_mix_without_wait": 32, "runtim": [37, 102], "safe": [33, 63], "safe_import": 63, "safe_load": [90, 109], "sai": [72, 87, 95], "same": [22, 27, 28, 29, 40, 42, 44, 48, 50, 55, 72, 78, 79, 82, 88, 90, 92, 94, 95, 96, 103, 106], "sampl": [50, 51, 55, 105, 109], "sampler": [50, 51], "san": 98, "sandbox": [32, 33, 41, 98], "sandbox_exec": [32, 33], "sandbox_execut": 98, "sat": 81, "satur": [20, 96], "save": [20, 26, 29, 38, 42, 57, 58, 59, 62, 64, 74, 78, 79, 82, 86, 87, 95], "save_dir": [57, 58, 59, 64, 86], "save_index": 96, "save_json": [62, 74], "save_meta_data": 58, "save_pickl": 62, "save_st": [29, 78], "save_to_fil": [20, 38, 95], "scale": [95, 96], "scarecrow": 111, "scene": 85, "schema": [16, 26, 33, 42, 72, 90, 98, 111], "schmea": 72, "scope": 4, "score": [4, 20, 22, 33, 42, 45, 48, 50, 53, 78, 80, 81, 96, 97], "script": [64, 109], "script_nam": 64, "sdk": [42, 95, 102, 106], "seamless": 94, "seamlessli": 95, "search": [33, 80, 81, 94, 95, 96, 98], "search_reranking_with_cross": 95, "second": [32, 33, 46, 47, 48, 81, 87, 88, 95, 96, 97, 98], "secret": 85, "section": [68, 78, 83, 85, 92, 94, 98, 110], "sector": [78, 95], "see": [4, 18, 35, 57, 69, 72, 73, 74, 78, 80, 85, 86, 92, 94, 95, 96, 97, 98, 103, 105, 106], "seek": [92, 103], "seen": 78, "segment": [4, 97], "select": [50, 55, 81, 90, 109, 111], "self": [16, 27, 28, 33, 57, 72, 74, 79, 86, 87, 88, 95, 98, 106], "semant": [78, 80, 95, 105], "semver": 105, "send": [92, 95], "sens": [71, 81, 87], "sensit": [26, 72, 84, 95, 106], "sensor": 95, "sent": 92, "sentenc": [4, 82, 94, 96, 97, 109], "sentiment": [4, 80, 81, 96, 97], "separ": [4, 35, 64, 68, 92, 97, 103], "seq": [28, 74], "seq1": 28, "seq2": 28, "seq3": 28, "sequenc": [3, 20, 22, 24, 31, 38, 50, 55, 74, 78, 83, 88, 94, 95], "sequenti": [1, 28, 34, 40, 71, 78, 79, 82, 83, 94, 109], "seral": [72, 84], "sercur": 98, "seri": [4, 85, 96, 97], "serial": [26, 27, 28, 37, 62, 72, 74, 83, 92, 95, 111], "serializ": 29, "serv": 74, "server": 68, "servic": 96, "session": 42, "session_id": [42, 78], "set": [1, 4, 20, 22, 27, 33, 34, 37, 45, 64, 68, 78, 79, 80, 83, 88, 94, 95, 96, 97, 101, 104, 109, 111], "set_assistant_respons": 42, "set_user_queri": 42, "setup": [29, 78, 79, 80, 82, 86, 87, 95, 102, 103, 111], "setup_env": [79, 88, 102], "seven": 92, "sever": [74, 81], "shallow": 27, "shape": 84, "share": [4, 100, 103], "shell": 103, "shift": [4, 96, 97], "shorten": 68, "shorter": [95, 96, 97], "shorthair": 96, "shot": [18, 26, 50, 51, 55, 92, 94, 95, 104, 111], "should": [4, 16, 22, 26, 27, 28, 29, 31, 35, 42, 50, 53, 59, 74, 79, 82, 87, 90, 92, 95, 96, 97, 98, 103, 111], "show": [16, 42, 68, 74, 80, 82, 90, 94, 95, 96, 98, 103, 109, 111], "showcas": 95, "shown": 98, "signal": 96, "signatur": [26, 72, 98, 111], "signature_json": [16, 26, 72], "signature_yaml": [16, 26, 72], "signific": [78, 95, 96], "significantli": [20, 78, 95], "signitur": 111, "similar": [33, 42, 79, 80, 81, 86, 92, 94, 95, 96, 106], "similaritypostprocessor": 103, "similarli": [72, 82, 87, 103], "simpl": [16, 34, 39, 50, 55, 78, 79, 80, 82, 86, 90, 92, 95], "simple_prompt": 92, "simpleqa": [87, 106], "simpler": 111, "simplest": [86, 98], "simpli": [33, 50, 51, 71, 72, 79, 82, 86, 95], "simplic": 106, "simplifi": [78, 79, 82, 84, 87, 94, 95, 98], "simplili": 98, "simul": [32, 94, 95, 96], "sinc": 105, "singl": [28, 29, 31, 34, 42, 45, 61, 78, 79, 81, 82, 85, 86, 87, 92, 94, 95, 98, 111], "site": [68, 86], "situat": [71, 79], "size": [4, 31, 79, 95, 96, 97], "skim": 95, "skip": [50, 55], "sleep": [32, 96, 98], "slide": [4, 96, 97], "slightli": 98, "small": [31, 61, 78, 79, 80, 88, 95, 96], "small_tool_manag": 98, "smaller": [4, 79, 83, 95, 96, 97], "smallest": [4, 97], "smell": 96, "snippet": [42, 68, 81, 98, 109], "so": [33, 40, 42, 71, 72, 78, 84, 85, 86, 88, 94, 95, 97], "softwar": 84, "solar": [78, 95], "solut": [84, 96, 103], "solv": [94, 103, 111], "some": [22, 39, 50, 55, 72, 78, 81, 82, 86, 87, 92, 95, 103], "someth": 98, "sometim": [45, 72, 103], "soon": [77, 82, 83, 89, 91, 99, 110], "sort": 37, "sort_kei": [26, 33], "sourc": [1, 3, 4, 6, 10, 14, 16, 20, 22, 24, 26, 27, 28, 29, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 50, 51, 52, 53, 54, 55, 57, 58, 59, 61, 62, 63, 64, 65, 66, 67, 68, 78, 86, 94, 95, 96, 103, 106], "space": [4, 16, 80, 90, 94, 96, 97], "span": 81, "speak": [98, 103], "spec": 42, "speciaf": 109, "special": [85, 92], "specif": [10, 24, 32, 34, 35, 36, 38, 41, 42, 45, 72, 81, 86, 88, 92, 94, 95, 109], "specifc": 42, "specifi": [4, 10, 26, 36, 42, 64, 72, 92, 95, 96, 97, 98], "spectrum": 81, "speed": [95, 96], "spend": 84, "sphinx": 68, "split": [3, 4, 20, 68, 78, 80, 83, 95, 97, 104], "split_and_emb": 78, "split_bi": [4, 61, 78, 80, 96, 97], "split_funct": 96, "split_length": [61, 78, 80, 96], "split_overlap": [61, 78, 80, 96], "split_text": 4, "split_text_by_token_fn": 96, "split_text_by_word_fn": [20, 95], "split_text_by_word_fn_then_lower_token": [20, 95], "split_text_token": 20, "splitted_doc": [4, 80, 96, 97], "splitter": [4, 78, 80, 83, 95], "splitter_config": 78, "splitter_set": 96, "sql": [78, 90, 95], "sqlalchemi": [63, 78, 95, 102], "src": 86, "stabl": [86, 105], "staff": 96, "stage": [79, 94, 95, 103], "stai": [74, 103], "stand": 82, "standar": [10, 74, 84], "standard": [10, 16, 26, 32, 35, 42, 79, 82, 83, 88, 90, 95, 98, 103, 111], "star": 81, "start": [1, 16, 18, 26, 33, 42, 63, 66, 79, 96, 98, 109], "start_header_id": [85, 92], "start_tim": [32, 98], "starter": [50, 53], "state": [20, 22, 24, 26, 27, 29, 38, 57, 59, 61, 74, 78, 82, 83, 84, 87, 95, 96, 98], "state_dict": [27, 50, 54, 74], "static": [26, 72], "statu": 72, "step": [1, 4, 18, 30, 42, 50, 53, 54, 71, 79, 82, 87, 90, 92, 94, 95, 96, 97, 109], "stepoutput": [42, 94], "steps_str": [30, 82, 87, 92], "stick": 82, "still": [68, 78, 82, 84, 86, 95, 96, 97, 98], "stop": [82, 92], "storag": [4, 6, 29, 61, 78, 95], "store": [4, 27, 29, 34, 58, 59, 72, 78, 80, 82, 87, 95, 96], "str": [1, 3, 4, 10, 16, 20, 22, 24, 26, 27, 28, 29, 31, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 50, 52, 53, 57, 58, 59, 61, 62, 63, 64, 65, 66, 67, 72, 74, 78, 79, 82, 88, 90, 95, 96, 97, 98, 111], "str_param": 36, "straightforward": [82, 90, 94], "strateg": 94, "streamlin": [26, 83, 98, 111], "stress": 74, "strict": 27, "string": [1, 16, 22, 26, 33, 34, 36, 37, 39, 40, 42, 44, 45, 46, 47, 48, 66, 68, 82, 83, 85, 90, 92, 94, 95, 96, 98, 103, 109], "string_pars": [16, 82, 90, 96, 109], "structu": 72, "structur": [4, 10, 26, 27, 33, 35, 42, 55, 72, 78, 79, 82, 83, 87, 88, 90, 95, 97, 98, 106, 111], "stuck": 97, "style": 68, "subclass": [16, 20, 26, 27, 35, 38, 42, 63, 72, 74, 79, 82, 83, 88, 92, 95, 98], "subcompon": [27, 34, 74, 82], "subcomponn": 74, "subdirectori": 49, "subject": 81, "submiss": 105, "submit": 96, "subqueri": 94, "subsequ": 94, "subset": 109, "substanti": [78, 95], "substitut": 92, "subtract": 94, "success": [82, 98], "successfulli": [98, 105], "sudden": [4, 96, 97], "suggest": [20, 94, 96], "suitabl": 4, "sum": 98, "sum_": 20, "summar": [81, 84, 103], "summari": [82, 111], "sunlight": [78, 95], "super": [27, 72, 74, 79, 87, 88, 106], "support": [4, 18, 26, 32, 33, 34, 41, 42, 64, 66, 72, 79, 82, 85, 88, 90, 95, 96, 97, 98, 102, 106, 109, 111], "support_model_list": 88, "supporting_fact": 109, "suppos": 95, "sure": [16, 72, 90, 95, 98, 102, 105, 111], "survei": [71, 81], "sustain": [78, 95], "switch": [22, 79, 88, 95, 103, 106], "sy": [27, 30, 74, 78, 82, 92, 95, 98, 106], "sylphai": 68, "sync": [27, 32, 35, 41, 42, 88, 98], "sync_client": 88, "sync_function_1": 32, "sync_function_2": 32, "sync_tool_1": 32, "sync_tool_2": 32, "synchron": [32, 74], "syntax": [82, 92], "system": [30, 35, 37, 42, 71, 78, 81, 85, 88, 92, 94, 96, 103], "system_input": 10, "system_prompt": 27, "system_tim": 78, "sytem": 10, "t": [4, 16, 20, 27, 29, 33, 36, 37, 42, 85, 86, 92, 94, 96, 97, 103], "t0": 94, "t2d": [95, 96], "t_co": [42, 50, 55], "tab": 105, "tabl": [78, 95, 96], "tag": 105, "take": [1, 4, 32, 71, 80, 82, 85, 90, 92, 94, 95, 97, 98, 103], "taken": 98, "target": [57, 90], "task": [1, 4, 18, 27, 30, 32, 34, 45, 50, 53, 57, 61, 62, 74, 78, 79, 81, 82, 83, 84, 86, 87, 92, 94, 95, 96, 98, 104, 109, 111], "task_context_str": 52, "task_desc_str": [16, 30, 37, 82, 87, 92, 96, 109], "task_input_dataclass": [50, 51], "task_output_dataclass": [50, 51], "team": 106, "technic": [68, 81, 98], "techniqu": [74, 95], "technologi": [78, 81, 95], "temperatur": [33, 34, 88, 94, 96, 98], "templat": [16, 27, 30, 34, 37, 45, 57, 68, 74, 90, 94, 95, 96, 98, 106, 111], "template_doc": [27, 74], "tenni": 18, "tensor": [26, 27, 72, 74, 86, 106, 111], "tensorboard": 86, "tensorflow": 86, "term": [20, 96], "termin": [82, 94], "terribl": 96, "test": [27, 29, 81, 82, 95, 102, 103, 104, 105, 106], "test_input_1": 39, "test_input_2": 39, "test_input_3": 39, "test_input_4": 39, "testcod": 68, "testgener": 57, "testgenerator_generator_trac": 57, "text": [4, 20, 29, 31, 33, 37, 39, 40, 42, 53, 61, 64, 72, 78, 79, 80, 81, 82, 83, 84, 86, 88, 90, 92, 94, 95, 103, 109], "text_splitt": [80, 96, 97], "text_splitter_set": [80, 96], "textsearch": 95, "textsplitt": [4, 78, 95], "than": [16, 26, 27, 31, 50, 53, 72, 73, 74, 79, 84, 90, 94, 95, 97, 98, 106, 111], "thank": 42, "theater": 96, "thei": [28, 29, 36, 39, 78, 82, 84, 85, 86, 90, 94, 95, 96, 111], "them": [20, 26, 27, 38, 39, 42, 46, 47, 48, 68, 74, 78, 80, 81, 84, 85, 86, 90, 92, 95, 98, 103, 109, 111], "theme": 68, "themselv": 71, "thenlper": [79, 88], "therefor": 94, "thi": [4, 6, 16, 18, 22, 26, 27, 28, 29, 30, 31, 32, 33, 35, 37, 42, 44, 45, 46, 47, 48, 57, 61, 64, 65, 68, 72, 73, 74, 78, 79, 80, 81, 82, 83, 84, 86, 87, 88, 90, 92, 94, 95, 96, 97, 98, 102, 103, 105, 106, 109, 110, 111], "thing": [35, 84, 88], "think": [18, 103], "third": [64, 95], "those": 85, "though": [16, 88, 90, 92, 95], "thought": [16, 18, 42, 72, 94, 98], "thoughtact": 16, "three": [34, 79, 80, 82, 83, 84, 85, 87, 98, 103], "through": [42, 68, 78, 80, 81, 82, 87, 94, 95, 96, 103, 105, 109], "thu": [42, 79, 90, 92, 109], "tiktoken": [4, 40], "time": [32, 50, 55, 71, 80, 84, 92, 94, 95, 96, 98, 100], "time_stamp": [58, 59, 87], "timeout": 33, "timestamp": [42, 64], "tini": 86, "titl": [42, 78, 95, 96, 109], "to_dict": [20, 26, 27, 36, 37, 38, 55, 66, 72, 74, 92, 95, 98], "to_dict_class": [26, 66], "to_embed": [61, 80], "to_json": [26, 42, 72, 98, 111], "to_json_exampl": 26, "to_json_obj": [26, 72], "to_json_signatur": [26, 72, 98, 111], "to_schema": [26, 72], "to_schema_str": [26, 72], "to_thread": 32, "to_yaml": [26, 42, 72, 78, 98, 111], "to_yaml_exampl": 26, "to_yaml_obj": [26, 72], "to_yaml_signatur": [26, 72, 111], "toctre": 68, "todai": [20, 86], "todo": 85, "toembed": [3, 61, 78, 80, 96], "toembedderrespons": [80, 96], "togeth": [74, 78, 79, 80, 83, 92, 103], "token": [4, 16, 20, 26, 42, 47, 48, 78, 83, 85, 88, 92, 95, 96, 97, 98, 109, 111], "tokenlogprob": 42, "tokyo": 98, "tol": 33, "tolist": 88, "toml": 105, "too": [74, 78, 95, 96], "tool": [1, 30, 32, 41, 42, 71, 81, 82, 83, 84, 85, 86, 87, 92, 94, 98, 103, 105, 106], "tool_1": 32, "tool_cal": 98, "tool_help": 94, "tool_manag": 98, "toolmanag": [41, 106], "toolnam": 94, "tools_str": [30, 82, 87, 92], "top": [20, 22, 24, 27, 72, 74, 84, 94, 95, 96], "top_k": [20, 22, 24, 33, 38, 61, 78, 96], "top_k_docu": 78, "topic": 106, "torch": [55, 63, 74, 86, 106], "torchmetr": 81, "total": [20, 46, 47, 48, 81, 90, 95, 98, 109], "total_docu": 95, "total_token": [42, 88], "tower": 87, "trace": [57, 58, 59, 86, 94, 104], "trace_gener": 57, "trace_generator_cal": [57, 62, 82, 87], "trace_generator_error": 87, "trace_generator_st": [57, 82, 87], "tracer": 86, "track": [42, 59, 74, 78, 82, 87, 95, 103], "tradit": 96, "trag": 97, "train": [27, 28, 34, 55, 74, 81, 85, 87, 92, 104, 109], "trainabl": 34, "trainable_param": 34, "trainer": [83, 84], "transact": 81, "transfom": 78, "transform": [3, 20, 28, 29, 63, 78, 79, 80, 83, 86, 88, 95, 96, 97, 102, 103], "transformed_item": [29, 78], "transformer_setup": [29, 78], "transformercli": 88, "transformerembedd": 88, "transformers_cli": [79, 88, 95], "transformerscli": [24, 79, 88, 95], "translat": [81, 84], "transpar": [26, 72, 74, 84, 103], "treat": [96, 98], "treatment": 74, "trec": 104, "trec_data": 26, "trec_data_dict": 33, "trec_data_list": [26, 33], "trecdata": [26, 33, 72], "trecdata2": 72, "trecdatalist": [26, 33], "tredatalist": 26, "tree": 27, "trend": 96, "trigger": 105, "trim_block": 92, "tripl": [16, 90, 98], "true": [1, 16, 20, 27, 29, 33, 36, 39, 42, 45, 48, 50, 53, 55, 57, 64, 72, 78, 79, 80, 81, 88, 90, 92, 94, 95, 96, 98, 109, 111], "truli": 82, "truncat": 88, "truth": [44, 45, 46, 47, 48, 50, 53, 78, 81, 95, 109], "try": [84, 88, 98], "tuna": 96, "tune": 96, "tupl": [27, 33, 44, 45, 46, 47, 48, 50, 55, 63, 64], "turbo": [27, 33, 34, 74, 78, 82, 85, 88, 95, 96, 98], "turn": [42, 78, 80, 82, 94], "turn_db": 6, "tutori": [68, 74, 94, 96, 97, 109, 111], "two": [16, 18, 28, 29, 50, 55, 62, 64, 73, 78, 79, 82, 83, 86, 87, 88, 90, 94, 95, 98, 106], "txt": 68, "type": [4, 10, 16, 20, 22, 24, 26, 27, 28, 29, 31, 32, 33, 35, 36, 38, 39, 44, 45, 46, 47, 48, 50, 53, 55, 58, 61, 63, 64, 65, 66, 68, 72, 74, 78, 79, 80, 82, 87, 88, 90, 94, 96, 98, 109, 111], "type_hint": 33, "type_obj": 33, "typeerror": [4, 26, 36], "typevar": 95, "typic": [72, 74, 81, 82, 87, 88, 103], "u": [29, 72, 78, 80, 90, 92, 95, 98], "ultim": 84, "unabl": 94, "unbias": 81, "uncas": 81, "uncased_l5_no": 81, "uncontrol": 103, "undefin": [10, 35, 42, 88], "underli": 74, "understand": [35, 78, 81, 83, 88, 94, 95, 96, 98, 103], "unexpect": 81, "unifi": [26, 34, 74, 78, 82, 83], "union": [20, 33, 39, 42, 46, 47, 48, 88, 95], "uniqu": [27, 42, 59, 74, 84, 94, 103], "unit": [4, 42, 79, 96, 97, 98], "unknown": 98, "unless": 29, "unlik": [94, 96], "unmodifi": 80, "unsupport": [33, 98], "until": 92, "up": [1, 22, 33, 42, 68, 72, 79, 80, 82, 83, 84, 94, 95, 96, 101, 103, 104, 111], "upcom": 74, "updat": [36, 37, 50, 51, 57, 59, 68, 94, 98, 105], "update_default_model_kwarg": 31, "update_dialog_turn": 42, "update_paramet": [50, 51, 53], "update_prompt_kwarg": 37, "update_valu": 36, "us": [1, 3, 4, 6, 10, 16, 20, 22, 24, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 40, 41, 42, 45, 48, 50, 51, 52, 53, 55, 57, 59, 61, 62, 63, 64, 65, 68, 71, 72, 74, 78, 80, 81, 83, 84, 85, 90, 92, 94, 96, 98, 102, 103, 104, 106, 109, 111], "usag": [4, 16, 42, 68, 78, 80, 82, 86, 88, 94, 95], "use_cas": [103, 104, 109], "use_llm_as_fallback": 1, "use_token": [20, 95], "user": [1, 6, 16, 20, 22, 27, 28, 30, 31, 33, 34, 42, 50, 53, 68, 71, 72, 74, 78, 79, 82, 84, 85, 87, 88, 90, 92, 94, 95, 96, 98, 106], "user_exampl": 90, "user_id": [42, 78], "user_queri": [42, 78], "user_query_timestamp": [42, 78], "user_tim": 78, "user_to_pars": 90, "userqueri": [42, 78], "usual": 87, "util": [4, 55, 64, 74, 79, 81, 82, 83, 86, 88, 94, 96, 97, 102], "uuid": 42, "uuid4": 42, "v": [33, 84], "v1": 105, "v2": 105, "v3": 95, "valid": [16, 33, 39, 90, 98, 105], "validate_data": 33, "valu": [16, 20, 26, 33, 36, 39, 42, 44, 46, 47, 48, 52, 63, 66, 72, 90, 98], "valueerror": [4, 33, 39, 88, 90], "varaibl": 92, "vari": [18, 85], "variabl": [33, 34, 37, 42, 67, 79, 82, 88, 92, 98, 101, 103], "varieti": 81, "varietri": 33, "variou": [33, 68, 74, 82, 90, 94, 95, 100, 109, 110], "vast": 82, "ve": 111, "vector": [4, 42, 61, 78, 79, 80, 95, 96, 97], "vectorizer_set": [80, 96], "vectorstor": 96, "vendor": 103, "verbos": 72, "veri": [20, 97, 103], "verif": 94, "version": [29, 62, 64, 68, 94, 95, 102], "vertex": 10, "via": [31, 32, 34, 35, 36, 41, 57, 71, 72, 74, 79, 80, 81, 82, 83, 84, 86, 88, 96, 98], "video": 95, "view": [68, 98], "visit": [10, 87, 94], "visual": [74, 79, 92, 106], "vote": 81, "vouch": 103, "vx": 105, "wa": [26, 85, 96, 111], "wai": [18, 26, 29, 41, 72, 74, 78, 79, 86, 88, 90, 95, 96, 97, 98, 103, 106], "walk": 109, "wand": 96, "wandb": 86, "want": [16, 26, 31, 42, 57, 72, 79, 82, 84, 86, 90, 92, 95, 98, 103, 111], "warn": [34, 64, 68], "wast": [78, 95], "watch": [80, 96], "water": [74, 82, 84], "we": [4, 26, 27, 29, 33, 34, 35, 37, 40, 42, 59, 62, 68, 72, 73, 74, 78, 79, 80, 81, 82, 83, 84, 86, 87, 88, 90, 92, 94, 95, 96, 97, 98, 103, 106, 109, 111], "weather": 98, "web": [68, 81, 86], "weight": [20, 27, 50, 51, 74, 86, 90], "weights_per_class": [50, 51, 55], "welcom": [49, 96], "well": [27, 29, 71, 73, 78, 84, 92, 94, 95, 111], "what": [22, 26, 27, 33, 71, 72, 74, 78, 79, 80, 82, 86, 87, 88, 92, 95, 96, 97, 98, 106, 111], "when": [3, 20, 26, 29, 31, 36, 37, 42, 50, 51, 63, 78, 79, 80, 81, 82, 85, 86, 87, 92, 94, 95, 96, 97, 98, 103, 105, 111], "whenev": [82, 88], "where": [4, 42, 57, 64, 78, 82, 84, 85, 87, 92, 95, 96, 98, 103], "whether": [1, 20, 29, 33, 38, 79, 82], "which": [1, 4, 20, 22, 26, 29, 31, 32, 33, 35, 42, 50, 53, 55, 64, 71, 72, 74, 78, 79, 81, 82, 83, 85, 86, 87, 90, 92, 94, 95, 96, 97, 98, 103, 109], "while": [33, 72, 78, 83, 84, 95], "white": 64, "who": [16, 38, 82, 83, 85, 95], "whole": [27, 42, 83, 90, 95, 109], "why": [42, 74, 78, 79, 83, 88, 95, 103, 111], "wide": [72, 81, 84, 95, 96], "wider": 106, "wiki": [20, 94, 95], "wikidata": 92, "wikipedia": [20, 92, 94, 95], "win": 111, "wind": [78, 95], "window": [4, 64, 95, 96, 97], "wip": 36, "within": [26, 27, 68, 71, 83, 96, 106], "without": [18, 22, 26, 28, 32, 33, 42, 78, 82, 85, 86, 92, 95, 96, 98, 103, 106], "won": [42, 85, 97], "word": [4, 20, 40, 61, 78, 80, 81, 85, 95, 96, 97], "work": [4, 27, 29, 32, 33, 74, 78, 80, 82, 83, 87, 90, 92, 95, 96, 111], "workabl": 82, "workflow": [83, 94, 105], "world": [4, 20, 29, 42, 57, 78, 84, 85, 87, 90, 96, 97, 98, 103, 106], "world2": 29, "world3": 29, "world4": 29, "wors": [82, 87], "would": [64, 74, 80, 87, 92, 94, 95, 96], "wrap": [3, 27, 32, 33, 40, 72, 98], "wrapper": [10, 57, 98], "write": [33, 62, 69, 70, 74, 81, 88, 92, 98, 103], "write_list_to_jsonl": 62, "written": 62, "wrong": 82, "www": [20, 86, 95], "x": [20, 27, 33, 50, 55, 74, 92, 95, 96, 98, 105, 106], "x0c": 96, "xb": 96, "xq": 96, "xx": 98, "y": [33, 98, 105], "yaml": [16, 26, 33, 39, 41, 42, 72, 74, 90, 98, 109, 111], "yaml_definit": [41, 98], "yaml_dict_str": 90, "yaml_format_instruct": 16, "yaml_list_str": 90, "yaml_nested_dict_str": 90, "yaml_obj": 39, "yaml_output_format": 16, "yaml_output_format_prompt": 90, "yaml_output_format_templ": 16, "yaml_output_pars": 90, "yaml_pars": [16, 39], "yaml_signatur": 72, "yaml_str": [16, 26, 33, 39, 72], "yamloutputpars": [16, 90], "yamlpars": [16, 39, 90], "yang": 81, "ye": [45, 48, 90, 95, 103], "year": [46, 47, 48, 81], "yellow": 64, "yet": 34, "yield": [20, 27, 96], "yml": [33, 90], "you": [3, 4, 16, 18, 20, 22, 26, 27, 29, 31, 32, 33, 34, 35, 37, 38, 40, 41, 42, 45, 57, 61, 64, 68, 72, 74, 78, 79, 80, 81, 82, 83, 85, 86, 87, 88, 90, 92, 95, 96, 97, 98, 100, 102, 103, 105, 106, 109, 111], "your": [4, 10, 16, 20, 26, 27, 34, 42, 45, 61, 64, 68, 72, 74, 78, 79, 80, 81, 82, 83, 84, 86, 87, 88, 90, 95, 96, 97, 98, 102, 103, 105, 109, 111], "your_api_kei": 61, "your_api_key_if_you_use_anthrop": 102, "your_api_key_if_you_use_coher": 102, "your_api_key_if_you_use_googl": 102, "your_api_key_if_you_use_groq": 102, "your_api_key_if_you_use_hf": 102, "your_api_key_if_you_use_openai": 102, "yourself": [61, 88, 95, 102], "yupeng": 81, "z": 105, "zero": [20, 95, 104], "zip": 96, "zishan": 81}, "titles": ["agent", "react", "data_process", "data_components", "text_splitter", "memory", "memory", "model_client", "anthropic_client", "cohere_client", "google_client", "groq_client", "openai_client", "transformers_client", "utils", "output_parsers", "outputs", "reasoning", "chain_of_thought", "retriever", "bm25_retriever", "faiss_retriever", "llm_retriever", "postgres_retriever", "reranker_retriever", "Components", "base_data_class", "component", "container", "db", "default_prompt_template", "embedder", "func_tool", "functional", "generator", "model_client", "parameter", "prompt_builder", "retriever", "string_parser", "tokenizer", "tool_manager", "types", "Core", "answer_match_acc", "llm_as_judge", "retriever_recall", "retriever_relevance", "Evaluation", "API Reference", "Optimizer", "few_shot_optimizer", "llm_augment", "llm_optimizer", "optimizer", "sampler", "Tracing", "decorators", "generator_call_logger", "generator_state_logger", "Utils", "config", "file_io", "lazy_import", "logger", "registry", "serialization", "setup_env", "Contribute to Document", "LightRAG Contribution Guide", "For Contributors", "Agent", "DataClass", "Class Hierarchy", "Component", "Configurations", "Data Pipeline", "Datasets", "Data & RAG", "Embedder", "Embedder", "LLM Evaluation", "Generator", "Tutorials", "Design Philosophy", "Introduction", "Logging", "Tracing", "ModelClient", "Optimizer", "Parser", "Parameter", "Prompt", "RAG application", "ReAct Agent", "Retriever", "Retriever", "Text Splitter", "Function calls", "Trainer", "Community", "Get Started", "Installation", "Introduction", "LightRAG in 10 minutes", "Release Version Control Guide", "Light", "Resources", "Resources", "Evaluating a RAG Pipeline", "Use Cases", "Introduction to BaseDataClass", "<no title>"], "titleterms": {"": 94, "1": [84, 96, 98, 102], "10": 104, "2": [84, 96, 98, 102], "3": [84, 96, 98, 102], "For": 70, "In": [82, 95], "With": 95, "across": 82, "action": [72, 74, 79, 82, 90, 95, 98], "ad": 68, "agent": [0, 25, 71, 83, 94], "all": 86, "an": [82, 94], "answer_match_acc": 44, "anthropic_cli": 8, "api": [49, 71, 72, 74, 78, 79, 82, 86, 88, 90, 92, 95, 98, 102], "applat": 85, "applic": [86, 92, 93, 103], "base": [83, 95], "base_data_class": 26, "basedataclass": 111, "batchembedd": 79, "bm25_retriev": 20, "bm25retriev": 95, "build": [68, 83, 84], "call": 98, "case": 110, "chain_of_thought": 18, "chang": 68, "chat": 85, "chunk": 97, "class": [73, 83, 92, 95], "client": 82, "cloud": 78, "code": 68, "cohere_cli": 9, "commit": 68, "commun": 100, "complet": 85, "complex": 84, "compon": [25, 27, 49, 74, 83], "config": [61, 82], "configur": [74, 75, 83], "contain": 28, "context": [90, 92, 95], "contribut": [68, 69], "contributor": 70, "control": 105, "core": [43, 49], "creat": 82, "custom": 97, "data": [25, 72, 76, 78, 83, 85, 92, 95], "data_compon": 3, "data_process": 2, "databas": [78, 95], "dataclass": 72, "dataset": [72, 77], "db": 29, "decor": 57, "deep": 94, "default": 92, "default_prompt_templ": 30, "describ": 72, "deseri": 74, "design": [72, 74, 82, 84, 86, 90, 92, 95, 98], "detail": 97, "dialogturn": 78, "directli": 88, "dive": 94, "do": 85, "docstr": 68, "document": [68, 78, 96, 97], "doe": 97, "embedd": [31, 79, 80, 96], "embedderoutput": 79, "end": [98, 103], "environ": 102, "error": 82, "essenti": 83, "evalu": [48, 49, 81, 83, 109], "exampl": [72, 82, 97], "experiment": 82, "faiss_retriev": 21, "faissretriev": 95, "few_shot_optim": 51, "file": [74, 78, 86], "file_io": 62, "flow": [85, 92], "format": [72, 98], "foundat": 103, "from": [72, 74, 82], "func_tool": 32, "funcompon": 74, "function": [33, 86, 98], "functionexpress": 98, "functiontool": 98, "gener": [34, 82], "generator_call_logg": 58, "generator_state_logg": 59, "generatoroutput": 82, "get": [82, 101], "google_cli": 10, "graph": 78, "groq_client": 11, "guid": [69, 105], "hierarchi": 73, "how": [81, 86, 97, 103], "i": [94, 103], "implement": 94, "import": 105, "infer": 88, "instal": 102, "instanc": 72, "instead": [85, 95], "integr": 97, "introduct": [85, 94, 103, 111], "jinja2": 92, "kei": 102, "lazy_import": 63, "librari": [82, 86], "light": 106, "lightrag": [69, 85, 94, 96, 98, 102, 103, 104], "llm": [72, 81, 84, 85, 92, 95], "llm_as_judg": 45, "llm_augment": 52, "llm_optim": 53, "llm_retriev": 22, "load": [72, 102], "local": [78, 79], "localdb": 95, "log": [83, 86], "logger": [64, 86], "memori": [5, 6, 25, 95], "minimum": 82, "minut": 104, "model": [78, 79, 82, 88], "model_cli": [7, 35], "modelcli": [25, 88], "modular": 106, "need": [85, 94], "new": 105, "note": 105, "one": 86, "openai": 79, "openai_cli": 12, "optim": [49, 50, 54, 83, 84, 89], "option": [96, 102], "orchestr": 82, "other": 97, "our": 84, "output": [16, 25, 79, 82, 90, 98], "output_pars": 15, "output_processor": 82, "over": 84, "overview": [0, 2, 5, 7, 15, 17, 19, 43, 48, 50, 56, 60, 97, 105], "packag": 102, "parallel": 98, "paramet": [36, 91], "pars": 72, "parser": [25, 90], "part": 103, "pattern": 95, "philosophi": 84, "pipelin": [76, 78, 83, 109], "postgres_retriev": 23, "postgresretriev": 95, "previou": 85, "principl": 84, "print": 74, "printc": 86, "process": 25, "processor": 79, "product": 106, "project": 86, "prompt": 92, "prompt_build": 37, "protocol": 88, "qualiti": 84, "quantiti": 84, "quick": 98, "rag": [78, 83, 93, 109], "react": [1, 94], "read": 78, "reason": [17, 25], "refer": [49, 71, 72, 74, 78, 79, 82, 86, 88, 90, 92, 95, 98], "registri": 65, "releas": 105, "rerank": 95, "reranker_retriev": 24, "research": 106, "resourc": [85, 107, 108], "retriev": [19, 25, 38, 95, 96], "retriever_recal": 46, "retriever_relev": 47, "robust": 106, "sampler": 55, "scope": [90, 98], "score": 95, "sdk": 88, "searal": 74, "separ": 86, "sequenti": 74, "serial": 66, "set": [86, 102], "setup": 68, "setup_env": 67, "show": 72, "simplic": 84, "souc": 68, "split": 96, "splitter": [96, 97], "standard": 68, "start": [101, 103], "step": 105, "storag": 83, "string": 72, "string_pars": 39, "structur": [74, 85, 103], "suggest": 78, "switch": 82, "templat": [82, 92], "test": 68, "text": [85, 96, 97], "text_splitt": 4, "textsplitt": 97, "threshold": 95, "tip": 97, "togeth": 95, "token": 40, "tool_manag": 41, "toolmanag": 98, "top_k": 95, "trace": [49, 56, 82, 83, 87], "train": [82, 83], "trainer": 99, "transformers_cli": 13, "troubleshoot": 105, "tutori": 83, "type": [42, 95, 97], "understand": 84, "unit": 106, "up": [86, 102], "us": [79, 82, 86, 88, 95, 97, 110], "user": 86, "util": [14, 49, 60], "variabl": 102, "version": 105, "walkthrough": 98, "we": 85, "what": [81, 94, 103], "where": 81, "why": [85, 92, 94], "work": [72, 97], "workflow": 84, "write": [68, 78], "you": 94}})
\ No newline at end of file
+Search.setIndex({"alltitles": {"1. Document Splitter": [[96, "document-splitter"]], "1. FunctionTool": [[98, "functiontool"]], "1. Install LightRAG": [[102, "install-lightrag"]], "1. Install Optional Packages": [[102, "install-optional-packages"]], "2. Embedder": [[96, "embedder"]], "2. Set up API keys": [[102, "set-up-api-keys"]], "2. ToolManager": [[98, "toolmanager"]], "3. Function Call end-to-end": [[98, "function-call-end-to-end"]], "3. LightRAG Retrievers": [[96, "lightrag-retrievers"]], "3. Load environment variables": [[102, "load-environment-variables"]], "API Reference": [[49, "api-reference"]], "API References": [[71, null], [72, null], [78, null], [86, null], [90, null], [92, null], [95, null], [98, null]], "API reference": [[74, null], [79, null], [82, null], [88, null]], "Adding Documentation Tests": [[68, "adding-documentation-tests"]], "Agent": [[25, "agent"], [71, "agent"]], "Agent Essentials": [[83, "agent-essentials"]], "An orchestrator": [[82, "an-orchestrator"]], "BM25Retriever": [[95, "bm25retriever"]], "Base classes": [[83, "base-classes"]], "BatchEmbedder": [[79, "batchembedder"]], "Building": [[83, "building"]], "Chunking Example Detailed": [[97, "id2"]], "Chunking Strategies": [[97, "chunking-strategies"]], "Chunking Tips": [[97, "chunking-tips"]], "Class Hierarchy": [[73, "class-hierarchy"]], "Cloud database": [[78, "cloud-database"]], "Commit Changes": [[68, "commit-changes"]], "Community": [[100, "community"]], "Component": [[74, "component"]], "Component in Action": [[74, "component-in-action"]], "Components": [[25, "components"], [49, "components"]], "Configurations": [[75, "configurations"], [83, "configurations"]], "Configure from file": [[74, "configure-from-file"]], "Content-Aware Chunking": [[97, "content-aware-chunking"]], "Context": [[90, "context"], [92, "context"], [95, "context"]], "Contribute to Document": [[68, "contribute-to-document"]], "Core": [[43, "core"], [49, "core"]], "Create from configs": [[82, "create-from-configs"]], "Customization Tips": [[97, "customization-tips"]], "Data & RAG": [[78, "data-rag"]], "Data Flow & LightRAG structure": [[85, "data-flow-lightrag-structure"]], "Data Flow in LLM applications": [[92, "data-flow-in-llm-applications"]], "Data Models": [[78, "data-models"]], "Data Pipeline": [[76, "data-pipeline"], [78, "data-pipeline"]], "Data Pipeline and Storage": [[83, "data-pipeline-and-storage"]], "Data Process": [[25, "data-process"]], "DataClass": [[72, "dataclass"]], "DataClass in Action": [[72, "dataclass-in-action"]], "Datasets": [[77, "datasets"]], "Default Prompt Template": [[92, "default-prompt-template"]], "Definitions": [[97, "definitions"]], "Describe the data format to LLMs": [[72, "describe-the-data-format-to-llms"]], "Describing the Data Format": [[72, "describing-the-data-format"]], "Design": [[72, "design"], [74, "design"], [82, "design"], [86, "design"], [92, "design"]], "Design Philosophy": [[84, "design-philosophy"]], "Design pattern": [[95, "design-pattern"]], "DialogTurn": [[78, "dialogturn"]], "Document": [[78, "document"]], "Embedder": [[79, "embedder"], [80, "embedder"]], "Embedder in Action": [[79, "embedder-in-action"]], "EmbedderOutput": [[79, "embedderoutput"]], "End-to-end applications": [[103, "end-to-end-applications"]], "Evaluating": [[83, "evaluating"]], "Evaluating a RAG Pipeline": [[109, "evaluating-a-rag-pipeline"]], "Evaluation": [[48, "evaluation"], [49, "evaluation"]], "Examples across the library": [[82, "examples-across-the-library"]], "Fixed-Size Chunking": [[97, "fixed-size-chunking"]], "For Contributors": [[70, "for-contributors"]], "Foundation": [[103, "foundation"]], "FunComponent": [[74, "funcomponent"]], "Function Call in Action": [[98, "function-call-in-action"]], "Function Output Format": [[98, "function-output-format"]], "Function calls": [[98, "function-calls"]], "FunctionExpression Output Format": [[98, "functionexpression-output-format"]], "Generator": [[82, "generator"]], "Generator In Action": [[82, "generator-in-action"]], "GeneratorOutput": [[82, "generatoroutput"]], "Get Started": [[101, "get-started"]], "Get errors in the output": [[82, "get-errors-in-the-output"]], "Graph database": [[78, "graph-database"]], "How does it work": [[97, "how-does-it-work"]], "How the library logs": [[86, "how-the-library-logs"]], "How to evaluate?": [[81, "how-to-evaluate"]], "How to start?": [[103, "how-to-start"]], "How to use it": [[97, "how-to-use-it"]], "How users set up the logger": [[86, "how-users-set-up-the-logger"]], "Important Notes": [[105, "important-notes"]], "In-memory FAISSRetriever": [[95, "in-memory-faissretriever"]], "Installation": [[102, "installation"]], "Integration with Other Document Types": [[97, "integration-with-other-document-types"]], "Introduction": [[85, "introduction"], [94, "introduction"], [103, "introduction"]], "Introduction to BaseDataClass": [[111, "introduction-to-basedataclass"]], "Introduction to LLM applations": [[85, "introduction-to-llm-applations"]], "LLM Evaluation": [[81, "llm-evaluation"]], "LLM as Retriever": [[95, "llm-as-retriever"]], "Light": [[106, "light"]], "LightRAG": [[103, "lightrag"]], "LightRAG Contribution Guide": [[69, "lightrag-contribution-guide"]], "LightRAG Scope and Design": [[98, "lightrag-scope-and-design"]], "LightRAG in 10 minutes": [[104, "lightrag-in-10-minutes"]], "LightRAG\u2019s Implementation": [[94, "lightrag-s-implementation"]], "Load data from dataset as example": [[72, "load-data-from-dataset-as-example"]], "Local database": [[78, "local-database"]], "Logging": [[86, "logging"]], "Logging & Tracing": [[83, "logging-tracing"]], "Memory": [[25, "memory"]], "Minimum Example": [[82, "minimum-example"]], "Model Inference SDKs": [[88, "model-inference-sdks"]], "ModelClient": [[25, "modelclient"], [88, "modelclient"]], "ModelClient Protocol": [[88, "modelclient-protocol"]], "Modular": [[106, "modular"]], "Optimizer": [[49, "optimizer"], [50, "optimizer"], [89, "optimizer"]], "Optimizing": [[83, "optimizing"]], "Our understanding of LLM workflow": [[84, "our-understanding-of-llm-workflow"]], "Output Parsers": [[25, "output-parsers"], [90, "output-parsers"]], "Output Parsers in Action": [[90, "output-parsers-in-action"]], "Overview": [[0, "overview"], [2, "overview"], [5, "overview"], [7, "overview"], [15, "overview"], [17, "overview"], [19, "overview"], [43, "overview"], [48, "overview"], [50, "overview"], [56, "overview"], [60, "overview"], [105, "overview"]], "Parallel Function Calls": [[98, "parallel-function-calls"]], "Parameter": [[91, "parameter"]], "Parser": [[90, "parser"], [90, "id1"]], "Parser in Action": [[90, "parser-in-action"]], "PostgresRetriever": [[95, "postgresretriever"]], "Principle 1: Simplicity over Complexity": [[84, "principle-1-simplicity-over-complexity"]], "Principle 2: Quality over Quantity": [[84, "principle-2-quality-over-quantity"]], "Principle 3: Optimizing over Building": [[84, "principle-3-optimizing-over-building"]], "Print the structure": [[74, "print-the-structure"]], "Prompt": [[92, "prompt"]], "Prompt class": [[92, "prompt-class"]], "Quick Walkthrough": [[98, "quick-walkthrough"]], "RAG Essentials": [[83, "rag-essentials"]], "RAG application": [[93, "rag-application"]], "RAG components": [[83, "rag-components"]], "ReAct Agent": [[94, "react-agent"]], "ReAct Agent Deep Dive": [[94, "react-agent-deep-dive"]], "Reasoning": [[25, "reasoning"]], "References": [[71, null], [72, null], [79, null], [86, null], [92, null], [95, null], [98, null]], "Release Version Control Guide": [[105, "release-version-control-guide"]], "Reranker as Retriever": [[95, "reranker-as-retriever"]], "Resources": [[85, "resources"], [107, "resources"], [108, "resources"]], "Retriever": [[25, "retriever"], [95, "retriever"], [96, "retriever"]], "Retriever Base Class": [[95, "retriever-base-class"]], "Retriever Data Types": [[95, "retriever-data-types"]], "Retriever in Action": [[95, "retriever-in-action"]], "Robust": [[106, "robust"]], "Scope and Design": [[90, "scope-and-design"]], "Searalization and deserialization": [[74, "searalization-and-deserialization"]], "Separate library and application logs": [[86, "separate-library-and-application-logs"]], "Sequential": [[74, "sequential"]], "Set up all logs in one file": [[86, "set-up-all-logs-in-one-file"]], "Setup & Build Documentation": [[68, "setup-build-documentation"]], "Show data examples & parse string to data instance": [[72, "show-data-examples-parse-string-to-data-instance"]], "Souce Code Docstring Standard": [[68, "souce-code-docstring-standard"]], "Split by token": [[97, "split-by-token"]], "Split by word": [[97, "split-by-word"]], "Splitting Types": [[97, "splitting-types"]], "Steps to Release a New Version": [[105, "steps-to-release-a-new-version"]], "Structure": [[103, "structure"]], "Suggestion on File reading and writing": [[78, "suggestion-on-file-reading-and-writing"]], "Switch model client": [[82, "switch-model-client"]], "Text Splitter": [[97, "text-splitter"]], "Text Splitting Options": [[96, "id4"]], "TextSplitter Overview": [[97, "textsplitter-overview"]], "Token-Based Splitting": [[97, "token-based-splitting"]], "Tracing": [[49, "tracing"], [56, "tracing"], [82, "tracing"], [87, "tracing"], [87, "id1"]], "Trainer": [[99, "trainer"]], "Training": [[83, "training"]], "Training [Experimental]": [[82, "training-experimental"]], "Troubleshooting": [[105, "troubleshooting"]], "Tutorials": [[83, "tutorials"]], "Unites Research and Production": [[106, "unites-research-and-production"]], "Upcoming Splitting Features": [[97, "upcoming-splitting-features"]], "Use Cases": [[110, "use-cases"]], "Use Local Model": [[79, "use-local-model"]], "Use Logger in Projects": [[86, "use-logger-in-projects"]], "Use ModelClient directly": [[88, "use-modelclient-directly"]], "Use OpenAI API": [[79, "use-openai-api"]], "Use Output Processors": [[79, "use-output-processors"]], "Use Score Threshold instead of top_k": [[95, "use-score-threshold-instead-of-top-k"]], "Use output_processors": [[82, "use-output-processors"]], "Use template": [[82, "use-template"]], "Use together with Database": [[95, "use-together-with-database"]], "Utils": [[49, "utils"], [60, "utils"]], "What is LightRAG?": [[103, "what-is-lightrag"]], "What is an agent and why you need it?": [[94, "what-is-an-agent-and-why-you-need-it"]], "What is not part of LightRAG?": [[103, "what-is-not-part-of-lightrag"]], "What to evaluate?": [[81, "what-to-evaluate"]], "Where to evaluate?": [[81, "where-to-evaluate"]], "Why Jinja2?": [[92, "why-jinja2"]], "Why do we need chat completion instead of the previous text completion?": [[85, "why-do-we-need-chat-completion-instead-of-the-previous-text-completion"]], "With LocalDB": [[95, "with-localdb"]], "Work with Data Instance": [[72, "work-with-data-instance"]], "Writing Documentation": [[68, "writing-documentation"]], "agent": [[0, "agent"]], "answer_match_acc": [[44, "module-eval.answer_match_acc"]], "anthropic_client": [[8, "anthropic-client"]], "base_data_class": [[26, "module-core.base_data_class"]], "bm25_retriever": [[20, "module-components.retriever.bm25_retriever"]], "chain_of_thought": [[18, "module-components.reasoning.chain_of_thought"]], "cohere_client": [[9, "cohere-client"]], "component": [[27, "module-core.component"]], "config": [[61, "module-utils.config"]], "container": [[28, "module-core.container"]], "data_components": [[3, "module-components.data_process.data_components"]], "data_process": [[2, "data-process"]], "db": [[29, "module-core.db"]], "decorators": [[57, "module-tracing.decorators"]], "default_prompt_template": [[30, "module-core.default_prompt_template"]], "embedder": [[31, "module-core.embedder"]], "faiss_retriever": [[21, "faiss-retriever"]], "few_shot_optimizer": [[51, "module-optim.few_shot_optimizer"]], "file_io": [[62, "module-utils.file_io"]], "func_tool": [[32, "module-core.func_tool"]], "functional": [[33, "module-core.functional"]], "generator": [[34, "module-core.generator"]], "generator_call_logger": [[58, "module-tracing.generator_call_logger"]], "generator_state_logger": [[59, "module-tracing.generator_state_logger"]], "google_client": [[10, "module-components.model_client.google_client"]], "groq_client": [[11, "groq-client"]], "lazy_import": [[63, "module-utils.lazy_import"]], "llm_as_judge": [[45, "module-eval.llm_as_judge"]], "llm_augment": [[52, "module-optim.llm_augment"]], "llm_optimizer": [[53, "module-optim.llm_optimizer"]], "llm_retriever": [[22, "module-components.retriever.llm_retriever"]], "logger": [[64, "module-utils.logger"]], "memory": [[5, "memory"], [6, "module-components.memory.memory"]], "model_client": [[7, "model-client"], [35, "module-core.model_client"]], "openai_client": [[12, "openai-client"]], "optimizer": [[54, "module-optim.optimizer"]], "output_parsers": [[15, "output-parsers"]], "outputs": [[16, "module-components.output_parsers.outputs"]], "parameter": [[36, "module-core.parameter"]], "postgres_retriever": [[23, "postgres-retriever"]], "printc function": [[86, "printc-function"]], "prompt_builder": [[37, "module-core.prompt_builder"]], "react": [[1, "module-components.agent.react"]], "reasoning": [[17, "reasoning"]], "registry": [[65, "module-utils.registry"]], "reranker_retriever": [[24, "module-components.retriever.reranker_retriever"]], "retriever": [[19, "retriever"], [38, "module-core.retriever"]], "retriever_recall": [[46, "module-eval.retriever_recall"]], "retriever_relevance": [[47, "module-eval.retriever_relevance"]], "sampler": [[55, "module-optim.sampler"]], "serialization": [[66, "module-utils.serialization"]], "setup_env": [[67, "module-utils.setup_env"]], "string_parser": [[39, "module-core.string_parser"]], "text_splitter": [[4, "module-components.data_process.text_splitter"]], "tokenizer": [[40, "module-core.tokenizer"]], "tool_manager": [[41, "module-core.tool_manager"]], "transformers_client": [[13, "transformers-client"]], "types": [[42, "module-core.types"]], "utils": [[14, "module-components.model_client.utils"]]}, "docnames": ["apis/components/components.agent", "apis/components/components.agent.react", "apis/components/components.data_process", "apis/components/components.data_process.data_components", "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.anthropic_client", "apis/components/components.model_client.cohere_client", "apis/components/components.model_client.google_client", "apis/components/components.model_client.groq_client", "apis/components/components.model_client.openai_client", "apis/components/components.model_client.transformers_client", "apis/components/components.model_client.utils", "apis/components/components.output_parsers", "apis/components/components.output_parsers.outputs", "apis/components/components.reasoning", "apis/components/components.reasoning.chain_of_thought", "apis/components/components.retriever", "apis/components/components.retriever.bm25_retriever", "apis/components/components.retriever.faiss_retriever", "apis/components/components.retriever.llm_retriever", "apis/components/components.retriever.postgres_retriever", "apis/components/components.retriever.reranker_retriever", "apis/components/index", "apis/core/core.base_data_class", "apis/core/core.component", "apis/core/core.container", "apis/core/core.db", "apis/core/core.default_prompt_template", "apis/core/core.embedder", "apis/core/core.func_tool", "apis/core/core.functional", "apis/core/core.generator", "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.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/configs", "developer_notes/data_pipeline", "developer_notes/datasets", "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", "developer_notes/trainer", "get_started/community", "get_started/index", "get_started/installation", "get_started/introduction", "get_started/lightrag_in_10_mins", "get_started/version_control", "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/components.agent.rst", "apis/components/components.agent.react.rst", "apis/components/components.data_process.rst", "apis/components/components.data_process.data_components.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.anthropic_client.rst", "apis/components/components.model_client.cohere_client.rst", "apis/components/components.model_client.google_client.rst", "apis/components/components.model_client.groq_client.rst", "apis/components/components.model_client.openai_client.rst", "apis/components/components.model_client.transformers_client.rst", "apis/components/components.model_client.utils.rst", "apis/components/components.output_parsers.rst", "apis/components/components.output_parsers.outputs.rst", "apis/components/components.reasoning.rst", "apis/components/components.reasoning.chain_of_thought.rst", "apis/components/components.retriever.rst", "apis/components/components.retriever.bm25_retriever.rst", "apis/components/components.retriever.faiss_retriever.rst", "apis/components/components.retriever.llm_retriever.rst", "apis/components/components.retriever.postgres_retriever.rst", "apis/components/components.retriever.reranker_retriever.rst", "apis/components/index.rst", "apis/core/core.base_data_class.rst", "apis/core/core.component.rst", "apis/core/core.container.rst", "apis/core/core.db.rst", "apis/core/core.default_prompt_template.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.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.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/configs.rst", "developer_notes/data_pipeline.rst", "developer_notes/datasets.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", "developer_notes/trainer.rst", "get_started/community.rst", "get_started/index.rst", "get_started/installation.rst", "get_started/introduction.rst", "get_started/lightrag_in_10_mins.rst", "get_started/version_control.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() (component method)": [[27, "core.component.Component.acall", false]], "acall() (embedder method)": [[31, "core.embedder.Embedder.acall", false]], "acall() (functiontool method)": [[32, "core.func_tool.FunctionTool.acall", false]], "acall() (generator method)": [[34, "core.generator.Generator.acall", false]], "acall() (modelclient method)": [[35, "core.model_client.ModelClient.acall", false]], "acall() (retriever method)": [[38, "core.retriever.Retriever.acall", false]], "action (functionexpression attribute)": [[42, "core.types.FunctionExpression.action", false]], "action (stepoutput attribute)": [[42, "core.types.StepOutput.action", false]], "add() (localdb method)": [[29, "core.db.LocalDB.add", false]], "add_component() (component method)": [[27, "core.component.Component.add_component", false]], "answermatchacc (class in eval)": [[48, "eval.AnswerMatchAcc", false]], "answermatchacc (class in eval.answer_match_acc)": [[44, "eval.answer_match_acc.AnswerMatchAcc", false]], "anthropic (optionalpackages attribute)": [[63, "utils.lazy_import.OptionalPackages.ANTHROPIC", false]], "append() (sequential method)": [[28, "core.container.Sequential.append", false]], "append_dialog_turn() (conversation method)": [[42, "core.types.Conversation.append_dialog_turn", false]], "append_to_jsonl() (in module utils.file_io)": [[62, "utils.file_io.append_to_jsonl", false]], "args (function attribute)": [[42, "core.types.Function.args", false]], "assistant_response (dialogturn attribute)": [[42, "core.types.DialogTurn.assistant_response", false]], "assistant_response_timestamp (dialogturn attribute)": [[42, "core.types.DialogTurn.assistant_response_timestamp", false]], "assistantresponse (class in core.types)": [[42, "core.types.AssistantResponse", false]], "augment_samples() (bootstrapfewshot method)": [[50, "optim.BootstrapFewShot.augment_samples", false], [51, "optim.few_shot_optimizer.BootstrapFewShot.augment_samples", false]], "batchembedder (class in core.embedder)": [[31, "core.embedder.BatchEmbedder", false]], "bm25retriever (class in components.retriever.bm25_retriever)": [[20, "components.retriever.bm25_retriever.BM25Retriever", false]], "booleanoutputparser (class in components.output_parsers.outputs)": [[16, "components.output_parsers.outputs.BooleanOutputParser", false]], "booleanparser (class in core.string_parser)": [[39, "core.string_parser.BooleanParser", false]], "bootstrapfewshot (class in optim)": [[50, "optim.BootstrapFewShot", false]], "bootstrapfewshot (class in optim.few_shot_optimizer)": [[51, "optim.few_shot_optimizer.BootstrapFewShot", false]], "build_index_from_documents() (bm25retriever method)": [[20, "components.retriever.bm25_retriever.BM25Retriever.build_index_from_documents", false]], "build_index_from_documents() (llmretriever method)": [[22, "components.retriever.llm_retriever.LLMRetriever.build_index_from_documents", false]], "build_index_from_documents() (rerankerretriever method)": [[24, "components.retriever.reranker_retriever.RerankerRetriever.build_index_from_documents", false]], "build_index_from_documents() (retriever method)": [[38, "core.retriever.Retriever.build_index_from_documents", false]], "call() (batchembedder method)": [[31, "core.embedder.BatchEmbedder.call", false]], "call() (bm25retriever method)": [[20, "components.retriever.bm25_retriever.BM25Retriever.call", false]], "call() (booleanoutputparser method)": [[16, "components.output_parsers.outputs.BooleanOutputParser.call", false]], "call() (classsampler method)": [[50, "optim.ClassSampler.call", false], [55, "optim.sampler.ClassSampler.call", false]], "call() (component method)": [[27, "core.component.Component.call", false]], "call() (defaultllmjudge method)": [[45, "eval.llm_as_judge.DefaultLLMJudge.call", false]], "call() (embedder method)": [[31, "core.embedder.Embedder.call", false]], "call() (funcomponent method)": [[27, "core.component.FunComponent.call", false]], "call() (functiontool method)": [[32, "core.func_tool.FunctionTool.call", false]], "call() (generator method)": [[34, "core.generator.Generator.call", false]], "call() (googlegenaiclient method)": [[10, "components.model_client.google_client.GoogleGenAIClient.call", false]], "call() (jsonoutputparser method)": [[16, "components.output_parsers.outputs.JsonOutputParser.call", false]], "call() (jsonparser method)": [[39, "core.string_parser.JsonParser.call", false]], "call() (listoutputparser method)": [[16, "components.output_parsers.outputs.ListOutputParser.call", false]], "call() (llmaugmenter method)": [[52, "optim.llm_augment.LLMAugmenter.call", false]], "call() (llmretriever method)": [[22, "components.retriever.llm_retriever.LLMRetriever.call", false]], "call() (modelclient method)": [[35, "core.model_client.ModelClient.call", false]], "call() (outputparser method)": [[16, "components.output_parsers.outputs.OutputParser.call", false]], "call() (prompt method)": [[37, "core.prompt_builder.Prompt.call", false]], "call() (randomsampler method)": [[50, "optim.RandomSampler.call", false], [55, "optim.sampler.RandomSampler.call", false]], "call() (reactagent method)": [[1, "components.agent.react.ReActAgent.call", false]], "call() (rerankerretriever method)": [[24, "components.retriever.reranker_retriever.RerankerRetriever.call", false]], "call() (retriever method)": [[38, "core.retriever.Retriever.call", false]], "call() (sampler method)": [[50, "optim.Sampler.call", false], [55, "optim.sampler.Sampler.call", false]], "call() (sequential method)": [[28, "core.container.Sequential.call", false]], "call() (textsplitter method)": [[4, "components.data_process.text_splitter.TextSplitter.call", false]], "call() (yamloutputparser method)": [[16, "components.output_parsers.outputs.YamlOutputParser.call", false]], "call() (yamlparser method)": [[39, "core.string_parser.YamlParser.call", false]], "check_object() (in module utils.serialization)": [[66, "utils.serialization.check_object", false]], "children() (component method)": [[27, "core.component.Component.children", false]], "class (objecttypes attribute)": [[66, "utils.serialization.ObjectTypes.CLASS", false]], "classsampler (class in optim)": [[50, "optim.ClassSampler", false]], "classsampler (class in optim.sampler)": [[55, "optim.sampler.ClassSampler", false]], "cohere (optionalpackages attribute)": [[63, "utils.lazy_import.OptionalPackages.COHERE", false]], "component (class in core.component)": [[27, "core.component.Component", false]], "components() (component method)": [[27, "core.component.Component.components", false]], "components.agent.react": [[1, "module-components.agent.react", false]], "components.data_process.data_components": [[3, "module-components.data_process.data_components", false]], "components.data_process.text_splitter": [[4, "module-components.data_process.text_splitter", false]], "components.memory.memory": [[6, "module-components.memory.memory", false]], "components.model_client.google_client": [[10, "module-components.model_client.google_client", false]], "components.model_client.utils": [[14, "module-components.model_client.utils", false]], "components.output_parsers.outputs": [[16, "module-components.output_parsers.outputs", false]], "components.reasoning.chain_of_thought": [[18, "module-components.reasoning.chain_of_thought", false]], "components.retriever.bm25_retriever": [[20, "module-components.retriever.bm25_retriever", false]], "components.retriever.llm_retriever": [[22, "module-components.retriever.llm_retriever", false]], "components.retriever.reranker_retriever": [[24, "module-components.retriever.reranker_retriever", false]], "compose_model_kwargs() (in module core.functional)": [[33, "core.functional.compose_model_kwargs", false]], "compose_prompt_kwargs() (prompt method)": [[37, "core.prompt_builder.Prompt.compose_prompt_kwargs", false]], "compute() (answermatchacc method)": [[44, "eval.answer_match_acc.AnswerMatchAcc.compute", false], [48, "eval.AnswerMatchAcc.compute", false]], "compute() (llmasjudge method)": [[45, "eval.llm_as_judge.LLMasJudge.compute", false], [48, "eval.LLMasJudge.compute", false]], "compute() (retrieverrecall method)": [[46, "eval.retriever_recall.RetrieverRecall.compute", false], [48, "eval.RetrieverRecall.compute", false]], "compute() (retrieverrelevance method)": [[47, "eval.retriever_relevance.RetrieverRelevance.compute", false], [48, "eval.RetrieverRelevance.compute", false]], "conversation (class in core.types)": [[42, "core.types.Conversation", false]], "conversation_id (dialogturn attribute)": [[42, "core.types.DialogTurn.conversation_id", false]], "convert_inputs_to_api_kwargs() (googlegenaiclient method)": [[10, "components.model_client.google_client.GoogleGenAIClient.convert_inputs_to_api_kwargs", false]], "convert_inputs_to_api_kwargs() (modelclient method)": [[35, "core.model_client.ModelClient.convert_inputs_to_api_kwargs", false]], "convert_schema_to_signature() (in module core.functional)": [[33, "core.functional.convert_schema_to_signature", false]], "core.base_data_class": [[26, "module-core.base_data_class", false]], "core.component": [[27, "module-core.component", false]], "core.container": [[28, "module-core.container", false]], "core.db": [[29, "module-core.db", false]], "core.default_prompt_template": [[30, "module-core.default_prompt_template", false]], "core.embedder": [[31, "module-core.embedder", false]], "core.func_tool": [[32, "module-core.func_tool", false]], "core.functional": [[33, "module-core.functional", false]], "core.generator": [[34, "module-core.generator", false]], "core.model_client": [[35, "module-core.model_client", false]], "core.parameter": [[36, "module-core.parameter", false]], "core.prompt_builder": [[37, "module-core.prompt_builder", false]], "core.retriever": [[38, "module-core.retriever", false]], "core.string_parser": [[39, "module-core.string_parser", false]], "core.tokenizer": [[40, "module-core.tokenizer", false]], "core.tool_manager": [[41, "module-core.tool_manager", false]], "core.types": [[42, "module-core.types", false]], "count_tokens() (tokenizer method)": [[40, "core.tokenizer.Tokenizer.count_tokens", false]], "create_from_dict() (dynamicdataclassfactory static method)": [[26, "core.base_data_class.DynamicDataClassFactory.create_from_dict", false]], "created_at (conversation attribute)": [[42, "core.types.Conversation.created_at", false]], "custom_asdict() (in module core.functional)": [[33, "core.functional.custom_asdict", false]], "data (embedderoutput attribute)": [[42, "core.types.EmbedderOutput.data", false]], "data (generatoroutput attribute)": [[42, "core.types.GeneratorOutput.data", false]], "data (sample attribute)": [[55, "optim.sampler.Sample.data", false]], "dataclass (class in core.base_data_class)": [[26, "core.base_data_class.DataClass", false]], "dataclass_obj_from_dict() (in module core.functional)": [[33, "core.functional.dataclass_obj_from_dict", false]], "dataclassformattype (class in core.base_data_class)": [[26, "core.base_data_class.DataClassFormatType", false]], "dataset (randomsampler attribute)": [[50, "optim.RandomSampler.dataset", false], [55, "optim.sampler.RandomSampler.dataset", false]], "decode() (tokenizer method)": [[40, "core.tokenizer.Tokenizer.decode", false]], "default() (in module utils.serialization)": [[66, "utils.serialization.default", false]], "default_lightrag_system_prompt (in module core.default_prompt_template)": [[30, "core.default_prompt_template.DEFAULT_LIGHTRAG_SYSTEM_PROMPT", false]], "defaultllmjudge (class in eval.llm_as_judge)": [[45, "eval.llm_as_judge.DefaultLLMJudge", false]], "delete() (localdb method)": [[29, "core.db.LocalDB.delete", false]], "delete_dialog_turn() (conversation method)": [[42, "core.types.Conversation.delete_dialog_turn", false]], "deserialize() (in module utils.serialization)": [[66, "utils.serialization.deserialize", false]], "dialog_turns (conversation attribute)": [[42, "core.types.Conversation.dialog_turns", false]], "dialog_turns_input (conversation attribute)": [[42, "core.types.Conversation.dialog_turns_input", false]], "dialogturn (class in core.types)": [[42, "core.types.DialogTurn", false]], "doc_indices (retrieveroutput attribute)": [[42, "core.types.RetrieverOutput.doc_indices", false]], "doc_scores (retrieveroutput attribute)": [[42, "core.types.RetrieverOutput.doc_scores", false]], "document (class in core.types)": [[42, "core.types.Document", false]], "documents (retrieveroutput attribute)": [[42, "core.types.RetrieverOutput.documents", false]], "dynamicdataclassfactory (class in core.base_data_class)": [[26, "core.base_data_class.DynamicDataClassFactory", false]], "embedder (class in core.embedder)": [[31, "core.embedder.Embedder", false]], "embedder (modeltype attribute)": [[42, "core.types.ModelType.EMBEDDER", false]], "embedderoutput (class in core.types)": [[42, "core.types.EmbedderOutput", false]], "embedderoutputtype (in module core.types)": [[42, "core.types.EmbedderOutputType", false]], "embedding (class in core.types)": [[42, "core.types.Embedding", false]], "embedding (embedding attribute)": [[42, "core.types.Embedding.embedding", false]], "embedding_dim (embedderoutput property)": [[42, "core.types.EmbedderOutput.embedding_dim", false]], "encode() (tokenizer method)": [[40, "core.tokenizer.Tokenizer.encode", false]], "entitymapping (class in utils.registry)": [[65, "utils.registry.EntityMapping", false]], "error (embedderoutput attribute)": [[42, "core.types.EmbedderOutput.error", false]], "error (functionoutput attribute)": [[42, "core.types.FunctionOutput.error", false]], "error (generatoroutput attribute)": [[42, "core.types.GeneratorOutput.error", false]], "estimated_num_tokens (document attribute)": [[42, "core.types.Document.estimated_num_tokens", false]], "eval": [[48, "module-eval", false]], "eval() (component method)": [[27, "core.component.Component.eval", false]], "eval.answer_match_acc": [[44, "module-eval.answer_match_acc", false]], "eval.llm_as_judge": [[45, "module-eval.llm_as_judge", false]], "eval.retriever_recall": [[46, "module-eval.retriever_recall", false]], "eval.retriever_relevance": [[47, "module-eval.retriever_relevance", false]], "evaluate_ast_node() (in module core.functional)": [[33, "core.functional.evaluate_ast_node", false]], "example_json (dataclassformattype attribute)": [[26, "core.base_data_class.DataClassFormatType.EXAMPLE_JSON", false]], "example_yaml (dataclassformattype attribute)": [[26, "core.base_data_class.DataClassFormatType.EXAMPLE_YAML", false]], "execute() (functiontool method)": [[32, "core.func_tool.FunctionTool.execute", false]], "execute_func() (toolmanager method)": [[41, "core.tool_manager.ToolManager.execute_func", false]], "execute_func_expr() (toolmanager method)": [[41, "core.tool_manager.ToolManager.execute_func_expr", false]], "execute_func_expr_via_eval() (toolmanager method)": [[41, "core.tool_manager.ToolManager.execute_func_expr_via_eval", false]], "execute_func_expr_via_sandbox() (toolmanager method)": [[41, "core.tool_manager.ToolManager.execute_func_expr_via_sandbox", false]], "extend() (localdb method)": [[29, "core.db.LocalDB.extend", false]], "extend() (sequential method)": [[28, "core.container.Sequential.extend", false]], "extract_dataclass_type() (in module core.functional)": [[33, "core.functional.extract_dataclass_type", false]], "extract_first_boolean() (in module core.functional)": [[33, "core.functional.extract_first_boolean", false]], "extract_first_float() (in module core.functional)": [[33, "core.functional.extract_first_float", false]], "extract_first_int() (in module core.functional)": [[33, "core.functional.extract_first_int", false]], "extract_json_str() (in module core.functional)": [[33, "core.functional.extract_json_str", false]], "extract_list_str() (in module core.functional)": [[33, "core.functional.extract_list_str", false]], "extract_yaml_str() (in module core.functional)": [[33, "core.functional.extract_yaml_str", false]], "faiss (optionalpackages attribute)": [[63, "utils.lazy_import.OptionalPackages.FAISS", false]], "fetch_items() (localdb method)": [[29, "core.db.LocalDB.fetch_items", false]], "fetch_transformed_items() (localdb method)": [[29, "core.db.LocalDB.fetch_transformed_items", false]], "fix_json_escaped_single_quotes() (in module core.functional)": [[33, "core.functional.fix_json_escaped_single_quotes", false]], "fix_json_missing_commas() (in module core.functional)": [[33, "core.functional.fix_json_missing_commas", false]], "floatparser (class in core.string_parser)": [[39, "core.string_parser.FloatParser", false]], "fn_schema_str() (functiondefinition method)": [[42, "core.types.FunctionDefinition.fn_schema_str", false]], "format_class_str() (dataclass class method)": [[26, "core.base_data_class.DataClass.format_class_str", false]], "format_example_str() (dataclass method)": [[26, "core.base_data_class.DataClass.format_example_str", false]], "format_instructions() (booleanoutputparser method)": [[16, "components.output_parsers.outputs.BooleanOutputParser.format_instructions", false]], "format_instructions() (jsonoutputparser method)": [[16, "components.output_parsers.outputs.JsonOutputParser.format_instructions", false]], "format_instructions() (listoutputparser method)": [[16, "components.output_parsers.outputs.ListOutputParser.format_instructions", false]], "format_instructions() (outputparser method)": [[16, "components.output_parsers.outputs.OutputParser.format_instructions", false]], "format_instructions() (yamloutputparser method)": [[16, "components.output_parsers.outputs.YamlOutputParser.format_instructions", false]], "from_config() (component class method)": [[27, "core.component.Component.from_config", false]], "from_config() (embedder class method)": [[31, "core.embedder.Embedder.from_config", false]], "from_config() (generator class method)": [[34, "core.generator.Generator.from_config", false]], "from_dict() (component class method)": [[27, "core.component.Component.from_dict", false]], "from_dict() (dataclass class method)": [[26, "core.base_data_class.DataClass.from_dict", false]], "from_dict() (document class method)": [[42, "core.types.Document.from_dict", false]], "from_dict() (prompt class method)": [[37, "core.prompt_builder.Prompt.from_dict", false]], "from_dict_to_json() (in module core.functional)": [[33, "core.functional.from_dict_to_json", false]], "from_dict_to_yaml() (in module core.functional)": [[33, "core.functional.from_dict_to_yaml", false]], "from_function() (functionexpression class method)": [[42, "core.types.FunctionExpression.from_function", false]], "from_json() (dataclass class method)": [[26, "core.base_data_class.DataClass.from_json", false]], "from_json_to_dict() (in module core.functional)": [[33, "core.functional.from_json_to_dict", false]], "from_yaml() (dataclass class method)": [[26, "core.base_data_class.DataClass.from_yaml", false]], "from_yaml_to_dict() (in module core.functional)": [[33, "core.functional.from_yaml_to_dict", false]], "fun_args (stepoutput attribute)": [[42, "core.types.StepOutput.fun_args", false]], "fun_kwargs (stepoutput attribute)": [[42, "core.types.StepOutput.fun_kwargs", false]], "fun_name (stepoutput attribute)": [[42, "core.types.StepOutput.fun_name", false]], "fun_to_component() (in module core.component)": [[27, "core.component.fun_to_component", false]], "func_desc (functiondefinition attribute)": [[42, "core.types.FunctionDefinition.func_desc", false]], "func_name (functiondefinition attribute)": [[42, "core.types.FunctionDefinition.func_name", false]], "func_parameters (functiondefinition attribute)": [[42, "core.types.FunctionDefinition.func_parameters", false]], "funcomponent (class in core.component)": [[27, "core.component.FunComponent", false]], "function (class in core.types)": [[42, "core.types.Function", false]], "function_definitions (toolmanager property)": [[41, "core.tool_manager.ToolManager.function_definitions", false]], "functiondefinition (class in core.types)": [[42, "core.types.FunctionDefinition", false]], "functionexpression (class in core.types)": [[42, "core.types.FunctionExpression", false]], "functionoutput (class in core.types)": [[42, "core.types.FunctionOutput", false]], "functiontool (class in core.func_tool)": [[32, "core.func_tool.FunctionTool", false]], "generate_function_call_expression_from_callable() (in module core.functional)": [[33, "core.functional.generate_function_call_expression_from_callable", false]], "generate_readable_key_for_function() (in module core.functional)": [[33, "core.functional.generate_readable_key_for_function", false]], "generator (class in core.generator)": [[34, "core.generator.Generator", false]], "generator_names (generatorstatelogger property)": [[59, "tracing.generator_state_logger.GeneratorStateLogger.generator_names", false]], "generator_names_to_files (generatorcalllogger property)": [[58, "tracing.generator_call_logger.GeneratorCallLogger.generator_names_to_files", false]], "generatorcalllogger (class in tracing.generator_call_logger)": [[58, "tracing.generator_call_logger.GeneratorCallLogger", false]], "generatorcallrecord (class in tracing.generator_call_logger)": [[58, "tracing.generator_call_logger.GeneratorCallRecord", false]], "generatoroutput (class in core.types)": [[42, "core.types.GeneratorOutput", false]], "generatorstatelogger (class in tracing.generator_state_logger)": [[59, "tracing.generator_state_logger.GeneratorStateLogger", false]], "generatorstatesrecord (class in tracing.generator_state_logger)": [[59, "tracing.generator_state_logger.GeneratorStatesRecord", false]], "get() (entitymapping class method)": [[65, "utils.registry.EntityMapping.get", false]], "get_all() (entitymapping class method)": [[65, "utils.registry.EntityMapping.get_all", false]], "get_calls() (generatorcalllogger method)": [[58, "tracing.generator_call_logger.GeneratorCallLogger.get_calls", false]], "get_chat_history_str() (conversation method)": [[42, "core.types.Conversation.get_chat_history_str", false]], "get_current_script_and_line() (in module utils.logger)": [[64, "utils.logger.get_current_script_and_line", false]], "get_dataclass_schema() (in module core.functional)": [[33, "core.functional.get_dataclass_schema", false]], "get_dialog_turns() (conversation method)": [[42, "core.types.Conversation.get_dialog_turns", false]], "get_fun_schema() (in module core.functional)": [[33, "core.functional.get_fun_schema", false]], "get_jinja2_environment() (in module core.prompt_builder)": [[37, "core.prompt_builder.get_jinja2_environment", false]], "get_log_location() (generatorcalllogger method)": [[58, "tracing.generator_call_logger.GeneratorCallLogger.get_log_location", false]], "get_log_location() (generatorstatelogger method)": [[59, "tracing.generator_state_logger.GeneratorStateLogger.get_log_location", false]], "get_logger() (in module utils.logger)": [[64, "utils.logger.get_logger", false]], "get_model_args() (in module core.types)": [[42, "core.types.get_model_args", false]], "get_next_order() (conversation method)": [[42, "core.types.Conversation.get_next_order", false]], "get_prompt_variables() (prompt method)": [[37, "core.prompt_builder.Prompt.get_prompt_variables", false]], "get_string_tokens() (tokenizer method)": [[40, "core.tokenizer.Tokenizer.get_string_tokens", false]], "get_subcomponent() (component method)": [[27, "core.component.Component.get_subcomponent", false]], "get_top_k_indices_scores() (in module core.functional)": [[33, "core.functional.get_top_k_indices_scores", false]], "get_transformed_data() (localdb method)": [[29, "core.db.LocalDB.get_transformed_data", false]], "get_transformer_keys() (localdb method)": [[29, "core.db.LocalDB.get_transformer_keys", false]], "get_type_schema() (in module core.functional)": [[33, "core.functional.get_type_schema", false]], "google_generativeai (optionalpackages attribute)": [[63, "utils.lazy_import.OptionalPackages.GOOGLE_GENERATIVEAI", false]], "googlegenaiclient (class in components.model_client.google_client)": [[10, "components.model_client.google_client.GoogleGenAIClient", false]], "groq (optionalpackages attribute)": [[63, "utils.lazy_import.OptionalPackages.GROQ", false]], "gts (instruction attribute)": [[53, "optim.llm_optimizer.Instruction.gts", false]], "id (conversation attribute)": [[42, "core.types.Conversation.id", false]], "id (dialogturn attribute)": [[42, "core.types.DialogTurn.id", false]], "id (document attribute)": [[42, "core.types.Document.id", false]], "index (embedding attribute)": [[42, "core.types.Embedding.index", false]], "index (sample attribute)": [[55, "optim.sampler.Sample.index", false]], "index_keys (retriever attribute)": [[38, "core.retriever.Retriever.index_keys", false]], "indexed (retriever attribute)": [[38, "core.retriever.Retriever.indexed", false]], "init() (bootstrapfewshot method)": [[50, "optim.BootstrapFewShot.init", false], [51, "optim.few_shot_optimizer.BootstrapFewShot.init", false]], "init_async_client() (modelclient method)": [[35, "core.model_client.ModelClient.init_async_client", false]], "init_sync_client() (googlegenaiclient method)": [[10, "components.model_client.google_client.GoogleGenAIClient.init_sync_client", false]], "init_sync_client() (modelclient method)": [[35, "core.model_client.ModelClient.init_sync_client", false]], "input (embedderoutput attribute)": [[42, "core.types.EmbedderOutput.input", false]], "input (functionoutput attribute)": [[42, "core.types.FunctionOutput.input", false]], "insert() (sequential method)": [[28, "core.container.Sequential.insert", false]], "instance (objecttypes attribute)": [[66, "utils.serialization.ObjectTypes.INSTANCE", false]], "instruction (class in optim.llm_optimizer)": [[53, "optim.llm_optimizer.Instruction", false]], "intparser (class in core.string_parser)": [[39, "core.string_parser.IntParser", false]], "is_dataclass_instance() (in module core.functional)": [[33, "core.functional.is_dataclass_instance", false]], "is_key_in_template() (prompt method)": [[37, "core.prompt_builder.Prompt.is_key_in_template", false]], "is_normalized (embedderoutput property)": [[42, "core.types.EmbedderOutput.is_normalized", false]], "is_normalized() (in module core.functional)": [[33, "core.functional.is_normalized", false]], "is_picklable() (component method)": [[27, "core.component.Component.is_picklable", false]], "is_potential_dataclass() (in module core.functional)": [[33, "core.functional.is_potential_dataclass", false]], "is_running_in_event_loop() (in module core.func_tool)": [[32, "core.func_tool.is_running_in_event_loop", false]], "items (localdb attribute)": [[29, "core.db.LocalDB.items", false]], "json_definitions (toolmanager property)": [[41, "core.tool_manager.ToolManager.json_definitions", false]], "jsonoutputparser (class in components.output_parsers.outputs)": [[16, "components.output_parsers.outputs.JsonOutputParser", false]], "jsonparser (class in core.string_parser)": [[39, "core.string_parser.JsonParser", false]], "kwargs (function attribute)": [[42, "core.types.Function.kwargs", false]], "lazyimport (class in utils.lazy_import)": [[63, "utils.lazy_import.LazyImport", false]], "length (embedderoutput property)": [[42, "core.types.EmbedderOutput.length", false]], "length (localdb property)": [[29, "core.db.LocalDB.length", false]], "listoutputparser (class in components.output_parsers.outputs)": [[16, "components.output_parsers.outputs.ListOutputParser", false]], "listparser (class in core.string_parser)": [[39, "core.string_parser.ListParser", false]], "llm (modeltype attribute)": [[42, "core.types.ModelType.LLM", false]], "llmasjudge (class in eval)": [[48, "eval.LLMasJudge", false]], "llmasjudge (class in eval.llm_as_judge)": [[45, "eval.llm_as_judge.LLMasJudge", false]], "llmaugmenter (class in optim.llm_augment)": [[52, "optim.llm_augment.LLMAugmenter", false]], "llmoptimizer (class in optim)": [[50, "optim.LLMOptimizer", false]], "llmoptimizer (class in optim.llm_optimizer)": [[53, "optim.llm_optimizer.LLMOptimizer", false]], "llmretriever (class in components.retriever.llm_retriever)": [[22, "components.retriever.llm_retriever.LLMRetriever", false]], "load() (generatorcalllogger method)": [[58, "tracing.generator_call_logger.GeneratorCallLogger.load", false]], "load() (generatorstatelogger method)": [[59, "tracing.generator_state_logger.GeneratorStateLogger.load", false]], "load() (in module utils.file_io)": [[62, "utils.file_io.load", false]], "load() (localdb method)": [[29, "core.db.LocalDB.load", false]], "load_class() (lazyimport method)": [[63, "utils.lazy_import.LazyImport.load_class", false]], "load_from_file() (bm25retriever class method)": [[20, "components.retriever.bm25_retriever.BM25Retriever.load_from_file", false]], "load_from_file() (retriever class method)": [[38, "core.retriever.Retriever.load_from_file", false]], "load_from_pickle() (component class method)": [[27, "core.component.Component.load_from_pickle", false]], "load_json() (in module utils.file_io)": [[62, "utils.file_io.load_json", false]], "load_jsonl() (in module utils.file_io)": [[62, "utils.file_io.load_jsonl", false]], "load_meta_data() (generatorcalllogger method)": [[58, "tracing.generator_call_logger.GeneratorCallLogger.load_meta_data", false]], "load_pickle() (in module utils.file_io)": [[62, "utils.file_io.load_pickle", false]], "load_state() (localdb class method)": [[29, "core.db.LocalDB.load_state", false]], "load_state_dict() (component method)": [[27, "core.component.Component.load_state_dict", false]], "load_state_pickle() (component class method)": [[27, "core.component.Component.load_state_pickle", false]], "localdb (class in core.db)": [[29, "core.db.LocalDB", false]], "log_call() (generatorcalllogger method)": [[58, "tracing.generator_call_logger.GeneratorCallLogger.log_call", false]], "log_prompt() (generatorstatelogger method)": [[59, "tracing.generator_state_logger.GeneratorStateLogger.log_prompt", false]], "logprob (tokenlogprob attribute)": [[42, "core.types.TokenLogProb.logprob", false]], "mapper_setups (localdb attribute)": [[29, "core.db.LocalDB.mapper_setups", false]], "memory (class in components.memory.memory)": [[6, "components.memory.memory.Memory", false]], "meta_data (document attribute)": [[42, "core.types.Document.meta_data", false]], "metadata (assistantresponse attribute)": [[42, "core.types.AssistantResponse.metadata", false]], "metadata (conversation attribute)": [[42, "core.types.Conversation.metadata", false]], "metadata (dialogturn attribute)": [[42, "core.types.DialogTurn.metadata", false]], "metadata (generatoroutput attribute)": [[42, "core.types.GeneratorOutput.metadata", false]], "metadata (userquery attribute)": [[42, "core.types.UserQuery.metadata", false]], "model (embedderoutput attribute)": [[42, "core.types.EmbedderOutput.model", false]], "model_client (embedder attribute)": [[31, "core.embedder.Embedder.model_client", false]], "model_client (generator attribute)": [[34, "core.generator.Generator.model_client", false]], "model_kwargs (generatorcallrecord attribute)": [[58, "tracing.generator_call_logger.GeneratorCallRecord.model_kwargs", false]], "model_type (embedder attribute)": [[31, "core.embedder.Embedder.model_type", false]], "model_type (generator attribute)": [[34, "core.generator.Generator.model_type", false]], "modelclient (class in core.model_client)": [[35, "core.model_client.ModelClient", false]], "modelclienttype (class in core.types)": [[42, "core.types.ModelClientType", false]], "modeltype (class in core.types)": [[42, "core.types.ModelType", false]], "module": [[1, "module-components.agent.react", false], [3, "module-components.data_process.data_components", false], [4, "module-components.data_process.text_splitter", false], [6, "module-components.memory.memory", false], [10, "module-components.model_client.google_client", false], [14, "module-components.model_client.utils", false], [16, "module-components.output_parsers.outputs", false], [18, "module-components.reasoning.chain_of_thought", false], [20, "module-components.retriever.bm25_retriever", false], [22, "module-components.retriever.llm_retriever", false], [24, "module-components.retriever.reranker_retriever", false], [26, "module-core.base_data_class", false], [27, "module-core.component", false], [28, "module-core.container", false], [29, "module-core.db", false], [30, "module-core.default_prompt_template", false], [31, "module-core.embedder", false], [32, "module-core.func_tool", false], [33, "module-core.functional", false], [34, "module-core.generator", false], [35, "module-core.model_client", false], [36, "module-core.parameter", false], [37, "module-core.prompt_builder", false], [38, "module-core.retriever", false], [39, "module-core.string_parser", false], [40, "module-core.tokenizer", false], [41, "module-core.tool_manager", false], [42, "module-core.types", false], [44, "module-eval.answer_match_acc", false], [45, "module-eval.llm_as_judge", false], [46, "module-eval.retriever_recall", false], [47, "module-eval.retriever_relevance", false], [48, "module-eval", false], [50, "module-optim", false], [51, "module-optim.few_shot_optimizer", false], [52, "module-optim.llm_augment", false], [53, "module-optim.llm_optimizer", false], [54, "module-optim.optimizer", false], [55, "module-optim.sampler", false], [57, "module-tracing.decorators", false], [58, "module-tracing.generator_call_logger", false], [59, "module-tracing.generator_state_logger", false], [61, "module-utils.config", false], [62, "module-utils.file_io", false], [63, "module-utils.lazy_import", false], [64, "module-utils.logger", false], [65, "module-utils.registry", false], [66, "module-utils.serialization", false], [67, "module-utils.setup_env", false]], "name (conversation attribute)": [[42, "core.types.Conversation.name", false]], "name (function attribute)": [[42, "core.types.Function.name", false]], "name (functionoutput attribute)": [[42, "core.types.FunctionOutput.name", false]], "name (localdb attribute)": [[29, "core.db.LocalDB.name", false]], "named_children() (component method)": [[27, "core.component.Component.named_children", false]], "named_components() (component method)": [[27, "core.component.Component.named_components", false]], "named_parameters() (component method)": [[27, "core.component.Component.named_parameters", false]], "new_component() (in module utils.config)": [[61, "utils.config.new_component", false]], "new_components_from_config() (in module utils.config)": [[61, "utils.config.new_components_from_config", false]], "normalize_np_array() (in module core.functional)": [[33, "core.functional.normalize_np_array", false]], "normalize_vector() (in module core.functional)": [[33, "core.functional.normalize_vector", false]], "objecttypes (class in utils.serialization)": [[66, "utils.serialization.ObjectTypes", false]], "observation (stepoutput attribute)": [[42, "core.types.StepOutput.observation", false]], "openai (optionalpackages attribute)": [[63, "utils.lazy_import.OptionalPackages.OPENAI", false]], "optim": [[50, "module-optim", false]], "optim.few_shot_optimizer": [[51, "module-optim.few_shot_optimizer", false]], "optim.llm_augment": [[52, "module-optim.llm_augment", false]], "optim.llm_optimizer": [[53, "module-optim.llm_optimizer", false]], "optim.optimizer": [[54, "module-optim.optimizer", false]], "optim.sampler": [[55, "module-optim.sampler", false]], "optimizer (class in optim)": [[50, "optim.Optimizer", false]], "optimizer (class in optim.optimizer)": [[54, "optim.optimizer.Optimizer", false]], "optionalpackages (class in utils.lazy_import)": [[63, "utils.lazy_import.OptionalPackages", false]], "order (dialogturn attribute)": [[42, "core.types.DialogTurn.order", false]], "order (document attribute)": [[42, "core.types.Document.order", false]], "output (functionoutput attribute)": [[42, "core.types.FunctionOutput.output", false]], "output (generatorcallrecord attribute)": [[58, "tracing.generator_call_logger.GeneratorCallRecord.output", false]], "output_processors (embedder attribute)": [[31, "core.embedder.Embedder.output_processors", false]], "outputparser (class in components.output_parsers.outputs)": [[16, "components.output_parsers.outputs.OutputParser", false]], "parameter (class in core.parameter)": [[36, "core.parameter.Parameter", false]], "parameters() (component method)": [[27, "core.component.Component.parameters", false]], "parent_doc_id (document attribute)": [[42, "core.types.Document.parent_doc_id", false]], "parse_chat_completion() (googlegenaiclient method)": [[10, "components.model_client.google_client.GoogleGenAIClient.parse_chat_completion", false]], "parse_chat_completion() (modelclient method)": [[35, "core.model_client.ModelClient.parse_chat_completion", false]], "parse_embedding_response() (in module components.model_client.utils)": [[14, "components.model_client.utils.parse_embedding_response", false]], "parse_embedding_response() (modelclient method)": [[35, "core.model_client.ModelClient.parse_embedding_response", false]], "parse_func_expr() (toolmanager method)": [[41, "core.tool_manager.ToolManager.parse_func_expr", false]], "parse_function_call_expr() (in module core.functional)": [[33, "core.functional.parse_function_call_expr", false]], "parse_json_str_to_obj() (in module core.functional)": [[33, "core.functional.parse_json_str_to_obj", false]], "parse_yaml_str_to_obj() (in module core.functional)": [[33, "core.functional.parse_yaml_str_to_obj", false]], "parsed_input (functionoutput attribute)": [[42, "core.types.FunctionOutput.parsed_input", false]], "pgvector (optionalpackages attribute)": [[63, "utils.lazy_import.OptionalPackages.PGVECTOR", false]], "pickle_to_file() (component method)": [[27, "core.component.Component.pickle_to_file", false]], "preprocess() (tokenizer method)": [[40, "core.tokenizer.Tokenizer.preprocess", false]], "print_prompt() (generator method)": [[34, "core.generator.Generator.print_prompt", false]], "print_prompt() (prompt method)": [[37, "core.prompt_builder.Prompt.print_prompt", false]], "print_prompt_template() (prompt method)": [[37, "core.prompt_builder.Prompt.print_prompt_template", false]], "printc() (in module utils.logger)": [[64, "utils.logger.printc", false]], "prompt (class in core.prompt_builder)": [[37, "core.prompt_builder.Prompt", false]], "prompt_kwargs (generatorcallrecord attribute)": [[58, "tracing.generator_call_logger.GeneratorCallRecord.prompt_kwargs", false]], "prompt_states (generatorstatesrecord attribute)": [[59, "tracing.generator_state_logger.GeneratorStatesRecord.prompt_states", false]], "prompt_tokens (usage attribute)": [[42, "core.types.Usage.prompt_tokens", false]], "propose() (bootstrapfewshot method)": [[50, "optim.BootstrapFewShot.propose", false], [51, "optim.few_shot_optimizer.BootstrapFewShot.propose", false]], "propose() (llmoptimizer method)": [[50, "optim.LLMOptimizer.propose", false], [53, "optim.llm_optimizer.LLMOptimizer.propose", false]], "query (retrieveroutput attribute)": [[42, "core.types.RetrieverOutput.query", false]], "query_str (userquery attribute)": [[42, "core.types.UserQuery.query_str", false]], "random_replace() (bootstrapfewshot method)": [[50, "optim.BootstrapFewShot.random_replace", false], [51, "optim.few_shot_optimizer.BootstrapFewShot.random_replace", false]], "random_replace() (classsampler method)": [[50, "optim.ClassSampler.random_replace", false], [55, "optim.sampler.ClassSampler.random_replace", false]], "random_replace() (randomsampler method)": [[50, "optim.RandomSampler.random_replace", false], [55, "optim.sampler.RandomSampler.random_replace", false]], "random_replace() (sampler method)": [[50, "optim.Sampler.random_replace", false], [55, "optim.sampler.Sampler.random_replace", false]], "random_sample() (classsampler method)": [[50, "optim.ClassSampler.random_sample", false], [55, "optim.sampler.ClassSampler.random_sample", false]], "random_sample() (randomsampler method)": [[50, "optim.RandomSampler.random_sample", false], [55, "optim.sampler.RandomSampler.random_sample", false]], "randomsampler (class in optim)": [[50, "optim.RandomSampler", false]], "randomsampler (class in optim.sampler)": [[55, "optim.sampler.RandomSampler", false]], "raw_response (embedderoutput attribute)": [[42, "core.types.EmbedderOutput.raw_response", false]], "raw_response (generatoroutput attribute)": [[42, "core.types.GeneratorOutput.raw_response", false]], "reactagent (class in components.agent.react)": [[1, "components.agent.react.ReActAgent", false]], "register() (entitymapping class method)": [[65, "utils.registry.EntityMapping.register", false]], "register_component() (component method)": [[27, "core.component.Component.register_component", false]], "register_generator() (generatorcalllogger method)": [[58, "tracing.generator_call_logger.GeneratorCallLogger.register_generator", false]], "register_parameter() (component method)": [[27, "core.component.Component.register_parameter", false]], "register_transformer() (localdb method)": [[29, "core.db.LocalDB.register_transformer", false]], "represent_ordereddict() (in module core.functional)": [[33, "core.functional.represent_ordereddict", false]], "required_field() (in module core.base_data_class)": [[26, "core.base_data_class.required_field", false]], "reranker (modeltype attribute)": [[42, "core.types.ModelType.RERANKER", false]], "rerankerretriever (class in components.retriever.reranker_retriever)": [[24, "components.retriever.reranker_retriever.RerankerRetriever", false]], "reset() (bootstrapfewshot method)": [[50, "optim.BootstrapFewShot.reset", false], [51, "optim.few_shot_optimizer.BootstrapFewShot.reset", false]], "reset() (llmoptimizer method)": [[50, "optim.LLMOptimizer.reset", false], [53, "optim.llm_optimizer.LLMOptimizer.reset", false]], "reset() (localdb method)": [[29, "core.db.LocalDB.reset", false]], "reset() (reactagent method)": [[1, "components.agent.react.ReActAgent.reset", false]], "reset_index() (bm25retriever method)": [[20, "components.retriever.bm25_retriever.BM25Retriever.reset_index", false]], "reset_index() (llmretriever method)": [[22, "components.retriever.llm_retriever.LLMRetriever.reset_index", false]], "reset_index() (rerankerretriever method)": [[24, "components.retriever.reranker_retriever.RerankerRetriever.reset_index", false]], "reset_index() (retriever method)": [[38, "core.retriever.Retriever.reset_index", false]], "reset_parameter() (bootstrapfewshot method)": [[50, "optim.BootstrapFewShot.reset_parameter", false], [51, "optim.few_shot_optimizer.BootstrapFewShot.reset_parameter", false]], "reset_parameter() (llmoptimizer method)": [[50, "optim.LLMOptimizer.reset_parameter", false], [53, "optim.llm_optimizer.LLMOptimizer.reset_parameter", false]], "response_str (assistantresponse attribute)": [[42, "core.types.AssistantResponse.response_str", false]], "responses (instruction attribute)": [[53, "optim.llm_optimizer.Instruction.responses", false]], "retriever (class in core.retriever)": [[38, "core.retriever.Retriever", false]], "retriever_output_to_context_str() (in module components.data_process.data_components)": [[3, "components.data_process.data_components.retriever_output_to_context_str", false]], "retrieveroutput (class in core.types)": [[42, "core.types.RetrieverOutput", false]], "retrieveroutputtocontextstr (class in components.data_process.data_components)": [[3, "components.data_process.data_components.RetrieverOutputToContextStr", false]], "retrieverrecall (class in eval)": [[48, "eval.RetrieverRecall", false]], "retrieverrecall (class in eval.retriever_recall)": [[46, "eval.retriever_recall.RetrieverRecall", false]], "retrieverrelevance (class in eval)": [[48, "eval.RetrieverRelevance", false]], "retrieverrelevance (class in eval.retriever_relevance)": [[47, "eval.retriever_relevance.RetrieverRelevance", false]], "safe_import() (in module utils.lazy_import)": [[63, "utils.lazy_import.safe_import", false]], "sample (class in optim.sampler)": [[55, "optim.sampler.Sample", false]], "sampler (class in optim)": [[50, "optim.Sampler", false]], "sampler (class in optim.sampler)": [[55, "optim.sampler.Sampler", false]], "sandbox_exec() (in module core.functional)": [[33, "core.functional.sandbox_exec", false]], "save() (generatorstatelogger method)": [[59, "tracing.generator_state_logger.GeneratorStateLogger.save", false]], "save() (in module utils.file_io)": [[62, "utils.file_io.save", false]], "save_json() (in module utils.file_io)": [[62, "utils.file_io.save_json", false]], "save_meta_data() (generatorcalllogger method)": [[58, "tracing.generator_call_logger.GeneratorCallLogger.save_meta_data", false]], "save_pickle() (in module utils.file_io)": [[62, "utils.file_io.save_pickle", false]], "save_state() (localdb method)": [[29, "core.db.LocalDB.save_state", false]], "save_to_file() (bm25retriever method)": [[20, "components.retriever.bm25_retriever.BM25Retriever.save_to_file", false]], "save_to_file() (retriever method)": [[38, "core.retriever.Retriever.save_to_file", false]], "schema (dataclassformattype attribute)": [[26, "core.base_data_class.DataClassFormatType.SCHEMA", false]], "score (document attribute)": [[42, "core.types.Document.score", false]], "score (instruction attribute)": [[53, "optim.llm_optimizer.Instruction.score", false]], "sequential (class in core.container)": [[28, "core.container.Sequential", false]], "serialize() (in module utils.serialization)": [[66, "utils.serialization.serialize", false]], "set_assistant_response() (dialogturn method)": [[42, "core.types.DialogTurn.set_assistant_response", false]], "set_user_query() (dialogturn method)": [[42, "core.types.DialogTurn.set_user_query", false]], "setup_env() (in module utils.setup_env)": [[67, "utils.setup_env.setup_env", false]], "signature_json (dataclassformattype attribute)": [[26, "core.base_data_class.DataClassFormatType.SIGNATURE_JSON", false]], "signature_yaml (dataclassformattype attribute)": [[26, "core.base_data_class.DataClassFormatType.SIGNATURE_YAML", false]], "split_text() (textsplitter method)": [[4, "components.data_process.text_splitter.TextSplitter.split_text", false]], "split_text_by_word_fn() (in module components.retriever.bm25_retriever)": [[20, "components.retriever.bm25_retriever.split_text_by_word_fn", false]], "split_text_by_word_fn_then_lower_tokenized() (in module components.retriever.bm25_retriever)": [[20, "components.retriever.bm25_retriever.split_text_by_word_fn_then_lower_tokenized", false]], "split_text_tokenized() (in module components.retriever.bm25_retriever)": [[20, "components.retriever.bm25_retriever.split_text_tokenized", false]], "sqlalchemy (optionalpackages attribute)": [[63, "utils.lazy_import.OptionalPackages.SQLALCHEMY", false]], "state_dict() (component method)": [[27, "core.component.Component.state_dict", false]], "state_dict() (optimizer method)": [[50, "optim.Optimizer.state_dict", false], [54, "optim.optimizer.Optimizer.state_dict", false]], "step (stepoutput attribute)": [[42, "core.types.StepOutput.step", false]], "step() (optimizer method)": [[50, "optim.Optimizer.step", false], [54, "optim.optimizer.Optimizer.step", false]], "stepoutput (class in core.types)": [[42, "core.types.StepOutput", false]], "text (document attribute)": [[42, "core.types.Document.text", false]], "text (instruction attribute)": [[53, "optim.llm_optimizer.Instruction.text", false]], "textsplitter (class in components.data_process.text_splitter)": [[4, "components.data_process.text_splitter.TextSplitter", false]], "thought (function attribute)": [[42, "core.types.Function.thought", false]], "thought (functionexpression attribute)": [[42, "core.types.FunctionExpression.thought", false]], "thought (stepoutput attribute)": [[42, "core.types.StepOutput.thought", false]], "time_stamp (generatorcallrecord attribute)": [[58, "tracing.generator_call_logger.GeneratorCallRecord.time_stamp", false]], "time_stamp (generatorstatesrecord attribute)": [[59, "tracing.generator_state_logger.GeneratorStatesRecord.time_stamp", false]], "to_dict() (component method)": [[27, "core.component.Component.to_dict", false]], "to_dict() (dataclass method)": [[26, "core.base_data_class.DataClass.to_dict", false]], "to_dict() (in module utils.serialization)": [[66, "utils.serialization.to_dict", false]], "to_dict() (parameter method)": [[36, "core.parameter.Parameter.to_dict", false]], "to_dict() (prompt method)": [[37, "core.prompt_builder.Prompt.to_dict", false]], "to_dict() (sample method)": [[55, "optim.sampler.Sample.to_dict", false]], "to_dict_class() (dataclass class method)": [[26, "core.base_data_class.DataClass.to_dict_class", false]], "to_json() (dataclass method)": [[26, "core.base_data_class.DataClass.to_json", false]], "to_json_obj() (dataclass method)": [[26, "core.base_data_class.DataClass.to_json_obj", false]], "to_json_signature() (dataclass class method)": [[26, "core.base_data_class.DataClass.to_json_signature", false]], "to_schema() (dataclass class method)": [[26, "core.base_data_class.DataClass.to_schema", false]], "to_schema_str() (dataclass class method)": [[26, "core.base_data_class.DataClass.to_schema_str", false]], "to_yaml() (dataclass method)": [[26, "core.base_data_class.DataClass.to_yaml", false]], "to_yaml_obj() (dataclass method)": [[26, "core.base_data_class.DataClass.to_yaml_obj", false]], "to_yaml_signature() (dataclass class method)": [[26, "core.base_data_class.DataClass.to_yaml_signature", false]], "toembeddings (class in components.data_process.data_components)": [[3, "components.data_process.data_components.ToEmbeddings", false]], "token (tokenlogprob attribute)": [[42, "core.types.TokenLogProb.token", false]], "tokenizer (class in core.tokenizer)": [[40, "core.tokenizer.Tokenizer", false]], "tokenlogprob (class in core.types)": [[42, "core.types.TokenLogProb", false]], "toolmanager (class in core.tool_manager)": [[41, "core.tool_manager.ToolManager", false]], "torch (optionalpackages attribute)": [[63, "utils.lazy_import.OptionalPackages.TORCH", false]], "total_tokens (usage attribute)": [[42, "core.types.Usage.total_tokens", false]], "trace_generator_call() (in module tracing.decorators)": [[57, "tracing.decorators.trace_generator_call", false]], "trace_generator_states() (in module tracing.decorators)": [[57, "tracing.decorators.trace_generator_states", false]], "tracing.decorators": [[57, "module-tracing.decorators", false]], "tracing.generator_call_logger": [[58, "module-tracing.generator_call_logger", false]], "tracing.generator_state_logger": [[59, "module-tracing.generator_state_logger", false]], "train() (component method)": [[27, "core.component.Component.train", false]], "training (component attribute)": [[27, "core.component.Component.training", false]], "transform() (localdb method)": [[29, "core.db.LocalDB.transform", false]], "transformed_items (localdb attribute)": [[29, "core.db.LocalDB.transformed_items", false]], "transformer_setups (localdb attribute)": [[29, "core.db.LocalDB.transformer_setups", false]], "transformers (optionalpackages attribute)": [[63, "utils.lazy_import.OptionalPackages.TRANSFORMERS", false]], "type (objecttypes attribute)": [[66, "utils.serialization.ObjectTypes.TYPE", false]], "undefined (modeltype attribute)": [[42, "core.types.ModelType.UNDEFINED", false]], "update_default_model_kwargs() (embedder method)": [[31, "core.embedder.Embedder.update_default_model_kwargs", false]], "update_dialog_turn() (conversation method)": [[42, "core.types.Conversation.update_dialog_turn", false]], "update_parameter() (bootstrapfewshot method)": [[50, "optim.BootstrapFewShot.update_parameter", false], [51, "optim.few_shot_optimizer.BootstrapFewShot.update_parameter", false]], "update_parameter() (llmoptimizer method)": [[50, "optim.LLMOptimizer.update_parameter", false], [53, "optim.llm_optimizer.LLMOptimizer.update_parameter", false]], "update_prompt_kwargs() (prompt method)": [[37, "core.prompt_builder.Prompt.update_prompt_kwargs", false]], "update_value() (parameter method)": [[36, "core.parameter.Parameter.update_value", false]], "usage (class in core.types)": [[42, "core.types.Usage", false]], "usage (embedderoutput attribute)": [[42, "core.types.EmbedderOutput.usage", false]], "usage (generatoroutput attribute)": [[42, "core.types.GeneratorOutput.usage", false]], "user_id (conversation attribute)": [[42, "core.types.Conversation.user_id", false]], "user_id (dialogturn attribute)": [[42, "core.types.DialogTurn.user_id", false]], "user_query (dialogturn attribute)": [[42, "core.types.DialogTurn.user_query", false]], "user_query_timestamp (dialogturn attribute)": [[42, "core.types.DialogTurn.user_query_timestamp", false]], "userquery (class in core.types)": [[42, "core.types.UserQuery", false]], "utils.config": [[61, "module-utils.config", false]], "utils.file_io": [[62, "module-utils.file_io", false]], "utils.lazy_import": [[63, "module-utils.lazy_import", false]], "utils.logger": [[64, "module-utils.logger", false]], "utils.registry": [[65, "module-utils.registry", false]], "utils.serialization": [[66, "module-utils.serialization", false]], "utils.setup_env": [[67, "module-utils.setup_env", false]], "validate_data() (in module core.functional)": [[33, "core.functional.validate_data", false]], "vector (dialogturn attribute)": [[42, "core.types.DialogTurn.vector", false]], "vector (document attribute)": [[42, "core.types.Document.vector", false]], "write_list_to_jsonl() (in module utils.file_io)": [[62, "utils.file_io.write_list_to_jsonl", false]], "yaml_definitions (toolmanager property)": [[41, "core.tool_manager.ToolManager.yaml_definitions", false]], "yamloutputparser (class in components.output_parsers.outputs)": [[16, "components.output_parsers.outputs.YamlOutputParser", false]], "yamlparser (class in core.string_parser)": [[39, "core.string_parser.YamlParser", false]]}, "objects": {"": [[48, 0, 0, "-", "eval"], [50, 0, 0, "-", "optim"]], "components.agent": [[1, 0, 0, "-", "react"]], "components.agent.react": [[1, 1, 1, "", "ReActAgent"]], "components.agent.react.ReActAgent": [[1, 2, 1, "", "call"], [1, 2, 1, "", "reset"]], "components.data_process": [[3, 0, 0, "-", "data_components"], [4, 0, 0, "-", "text_splitter"]], "components.data_process.data_components": [[3, 1, 1, "", "RetrieverOutputToContextStr"], [3, 1, 1, "", "ToEmbeddings"], [3, 3, 1, "", "retriever_output_to_context_str"]], "components.data_process.text_splitter": [[4, 1, 1, "", "TextSplitter"]], "components.data_process.text_splitter.TextSplitter": [[4, 2, 1, "", "call"], [4, 2, 1, "", "split_text"]], "components.memory": [[6, 0, 0, "-", "memory"]], "components.memory.memory": [[6, 1, 1, "", "Memory"]], "components.model_client": [[10, 0, 0, "-", "google_client"], [14, 0, 0, "-", "utils"]], "components.model_client.google_client": [[10, 1, 1, "", "GoogleGenAIClient"]], "components.model_client.google_client.GoogleGenAIClient": [[10, 2, 1, "", "call"], [10, 2, 1, "", "convert_inputs_to_api_kwargs"], [10, 2, 1, "", "init_sync_client"], [10, 2, 1, "", "parse_chat_completion"]], "components.model_client.utils": [[14, 3, 1, "", "parse_embedding_response"]], "components.output_parsers": [[16, 0, 0, "-", "outputs"]], "components.output_parsers.outputs": [[16, 1, 1, "", "BooleanOutputParser"], [16, 1, 1, "", "JsonOutputParser"], [16, 1, 1, "", "ListOutputParser"], [16, 1, 1, "", "OutputParser"], [16, 1, 1, "", "YamlOutputParser"]], "components.output_parsers.outputs.BooleanOutputParser": [[16, 2, 1, "", "call"], [16, 2, 1, "", "format_instructions"]], "components.output_parsers.outputs.JsonOutputParser": [[16, 2, 1, "", "call"], [16, 2, 1, "", "format_instructions"]], "components.output_parsers.outputs.ListOutputParser": [[16, 2, 1, "", "call"], [16, 2, 1, "", "format_instructions"]], "components.output_parsers.outputs.OutputParser": [[16, 2, 1, "", "call"], [16, 2, 1, "", "format_instructions"]], "components.output_parsers.outputs.YamlOutputParser": [[16, 2, 1, "", "call"], [16, 2, 1, "", "format_instructions"]], "components.reasoning": [[18, 0, 0, "-", "chain_of_thought"]], "components.retriever": [[20, 0, 0, "-", "bm25_retriever"], [22, 0, 0, "-", "llm_retriever"], [24, 0, 0, "-", "reranker_retriever"]], "components.retriever.bm25_retriever": [[20, 1, 1, "", "BM25Retriever"], [20, 3, 1, "", "split_text_by_word_fn"], [20, 3, 1, "", "split_text_by_word_fn_then_lower_tokenized"], [20, 3, 1, "", "split_text_tokenized"]], "components.retriever.bm25_retriever.BM25Retriever": [[20, 2, 1, "", "build_index_from_documents"], [20, 2, 1, "", "call"], [20, 2, 1, "", "load_from_file"], [20, 2, 1, "", "reset_index"], [20, 2, 1, "", "save_to_file"]], "components.retriever.llm_retriever": [[22, 1, 1, "", "LLMRetriever"]], "components.retriever.llm_retriever.LLMRetriever": [[22, 2, 1, "", "build_index_from_documents"], [22, 2, 1, "", "call"], [22, 2, 1, "", "reset_index"]], "components.retriever.reranker_retriever": [[24, 1, 1, "", "RerankerRetriever"]], "components.retriever.reranker_retriever.RerankerRetriever": [[24, 2, 1, "", "build_index_from_documents"], [24, 2, 1, "", "call"], [24, 2, 1, "", "reset_index"]], "core": [[26, 0, 0, "-", "base_data_class"], [27, 0, 0, "-", "component"], [28, 0, 0, "-", "container"], [29, 0, 0, "-", "db"], [30, 0, 0, "-", "default_prompt_template"], [31, 0, 0, "-", "embedder"], [32, 0, 0, "-", "func_tool"], [33, 0, 0, "-", "functional"], [34, 0, 0, "-", "generator"], [35, 0, 0, "-", "model_client"], [36, 0, 0, "-", "parameter"], [37, 0, 0, "-", "prompt_builder"], [38, 0, 0, "-", "retriever"], [39, 0, 0, "-", "string_parser"], [40, 0, 0, "-", "tokenizer"], [41, 0, 0, "-", "tool_manager"], [42, 0, 0, "-", "types"]], "core.base_data_class": [[26, 1, 1, "", "DataClass"], [26, 1, 1, "", "DataClassFormatType"], [26, 1, 1, "", "DynamicDataClassFactory"], [26, 3, 1, "", "required_field"]], "core.base_data_class.DataClass": [[26, 2, 1, "", "format_class_str"], [26, 2, 1, "", "format_example_str"], [26, 2, 1, "", "from_dict"], [26, 2, 1, "", "from_json"], [26, 2, 1, "", "from_yaml"], [26, 2, 1, "", "to_dict"], [26, 2, 1, "", "to_dict_class"], [26, 2, 1, "", "to_json"], [26, 2, 1, "", "to_json_obj"], [26, 2, 1, "", "to_json_signature"], [26, 2, 1, "", "to_schema"], [26, 2, 1, "", "to_schema_str"], [26, 2, 1, "", "to_yaml"], [26, 2, 1, "", "to_yaml_obj"], [26, 2, 1, "", "to_yaml_signature"]], "core.base_data_class.DataClassFormatType": [[26, 4, 1, "", "EXAMPLE_JSON"], [26, 4, 1, "", "EXAMPLE_YAML"], [26, 4, 1, "", "SCHEMA"], [26, 4, 1, "", "SIGNATURE_JSON"], [26, 4, 1, "", "SIGNATURE_YAML"]], "core.base_data_class.DynamicDataClassFactory": [[26, 2, 1, "", "create_from_dict"]], "core.component": [[27, 1, 1, "", "Component"], [27, 1, 1, "", "FunComponent"], [27, 3, 1, "", "fun_to_component"]], "core.component.Component": [[27, 2, 1, "", "acall"], [27, 2, 1, "", "add_component"], [27, 2, 1, "", "call"], [27, 2, 1, "", "children"], [27, 2, 1, "", "components"], [27, 2, 1, "", "eval"], [27, 2, 1, "", "from_config"], [27, 2, 1, "", "from_dict"], [27, 2, 1, "", "get_subcomponent"], [27, 2, 1, "", "is_picklable"], [27, 2, 1, "", "load_from_pickle"], [27, 2, 1, "", "load_state_dict"], [27, 2, 1, "", "load_state_pickle"], [27, 2, 1, "", "named_children"], [27, 2, 1, "", "named_components"], [27, 2, 1, "", "named_parameters"], [27, 2, 1, "", "parameters"], [27, 2, 1, "", "pickle_to_file"], [27, 2, 1, "", "register_component"], [27, 2, 1, "", "register_parameter"], [27, 2, 1, "", "state_dict"], [27, 2, 1, "", "to_dict"], [27, 2, 1, "", "train"], [27, 4, 1, "", "training"]], "core.component.FunComponent": [[27, 2, 1, "", "call"]], "core.container": [[28, 1, 1, "", "Sequential"]], "core.container.Sequential": [[28, 2, 1, "", "append"], [28, 2, 1, "", "call"], [28, 2, 1, "", "extend"], [28, 2, 1, "", "insert"]], "core.db": [[29, 1, 1, "", "LocalDB"]], "core.db.LocalDB": [[29, 2, 1, "", "add"], [29, 2, 1, "", "delete"], [29, 2, 1, "", "extend"], [29, 2, 1, "", "fetch_items"], [29, 2, 1, "", "fetch_transformed_items"], [29, 2, 1, "", "get_transformed_data"], [29, 2, 1, "", "get_transformer_keys"], [29, 4, 1, "", "items"], [29, 5, 1, "", "length"], [29, 2, 1, "", "load"], [29, 2, 1, "", "load_state"], [29, 4, 1, "", "mapper_setups"], [29, 4, 1, "", "name"], [29, 2, 1, "", "register_transformer"], [29, 2, 1, "", "reset"], [29, 2, 1, "", "save_state"], [29, 2, 1, "", "transform"], [29, 4, 1, "", "transformed_items"], [29, 4, 1, "", "transformer_setups"]], "core.default_prompt_template": [[30, 6, 1, "", "DEFAULT_LIGHTRAG_SYSTEM_PROMPT"]], "core.embedder": [[31, 1, 1, "", "BatchEmbedder"], [31, 1, 1, "", "Embedder"]], "core.embedder.BatchEmbedder": [[31, 2, 1, "", "call"]], "core.embedder.Embedder": [[31, 2, 1, "", "acall"], [31, 2, 1, "", "call"], [31, 2, 1, "", "from_config"], [31, 4, 1, "", "model_client"], [31, 4, 1, "", "model_type"], [31, 4, 1, "", "output_processors"], [31, 2, 1, "", "update_default_model_kwargs"]], "core.func_tool": [[32, 1, 1, "", "FunctionTool"], [32, 3, 1, "", "is_running_in_event_loop"]], "core.func_tool.FunctionTool": [[32, 2, 1, "", "acall"], [32, 2, 1, "", "call"], [32, 2, 1, "", "execute"]], "core.functional": [[33, 3, 1, "", "compose_model_kwargs"], [33, 3, 1, "", "convert_schema_to_signature"], [33, 3, 1, "", "custom_asdict"], [33, 3, 1, "", "dataclass_obj_from_dict"], [33, 3, 1, "", "evaluate_ast_node"], [33, 3, 1, "", "extract_dataclass_type"], [33, 3, 1, "", "extract_first_boolean"], [33, 3, 1, "", "extract_first_float"], [33, 3, 1, "", "extract_first_int"], [33, 3, 1, "", "extract_json_str"], [33, 3, 1, "", "extract_list_str"], [33, 3, 1, "", "extract_yaml_str"], [33, 3, 1, "", "fix_json_escaped_single_quotes"], [33, 3, 1, "", "fix_json_missing_commas"], [33, 3, 1, "", "from_dict_to_json"], [33, 3, 1, "", "from_dict_to_yaml"], [33, 3, 1, "", "from_json_to_dict"], [33, 3, 1, "", "from_yaml_to_dict"], [33, 3, 1, "", "generate_function_call_expression_from_callable"], [33, 3, 1, "", "generate_readable_key_for_function"], [33, 3, 1, "", "get_dataclass_schema"], [33, 3, 1, "", "get_fun_schema"], [33, 3, 1, "", "get_top_k_indices_scores"], [33, 3, 1, "", "get_type_schema"], [33, 3, 1, "", "is_dataclass_instance"], [33, 3, 1, "", "is_normalized"], [33, 3, 1, "", "is_potential_dataclass"], [33, 3, 1, "", "normalize_np_array"], [33, 3, 1, "", "normalize_vector"], [33, 3, 1, "", "parse_function_call_expr"], [33, 3, 1, "", "parse_json_str_to_obj"], [33, 3, 1, "", "parse_yaml_str_to_obj"], [33, 3, 1, "", "represent_ordereddict"], [33, 3, 1, "", "sandbox_exec"], [33, 3, 1, "", "validate_data"]], "core.generator": [[34, 1, 1, "", "Generator"]], "core.generator.Generator": [[34, 2, 1, "", "acall"], [34, 2, 1, "", "call"], [34, 2, 1, "", "from_config"], [34, 4, 1, "", "model_client"], [34, 4, 1, "", "model_type"], [34, 2, 1, "", "print_prompt"]], "core.model_client": [[35, 1, 1, "", "ModelClient"]], "core.model_client.ModelClient": [[35, 2, 1, "", "acall"], [35, 2, 1, "", "call"], [35, 2, 1, "", "convert_inputs_to_api_kwargs"], [35, 2, 1, "", "init_async_client"], [35, 2, 1, "", "init_sync_client"], [35, 2, 1, "", "parse_chat_completion"], [35, 2, 1, "", "parse_embedding_response"]], "core.parameter": [[36, 1, 1, "", "Parameter"]], "core.parameter.Parameter": [[36, 2, 1, "", "to_dict"], [36, 2, 1, "", "update_value"]], "core.prompt_builder": [[37, 1, 1, "", "Prompt"], [37, 3, 1, "", "get_jinja2_environment"]], "core.prompt_builder.Prompt": [[37, 2, 1, "", "call"], [37, 2, 1, "", "compose_prompt_kwargs"], [37, 2, 1, "", "from_dict"], [37, 2, 1, "", "get_prompt_variables"], [37, 2, 1, "", "is_key_in_template"], [37, 2, 1, "", "print_prompt"], [37, 2, 1, "", "print_prompt_template"], [37, 2, 1, "", "to_dict"], [37, 2, 1, "", "update_prompt_kwargs"]], "core.retriever": [[38, 1, 1, "", "Retriever"]], "core.retriever.Retriever": [[38, 2, 1, "", "acall"], [38, 2, 1, "", "build_index_from_documents"], [38, 2, 1, "", "call"], [38, 4, 1, "", "index_keys"], [38, 4, 1, "", "indexed"], [38, 2, 1, "", "load_from_file"], [38, 2, 1, "", "reset_index"], [38, 2, 1, "", "save_to_file"]], "core.string_parser": [[39, 1, 1, "", "BooleanParser"], [39, 1, 1, "", "FloatParser"], [39, 1, 1, "", "IntParser"], [39, 1, 1, "", "JsonParser"], [39, 1, 1, "", "ListParser"], [39, 1, 1, "", "YamlParser"]], "core.string_parser.JsonParser": [[39, 2, 1, "", "call"]], "core.string_parser.YamlParser": [[39, 2, 1, "", "call"]], "core.tokenizer": [[40, 1, 1, "", "Tokenizer"]], "core.tokenizer.Tokenizer": [[40, 2, 1, "", "count_tokens"], [40, 2, 1, "", "decode"], [40, 2, 1, "", "encode"], [40, 2, 1, "", "get_string_tokens"], [40, 2, 1, "", "preprocess"]], "core.tool_manager": [[41, 1, 1, "", "ToolManager"]], "core.tool_manager.ToolManager": [[41, 2, 1, "", "execute_func"], [41, 2, 1, "", "execute_func_expr"], [41, 2, 1, "", "execute_func_expr_via_eval"], [41, 2, 1, "", "execute_func_expr_via_sandbox"], [41, 5, 1, "", "function_definitions"], [41, 5, 1, "", "json_definitions"], [41, 2, 1, "", "parse_func_expr"], [41, 5, 1, "", "yaml_definitions"]], "core.types": [[42, 1, 1, "", "AssistantResponse"], [42, 1, 1, "", "Conversation"], [42, 1, 1, "", "DialogTurn"], [42, 1, 1, "", "Document"], [42, 1, 1, "", "EmbedderOutput"], [42, 4, 1, "", "EmbedderOutputType"], [42, 1, 1, "", "Embedding"], [42, 1, 1, "", "Function"], [42, 1, 1, "", "FunctionDefinition"], [42, 1, 1, "", "FunctionExpression"], [42, 1, 1, "", "FunctionOutput"], [42, 1, 1, "", "GeneratorOutput"], [42, 1, 1, "", "ModelClientType"], [42, 1, 1, "", "ModelType"], [42, 1, 1, "", "RetrieverOutput"], [42, 1, 1, "", "StepOutput"], [42, 1, 1, "", "TokenLogProb"], [42, 1, 1, "", "Usage"], [42, 1, 1, "", "UserQuery"], [42, 3, 1, "", "get_model_args"]], "core.types.AssistantResponse": [[42, 4, 1, "", "metadata"], [42, 4, 1, "", "response_str"]], "core.types.Conversation": [[42, 2, 1, "", "append_dialog_turn"], [42, 4, 1, "", "created_at"], [42, 2, 1, "", "delete_dialog_turn"], [42, 4, 1, "", "dialog_turns"], [42, 4, 1, "", "dialog_turns_input"], [42, 2, 1, "", "get_chat_history_str"], [42, 2, 1, "", "get_dialog_turns"], [42, 2, 1, "", "get_next_order"], [42, 4, 1, "", "id"], [42, 4, 1, "", "metadata"], [42, 4, 1, "", "name"], [42, 2, 1, "", "update_dialog_turn"], [42, 4, 1, "", "user_id"]], "core.types.DialogTurn": [[42, 4, 1, "", "assistant_response"], [42, 4, 1, "", "assistant_response_timestamp"], [42, 4, 1, "", "conversation_id"], [42, 4, 1, "", "id"], [42, 4, 1, "", "metadata"], [42, 4, 1, "", "order"], [42, 2, 1, "", "set_assistant_response"], [42, 2, 1, "", "set_user_query"], [42, 4, 1, "", "user_id"], [42, 4, 1, "", "user_query"], [42, 4, 1, "", "user_query_timestamp"], [42, 4, 1, "", "vector"]], "core.types.Document": [[42, 4, 1, "", "estimated_num_tokens"], [42, 2, 1, "", "from_dict"], [42, 4, 1, "", "id"], [42, 4, 1, "", "meta_data"], [42, 4, 1, "", "order"], [42, 4, 1, "", "parent_doc_id"], [42, 4, 1, "", "score"], [42, 4, 1, "", "text"], [42, 4, 1, "", "vector"]], "core.types.EmbedderOutput": [[42, 4, 1, "", "data"], [42, 5, 1, "", "embedding_dim"], [42, 4, 1, "", "error"], [42, 4, 1, "", "input"], [42, 5, 1, "", "is_normalized"], [42, 5, 1, "", "length"], [42, 4, 1, "", "model"], [42, 4, 1, "", "raw_response"], [42, 4, 1, "", "usage"]], "core.types.Embedding": [[42, 4, 1, "", "embedding"], [42, 4, 1, "", "index"]], "core.types.Function": [[42, 4, 1, "", "args"], [42, 4, 1, "", "kwargs"], [42, 4, 1, "", "name"], [42, 4, 1, "", "thought"]], "core.types.FunctionDefinition": [[42, 2, 1, "", "fn_schema_str"], [42, 4, 1, "", "func_desc"], [42, 4, 1, "", "func_name"], [42, 4, 1, "", "func_parameters"]], "core.types.FunctionExpression": [[42, 4, 1, "", "action"], [42, 2, 1, "", "from_function"], [42, 4, 1, "", "thought"]], "core.types.FunctionOutput": [[42, 4, 1, "", "error"], [42, 4, 1, "", "input"], [42, 4, 1, "", "name"], [42, 4, 1, "", "output"], [42, 4, 1, "", "parsed_input"]], "core.types.GeneratorOutput": [[42, 4, 1, "", "data"], [42, 4, 1, "", "error"], [42, 4, 1, "", "metadata"], [42, 4, 1, "", "raw_response"], [42, 4, 1, "", "usage"]], "core.types.ModelType": [[42, 4, 1, "", "EMBEDDER"], [42, 4, 1, "", "LLM"], [42, 4, 1, "", "RERANKER"], [42, 4, 1, "", "UNDEFINED"]], "core.types.RetrieverOutput": [[42, 4, 1, "", "doc_indices"], [42, 4, 1, "", "doc_scores"], [42, 4, 1, "", "documents"], [42, 4, 1, "", "query"]], "core.types.StepOutput": [[42, 4, 1, "", "action"], [42, 4, 1, "", "fun_args"], [42, 4, 1, "", "fun_kwargs"], [42, 4, 1, "", "fun_name"], [42, 4, 1, "", "observation"], [42, 4, 1, "", "step"], [42, 4, 1, "", "thought"]], "core.types.TokenLogProb": [[42, 4, 1, "", "logprob"], [42, 4, 1, "", "token"]], "core.types.Usage": [[42, 4, 1, "", "prompt_tokens"], [42, 4, 1, "", "total_tokens"]], "core.types.UserQuery": [[42, 4, 1, "", "metadata"], [42, 4, 1, "", "query_str"]], "eval": [[48, 1, 1, "", "AnswerMatchAcc"], [48, 1, 1, "", "LLMasJudge"], [48, 1, 1, "", "RetrieverRecall"], [48, 1, 1, "", "RetrieverRelevance"], [44, 0, 0, "-", "answer_match_acc"], [45, 0, 0, "-", "llm_as_judge"], [46, 0, 0, "-", "retriever_recall"], [47, 0, 0, "-", "retriever_relevance"]], "eval.AnswerMatchAcc": [[48, 2, 1, "", "compute"]], "eval.LLMasJudge": [[48, 2, 1, "", "compute"]], "eval.RetrieverRecall": [[48, 2, 1, "", "compute"]], "eval.RetrieverRelevance": [[48, 2, 1, "", "compute"]], "eval.answer_match_acc": [[44, 1, 1, "", "AnswerMatchAcc"]], "eval.answer_match_acc.AnswerMatchAcc": [[44, 2, 1, "", "compute"]], "eval.llm_as_judge": [[45, 1, 1, "", "DefaultLLMJudge"], [45, 1, 1, "", "LLMasJudge"]], "eval.llm_as_judge.DefaultLLMJudge": [[45, 2, 1, "", "call"]], "eval.llm_as_judge.LLMasJudge": [[45, 2, 1, "", "compute"]], "eval.retriever_recall": [[46, 1, 1, "", "RetrieverRecall"]], "eval.retriever_recall.RetrieverRecall": [[46, 2, 1, "", "compute"]], "eval.retriever_relevance": [[47, 1, 1, "", "RetrieverRelevance"]], "eval.retriever_relevance.RetrieverRelevance": [[47, 2, 1, "", "compute"]], "optim": [[50, 1, 1, "", "BootstrapFewShot"], [50, 1, 1, "", "ClassSampler"], [50, 1, 1, "", "LLMOptimizer"], [50, 1, 1, "", "Optimizer"], [50, 1, 1, "", "RandomSampler"], [50, 1, 1, "", "Sampler"], [51, 0, 0, "-", "few_shot_optimizer"], [52, 0, 0, "-", "llm_augment"], [53, 0, 0, "-", "llm_optimizer"], [54, 0, 0, "-", "optimizer"], [55, 0, 0, "-", "sampler"]], "optim.BootstrapFewShot": [[50, 2, 1, "", "augment_samples"], [50, 2, 1, "", "init"], [50, 2, 1, "", "propose"], [50, 2, 1, "", "random_replace"], [50, 2, 1, "", "reset"], [50, 2, 1, "", "reset_parameter"], [50, 2, 1, "", "update_parameter"]], "optim.ClassSampler": [[50, 2, 1, "", "call"], [50, 2, 1, "", "random_replace"], [50, 2, 1, "", "random_sample"]], "optim.LLMOptimizer": [[50, 2, 1, "", "propose"], [50, 2, 1, "", "reset"], [50, 2, 1, "", "reset_parameter"], [50, 2, 1, "", "update_parameter"]], "optim.Optimizer": [[50, 2, 1, "", "state_dict"], [50, 2, 1, "", "step"]], "optim.RandomSampler": [[50, 2, 1, "", "call"], [50, 4, 1, "", "dataset"], [50, 2, 1, "", "random_replace"], [50, 2, 1, "", "random_sample"]], "optim.Sampler": [[50, 2, 1, "", "call"], [50, 2, 1, "", "random_replace"]], "optim.few_shot_optimizer": [[51, 1, 1, "", "BootstrapFewShot"]], "optim.few_shot_optimizer.BootstrapFewShot": [[51, 2, 1, "", "augment_samples"], [51, 2, 1, "", "init"], [51, 2, 1, "", "propose"], [51, 2, 1, "", "random_replace"], [51, 2, 1, "", "reset"], [51, 2, 1, "", "reset_parameter"], [51, 2, 1, "", "update_parameter"]], "optim.llm_augment": [[52, 1, 1, "", "LLMAugmenter"]], "optim.llm_augment.LLMAugmenter": [[52, 2, 1, "", "call"]], "optim.llm_optimizer": [[53, 1, 1, "", "Instruction"], [53, 1, 1, "", "LLMOptimizer"]], "optim.llm_optimizer.Instruction": [[53, 4, 1, "", "gts"], [53, 4, 1, "", "responses"], [53, 4, 1, "", "score"], [53, 4, 1, "", "text"]], "optim.llm_optimizer.LLMOptimizer": [[53, 2, 1, "", "propose"], [53, 2, 1, "", "reset"], [53, 2, 1, "", "reset_parameter"], [53, 2, 1, "", "update_parameter"]], "optim.optimizer": [[54, 1, 1, "", "Optimizer"]], "optim.optimizer.Optimizer": [[54, 2, 1, "", "state_dict"], [54, 2, 1, "", "step"]], "optim.sampler": [[55, 1, 1, "", "ClassSampler"], [55, 1, 1, "", "RandomSampler"], [55, 1, 1, "", "Sample"], [55, 1, 1, "", "Sampler"]], "optim.sampler.ClassSampler": [[55, 2, 1, "", "call"], [55, 2, 1, "", "random_replace"], [55, 2, 1, "", "random_sample"]], "optim.sampler.RandomSampler": [[55, 2, 1, "", "call"], [55, 4, 1, "", "dataset"], [55, 2, 1, "", "random_replace"], [55, 2, 1, "", "random_sample"]], "optim.sampler.Sample": [[55, 4, 1, "", "data"], [55, 4, 1, "", "index"], [55, 2, 1, "", "to_dict"]], "optim.sampler.Sampler": [[55, 2, 1, "", "call"], [55, 2, 1, "", "random_replace"]], "tracing": [[57, 0, 0, "-", "decorators"], [58, 0, 0, "-", "generator_call_logger"], [59, 0, 0, "-", "generator_state_logger"]], "tracing.decorators": [[57, 3, 1, "", "trace_generator_call"], [57, 3, 1, "", "trace_generator_states"]], "tracing.generator_call_logger": [[58, 1, 1, "", "GeneratorCallLogger"], [58, 1, 1, "", "GeneratorCallRecord"]], "tracing.generator_call_logger.GeneratorCallLogger": [[58, 5, 1, "", "generator_names_to_files"], [58, 2, 1, "", "get_calls"], [58, 2, 1, "", "get_log_location"], [58, 2, 1, "", "load"], [58, 2, 1, "", "load_meta_data"], [58, 2, 1, "", "log_call"], [58, 2, 1, "", "register_generator"], [58, 2, 1, "", "save_meta_data"]], "tracing.generator_call_logger.GeneratorCallRecord": [[58, 4, 1, "", "model_kwargs"], [58, 4, 1, "", "output"], [58, 4, 1, "", "prompt_kwargs"], [58, 4, 1, "", "time_stamp"]], "tracing.generator_state_logger": [[59, 1, 1, "", "GeneratorStateLogger"], [59, 1, 1, "", "GeneratorStatesRecord"]], "tracing.generator_state_logger.GeneratorStateLogger": [[59, 5, 1, "", "generator_names"], [59, 2, 1, "", "get_log_location"], [59, 2, 1, "", "load"], [59, 2, 1, "", "log_prompt"], [59, 2, 1, "", "save"]], "tracing.generator_state_logger.GeneratorStatesRecord": [[59, 4, 1, "", "prompt_states"], [59, 4, 1, "", "time_stamp"]], "utils": [[61, 0, 0, "-", "config"], [62, 0, 0, "-", "file_io"], [63, 0, 0, "-", "lazy_import"], [64, 0, 0, "-", "logger"], [65, 0, 0, "-", "registry"], [66, 0, 0, "-", "serialization"], [67, 0, 0, "-", "setup_env"]], "utils.config": [[61, 3, 1, "", "new_component"], [61, 3, 1, "", "new_components_from_config"]], "utils.file_io": [[62, 3, 1, "", "append_to_jsonl"], [62, 3, 1, "", "load"], [62, 3, 1, "", "load_json"], [62, 3, 1, "", "load_jsonl"], [62, 3, 1, "", "load_pickle"], [62, 3, 1, "", "save"], [62, 3, 1, "", "save_json"], [62, 3, 1, "", "save_pickle"], [62, 3, 1, "", "write_list_to_jsonl"]], "utils.lazy_import": [[63, 1, 1, "", "LazyImport"], [63, 1, 1, "", "OptionalPackages"], [63, 3, 1, "", "safe_import"]], "utils.lazy_import.LazyImport": [[63, 2, 1, "", "load_class"]], "utils.lazy_import.OptionalPackages": [[63, 4, 1, "", "ANTHROPIC"], [63, 4, 1, "", "COHERE"], [63, 4, 1, "", "FAISS"], [63, 4, 1, "", "GOOGLE_GENERATIVEAI"], [63, 4, 1, "", "GROQ"], [63, 4, 1, "", "OPENAI"], [63, 4, 1, "", "PGVECTOR"], [63, 4, 1, "", "SQLALCHEMY"], [63, 4, 1, "", "TORCH"], [63, 4, 1, "", "TRANSFORMERS"]], "utils.logger": [[64, 3, 1, "", "get_current_script_and_line"], [64, 3, 1, "", "get_logger"], [64, 3, 1, "", "printc"]], "utils.registry": [[65, 1, 1, "", "EntityMapping"]], "utils.registry.EntityMapping": [[65, 2, 1, "", "get"], [65, 2, 1, "", "get_all"], [65, 2, 1, "", "register"]], "utils.serialization": [[66, 1, 1, "", "ObjectTypes"], [66, 3, 1, "", "check_object"], [66, 3, 1, "", "default"], [66, 3, 1, "", "deserialize"], [66, 3, 1, "", "serialize"], [66, 3, 1, "", "to_dict"]], "utils.serialization.ObjectTypes": [[66, 4, 1, "", "CLASS"], [66, 4, 1, "", "INSTANCE"], [66, 4, 1, "", "TYPE"]], "utils.setup_env": [[67, 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": {"": [4, 10, 18, 20, 27, 28, 32, 35, 36, 37, 38, 55, 64, 68, 72, 73, 74, 78, 79, 80, 81, 82, 84, 85, 87, 92, 95, 96, 97, 98, 103, 106, 109, 111], "0": [4, 20, 26, 27, 28, 29, 33, 34, 42, 44, 45, 46, 47, 48, 53, 68, 72, 74, 78, 80, 81, 88, 90, 94, 95, 96, 97, 98, 102, 105, 106], "00": [78, 79], "0001": 33, "00016600126": 80, "00018637415": 80, "0003912348": 80, "00045548353": 80, "00063306844": 80, "00093111617": 80, "0009763892": 80, "001149847": 80, "001270235": 80, "001274437": 80, "0013953627": 80, "0015121206": 80, "0016585035": 80, "0017067948": 80, "0017369769": 80, "0018af12": 78, "002": 97, "002240922": 80, "0023736332": 80, "0024688914": 80, "0025802834": 80, "0027390209": 80, "002749016": 80, "0027831418": 80, "0032514224": 80, "0032596611": 80, "0035554452": 80, "0035945757": 80, "004110795": 80, "0042391727": 80, "00427709": 80, "004391488": 80, "0045538875": 80, "0048683644": 80, "005190901": 80, "005429781": 80, "0055172783": 80, "0059066266": 80, "0060756463": 80, "0065862634": 80, "006953944": 80, "007086745": 80, "0072255824": 80, "0073946016": 80, "007424784": 80, "0076722763": 80, "008243256": 80, "008804435": 80, "00888027": 80, "00918361": 80, "0092658885": 80, "009380581": 80, "009410762": 80, "009845384": 80, "0098876385": 80, "0099192085": 80, "00z": 78, "010159277": 80, "010340369": 80, "01047317": 80, "010648226": 80, "010723059": 80, "011026398": 80, "01102852": 80, "011178068": 80, "011329738": 80, "011336377": 80, "011663412": 80, "0118985": 80, "012314276": 80, "012414178": 80, "012519513": 80, "012596182": 80, "012740267": 80, "01283127": 80, "012846436": 80, "013225611": 80, "013376684": 80, "013642286": 80, "013799232": 80, "014256966": 80, "014401053": 80, "0144541375": 80, "014545139": 80, "014752985": 80, "014813349": 80, "01541699": 80, "015417241": 80, "015500659": 80, "015549791": 80, "015742956": 80, "015791247": 80, "015851611": 80, "01600117": 80, "016137673": 80, "016201723": 80, "016310379": 80, "016319677": 80, "016503545": 80, "016853655": 80, "017123526": 80, "017179621": 80, "017199362": 80, "01721584": 80, "017252058": 80, "017384859": 80, "0175027": 80, "017819481": 80, "017942544": 80, "018185215": 80, "01821555": 80, "018579558": 80, "019038836": 80, "019186236": 80, "019337907": 80, "01965455": 80, "01t12": 78, "01z": 78, "020113317": 80, "020202424": 80, "020318555": 80, "02047543": 80, "020702936": 80, "02072903": 80, "020733269": 80, "020777322": 80, "02094634": 80, "02170693": 80, "021855626": 80, "022022463": 80, "022083132": 80, "022370934": 80, "022491662": 80, "022583641": 80, "022795979": 80, "022917315": 80, "023175154": 80, "02349366": 80, "02435818": 80, "024447458": 80, "024479514": 80, "02448e3fd394": 78, "02449575": 80, "024570517": 80, "024691852": 80, "024773424": 80, "02479802": 80, "024821715": 80, "0249183": 80, "024919357": 80, "024995193": 80, "025014881": 80, "025159756": 80, "025237864": 80, "025283365": 80, "025304629": 80, "025344033": 80, "0253592": 80, "025449503": 80, "025763396": 80, "025811687": 80, "025829377": 80, "026026547": 80, "02642089": 80, "02646639": 80, "026527058": 80, "026560202": 80, "026845565": 80, "02686073": 80, "027526028": 80, "027646756": 80, "027719192": 80, "02781625": 80, "02787692": 80, "027888212": 80, "028250396": 80, "028274542": 80, "028392596": 80, "028419416": 80, "028588437": 80, "028709164": 80, "028711103": 80, "028999276": 80, "029023057": 80, "029095493": 80, "029393617": 80, "029454285": 80, "029578406": 80, "02959079": 80, "029819863": 80, "02t15": 87, "02z": 78, "030351067": 80, "030515974": 80, "030561475": 80, "030737398": 80, "031122655": 80, "031425994": 80, "03148666": 80, "031992972": 80, "032282718": 80, "03250003": 80, "03254835": 80, "03288636": 80, "032958794": 80, "033031233": 80, "033200253": 80, "033320982": 80, "03374": 81, "03409": 53, "03414193": 80, "034190223": 80, "034338057": 80, "03438339": 80, "034398723": 80, "034489725": 80, "034673136": 80, "034793064": 80, "035096403": 80, "03520434": 80, "035276778": 80, "03530092": 80, "035399742": 80, "0354458": 80, "035460413": 80, "03567275": 80, "03575969": 80, "035794087": 80, "035945754": 80, "036188427": 80, "036249094": 80, "03629": [1, 71], "03648406": 80, "036582768": 80, "03718945": 80, "037280865": 80, "037715487": 80, "03773546": 80, "037787925": 80, "03828147": 80, "038294982": 80, "03841571": 80, "038463477": 80, "038898624": 80, "039161157": 80, "03934316": 80, "03940383": 80, "03940568": 80, "039555497": 80, "039792012": 80, "039828505": 80, "039919507": 80, "03t16": 87, "03z": 78, "04": 79, "040178344": 80, "040274926": 80, "04090271": 80, "041820247": 80, "041868538": 80, "042224888": 80, "042285554": 80, "042497892": 80, "042649563": 80, "042810217": 80, "0428619": 80, "042922568": 80, "042952903": 80, "043104574": 80, "04352925": 80, "04363117": 80, "043776043": 80, "043802254": 80, "043893255": 80, "044017497": 80, "0442831": 80, "044408932": 80, "0445487": 80, "044596992": 80, "04500747": 80, "045128196": 80, "045200635": 80, "045318954": 80, "04537962": 80, "045409955": 80, "045500956": 80, "045755986": 80, "046214752": 80, "046380643": 80, "046842538": 80, "047301304": 80, "04732545": 80, "04735133": 80, "04744618": 80, "048018675": 80, "048170548": 80, "048242986": 80, "04844335": 80, "048534352": 80, "04865569": 80, "04874669": 80, "04882248": 80, "0491107": 80, "049112227": 80, "049257103": 80, "049474705": 80, "04964343": 80, "04988489": 80, "04it": 78, "05": 86, "05011172": 80, "050126344": 80, "050688066": 80, "050995983": 88, "05133363": 80, "051385745": 80, "051749755": 80, "05202276": 80, "052057996": 80, "052106287": 80, "05220287": 80, "052417103": 80, "053175453": 80, "05331357": 80, "05338779": 80, "05369113": 80, "05408623": 80, "054115806": 80, "054617435": 80, "054762308": 80, "055341803": 80, "055390093": 80, "055631552": 80, "055824716": 80, "05584484": 80, "05606617": 80, "056500793": 80, "056549083": 80, "057031997": 80, "057118867": 80, "057209868": 80, "05794953": 80, "057968218": 80, "05877048": 80, "059393916": 80, "059543144": 80, "059977766": 80, "06": 87, "060026057": 80, "06033427": 80, "060455605": 80, "060750425": 80, "060758945": 80, "060940947": 80, "06109262": 80, "06205429": 80, "062150873": 80, "062199164": 80, "062427312": 80, "06244062": 80, "0625372": 80, "062609315": 80, "06335816": 80, "063458666": 80, "06351934": 80, "06358001": 80, "06424735": 80, "06430802": 80, "06437227": 80, "06527871": 80, "065521374": 80, "065724425": 80, "06596588": 80, "06615905": 80, "066492066": 80, "06691674": 80, "067159414": 80, "06782676": 80, "06799412": 80, "06842874": 80, "06881507": 80, "069404125": 80, "06978089": 80, "06995014": 80, "06ea7cea": 78, "07": 86, "070553556": 80, "07061748": 80, "0708433": 80, "0708916": 80, "07113305": 80, "07158817": 80, "07185742": 80, "07249819": 80, "07261953": 80, "07296812": 80, "07298353": 80, "074030526": 80, "07407882": 80, "07456173": 80, "07486424": 80, "07510691": 80, "07595626": 80, "076138265": 80, "07654167": 80, "07736263": 80, "077507496": 80, "07753363": 80, "077776305": 80, "07794212": 80, "0780387": 80, "078569904": 80, "078763075": 80, "07881136": 80, "079110995": 80, "07989968": 80, "08088789": 80, "08103276": 80, "08112934": 80, "081225924": 80, "08199859": 80, "08256907": 80, "08275107": 80, "08277125": 80, "082872406": 80, "083054416": 80, "08317575": 80, "083539754": 80, "083600424": 80, "083737075": 80, "08397853": 80, "0841717": 80, "08426777": 80, "08432844": 80, "084389105": 80, "08494435": 80, "08523846": 80, "085717015": 80, "085905805": 80, "08651248": 80, "08658626": 80, "08663": 95, "08669449": 80, "08774": 81, "08851453": 80, "08861449": 80, "08880766": 80, "088952534": 80, "08962861": 80, "09": 78, "090455905": 80, "09081991": 80, "09100191": 80, "091183916": 80, "091244586": 80, "09148726": 80, "09172993": 80, "09199488": 80, "09209394": 80, "09213976": 80, "092639945": 80, "0935402": 80, "09354997": 80, "09382995": 80, "09433865": 80, "0946509": 80, "09503723": 80, "09614793": 80, "09634069": 80, "09793471": 80, "09925275": 80, "099495426": 80, "0d16": [4, 97], "0d95cc65e6ef": 80, "0th": 96, "0x104970220": 98, "0x104970400": 98, "0x105e3b920": 98, "0x105e3bc40": 98, "0x1062a2840": 98, "0x106d691c0": 98, "0x10fb26f20": 78, "0x11742eca0": 98, "0x117b98360": 98, "0x14d9d3f60": 98, "0x14d9e4040": 98, "0x14d9e40e0": 98, "0x14d9e4180": 98, "0x14d9e4220": 98, "0x14d9e4360": 98, "1": [1, 4, 16, 18, 20, 22, 26, 27, 28, 29, 31, 32, 37, 42, 44, 45, 46, 47, 48, 53, 61, 63, 66, 68, 72, 74, 78, 79, 81, 83, 85, 86, 87, 88, 90, 92, 94, 95, 97, 101, 105, 106, 109, 111], "10": [1, 50, 55, 64, 78, 84, 86, 95, 98, 101, 106, 111], "100": [31, 42, 61, 78, 79, 80, 81, 88, 96, 106], "1000": [4, 79, 103], "100156106": 80, "10046611": 80, "10054244": 80, "10064811": 80, "10204348": 80, "10205": 78, "10210415": 80, "1024": 85, "102407485": 80, "102468155": 80, "10289283": 80, "1029535": 80, "103074834": 80, "104888655": 80, "10519821": 80, "10580489": 80, "106168896": 80, "106957585": 80, "10762493": 80, "10875195": 80, "10950564": 80, "11": [18, 79, 95], "111386344": 80, "11155285": 80, "11164943": 80, "11174601": 80, "1124177": 80, "11396741": 80, "11423773": 80, "11496575": 80, "11532976": 80, "1156331": 80, "115995646": 80, "11618881": 80, "11686489": 80, "11802388": 80, "11903": 18, "12": [81, 102], "121821225": 80, "12218524": 80, "122670576": 80, "122853": 80, "123": [36, 39, 42], "127": 68, "128": 106, "12936": 96, "12it": 78, "13": 96, "13125569": 80, "13164201": 80, "13225": 96, "1328": 96, "13395482": 80, "13516818": 80, "13577485": 80, "13985154": 80, "13ac": 96, "14": 88, "14545332": 80, "14796448": 80, "15": [68, 80, 81, 96], "151683837681807": 95, "15d838c4": 96, "163da9868ea4": [4, 97], "16574481": 80, "17": 96, "17654371": 80, "17761531": 80, "17933443": 80, "17e7": 96, "18": 86, "180": 90, "18041": 81, "18089913": 80, "18447268": 80, "19306852": 80, "196ec25d39c4": 80, "19736": 81, "1976": [46, 47, 48, 81], "1997": 71, "1998": [46, 47, 48, 81], "1dfe96ccb65f": 96, "2": [1, 4, 16, 18, 20, 26, 27, 28, 29, 32, 34, 37, 42, 44, 45, 46, 48, 61, 66, 68, 72, 74, 78, 79, 80, 81, 83, 85, 86, 88, 90, 92, 94, 95, 97, 101, 105, 109, 111], "20": 74, "200": [4, 61, 96], "2014": 20, "2020": [81, 85], "2021": [78, 81], "2023": [1, 18, 81], "2024": [81, 86, 87], "20240229": 85, "20417552": 80, "21": [87, 96], "2104": 95, "2107": 81, "21549304": 88, "2167": 78, "21f0385d": 78, "22": [86, 98], "2201": 18, "2210": [1, 71], "223220": 87, "2303": 81, "2309": 53, "2310": 81, "2329ffa8d4b6": 78, "2375": 96, "2402": 81, "24047995": 88, "24366009": 88, "249": 86, "24it": 78, "25": [20, 26, 86, 95, 96, 106, 111], "256": [31, 61, 78, 79, 80, 95, 96], "26": 102, "27": 94, "27cc": 78, "27cec433": 97, "28": [46, 47, 48, 81], "29": [46, 47, 48, 81], "2971": 96, "2a78": 78, "2ae492258b53": 97, "2e25ae5336c8": [4, 97], "2e6f4452827b": 78, "2e8e63041698": 78, "2ed0196b0c81": 96, "2f": 98, "2it": 78, "3": [18, 20, 27, 28, 29, 31, 33, 34, 42, 44, 45, 46, 48, 61, 66, 68, 72, 74, 78, 79, 80, 81, 82, 85, 86, 88, 92, 94, 95, 97, 101, 105, 106, 109, 111], "30": [26, 90, 102], "32": 106, "3333333333333333": 81, "33437008": 88, "353b738c1b71": 78, "37": 87, "37041178": 88, "37e1d8ff0526": 78, "37it": 78, "38": 81, "382": 96, "39": 86, "3927": [4, 97], "3rd": [26, 95], "4": [33, 42, 68, 81, 86, 94, 95, 98, 102, 105, 109, 111], "40": 84, "400": 61, "401": 82, "405a": 78, "4077": 78, "40f0": [4, 97], "42": 90, "4206": 78, "4248": [4, 97], "43": 86, "435b": 78, "439037e58842": 96, "43a4": 78, "43f5": 78, "44": 87, "440": 105, "442f": 78, "4499fa22525d": 96, "44a8aa37": [4, 97], "45": [39, 81, 87], "4509756": 88, "456": 36, "4568096570283078": 95, "45efa517": 78, "4667": 78, "46it": 78, "4780": [78, 96], "483b": 78, "4870": 78, "48ce": 78, "49": [86, 96], "4917": 80, "493d": 78, "4972": 96, "49b5": [4, 97], "49ff": 78, "4aa8": 97, "4bd0": 78, "4c00": 96, "4c39": 96, "4c92": 96, "4ca4": 97, "4cc5": 96, "4ce3": 80, "4dde": 96, "4df0": 96, "4dfa": 96, "4e24": 78, "4e69": 96, "4eb4": 78, "4f11": 97, "4f5f": 78, "4f88": [4, 97], "4o": 95, "5": [4, 18, 20, 24, 27, 32, 33, 34, 72, 74, 78, 81, 82, 85, 86, 88, 94, 95, 96, 97, 98, 102, 105, 106, 109, 111], "50": [3, 78, 96, 98], "512": 88, "5166601493236314": 95, "518a": 78, "5316efd58d58": 78, "5343238380789569": 95, "55": 87, "557cc52b": 96, "56": 87, "569a": 78, "582859": 87, "59it": 79, "5ba2": 80, "6": [18, 50, 55, 78, 81, 86, 88, 95, 96, 98, 109], "6060606060606061": [47, 48, 81], "609": 78, "6175549": 88, "6229580777634034": 20, "6294762236217233": 95, "63072": 78, "64": 106, "64987b2b": 78, "6666666666666666": [81, 98], "68ae": 96, "6bd772b9": 96, "7": [86, 90, 94, 95, 109], "70": 90, "70b": 94, "72": 98, "724": 96, "7335e34ee0c6": 78, "73c12be3": 78, "741": 96, "75": [20, 90, 95], "756148": 87, "765794": 87, "768": 79, "7749403119087219": 81, "7749999761581421": 95, "7790170272403408": 95, "7844": 78, "7853187918663025": 81, "78917586": 80, "7959791421890259": 81, "79it": 78, "7a17ed45": 78, "7a4f86892556": 78, "7de4b00a": 96, "8": [20, 88, 95, 96, 102], "80": 68, "800": 4, "8000": 68, "803030303030303": [47, 48, 81], "8031794089550072": 95, "8109999895095825": 95, "8119999766349792": 95, "8169999718666077": 95, "8192": [27, 82, 94, 106], "82fb": 97, "840021aa1953": 78, "844a": 96, "8678": 78, "8762": 96, "87e0": 78, "882e": 96, "8871": 97, "88b1": 97, "88b4": 96, "8905dc5f": 97, "8b": [27, 82, 106], "8b0d": 78, "8bc3": 78, "8be5": 97, "8c3e": 78, "8e52": 78, "8f78": 96, "9": [94, 95, 96], "90": 84, "910e984cdb65": 78, "9122": 78, "9216": 106, "922c0f8a4efb": 96, "93922b619293": 78, "9419728517532349": 81, "9435ed755e20": 78, "9498793313012154": 95, "9670": 78, "9696708": 95, "9701269": 95, "97db": [4, 97], "98": 86, "98742366": 95, "991f": 96, "9950029253959656": 95, "99520767": 95, "9994476437568665": 95, "9994490742683411": 95, "9996004700660706": 95, "9a424d4c": 78, "9bae": 96, "9c14": 80, "9ca4": [4, 97], "9cd745effb43": 96, "A": [4, 10, 16, 18, 24, 26, 28, 31, 33, 36, 42, 45, 65, 71, 78, 80, 81, 82, 86, 88, 94, 95, 96, 98, 102, 106], "And": [34, 74, 85, 90, 92, 96, 98, 103], "As": [27, 29, 33, 72, 74, 78, 80, 92, 95, 98, 111], "At": [86, 94], "But": [85, 87, 95, 96, 98], "By": [34, 74, 79, 97, 98], "For": [1, 4, 16, 18, 26, 35, 45, 48, 68, 72, 78, 79, 81, 82, 83, 88, 94, 95, 96, 97, 98, 103, 105, 109, 111], "If": [4, 16, 22, 26, 27, 31, 33, 39, 41, 42, 50, 55, 57, 58, 64, 68, 72, 78, 79, 81, 82, 84, 85, 90, 92, 95, 96, 97, 98, 103, 105, 111], "In": [28, 29, 37, 42, 71, 72, 74, 78, 80, 84, 86, 87, 88, 90, 92, 94, 96, 97, 98, 109, 111], "It": [3, 4, 6, 20, 27, 28, 29, 33, 34, 35, 39, 42, 44, 48, 50, 51, 55, 57, 63, 74, 78, 79, 80, 81, 82, 83, 84, 86, 87, 88, 90, 92, 94, 95, 96, 97, 98, 106, 109, 111], "Its": [78, 95], "NOT": 16, "No": [32, 45, 48, 95, 96, 103], "Not": [6, 105], "On": [72, 106], "One": 59, "Or": [95, 98, 102], "Such": 27, "The": [3, 4, 16, 18, 20, 24, 26, 27, 28, 29, 31, 33, 34, 35, 37, 38, 40, 41, 42, 45, 46, 47, 48, 49, 50, 53, 55, 57, 58, 59, 61, 62, 63, 64, 66, 68, 71, 72, 74, 78, 79, 81, 82, 83, 84, 85, 86, 87, 88, 90, 92, 94, 95, 96, 97, 98, 103, 104, 105, 106, 109, 110, 111], "Then": [4, 68, 78, 80, 88, 94, 96, 97, 98], "There": [1, 22, 84, 85, 86, 95], "These": [4, 68, 74, 80, 83, 92, 95, 96, 97, 98, 109], "To": [20, 38, 39, 68, 72, 74, 79, 81, 82, 83, 87, 92, 94, 95, 96, 97, 98, 102, 103, 105, 106, 109, 111], "Will": 104, "With": [28, 33, 38, 78, 80, 88, 90, 94, 96], "_": [20, 95], "________": 90, "__call__": [40, 74, 82, 83, 88], "__dict__": [26, 29, 78], "__doc__": 95, "__init__": [20, 27, 57, 74, 79, 86, 87, 88, 95, 98, 106], "__main__": [90, 98], "__name__": [66, 86, 88], "__repr__": 74, "_acal": [10, 35], "_api_kei": 88, "_call": [10, 35, 58, 88], "_coarse_labels_desc": 72, "_combine_input_and_model_kwarg": 88, "_compon": 87, "_compute_single_item": 45, "_extra_repr": [74, 79], "_field_typ": 53, "_generator_names_to_fil": 58, "_generator_trac": 57, "_init_async_cli": 88, "_init_sync_cli": 88, "_is_async": 98, "_missing_typ": 53, "_paramet": 87, "_template_str": 87, "_trace_map": 59, "a2acf8ba4c27": 78, "a2b7": 96, "a595": 96, "a958": 78, "aa81": 78, "aaa8": 78, "ab": [1, 18, 53, 71, 82, 95], "ab64": 78, "aba9": 78, "abbrevi": 72, "abc": 78, "abda": 96, "abil": [71, 78, 81], "abl": [72, 82, 95], "about": [68, 84, 85], "abov": [74, 82, 84, 85, 87, 88, 90, 92, 95, 98], "absolut": 96, "abstract": [16, 35, 49, 50, 55, 72, 73, 83, 84, 88, 90, 106], "abstract_algebra": 81, "ac": 20, "ac78": 80, "academ": [81, 97], "acal": [27, 31, 32, 34, 35, 38, 74, 82, 83, 88, 95, 98, 106], "acc_list": [44, 48], "access": [22, 27, 29, 41, 57, 71, 81, 94, 95, 98, 102], "accomplish": 83, "accord": [4, 20, 109], "accordingli": 90, "account": 82, "accumul": 96, "accur": 95, "accuraci": [44, 48, 81, 84, 97, 109], "acetaminophen": 74, "achiam": 81, "achiev": [18, 32, 72, 82, 84, 98], "acm": 81, "across": [33, 72, 81, 98, 111], "act": [71, 80, 94], "action": [42, 94, 97, 105], "activ": [42, 103], "actual": [16, 22, 33, 82, 87, 95, 97], "ad": [20, 27, 28, 29, 33, 36, 42, 74, 78, 82, 86, 87, 95, 96, 98, 103], "ada": 97, "adapt": [20, 45, 79, 81, 82, 97, 98, 103], "adc9": 96, "add": [1, 16, 18, 20, 27, 28, 29, 31, 33, 39, 42, 64, 68, 72, 74, 78, 79, 83, 85, 88, 90, 94, 98, 103, 105], "add_a_b": 28, "add_compon": 27, "add_llm_as_fallback": 1, "add_missing_right_brac": [33, 39], "add_missing_right_bracket": [33, 39], "add_on": 74, "add_point": 98, "addab": 28, "addit": [1, 20, 33, 42, 74, 79, 82, 86, 88, 94, 98], "addition": [22, 35, 79, 81, 86, 95, 98], "additional_context": [41, 98], "additon": 40, "addonecompon": 74, "address": [84, 97], "adjust": 84, "adopt": 106, "adpat": 82, "advanc": [43, 74, 85, 86, 97], "advis": 26, "ae99": 78, "afbd": 78, "afc": [4, 97], "affect": [72, 79], "after": [20, 26, 29, 31, 34, 37, 39, 68, 72, 80, 82, 85, 86, 94, 95, 96, 98, 105], "afternoon": 96, "afun": 27, "ag": [26, 90, 111], "again": [80, 95, 96], "agenda": 71, "agent": [1, 32, 42, 43, 49, 81, 84, 85, 92, 98, 103, 105, 106], "agnost": [82, 83, 85, 88, 106], "ahead": [72, 83], "ai": [10, 74, 86, 100, 103, 106], "aim": [81, 84, 90, 96], "al": 81, "algorithm": [96, 97], "alia": [27, 42], "align": [4, 68, 97], "all": [16, 26, 27, 29, 32, 35, 37, 38, 41, 42, 49, 50, 53, 61, 66, 68, 72, 74, 78, 79, 82, 83, 84, 85, 87, 88, 90, 92, 94, 95, 96, 98, 102, 103, 106, 111], "all_gt_answ": [44, 48, 109], "all_gt_context": [46, 47, 48, 109], "all_pred_answ": [44, 48, 109], "all_quest": 109, "all_retrieved_context": [46, 47, 48, 109], "allevi": [74, 95], "allow": [26, 27, 28, 33, 42, 58, 72, 74, 78, 82, 84, 86, 92, 94, 95, 96, 97, 103, 106, 109], "allowi": 78, "almost": [84, 85, 90, 95], "along": [22, 26, 29, 34, 64, 68, 72, 74, 78, 88, 95], "alpha": [96, 105], "alreadi": [18, 20, 27, 42, 72, 82, 86, 90, 95, 98, 105], "also": [4, 18, 20, 27, 31, 32, 33, 40, 42, 72, 74, 78, 81, 82, 84, 92, 94, 95, 96, 97, 98, 111], "altern": 28, "although": [20, 94, 95, 96], "alwai": [16, 26, 29, 50, 53, 78, 82, 86, 90, 97, 98], "amount": [78, 82], "an": [1, 6, 16, 26, 27, 28, 31, 32, 33, 34, 36, 37, 38, 39, 42, 45, 50, 51, 57, 61, 63, 64, 66, 71, 72, 74, 78, 79, 80, 81, 84, 86, 87, 88, 90, 92, 95, 96, 98, 102, 104, 109, 111], "analysi": [4, 81, 96, 97], "analyz": [94, 96], "andrew": 20, "angel": 85, "ani": [1, 4, 10, 16, 20, 22, 24, 26, 27, 28, 29, 31, 32, 33, 34, 35, 37, 38, 41, 42, 45, 50, 52, 53, 55, 57, 58, 59, 61, 62, 66, 72, 74, 78, 79, 82, 84, 87, 88, 90, 92, 95, 96, 98, 103, 106], "anoth": [22, 37, 50, 55, 71, 86, 87, 90, 95, 96, 103], "ansi": 64, "answer": [1, 16, 18, 44, 45, 48, 72, 74, 81, 90, 94, 95, 97, 98, 103, 109, 111], "answer_match_acc": [48, 109], "answermacthevalu": 109, "answermatchacc": [44, 48, 81], "anthrop": [63, 85, 88, 102], "anthropic_api_kei": 102, "anthropic_cli": 88, "anthropicapicli": 88, "anyth": [16, 84, 90, 92, 98], "ap": [81, 87], "api": [10, 14, 18, 27, 31, 35, 38, 42, 68, 80, 81, 83, 84, 85, 94, 101, 103, 106], "api_kei": [10, 61, 88], "api_kwarg": [10, 35, 88], "api_respons": 14, "apicli": 35, "apidoc": 68, "apidocoutdir": 68, "app": [42, 64], "app_logg": 86, "appear": [36, 96], "append": [28, 29, 62, 78, 88, 98, 109], "append_dialog_turn": 42, "append_to_jsonl": 62, "appl": [45, 46, 47, 48, 81, 96], "appli": [4, 28, 29, 31, 33, 34, 37, 78, 79, 80, 95, 96, 97], "applic": [4, 6, 26, 64, 71, 72, 78, 81, 83, 84, 90, 95, 96, 97, 105, 106, 110, 111], "application_nam": 103, "apply_transform": [29, 78], "approach": [4, 74, 80, 94, 96, 97], "appropri": [74, 81, 97], "ar": [1, 4, 16, 20, 27, 28, 29, 30, 33, 36, 37, 39, 41, 42, 49, 57, 58, 63, 64, 68, 71, 72, 74, 78, 79, 81, 82, 83, 84, 85, 86, 87, 88, 90, 92, 94, 95, 96, 97, 98, 103, 105, 106, 109, 110, 111], "arbitrari": 28, "arena": 81, "arg": [16, 26, 27, 28, 32, 33, 35, 38, 41, 42, 50, 54, 55, 94, 98], "argument": [1, 26, 28, 32, 33, 34, 35, 37, 42, 50, 55, 61, 79, 80, 82, 87, 88, 90, 92, 94, 95, 96, 97, 98], "aris": 81, "arithmet": 42, "ariz": 86, "around": [40, 57, 73], "arr": 98, "arrai": [33, 95, 98], "arriv": 18, "articl": 97, "articul": 103, "artifici": 82, "arxiv": [1, 18, 53, 71, 81, 95], "asdict": [33, 72], "ask": [22, 42, 45, 72, 78, 87, 92, 94, 95, 97, 98, 100, 103], "aspect": 81, "aspirin": 74, "assert": [26, 79, 88], "assess": [81, 109], "assign": [4, 27, 36, 80], "assist": [6, 16, 30, 37, 42, 74, 78, 82, 85, 86, 87, 92, 106, 109], "assistant_respons": [42, 78], "assistant_response_timestamp": [42, 78], "assistantrespons": [42, 78], "assit": 92, "assum": [29, 42, 78, 86], "assumpt": 85, "ast": [33, 42, 90], "async": [27, 31, 32, 34, 35, 38, 41, 88, 95, 98, 106], "async_cli": 88, "async_function_1": 32, "async_function_2": 32, "async_tool_1": 32, "async_tool_2": 32, "asynccal": 42, "asynchron": [32, 74], "asyncio": [32, 98], "asyncopenai": 88, "atmospher": 96, "atom": [78, 95], "attach": [57, 86, 96], "attention_mask": 88, "attribut": [22, 24, 27, 29, 36, 37, 38, 57, 61, 72, 74, 78, 82, 87, 90, 95, 98], "audio": 95, "augement": 95, "augment": [52, 81, 96, 109], "augment_sampl": [50, 51], "author": 81, "auto": [27, 74, 84, 87, 88, 92], "autodoc": 68, "autom": [81, 84], "automat": [28, 31, 36, 57, 68, 74, 82, 87, 94, 98, 103], "automodel": 88, "autonom": [71, 84], "autoreset": 64, "autotoken": 88, "avail": [42, 81, 98, 102, 109], "available_funct": 98, "averag": [20, 44, 45, 46, 47, 48, 109], "average_idf": 20, "average_pool": 88, "average_tim": 94, "avg_acc": [44, 48], "avg_judg": [45, 48, 109], "avg_recal": [46, 48, 81, 109], "avg_relev": [47, 48, 81, 109], "avgdl": [20, 95], "avoid": [20, 27, 68, 74, 78, 79, 95], "aw": 96, "await": [1, 32, 41, 42, 98, 106], "awar": [22, 96], "award": 111, "awlai": 98, "b": [20, 28, 42, 94, 95, 96, 98], "b0d98c1b": 96, "b2dbdf2f": 78, "b3e9": 78, "b400": 97, "b4c312bed365": 96, "b6c6": 78, "b81f": 96, "ba8e1e23": 97, "baai": 95, "back": [16, 20, 29, 61, 66, 72, 80, 82], "backtick": [16, 90, 98], "backward": 27, "bad": 96, "ball": 18, "banana": 96, "bank": 81, "bare": [73, 92, 106], "basd": 95, "base": [1, 3, 4, 6, 10, 16, 20, 22, 24, 26, 27, 28, 29, 31, 32, 34, 35, 36, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 58, 59, 63, 65, 66, 71, 72, 73, 74, 79, 81, 82, 84, 86, 88, 94, 96, 98, 106, 109, 111], "base_class": 26, "base_data_class": [72, 96, 109, 111], "basic": [49, 84, 96], "batch": [4, 31, 42, 78, 79, 80, 88, 95], "batch_dict": 88, "batch_embedd": [78, 79], "batch_siz": [3, 4, 31, 61, 78, 79, 80, 96], "batchembedd": [31, 78], "batchembedderinputtyp": 31, "batchembedderoutputtyp": 31, "bbc3": 96, "bc0ff7f6": 78, "bcbc6ff9": 78, "bdbd": 78, "beauti": 20, "becaus": [4, 84, 88, 94, 97, 111], "becom": [81, 95, 96], "been": [42, 78, 95], "befor": [4, 39, 45, 46, 47, 48, 74, 78, 79, 81, 83, 94, 95, 96, 97, 105, 111], "beforehand": 96, "begin": [64, 84, 103], "begin_of_text": [85, 92], "behavior": [86, 96, 98], "behind": [16, 83, 85], "beij": [45, 48], "being": [57, 72, 83, 84, 98], "belong": 71, "below": [81, 95, 98], "benchmark": [18, 81, 94], "benef": 95, "benefici": 97, "benefit": [28, 42, 78, 95], "bert": 81, "bertscor": 81, "besid": [27, 71, 78, 82, 92, 94, 96, 111], "best": [20, 74, 95, 96, 97, 103], "beta": [98, 105], "better": [4, 26, 50, 52, 53, 68, 72, 74, 90, 94, 95, 96, 97, 98, 111], "between": [4, 35, 84, 95, 96, 97, 103, 106], "beyond": [4, 84, 98], "bfc5": 97, "bge": 95, "bi": 95, "bias": [27, 74, 86], "bigger": 20, "bit": [32, 72], "black": 64, "bland": 96, "block": [26, 32, 43, 64, 74, 83, 84, 95, 97, 103, 106], "blow": 87, "blue": 64, "bm25": [20, 78, 95, 96], "bm25_index": 20, "bm25_retriev": 95, "bm25retriev": [20, 96], "bonjour": 87, "book": 97, "bool": [1, 3, 16, 20, 27, 29, 32, 33, 36, 37, 38, 39, 40, 42, 45, 48, 50, 55, 57, 64, 78, 79, 88, 90], "bool_str": 90, "bool_str_2": 90, "bool_str_3": 90, "bool_str_4": 90, "bool_str_5": 90, "bool_str_6": 90, "bool_str_7": 90, "bool_str_8": 90, "boolean": [1, 16, 33, 39, 90, 95], "boolean_pars": 39, "boolean_str": 90, "booleanoutputpars": [16, 90], "booleanpars": [39, 90], "boost": [78, 95], "bootstrapfewshot": [50, 51], "border": [4, 96, 97], "bore": 84, "both": [4, 20, 27, 32, 39, 41, 42, 62, 64, 68, 72, 78, 81, 82, 83, 86, 87, 90, 95, 98, 106, 109, 111], "boundari": [26, 42, 63, 66], "box": [74, 84, 95], "brace": [33, 39], "bracket": [33, 39], "branch": 105, "break": [4, 84, 86, 96, 97], "bridg": [35, 106], "brief": 82, "brittl": 84, "broad": [81, 97], "broader": [68, 97], "browser": [68, 94], "budget": [4, 97], "bui": 18, "build": [20, 24, 33, 38, 43, 72, 74, 81, 95, 96, 103, 105, 106, 109, 110], "build_index": 109, "build_index_from_docu": [20, 22, 24, 38, 78, 95, 96], "build_info_from_docu": 96, "builder": 37, "built": [20, 24, 33, 38, 83, 90, 94, 95, 96, 98, 102], "bunch": 97, "busi": 84, "c": [20, 27], "c4e4": 78, "c4e5": 80, "c5431397": 78, "c77c98ac260f": 78, "c8fc": 78, "ca": 98, "ca0af45b": [4, 97], "cach": [78, 88], "cai": 81, "calcul": [80, 81, 96], "call": [1, 4, 10, 16, 18, 20, 22, 24, 26, 27, 28, 31, 32, 33, 34, 35, 37, 38, 39, 41, 42, 45, 50, 52, 55, 57, 58, 62, 63, 64, 66, 74, 78, 79, 80, 82, 83, 84, 85, 86, 87, 88, 90, 92, 94, 95, 96, 97, 103, 106, 109], "call_async_funct": 32, "callabl": [1, 20, 22, 24, 26, 27, 29, 32, 33, 38, 41, 42, 50, 55, 78], "callback": 86, "callbackmanag": 103, "can": [1, 4, 6, 16, 18, 20, 22, 26, 27, 28, 29, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 50, 53, 55, 57, 59, 61, 63, 65, 68, 71, 72, 73, 74, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 90, 92, 94, 95, 96, 97, 98, 100, 102, 103, 105, 106, 109, 111], "candid": 95, "cannot": [81, 103], "cansof": 18, "cantain": 27, "capabl": [32, 81, 86, 97, 98, 106], "capit": [26, 33, 72, 79, 87, 88, 92], "captur": [33, 82], "carbon": [78, 95], "card": 92, "carefulli": 103, "carri": 98, "case": [6, 22, 26, 29, 74, 78, 81, 82, 83, 84, 86, 90, 92, 94, 95, 96, 97, 98, 103, 111], "cat": 96, "categor": [26, 88, 95], "caus": 74, "caution": 32, "cd": 68, "cdot": 20, "celsiu": 98, "center": 73, "certain": [33, 86, 111], "chain": [18, 28, 34, 42, 72, 74, 78, 79, 82, 83, 94, 95], "challeng": [84, 95], "chanc": [22, 84], "chang": [59, 78, 81, 82, 83, 84, 87, 95], "chapter": 97, "charact": [68, 96], "chat": [10, 30, 35, 78, 82, 87, 88, 92], "chat_histori": [30, 78, 87], "chat_history_str": [30, 78, 82, 87, 92], "chatbot": [78, 81, 82, 83, 84], "chatcompletiontokenlogprob": 42, "cheapest": 95, "check": [4, 29, 33, 35, 36, 37, 42, 50, 55, 72, 74, 78, 80, 81, 88, 94, 95, 96, 97, 98, 103, 105, 108, 111], "check_object": 66, "checker": 72, "chen": 81, "child": [27, 86, 96], "children": 27, "china": [45, 48, 79], "choic": [81, 82, 90], "choos": [20, 38, 96, 97, 98], "chunk": [3, 4, 78, 79, 83, 95, 96, 103], "chunk_overlap": [4, 97], "chunk_siz": [4, 97], "citi": 98, "cl": [33, 72], "cl100k_base": [4, 40, 97], "clariti": [68, 84, 106], "class": [1, 3, 4, 6, 10, 16, 20, 22, 24, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 57, 58, 59, 61, 63, 65, 66, 72, 74, 78, 79, 82, 84, 86, 87, 88, 90, 94, 98, 103, 104, 106, 109, 111], "class_index": 72, "class_inst": 26, "class_nam": [26, 57, 72], "classes": 111, "classic": 84, "classif": [81, 84, 90, 104], "classifi": [72, 104], "classmethod": [20, 26, 27, 29, 31, 34, 37, 38, 42, 65, 72], "classsampl": [50, 55], "claud": 85, "clean": [86, 96], "clear": [83, 94, 103], "client": [1, 10, 14, 22, 24, 31, 34, 35, 45, 49, 83, 84, 85, 88], "climat": [78, 95], "clone": [68, 103], "close": [33, 84, 95, 96], "closest": 96, "cloth": 95, "cloud": [6, 10, 88, 95], "co": [79, 86, 95], "coarse_label": [50, 55, 72], "code": [4, 26, 33, 42, 53, 57, 64, 78, 79, 81, 82, 83, 84, 86, 87, 88, 90, 92, 95, 96, 97, 98, 103, 106, 109], "codebas": 106, "coher": [63, 85, 95, 97, 102], "cohere_api_kei": 102, "cohere_cli": 95, "cohereapicli": [24, 95], "collabor": 100, "collect": [42, 87], "color": [64, 86], "colorama": 64, "colored_print": 64, "com": [10, 68, 82, 86, 92, 95, 98], "combat": [78, 95], "combin": [10, 33, 34, 37, 80, 82, 84, 95, 98, 103], "combine_kwarg": 33, "come": [77, 78, 82, 83, 88, 89, 90, 91, 99, 103, 106, 110], "command": 64, "comment": 92, "commit": [103, 105], "common": [39, 46, 47, 48, 81, 95, 96, 105], "commonli": [4, 16, 80, 81, 96], "commun": [32, 35, 88, 101, 103], "compact": [42, 98], "compar": [16, 20, 33, 44, 48, 53, 78, 79, 81, 97], "comparison": [74, 95, 98, 103], "compat": [74, 82, 88, 97], "complet": [1, 6, 10, 32, 33, 34, 35, 50, 53, 68, 71, 88, 94, 97, 105], "complex": [16, 33, 39, 72, 81, 86, 90, 96, 97, 103], "complext": 90, "complic": [18, 92, 98], "compon": [1, 3, 4, 6, 10, 16, 20, 28, 29, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 45, 48, 50, 51, 52, 57, 61, 63, 65, 66, 68, 71, 72, 73, 78, 79, 80, 81, 82, 86, 87, 88, 90, 92, 94, 95, 96, 97, 98, 102, 106, 109, 111], "componenet": [27, 61], "component1": 28, "component2": 28, "component3": 28, "component4": 28, "component_config": [31, 34, 61, 82], "component_nam": [31, 34, 61, 82], "compos": [28, 37, 73, 85, 106], "compose_model_kwarg": 33, "compose_prompt_kwarg": 37, "comprehens": 81, "compromis": 97, "comput": [44, 45, 46, 47, 48, 72, 81, 84, 86, 95, 96, 109], "compute_context_relev": 109, "compute_judg": 109, "compute_match_acc": 109, "compute_recal": 109, "con": [78, 95], "concaten": 96, "concept": [72, 74, 82], "conceptu": 86, "concis": [72, 74], "conclus": 109, "concurr": 98, "condit": [29, 86, 92, 94], "condition": 92, "condition_fn": 78, "conf": 68, "confer": 81, "config": [27, 31, 34, 79, 86, 109], "configur": [4, 27, 31, 33, 61, 64, 65, 68, 80, 82, 84, 96, 97, 102, 105, 109], "confus": [27, 72, 74, 103, 105], "consid": [26, 27, 81, 86, 95, 96, 97], "consin": 95, "consist": [16, 28, 34, 37, 42, 68, 82, 111], "consol": [64, 86], "constant": [20, 33], "constantli": 72, "constraint": 97, "construct": [61, 109], "constructor": [28, 79], "contain": [4, 20, 27, 32, 33, 36, 39, 42, 44, 45, 48, 68, 78, 79, 87, 94, 96, 97, 98, 103, 109, 111], "content": [78, 85, 88, 95, 96, 101, 104, 107, 111], "contex": [30, 82, 87], "context": [4, 26, 27, 28, 30, 32, 33, 37, 41, 46, 47, 48, 74, 78, 81, 83, 84, 87, 94, 96, 97, 98, 103, 109], "context_map": [33, 42, 98], "context_str": [30, 37, 82, 87, 92, 98, 109], "contextu": [81, 97, 109], "continu": [78, 84, 86, 92, 96], "contrari": 106, "contravari": 95, "contribut": [70, 78, 95, 103], "contributor": [68, 103], "control": [4, 42, 64, 68, 72, 78, 84, 85, 86, 92, 96, 97, 103, 106, 111], "conv1": [74, 106], "conv2": [74, 106], "conv2d": [74, 106], "conveni": [28, 74, 94], "convent": [16, 72, 90, 98], "conver": 78, "convers": [6, 42, 78, 82, 92, 94, 95, 98, 100], "conversation_histori": 95, "conversation_id": 42, "convert": [10, 26, 27, 33, 35, 39, 42, 66, 72, 74, 78, 80, 85, 88, 90, 95, 96, 98, 103], "convert_inputs_to_api_kwarg": [10, 35, 88], "convert_schema_to_signatur": 33, "cookbook": [95, 103, 111], "copi": [3, 27, 79, 80, 88, 103], "core": [4, 16, 26, 27, 29, 32, 33, 37, 42, 58, 72, 74, 78, 79, 80, 82, 83, 84, 86, 87, 88, 90, 92, 94, 95, 96, 97, 98, 103, 106, 109, 111], "corpu": [20, 96], "correct": [36, 81, 105, 109], "correctli": [29, 68, 72, 105], "corresbond": 68, "correspond": [4, 33, 81, 94, 96, 97, 109], "cosin": [81, 96], "cost": 95, "cot": 18, "could": [33, 42], "count": [40, 97], "count_token": 40, "counter": 74, "cours": [81, 87], "cover": [6, 72, 78, 90, 95, 98, 103, 111], "coverag": 95, "covert": 98, "cpu": 102, "creat": [4, 26, 27, 29, 31, 32, 34, 37, 42, 57, 61, 63, 72, 74, 78, 79, 80, 85, 86, 87, 88, 90, 92, 94, 95, 96, 97, 98, 104, 105, 109, 111], "create_embedding_respons": 42, "create_from_dict": 26, "created_at": 42, "creation": 52, "criterion": [4, 92, 97], "critic": [4, 64], "cross": 95, "crucial": [33, 72, 78, 81, 92, 95, 96], "crud": [29, 78], "ctrl": 94, "cumul": 96, "current": [27, 29, 50, 51, 53, 64, 78, 79, 82, 87, 88, 90, 94, 95, 98, 102], "custom": [4, 16, 22, 33, 64, 66, 72, 79, 81, 82, 83, 84, 86, 88, 94, 96, 103, 105, 109], "custom_asdict": [33, 72], "customiz": [73, 94, 96, 106], "cut": 95, "cutoff": 96, "cyan": 64, "d": [16, 20, 105], "d19a": 78, "dai": [20, 46, 47, 48, 81], "dan": 81, "data": [3, 4, 6, 16, 22, 26, 27, 28, 29, 31, 33, 34, 36, 37, 39, 42, 49, 50, 52, 55, 62, 66, 74, 79, 80, 82, 84, 86, 87, 88, 90, 94, 96, 97, 98, 103, 104, 106, 109, 111], "data_class": [16, 90, 98], "data_class_for_yaml": 16, "data_compon": [80, 96], "data_dict": 26, "data_process": [4, 25, 78, 80, 83, 97], "data_transform": 78, "databas": [38, 42, 83, 96, 109], "dataclass": [16, 26, 33, 42, 50, 51, 52, 53, 58, 59, 66, 73, 78, 79, 82, 83, 90, 95, 98, 106, 111], "dataclass_obj_from_dict": 33, "dataclassformattyp": [16, 26, 72], "dataformat": 42, "datapiplin": 78, "dataset": [50, 55, 78, 81, 83, 94, 104, 109], "date": 68, "datetim": 42, "db": [78, 83, 95, 96], "db2": 29, "deal": [78, 95], "debug": [64, 78, 83, 84, 86], "decid": [1, 26, 35, 72, 81, 82, 86, 94, 95, 98, 103], "decis": [81, 94], "decod": [40, 94], "decor": [26, 27, 62, 72, 74, 82, 86, 87], "decreas": 79, "decreaseembeddingdim": 79, "decreat": 79, "dedupl": 3, "deep": [82, 84, 97, 106], "deepcopi": 79, "deeper": 106, "deepmind": 53, "def": [16, 27, 28, 32, 33, 42, 57, 72, 74, 78, 79, 86, 87, 88, 92, 94, 95, 96, 98, 106], "defaul": 87, "default": [1, 16, 20, 22, 24, 26, 29, 30, 31, 33, 34, 35, 36, 37, 38, 39, 40, 45, 48, 50, 53, 57, 58, 59, 62, 64, 66, 72, 74, 78, 82, 85, 86, 87, 90, 95, 96, 97, 98, 111], "default_factori": [26, 53, 72], "default_lightrag_system_prompt": [30, 34, 37, 82, 92], "default_llm_evaluator_prompt": 109, "default_model_kwarg": 33, "default_num_shot": [50, 55], "default_prompt_templ": [82, 92], "default_react_agent_system_prompt": 1, "defaultllmjudg": [45, 48, 82], "defens": 86, "defin": [4, 26, 38, 63, 74, 86, 88, 90, 94, 95, 96, 97, 105, 109, 111], "definit": [4, 32, 41, 42, 92, 94, 95, 98], "del": 28, "delet": [28, 29, 78, 105], "delete_dialog_turn": 42, "delibr": [82, 98], "demo": [74, 84], "demonstr": [45, 79, 80, 82, 90, 94, 95, 98, 104, 111], "denomin": 20, "denot": 85, "depend": [4, 20, 22, 33, 42, 68, 74, 85, 94, 96, 103, 105, 109, 111], "deploy": 105, "deriv": 98, "desc": [26, 30, 53, 72, 82, 87, 95, 111], "descend": 27, "describ": [26, 32, 90, 98, 111], "descript": [16, 26, 33, 42, 72, 78, 81, 83, 90, 92, 94, 96, 98, 103, 105, 109, 111], "deseri": [66, 72, 84, 92, 95], "design": [26, 27, 28, 32, 35, 42, 55, 73, 78, 79, 83, 88, 94, 96, 97], "desir": [16, 81, 82, 90, 92], "destin": [27, 84], "detail": [4, 10, 26, 34, 45, 68, 69, 72, 74, 78, 81, 82, 88, 94, 98, 105, 111], "detect": 57, "determin": [4, 74, 81, 94], "dev": 105, "develop": [4, 22, 68, 73, 78, 80, 82, 83, 84, 85, 87, 90, 92, 94, 95, 96, 97, 103, 106, 111], "df68": 78, "diagram": [85, 92], "dialog": [42, 78], "dialog_turn": [42, 78], "dialog_turn_db": 78, "dialog_turns_as_docu": 78, "dialog_turns_input": 42, "dialogturn": [29, 42, 95], "dict": [1, 10, 16, 22, 24, 26, 27, 29, 31, 33, 34, 35, 37, 39, 41, 42, 45, 50, 52, 53, 55, 58, 59, 61, 62, 65, 66, 72, 78, 82, 88, 90, 98, 111], "dict_exampl": 72, "dict_factori": 33, "dict_str": 90, "dictat": 97, "dictionari": [4, 26, 27, 31, 33, 34, 37, 39, 42, 61, 62, 66, 72, 78, 90, 96, 97, 98, 111], "did": [50, 51, 78, 82, 87, 92, 95, 98, 106, 111], "differ": [6, 20, 29, 42, 55, 74, 79, 82, 83, 84, 85, 86, 88, 92, 94, 95, 97, 98, 103, 106, 110], "differen": 95, "differenti": 95, "difficult": 98, "dim": 88, "dimens": [31, 42, 61, 78, 79, 80, 88, 95, 96], "dimension": 72, "diminish": 20, "dir": [57, 87, 88], "direct": [27, 68, 74, 96], "directionli": 32, "directli": [4, 33, 42, 45, 55, 68, 72, 74, 78, 79, 92, 95, 97, 98, 103], "directori": [35, 57, 58, 59, 64, 68, 87, 102, 103], "disabl": 94, "disappoint": 95, "disclos": [85, 92], "discord": 100, "discuss": [97, 100, 111], "disk": 95, "disrupt": [78, 95], "distil": 84, "distilbert": 81, "distinct": [86, 97], "divers": [81, 95], "divid": [20, 81, 94, 96, 97, 98, 109], "divide_by_thre": 28, "dividebythre": 28, "divis": [4, 20], "do": [6, 16, 26, 33, 42, 50, 55, 57, 63, 64, 72, 78, 80, 82, 84, 86, 88, 90, 92, 94, 95, 96, 97, 98, 103, 105, 106], "doc": [4, 10, 24, 27, 38, 42, 68, 72, 74, 78, 79, 80, 86, 92, 95, 96, 97, 98], "doc1": [4, 96, 97], "doc2": 96, "doc_index": [78, 96], "doc_indic": [20, 42, 78, 95], "doc_len": 95, "doc_list": 109, "doc_qa": 27, "doc_scor": [20, 42, 95, 96], "docqa": [27, 74], "docstr": 98, "doctest": 68, "doctor": [16, 27, 74], "document": [3, 4, 20, 22, 24, 29, 38, 40, 42, 69, 70, 79, 80, 82, 83, 95, 98, 101, 103, 107, 109, 110], "document_indic": 96, "document_map_func": [20, 22, 24, 38, 95], "document_splitt": [61, 96], "documents_embed": 95, "documentsplitt": [42, 61, 78, 80, 96], "dodger": 85, "doe": [3, 18, 26, 29, 33, 35, 39, 45, 48, 61, 88, 95, 96, 109, 111], "doesn": 94, "domain": 81, "domest": 96, "don": [16, 20, 85, 86, 96, 103], "done": [72, 86, 94], "dont": [78, 85, 103], "dorianbrown": [20, 95], "dotenv": [80, 94, 96, 102], "dotenv_path": [67, 80, 94, 96], "doubl": [90, 98], "doubt": [84, 95], "down": 97, "download": 103, "downsid": [78, 95], "downstream": 79, "drink": 74, "driven": 96, "drop": [86, 97], "dropout1": 106, "dropout2": 106, "dropout2d": 106, "due": [81, 95, 97, 98], "dummi": 103, "dump": [33, 98], "dumper": 33, "duplic": [50, 55], "dure": [4, 78, 79, 80, 82, 83, 86, 87, 95, 96, 97, 102, 111], "dynam": [26, 57, 94, 97], "dynamicdataclassfactori": 26, "dynamicoutput": 26, "e": [4, 22, 50, 55, 68, 85, 88, 97, 98, 105, 109], "e22084984bb9": 97, "e386e774d150": 97, "e3b48bcc": 78, "e3f04c8b": 96, "e4850140": 96, "e539": 96, "e636facc": 78, "e7b617b2": [4, 97], "each": [1, 4, 18, 20, 26, 27, 28, 42, 44, 45, 46, 47, 48, 55, 58, 59, 63, 72, 78, 79, 80, 83, 84, 86, 94, 95, 96, 97, 98, 109], "ear": 87, "earth": [45, 48], "eas": [42, 72, 83, 84], "easi": [64, 74, 82, 84, 92, 94, 103, 106], "easier": [94, 98, 106], "easili": [74, 78, 79, 81, 83, 90, 92, 95, 98, 103, 106, 111], "eat": 96, "ec0fc247ac8b": [4, 97], "ec910402": 78, "economi": [78, 95], "ecosystem": [78, 95, 106], "edit": [68, 87], "effcient": 26, "effect": [20, 71, 78, 80, 95, 96, 97], "effici": [42, 94, 97, 98, 111], "effort": [29, 72, 83], "eg": 63, "eiffel": 87, "either": [1, 33, 35, 39, 42, 72, 79, 83, 87, 88, 95, 103], "el": 78, "electr": [78, 95], "electron": [78, 95], "element": [37, 98], "elif": [88, 98], "els": [30, 87, 88, 94, 96, 98], "emb": [4, 79, 96], "embed": [3, 4, 14, 31, 35, 42, 61, 78, 79, 80, 81, 83, 88, 95, 96, 97], "embedd": [3, 27, 35, 42, 49, 61, 78, 83, 88, 95, 103, 106], "embedder_config": 31, "embedder_response_processor": 96, "embedder_transform": 78, "embedderoutput": [14, 31, 35, 42, 78, 88], "embedderoutputtyp": 42, "embedderrespons": [80, 96], "embedding_dim": [42, 79], "emiss": [78, 95], "emit": 26, "emphas": [68, 111], "emploi": [81, 97], "empti": [22, 29, 82], "en": [20, 79, 86, 92, 95], "enabl": [34, 64, 80, 86, 94, 96, 106], "enable_consol": 64, "enable_fil": 64, "enable_library_log": 64, "encapsul": [28, 94], "enclos": [16, 90, 98], "encod": [4, 40, 95], "encoding_format": [31, 61, 78, 79, 80, 88, 95, 96], "encount": 105, "encourag": [4, 34, 88], "end": [16, 28, 29, 33, 68, 72, 78, 83, 84, 85, 104], "end_header_id": [85, 92], "end_of_text": [85, 92], "end_tim": [32, 98], "endfor": [37, 92, 95, 98], "endif": [30, 37, 82, 87, 90, 92, 98, 111], "energi": [78, 95], "enforc": [36, 78, 82], "engag": [72, 100], "engin": [27, 74, 84, 87, 92, 103, 106], "english": 95, "enhanc": [64, 74, 83, 94, 97, 111], "enhance_queri": 74, "enhancequerycompon": 74, "enjoi": 103, "enorm": 82, "enough": 84, "enssenti": 111, "ensur": [26, 31, 33, 37, 68, 72, 74, 79, 80, 83, 85, 95, 96, 102, 105], "entir": 95, "entiti": [61, 65, 72, 84, 94], "entity_cl": 65, "entity_config": 61, "entity_nam": 61, "entity_st": 61, "entitymap": 65, "entri": 97, "enum": [26, 42, 63, 66, 88, 98], "enumer": [27, 98], "env": [67, 79, 80, 94, 95, 96, 102, 103], "environ": [4, 33, 37, 67, 68, 71, 78, 79, 80, 88, 94, 95, 96, 101, 103], "environment": [78, 95], "eot_id": [85, 92], "epilon": 20, "epsilon": [20, 95], "equal": [45, 95, 97], "equival": [27, 33, 78, 98], "error": [22, 26, 33, 35, 42, 57, 63, 64, 72, 79, 86, 88, 94, 98, 105], "error_messag": [42, 87], "error_onli": 57, "especi": [3, 4, 26, 57, 59, 74, 79, 81, 85, 95, 96, 97], "espeic": 95, "essenc": 103, "essenti": [78, 94, 95], "establish": 103, "estimated_num_token": [42, 78, 80, 96], "et": 81, "etc": [27, 29, 33, 50, 55, 79, 81, 83, 90, 95, 96, 103], "eval": [27, 32, 33, 41, 42, 81, 82, 98, 104, 109], "evalu": [27, 28, 33, 42, 44, 45, 46, 47, 74, 82, 84, 87, 95, 97], "evaluate_ast_nod": 33, "even": [4, 16, 33, 72, 74, 79, 82, 84, 90, 92, 95, 97, 98], "event": [32, 86], "eventu": [72, 95], "ever": 88, "everi": [29, 84, 103], "eviron": 94, "exact": [4, 81, 96, 97, 109], "exact_match": [44, 48, 109], "exactli": [27, 28, 44, 48, 82, 95, 109], "exam": 81, "examin": 20, "exampl": [1, 4, 16, 18, 20, 22, 24, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 39, 42, 44, 45, 46, 47, 48, 50, 51, 55, 57, 61, 64, 68, 74, 78, 79, 80, 81, 85, 86, 87, 88, 90, 92, 94, 95, 96, 98, 102, 103, 104, 105, 106, 109, 111], "example1": [80, 96], "example2": 96, "example3": 96, "example4": 96, "example_funct": 33, "example_json": [26, 72], "example_str": 72, "example_yaml": [26, 72], "examples_prompt": 37, "examples_str": [30, 37, 82, 87, 92], "examples_templ": 37, "excel": 106, "except": [4, 35, 79, 88, 98], "excerpt": 97, "exclud": [16, 26, 27, 33, 41, 42, 72, 78, 90, 98], "exclude_field": [16, 90], "excludetyp": 72, "exclus": 72, "execlud": 98, "execut": [4, 32, 33, 41, 86, 94, 97, 98], "execute_func": [41, 98], "execute_func_expr": [41, 98], "execute_func_expr_via_ev": [41, 98], "execute_func_expr_via_sandbox": [41, 98], "exist": [37, 72, 84, 94, 95, 105], "exp": 105, "expand": 103, "expans": [3, 95], "expect": [20, 24, 29, 36, 38, 39], "expens": 95, "experi": [6, 20, 29, 74, 78, 84, 96, 106], "explain": [78, 82, 86, 90, 94, 96, 103, 109], "explan": 20, "explicitli": [26, 36], "explor": 97, "expr": [41, 98], "express": [32, 33, 41, 42, 98], "extend": [4, 28, 29, 32, 78, 79, 98, 103, 106], "extens": [27, 68, 86, 97, 103], "extern": [66, 80, 81, 90, 94, 95], "extra": 96, "extract": [4, 16, 33, 39, 50, 55, 90, 94, 97, 103, 109], "extract_dataclass_typ": 33, "extract_first_boolean": 33, "extract_first_float": 33, "extract_first_int": 33, "extract_json_str": 33, "extract_list_str": 33, "extract_yaml_str": 33, "ey": 87, "f": [3, 4, 20, 27, 32, 62, 74, 79, 80, 81, 88, 92, 94, 95, 96, 98, 109, 111], "f1": 81, "f1be8330c167": 96, "f2d0f52a": 96, "f2eddc77": 78, "f513": 78, "f89e0955e3a3": 96, "f98f": 78, "face": [31, 34, 68, 79, 81, 82, 86], "facebookresearch": 95, "facet": 95, "facilit": [94, 97], "fact": [87, 94], "factor": [20, 97], "factori": [26, 29, 42, 58, 59], "factual": 95, "fahrenheit": 98, "fail": [22, 42, 57, 78, 79, 82, 83, 84, 87, 90, 94, 98, 105], "failur": [79, 82], "fair": 81, "faiss": [63, 95, 96, 102], "faiss_query_result": 96, "faiss_retriev": [78, 95, 96], "faissretriev": [61, 78, 96], "fall": 74, "fallback": 1, "fals": [3, 16, 26, 27, 29, 33, 38, 40, 42, 45, 48, 50, 55, 87, 90, 98, 109], "famili": 71, "fantast": [80, 96], "far": 78, "farm": [78, 95], "fast": [20, 96], "faster": 95, "fc1": 106, "fc2": 106, "fd11f12958b3": 78, "fdbc447d": 80, "fdc2429b": 96, "feasibl": 72, "featur": [32, 68, 74, 81, 85, 98, 106], "feburari": [46, 47, 48, 81], "fed": [98, 109], "feel": 86, "fetch": [22, 29, 78, 96, 109], "fetch_item": 29, "fetch_transformed_item": 29, "fetched_dialog_turn": 78, "fever": 94, "few": [18, 26, 50, 51, 55, 72, 81, 92, 94, 95, 98, 111], "field": [16, 20, 26, 31, 33, 34, 41, 42, 52, 53, 72, 78, 79, 80, 85, 90, 95, 96, 98, 111], "field_nam": 26, "field_valu": 26, "fieldtyp": 33, "figur": 97, "file": [6, 20, 27, 29, 31, 38, 57, 58, 59, 62, 64, 67, 68, 72, 79, 80, 82, 83, 87, 88, 95, 102, 103, 105, 109], "file_io": 74, "file_path": 58, "filenam": [57, 58, 59, 64], "filepath": [27, 29, 57, 59, 78], "filesystem": 29, "fill": [20, 34, 37, 52, 103], "filter": [92, 95, 96, 103], "final": [1, 20, 37, 42, 78, 80, 81, 82, 92, 94, 95, 96, 98, 109], "final_model_kwarg": 88, "final_prompt": 92, "find": [40, 78, 79, 80, 82, 94, 95, 96, 102], "fine": [42, 96], "finer": 97, "finish": 94, "first": [4, 28, 29, 33, 36, 78, 80, 81, 82, 83, 85, 86, 88, 90, 94, 95, 96, 97, 98, 109], "firstli": 97, "fit": [26, 31, 42, 78, 82, 83, 97], "five": 74, "fix": 105, "fix_json_escaped_single_quot": 33, "fix_json_missing_comma": 33, "flat": [45, 48], "flexibl": [29, 33, 42, 72, 74, 84, 86, 88, 92, 94, 96, 98, 103, 111], "flexibli": 83, "float": [20, 31, 33, 39, 42, 44, 45, 46, 47, 48, 50, 51, 53, 55, 61, 78, 79, 80, 88, 90, 95, 96, 98], "float_pars": 39, "float_str": 90, "float_str_2": 90, "float_str_3": 90, "float_str_4": 90, "floatpars": [39, 90], "flow": [78, 94, 95, 97, 111], "fn": [32, 33, 94, 98], "fn_schema_str": [42, 94], "fnew": 96, "focu": [78, 94, 96], "focus": [83, 97], "folder": [68, 103], "follow": [4, 14, 16, 22, 26, 27, 28, 34, 64, 68, 72, 79, 81, 82, 84, 85, 86, 87, 90, 92, 95, 96, 98, 102, 103, 105, 109, 111], "food": 96, "footprint": [78, 95], "forc": 68, "fork": 68, "form": [4, 42, 72, 78, 92, 95, 97, 106], "format": [4, 10, 16, 20, 26, 27, 30, 32, 33, 34, 35, 38, 42, 61, 64, 66, 68, 78, 79, 82, 83, 85, 86, 87, 88, 90, 92, 94, 95, 106, 109, 111], "format_chat_history_str": 78, "format_class_str": [26, 72], "format_example_str": [26, 72], "format_instruct": [16, 90, 98], "format_str": 26, "format_typ": [16, 26, 72], "formula": 96, "forward": [27, 40, 74, 106], "fossil": [78, 95], "found": [33, 45, 46, 47, 48, 63, 68, 78, 81, 95, 109], "foundament": 74, "four": [35, 95, 98], "frac": 20, "framework": [94, 103], "franc": [26, 33, 72, 87, 88, 92], "francisco": 98, "franklin": 71, "free": [78, 95], "frequenc": [20, 96], "frequent": 20, "fresh": 95, "friendli": 96, "from": [3, 4, 14, 16, 18, 20, 24, 26, 27, 28, 29, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 42, 45, 50, 53, 55, 57, 58, 61, 62, 64, 67, 68, 73, 78, 79, 80, 81, 83, 84, 85, 86, 87, 88, 90, 92, 94, 95, 96, 97, 98, 102, 103, 104, 106, 109, 111], "from_config": [27, 31, 34, 82, 95], "from_default": 94, "from_dict": [16, 20, 26, 27, 37, 38, 42, 72, 90, 92, 95, 98, 111], "from_dict_to_json": 33, "from_dict_to_yaml": 33, "from_funct": [42, 98], "from_json": [26, 72], "from_json_to_dict": 33, "from_pretrain": 88, "from_yaml": [26, 72], "from_yaml_to_dict": 33, "frustrat": [82, 84, 87], "fsspec": 78, "fuel": [78, 95], "full": [42, 84, 95, 97, 103, 106, 109], "fullwiki": 109, "fun": [27, 42, 87, 103], "fun_arg": 42, "fun_compon": [27, 74], "fun_expr": 42, "fun_kwarg": 42, "fun_nam": 42, "fun_to_compon": [27, 74], "func": [33, 41, 42, 63, 98], "func_desc": [42, 98], "func_expr": 98, "func_nam": [42, 98], "func_output": 98, "func_paramet": [42, 98], "func_pars": 98, "func_tool": 98, "funciton": 98, "funcnam": 98, "funcompon": 27, "function": [1, 3, 4, 14, 20, 24, 26, 27, 29, 32, 35, 37, 41, 42, 43, 49, 57, 61, 62, 63, 64, 65, 66, 67, 72, 74, 78, 79, 81, 82, 83, 84, 90, 94, 95, 96, 97, 103, 109, 111], "function_arg": 98, "function_definit": [41, 98], "function_expr": [33, 98], "function_nam": [64, 98], "function_respons": 98, "function_to_cal": 98, "functiondefinit": [32, 41, 42, 98], "functionexpress": [32, 41, 42], "functionoutput": [32, 41, 42, 98], "functiontool": [1, 32, 41, 94, 106], "fundament": [84, 103, 106], "further": [4, 31, 72, 74, 79, 82, 83, 87, 90, 95, 97, 103, 106], "futur": [4, 71, 79, 82, 84, 86, 95, 97, 103], "fuzzi": [81, 95, 109], "fuzzy_match": [44, 48, 109], "g": [4, 22, 50, 55, 68, 85, 88, 97, 98, 105, 109], "ga": [78, 95], "game": 78, "gap": [35, 84, 106], "gase": [78, 95], "gather": [32, 92, 98], "genai": [10, 84], "genear": 95, "gener": [1, 4, 10, 16, 26, 27, 29, 33, 35, 36, 38, 42, 45, 49, 50, 51, 52, 53, 55, 57, 58, 59, 62, 68, 71, 72, 74, 78, 79, 80, 81, 83, 84, 85, 86, 87, 88, 90, 92, 94, 95, 96, 97, 98, 103, 105, 106, 109, 111], "generate_function_call_expression_from_cal": [33, 98], "generate_readable_key_for_funct": 33, "generatecontentrespons": 10, "generated_text": 81, "generativeai": [63, 102], "generator2": 87, "generator2_cal": 87, "generator_2": 87, "generator_2_cal": 87, "generator_cal": [57, 87], "generator_call_logg": [57, 82, 87], "generator_evalu": 109, "generator_nam": 59, "generator_names_to_fil": 58, "generator_state_logg": 82, "generator_state_trac": [59, 87], "generatorcalllogg": [58, 82, 87], "generatorcallrecord": 58, "generatorlogg": 57, "generatoroutput": [22, 34, 42, 57, 58, 78, 86, 96], "generatorstatelogg": [59, 82, 87], "generatorstatesrecord": 59, "genet": 97, "get": [4, 20, 26, 28, 29, 33, 37, 38, 42, 45, 48, 58, 64, 65, 72, 74, 78, 81, 86, 88, 90, 94, 95, 96, 97, 98, 105, 109, 111], "get_al": 65, "get_cal": 58, "get_chat_history_str": 42, "get_current_script_and_lin": 64, "get_current_weath": 98, "get_data_class_schema": [33, 111], "get_data_key_fun": [50, 55], "get_dataclass_schema": 33, "get_dialog_turn": 42, "get_fun_schema": [32, 33, 98], "get_jinja2_environ": 37, "get_log_loc": [58, 59], "get_logg": [64, 86], "get_model_arg": 42, "get_next_ord": 42, "get_prompt_vari": 37, "get_string_token": 40, "get_subcompon": 27, "get_supporting_sent": 109, "get_top_k_indices_scor": 33, "get_transformed_data": 29, "get_transformer_kei": 29, "get_type_schema": 33, "getenv": 88, "getlogg": 86, "git": [68, 103, 105], "github": [68, 100, 105, 108], "give": [74, 78, 84, 95, 98], "given": [20, 27, 28, 33, 38, 52, 59, 61, 82, 83, 85, 94, 95, 96, 98, 109], "go": [82, 84, 87, 94, 95, 103, 105, 106], "goal": [82, 94, 97, 98, 106], "goe": 84, "good": [20, 72, 74, 78, 81, 96, 98], "googl": [10, 45, 46, 47, 48, 53, 63, 68, 80, 81, 88, 92, 102], "google_api_kei": 102, "google_cli": 88, "google_generativeai": 63, "googlegenaicli": [10, 63, 88], "got": 95, "gpt": [27, 33, 34, 74, 78, 81, 82, 85, 88, 95, 96, 97, 98], "gpt3": 18, "gpt_model_kwarg": 96, "graesser": 71, "grammat": 97, "granular": 97, "graph": 96, "gre": 81, "great": [4, 72, 80, 81, 83, 84, 86, 87, 96], "green": [64, 86], "greenhous": [78, 95], "greet": 42, "groq": [63, 82, 88, 102], "groq_api_kei": 102, "groq_client": 88, "groqapicli": [27, 82, 88, 94, 96, 106], "ground": [44, 45, 46, 47, 48, 53, 78, 81, 95, 103, 109], "group": [42, 97], "grow": 96, "growth": [78, 95], "gt": [53, 86, 95], "gt_answer": [44, 45, 48], "gt_context": [46, 47, 48, 81], "gt_context_sentence_list": 109, "gte": [79, 88], "guarante": 68, "guid": [68, 70, 94, 96, 98], "guidelin": [69, 81], "guo": 81, "ha": [18, 24, 26, 29, 33, 38, 46, 47, 48, 50, 55, 57, 59, 66, 72, 78, 81, 86, 95, 96, 97, 98, 102, 103, 106, 109, 111], "had": [80, 96], "halluci": 95, "hand": [81, 95], "handi": 92, "handl": [22, 26, 27, 33, 35, 72, 78, 79, 82, 83, 87, 88, 90, 94, 95, 98, 111], "handler": 86, "happen": 82, "hard": 84, "harri": 111, "hash": 53, "hashcod": 81, "have": [18, 20, 26, 27, 28, 31, 33, 35, 42, 50, 55, 57, 64, 68, 72, 74, 78, 79, 80, 81, 82, 83, 85, 86, 90, 92, 94, 95, 96, 97, 98, 102, 103, 106, 109], "hazard": [78, 95], "he": [18, 111], "headach": 74, "healthi": 106, "heavi": 84, "height": 90, "hello": [4, 20, 29, 36, 42, 64, 85, 86, 96, 97], "helm": 81, "help": [3, 4, 16, 18, 26, 30, 32, 37, 63, 72, 74, 78, 82, 83, 84, 85, 86, 87, 90, 92, 95, 97, 98, 106, 109], "helper": [3, 14, 27, 37, 61, 74, 95], "henc": [94, 111], "hendryck": 81, "here": [4, 10, 35, 42, 49, 55, 72, 74, 78, 81, 82, 85, 86, 87, 88, 90, 92, 94, 95, 96, 97, 98, 101, 102, 103, 105, 107, 111], "hero": 84, "hf_token": 102, "hi": [42, 111], "hierarchi": [83, 106], "high": [84, 95, 103], "higher": [50, 53, 84, 95, 96, 97], "highest": 96, "highli": [4, 29, 84, 87, 88, 103, 106], "hint": [33, 72, 82, 98], "histor": 78, "histori": [30, 42, 59, 78, 82, 83, 87, 92, 94, 95], "hobbi": 96, "hold": 42, "homepag": 20, "honestli": 90, "hook": [86, 103], "hop": 94, "host": 95, "hotpot_qa": 109, "hotpotqa": [94, 109], "how": [4, 18, 20, 22, 26, 34, 42, 45, 72, 74, 78, 79, 82, 83, 85, 88, 90, 92, 94, 95, 96, 98, 109, 110, 111], "howev": [4, 74, 78, 84, 85, 86, 90, 92, 95, 98], "html": [4, 68, 72, 86, 90, 95, 97], "http": [1, 10, 18, 20, 53, 68, 71, 72, 79, 82, 86, 92, 95, 98, 105], "hub": 81, "hug": 81, "hug_tran": 81, "huggingfac": [72, 79, 86, 88, 95], "human": [72, 81, 82, 95], "humanev": 81, "humor": 87, "hundr": 95, "hydrat": 74, "hydro": [78, 95], "hypernetwork": 103, "hyperparmet": 95, "hypothesi": 94, "i": [1, 3, 4, 6, 10, 16, 18, 20, 22, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 40, 42, 44, 45, 46, 47, 48, 49, 50, 52, 53, 55, 57, 58, 59, 61, 62, 63, 64, 68, 71, 72, 73, 74, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 90, 92, 95, 96, 97, 98, 101, 102, 105, 106, 107, 109, 110, 111], "ibuprofen": 74, "icl": [50, 51, 55, 84], "id": [4, 40, 42, 78, 80, 90, 96, 97], "idea": 100, "ideal": [4, 92, 97], "identifi": [33, 59, 96], "idf": [20, 78, 95, 96], "idf_vers": 81, "idx": [27, 28, 96, 98], "igh": 97, "ik": 4, "illustr": [4, 94, 97], "imag": [79, 95], "immedi": 27, "impact": [4, 20, 55, 78, 94, 95, 96], "implement": [1, 4, 6, 20, 35, 38, 79, 81, 88, 95, 96, 97, 109, 111], "implicitli": 36, "import": [4, 16, 20, 26, 27, 32, 33, 37, 63, 64, 72, 74, 78, 79, 80, 81, 82, 83, 85, 86, 87, 88, 90, 92, 94, 95, 96, 97, 98, 102, 103, 106, 109, 111], "import_path": 63, "importerror": 63, "impress": 81, "improv": [20, 50, 51, 81, 82, 83, 87, 95, 96, 97], "inabl": 33, "inc": 68, "includ": [4, 6, 20, 26, 27, 29, 33, 38, 42, 61, 64, 68, 74, 78, 83, 92, 94, 95, 96, 97, 98, 103, 105, 109, 111], "includng": 103, "incomplet": 33, "incorpor": 81, "incorrect": [36, 82], "increa": 78, "increas": [20, 78, 95, 96], "increasingli": 81, "increment": 105, "incress": 98, "indent": [16, 33, 90], "index": [4, 20, 22, 24, 28, 29, 37, 38, 42, 50, 55, 68, 78, 79, 88, 92, 95, 96, 98, 109], "index_kei": [38, 95], "indexflatip": 96, "indic": [22, 26, 33, 95, 96], "infanc": 84, "infer": [10, 36, 42, 79, 81], "infer_gte_base_embed": 88, "influenc": [20, 81, 96, 97], "info": [64, 86], "inform": [26, 40, 74, 82, 94, 95, 96, 97, 103, 108, 111], "infrastructur": [78, 95], "ingest": [4, 103], "ingestionpipelin": 103, "inherit": [35, 78, 95, 103, 106], "init": [50, 51, 53, 64], "init_async_cli": [35, 88], "init_model": 88, "init_sync_cli": [10, 35, 88], "initi": [20, 22, 24, 35, 37, 38, 50, 51, 55, 64, 78, 82, 88, 92, 94, 95, 96, 98, 109, 111], "initvar": 42, "inject": 86, "inmemoryfaissretriev": 95, "inner": 96, "input": [1, 3, 10, 16, 20, 22, 24, 26, 27, 28, 31, 33, 34, 35, 38, 39, 40, 42, 52, 72, 78, 79, 80, 81, 82, 83, 85, 87, 88, 92, 95, 96, 97, 98, 103, 111], "input_data_obj": 52, "input_str": [27, 30, 57, 74, 78, 82, 87, 92, 95, 96, 98, 106], "insert": [28, 29], "insid": [4, 96, 97], "instal": [63, 64, 68, 78, 79, 95, 101, 103], "install_messag": 63, "instanc": [16, 18, 26, 27, 33, 34, 37, 57, 66, 80, 81, 90, 96, 98, 103, 109, 111], "instanti": [27, 61, 63, 72, 82], "instead": [4, 26, 27, 33, 45, 72, 74, 78, 79, 82, 84, 96, 97, 98, 103], "instruct": [16, 18, 22, 26, 50, 53, 72, 81, 82, 90, 96, 97, 98, 103, 111], "instructur": 98, "int": [1, 3, 4, 20, 22, 24, 26, 28, 29, 31, 33, 36, 38, 39, 40, 42, 50, 51, 55, 64, 72, 78, 79, 90, 94, 95, 98, 111], "int_param": 36, "int_pars": 39, "int_str": 90, "int_str_2": 90, "int_str_3": 90, "int_str_4": 90, "integ": [33, 36, 39, 90], "integr": [4, 10, 14, 78, 79, 83, 84, 88, 94, 95, 103, 106], "intellig": [81, 82], "intend": 68, "intent": 81, "interact": [26, 42, 72, 83, 84, 90, 94, 98, 106, 111], "interchang": 98, "interest": [78, 81], "interfac": [16, 32, 33, 34, 35, 74, 79, 80, 82, 83, 84, 88], "intergr": [83, 84, 88, 95], "interleav": [85, 94], "intermedi": [78, 94], "intern": [26, 63, 66, 81, 84, 88, 94, 98], "interpret": [4, 83, 90], "intial": 82, "intpars": [39, 90], "introduc": [4, 92, 97], "intuit": 4, "invalid_api_kei": 82, "invalid_request_error": 82, "invers": [20, 96], "invest": [78, 95], "investig": [82, 111], "invok": [26, 33], "involv": [81, 96, 97], "io": [27, 31, 38, 86], "irrelev": 95, "is_dataclass_inst": 33, "is_key_in_templ": 37, "is_norm": [33, 42, 79], "is_pick": 74, "is_pickl": 27, "is_potential_dataclass": 33, "is_running_in_event_loop": 32, "isinst": 88, "issu": [68, 105], "item": [29, 78, 98], "item1": 39, "item2": 39, "iter": [27, 28, 36, 84, 94, 96, 106], "itertool": 96, "its": [4, 20, 27, 33, 36, 38, 42, 57, 58, 59, 61, 71, 72, 74, 78, 82, 84, 86, 92, 94, 95, 96, 97, 98, 103, 109], "itself": [6, 27, 33, 37, 62, 84, 85, 92, 96], "jan": 18, "jane": 90, "jinja": [92, 103], "jinja2": [37, 82, 83, 103, 111], "jinja2_template_exampl": 92, "job": [78, 95], "john": [26, 90, 111], "join": [78, 94, 98, 100, 109], "joke": 111, "joke_exampl": 111, "jokeoutput": 111, "josh": 81, "json": [4, 16, 20, 26, 33, 39, 41, 42, 57, 58, 59, 61, 62, 66, 72, 74, 82, 87, 90, 94, 95, 97, 98, 103, 106, 109, 111], "json_definit": [41, 98], "json_obj": 39, "json_output_format_prompt": 90, "json_output_pars": 90, "json_pars": 39, "json_parser_output_typ": 39, "json_signatur": 72, "json_signature_exclud": 72, "json_str": [26, 33, 39, 72], "jsonl": [57, 58, 62, 87], "jsonoutputpars": [16, 90, 98], "jsonpars": [1, 39, 82, 90, 94, 109], "judg": [45, 48, 81, 82, 109], "judgement": [45, 48, 81, 109], "judgement_list": [45, 48, 109], "judgement_queri": [45, 48, 109], "jump": 103, "just": [78, 82, 86, 88, 98, 103], "k": [22, 24, 96], "k1": [20, 95, 96], "keep": [26, 29, 72, 74, 78, 85, 86, 95, 96, 97, 111], "kei": [26, 27, 29, 33, 37, 38, 39, 42, 71, 72, 74, 78, 79, 80, 82, 90, 94, 95, 96, 97, 98, 101, 103, 111], "kept": 4, "keyword": [28, 33, 37, 42, 92, 95, 98], "kind": [90, 103], "kmp_duplicate_lib_ok": 96, "knock": [78, 95], "know": [82, 84, 85, 87, 98], "knowledg": [84, 94, 95, 98, 109], "known": [71, 72, 95], "kw_onli": 53, "kwarg": [1, 10, 16, 20, 22, 24, 27, 28, 31, 32, 33, 34, 35, 37, 38, 42, 45, 50, 54, 55, 88, 92, 94, 95, 98], "l": 97, "label": [26, 33, 50, 55, 72, 95, 103], "lack": [92, 95, 97], "lambda": [27, 50, 55, 78, 95], "land": [78, 95], "landscap": 95, "languag": [4, 20, 68, 71, 81, 82, 85, 94, 97, 103, 106], "larg": [31, 71, 78, 81, 82, 95, 96, 97, 106], "larger": [31, 96, 97], "last": [4, 29, 78, 90, 95, 98], "last_hidden_st": 88, "later": [29, 34, 72, 78, 95, 96, 98], "latest": [94, 105], "layer": 84, "lazi": 63, "lazy_import": 102, "lazyimport": 63, "lead": [22, 50, 53, 55, 78, 95, 105], "leap": [46, 47, 48, 81], "learn": [27, 28, 74, 79, 81, 82, 83, 84, 88, 95, 100, 103, 106, 109], "left": 20, "legal": [81, 97], "len": [78, 96, 98, 109], "length": [4, 20, 29, 42, 78, 79, 96, 97, 98], "lengthi": 103, "lengthier": [20, 96], "less": [16, 20, 42, 72, 79, 95, 96, 98, 106], "let": [18, 72, 74, 78, 87, 90, 92, 94, 95, 96, 98, 109], "level": [64, 73, 86, 94, 98, 103, 106], "leverag": [4, 33, 38, 68, 72, 78, 94, 95, 96, 97, 98, 109], "leverg": [20, 38], "li": [95, 104], "lib": [64, 86], "librari": [4, 26, 29, 34, 45, 57, 63, 64, 72, 73, 74, 81, 83, 84, 85, 88, 95, 97, 103, 105, 106], "lickabl": 96, "life": 81, "lifecyl": 98, "lifestyl": 74, "lift": 84, "light": [78, 95], "light_rag": 103, "lightn": 86, "lightrag": [4, 16, 20, 26, 27, 29, 30, 35, 37, 49, 58, 63, 64, 68, 70, 71, 72, 73, 74, 78, 79, 80, 81, 82, 83, 84, 86, 88, 90, 92, 95, 97, 100, 101, 105, 106, 109, 111], "lightrag_default_prompt_arg": 92, "lightweight": 72, "like": [4, 26, 28, 29, 33, 35, 39, 42, 49, 57, 64, 72, 74, 78, 79, 80, 82, 84, 85, 86, 87, 88, 90, 94, 95, 96, 97, 103, 106, 111], "limit": [68, 78, 81, 83, 95, 96, 97, 98], "line": [64, 68, 82, 83, 84, 86, 87, 103], "line_numb": 64, "linear": 106, "link": [68, 97], "list": [1, 3, 4, 16, 20, 22, 24, 26, 27, 29, 31, 33, 34, 36, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 50, 51, 53, 55, 57, 58, 62, 72, 74, 78, 79, 81, 85, 88, 90, 95, 96, 98, 102, 105, 109], "list_dict_str": 90, "list_output_format_templ": 16, "list_pars": 39, "list_str": 90, "list_str_2": 90, "list_str_3": 90, "listoutputpars": [16, 90], "listpars": [22, 39, 90, 95, 96], "liter": [4, 33, 42, 64, 95], "literal_ev": 90, "liu": 81, "llama": [4, 92], "llama3": [27, 82, 85, 92, 94, 106], "llama_index": 103, "llamaindex": [4, 103], "llm": [1, 6, 22, 26, 27, 32, 34, 42, 45, 48, 50, 52, 53, 71, 74, 78, 82, 83, 87, 88, 90, 94, 96, 97, 98, 103, 105, 106, 109, 110, 111], "llm_as_judg": 82, "llm_augment": [50, 51], "llm_evalu": [45, 48, 109], "llm_judg": [45, 48, 109], "llm_kwarg": 78, "llm_model_kwarg": 94, "llm_optim": 82, "llm_query_indic": 96, "llm_query_output": 96, "llm_retriev": [82, 95, 96], "llm_tool": 94, "llmasjudg": [45, 48, 81, 109], "llmasretriev": 95, "llmaugment": 52, "llmoptim": [50, 53, 82], "llmretriev": [22, 57, 82, 95, 96], "llmretrieveroutputtyp": 22, "lo": 85, "load": [20, 26, 27, 29, 38, 50, 51, 53, 58, 59, 61, 62, 67, 68, 78, 81, 88, 90, 94, 95, 98, 101, 109, 111], "load_class": 63, "load_dataset": [81, 109], "load_dotenv": [80, 94, 96, 102], "load_from_fil": [20, 38, 95], "load_from_pickl": 27, "load_index": 96, "load_json": 62, "load_jsonl": 62, "load_meta_data": 58, "load_metr": 81, "load_pickl": 62, "load_stat": [29, 78], "load_state_dict": [27, 74], "load_state_pickl": 27, "loaded_exampl": 111, "local": [6, 27, 35, 49, 68, 83, 88, 90, 95, 98, 105], "local_db": 29, "local_db_load": 29, "local_embedd": 79, "local_embedder_256": 79, "local_item_db": 29, "localdb": [6, 29, 42, 78], "locat": [68, 72, 90, 95, 98], "lock": 103, "log": [20, 57, 58, 59, 62, 64, 78, 82, 84, 87, 88, 104, 105], "log_cal": 58, "log_prompt": 59, "logger": [57, 87], "logger_metadata": 87, "loggind": 86, "logging_config": 86, "logic": [35, 81, 84, 86, 96], "logprob": [42, 95], "long": [4, 78, 82, 83, 87, 95, 96, 97], "longer": 97, "longest": 95, "look": [33, 72, 78, 79, 87, 92, 94, 95, 96, 104], "lookup": 94, "loop": [32, 37, 81, 92, 95, 98], "lose": [82, 87, 103], "lost": [29, 95], "lot": [81, 96], "love": 96, "lower": [84, 96, 98], "lru_cach": 88, "lstrip_block": 92, "lt": 86, "luna": 96, "m": [42, 68, 86, 87, 105], "made": [29, 72, 82, 83, 105], "magenta": 64, "mai": [4, 74, 85, 86, 97], "main": [29, 37, 50, 55, 68, 74, 80, 86, 90, 95, 103], "main_class": 86, "mainli": [42, 63, 72, 78, 84, 86, 96, 103], "maintain": [4, 26, 68, 72, 73, 96, 97], "major": 68, "make": [16, 29, 35, 68, 72, 74, 78, 81, 82, 87, 88, 90, 92, 94, 95, 98, 102, 103, 105, 106, 111], "makefil": 68, "manag": [4, 29, 30, 38, 41, 42, 52, 61, 74, 78, 80, 82, 88, 94, 96, 97, 98, 111], "mani": [18, 92, 95, 98], "manipul": [94, 103], "manner": 94, "manual": [27, 28, 61, 68, 74, 84, 87, 103, 104], "manufactur": [78, 95], "map": [4, 24, 27, 29, 33, 38, 62, 66, 72, 78, 95, 97, 98], "map_dialogturn_to_docu": 78, "map_fn": [29, 78], "map_to_docu": 78, "mapper_setup": [29, 78], "mappingproxi": 53, "mar": 1, "mark": [72, 81], "markdown": [4, 97], "marshmallow": [26, 72], "massiv": 81, "match": [20, 27, 44, 48, 72, 81, 96, 97, 109], "match_acc_list": 109, "materi": [78, 95], "mathemat": 81, "matrix": 72, "matter": [32, 72, 78], "max": [32, 94], "max_length": 88, "max_step": [1, 94], "max_token": [85, 88], "maxim": [84, 86, 92, 106], "maximum": [1, 4, 73, 85, 96, 97, 106], "mayb": 103, "md": [103, 104], "me": [92, 95], "mean": [4, 29, 50, 55, 64, 82, 84, 85, 94, 96, 97, 98], "meant": 68, "meanwhil": 96, "measur": [20, 81, 96], "mechan": [86, 88], "medata": 26, "media": 97, "medic": [74, 81, 97], "member": [27, 100], "memo": 27, "memoi": 83, "memori": [29, 31, 42, 78, 79, 83, 84, 96, 97, 98], "mere": 96, "merg": [4, 97, 103], "messag": [42, 63, 79, 82, 85, 86, 88, 92], "meta": [85, 92, 96], "meta_data": [4, 42, 78, 80, 96, 97, 109], "metadata": [16, 26, 32, 33, 42, 53, 72, 78, 82, 86, 87, 90, 94, 95, 111], "methd": 38, "method": [4, 10, 16, 20, 26, 27, 29, 35, 37, 38, 40, 45, 50, 55, 57, 66, 72, 74, 78, 79, 81, 82, 83, 87, 88, 90, 92, 95, 97, 98, 106], "metric": [44, 45, 46, 47, 48, 81, 83, 95, 109], "middl": 95, "might": [18, 22, 27, 29, 32, 72, 78, 79, 82, 95, 96, 97, 98, 105], "million": 95, "mimic": 18, "mimick": 72, "mind": [84, 87], "minim": [6, 84, 106], "minimum": [73, 92, 106], "minut": 101, "mislead": [26, 111], "miss": [26, 33, 39, 52, 95, 98], "mistaken": 16, "misunderstand": 96, "mmlu": 81, "mode": [27, 83, 103], "modecli": 80, "model": [1, 4, 6, 10, 14, 18, 20, 22, 24, 27, 29, 31, 33, 34, 35, 42, 45, 49, 52, 61, 71, 74, 80, 81, 83, 84, 85, 92, 94, 95, 96, 97, 98, 103, 106, 109, 111], "model_cli": [1, 22, 24, 25, 27, 31, 34, 45, 50, 52, 53, 57, 61, 63, 74, 78, 79, 80, 82, 83, 88, 94, 95, 96, 98, 106, 109], "model_kwarg": [1, 10, 22, 24, 27, 31, 33, 34, 35, 42, 45, 50, 52, 53, 58, 61, 74, 78, 79, 80, 82, 87, 88, 94, 95, 96, 98, 106, 109], "model_nam": [61, 88], "model_typ": [10, 27, 31, 34, 35, 42, 74, 81, 82, 88], "modelcli": [1, 10, 22, 24, 27, 31, 34, 35, 42, 45, 50, 52, 53, 74, 79, 82, 83, 92, 95, 106], "modelclienttyp": [42, 78, 82, 95, 98], "modeltyp": [10, 27, 31, 34, 35, 42, 74, 82, 88, 95], "modif": 74, "modifi": [3, 86], "modoel": 78, "modubl": 27, "modul": [22, 26, 27, 33, 42, 63, 66, 68, 72, 74, 78, 83, 86, 95, 103, 106, 109], "module_nam": 63, "moment": 84, "monitor": [78, 103, 105], "month": [46, 47, 48, 81], "monument": 87, "moon": 81, "more": [4, 10, 18, 20, 26, 27, 33, 39, 40, 41, 42, 43, 45, 52, 68, 69, 72, 73, 74, 78, 79, 81, 82, 83, 84, 85, 86, 87, 94, 95, 96, 97, 98, 103, 105, 106, 108, 109, 111], "moreov": 94, "most": [16, 74, 82, 83, 85, 87, 92, 95, 96], "mostli": [26, 95], "move": [4, 83, 95, 97], "movi": [80, 96], "much": [74, 82, 87, 95, 96], "mulitpl": 3, "multi": [72, 79, 85, 94, 103], "multifacet": 81, "multipl": [1, 28, 29, 50, 55, 58, 59, 61, 71, 78, 79, 82, 90, 94, 95, 98, 103], "multipli": [94, 98], "multiply_by_two": 28, "multiplybytwo": 28, "multitask": 81, "multple_function_call_templ": 98, "must": [27, 29, 88, 105], "my": 97, "my_app": 86, "my_db": 29, "my_funct": 27, "my_function_compon": 27, "my_inst": [26, 111], "myfunctioncompon": 27, "myoutput": [26, 111], "mypi": 72, "n": [4, 16, 20, 30, 39, 78, 87, 88, 90, 96, 98], "n_________": 78, "nadd": 98, "nage": 90, "name": [26, 27, 29, 32, 33, 40, 42, 53, 57, 58, 59, 61, 62, 63, 64, 65, 66, 72, 74, 78, 81, 84, 86, 87, 90, 94, 95, 96, 98, 103, 105, 109, 111], "named_children": 27, "named_compon": 27, "named_paramet": [27, 74], "nanswer": 87, "nativ": [72, 83, 86, 92], "nattribut": 90, "natur": [4, 33, 81], "navig": [68, 97], "nd": 95, "ndarrai": [33, 95, 98], "ndivid": 98, "neat": 86, "necessari": [68, 96, 98, 102, 103, 109], "need": [1, 4, 16, 20, 26, 27, 31, 32, 35, 41, 42, 63, 64, 72, 78, 79, 82, 84, 86, 88, 92, 95, 96, 97, 98, 103, 105, 109], "neg": [20, 44, 48, 96], "nest": [26, 27, 33, 42, 72, 83, 90], "nested_dict_str": 90, "net": 106, "neutral": [44, 48, 103], "never": 105, "new": [1, 4, 29, 33, 50, 53, 68, 78, 79, 81, 94, 95, 96, 98, 103, 106], "new_compon": [61, 82], "new_components_from_config": 61, "new_dim": 79, "new_embed": 79, "new_turn": 78, "next": [28, 80, 81, 85, 88, 92, 94, 96, 98, 109], "nget": 98, "nightli": 105, "nkei": 39, "nlg": 81, "nlp": [4, 80, 84, 96, 97], "nlu": 81, "nmultipli": 98, "nn": [27, 28, 74, 86, 106], "nname": 90, "nnew": 96, "nnone": 98, "nnow": 87, "node": 33, "nois": 96, "non": 4, "none": [1, 4, 6, 10, 16, 20, 22, 24, 26, 27, 28, 29, 31, 32, 33, 34, 35, 36, 37, 38, 41, 42, 45, 48, 50, 51, 52, 53, 55, 57, 58, 59, 62, 63, 64, 66, 72, 78, 80, 82, 86, 88, 90, 95, 96, 97, 98], "none_str": 90, "nonetyp": 42, "nonsens": [96, 97], "normal": [20, 33, 42, 72, 79, 88, 96], "normalize_np_arrai": 33, "normalize_vector": [33, 79], "nosql": 95, "note": [18, 20, 26, 27, 38, 42, 64, 74, 78, 82, 83, 90, 94, 95, 98, 103, 109], "notebook": [94, 95], "noth": 94, "notic": [82, 85], "notimplementederror": [88, 95], "now": [18, 27, 57, 72, 78, 79, 80, 82, 87, 90, 92, 94, 95, 96, 98, 103], "np": [95, 98], "nsearch": 98, "nsum": 98, "nthe": 87, "null": [78, 87, 90], "null_str": 90, "num": [50, 55], "num_class": [50, 55], "num_doc": 109, "num_row": 81, "num_shot": [50, 51, 55], "number": [1, 4, 20, 24, 40, 46, 47, 48, 64, 79, 80, 81, 90, 94, 96, 97, 98, 105, 109], "numer": [72, 80, 95, 96], "numpi": [79, 95, 98], "numpy_sum": 98, "nyou": 30, "nz": 20, "o": [66, 68, 88, 96], "o200k_bas": 96, "obj": [27, 33, 62, 66], "object": [4, 16, 26, 27, 28, 33, 34, 37, 39, 41, 42, 44, 45, 46, 47, 48, 50, 52, 53, 54, 57, 58, 59, 62, 63, 65, 66, 72, 80, 82, 86, 90, 94, 96, 97, 98], "objecttyp": [66, 98], "observ": [42, 84, 94], "obtain": [80, 81], "occur": [20, 79], "occurr": 96, "off": [88, 95], "offer": [78, 82, 88, 95, 103, 106, 111], "offici": 106, "often": [20, 28, 42, 78, 79, 82, 88, 92, 95, 97], "okapi": 96, "okapi_bm25": [20, 95], "old_dim": 79, "old_embed": 79, "onc": [81, 95, 96], "one": [3, 32, 33, 64, 79, 82, 85, 87, 90, 92, 94, 95, 96, 98], "ones": [57, 82, 96, 97], "onli": [16, 20, 26, 27, 28, 29, 31, 33, 34, 41, 42, 45, 57, 61, 63, 72, 74, 78, 79, 82, 84, 87, 88, 90, 92, 94, 95, 96, 98, 103, 105, 106, 111], "open": [68, 81, 103, 109], "openai": [14, 35, 42, 63, 78, 80, 82, 85, 88, 95, 96, 97, 98, 102, 103, 111], "openai_api_kei": [79, 88, 102], "openai_cli": [63, 79, 88, 109], "openaicli": [27, 31, 34, 35, 57, 61, 63, 74, 78, 79, 80, 82, 88, 94, 95, 96, 109], "oper": [3, 26, 28, 29, 31, 42, 72, 78, 95, 96, 111], "operand": 98, "opinion": 103, "opro": 53, "opt": 92, "optim": [20, 36, 51, 53, 72, 74, 78, 82, 87, 95, 96, 97, 103, 106], "option": [1, 4, 16, 20, 22, 24, 26, 27, 29, 31, 33, 34, 35, 36, 37, 38, 39, 40, 42, 45, 48, 57, 58, 59, 62, 63, 64, 72, 74, 78, 82, 88, 90, 95, 97, 98, 101, 106, 111], "optional_packag": 63, "optionalpackag": [63, 102], "opu": 85, "orang": 96, "orchestr": [31, 32, 34, 50, 51, 78, 79, 80, 83, 90, 92, 106], "ord_docu": 78, "order": [4, 26, 28, 37, 42, 72, 78, 79, 84, 96, 97], "orderdict": 28, "ordereddict": [27, 28, 42], "org": [1, 18, 20, 53, 71, 72, 86, 95, 105], "org_docu": 78, "organ": [49, 68, 78, 96, 103], "origin": [4, 29, 72, 78, 80, 95, 96, 105], "orpo": 53, "oss": 103, "otago": 20, "other": [4, 16, 27, 33, 42, 61, 66, 68, 72, 74, 79, 81, 82, 84, 90, 95, 98, 100, 103, 111], "othersi": 27, "otherwis": [27, 42, 97, 105], "our": [26, 27, 34, 45, 55, 68, 69, 72, 74, 78, 79, 82, 83, 85, 86, 88, 90, 92, 94, 95, 96, 97, 98, 100, 101, 102, 103, 106, 107, 109], "ourselv": 103, "out": [72, 74, 81, 82, 84, 88, 94, 95, 96, 97, 98, 103], "outcom": 4, "outer": 72, "outlin": [81, 94, 105], "outperform": 94, "output": [4, 10, 14, 20, 22, 26, 28, 30, 31, 32, 33, 34, 39, 42, 45, 49, 50, 51, 52, 55, 57, 58, 64, 72, 74, 78, 80, 83, 85, 86, 87, 88, 92, 94, 95, 96, 97, 103, 109, 111], "output_1": 95, "output_2": 95, "output_3": 95, "output_data_class": 98, "output_data_obj": 52, "output_format": [30, 82, 87, 98, 111], "output_format_str": [30, 82, 87, 92, 98], "output_pars": [25, 90, 98], "output_processor": [1, 16, 22, 31, 34, 50, 51, 79, 80, 83, 90, 94, 95, 96, 98, 109], "output_str": 87, "outputformat": 72, "outputpars": [16, 90, 98, 106], "outstand": 111, "over": [27, 28, 32, 71, 74, 92, 96, 103, 106], "overal": [26, 81, 84, 94, 98], "overflow": 79, "overhead": 32, "overlap": [4, 72, 96, 97], "overpr": 96, "overrid": [80, 94, 96], "overview": [78, 81], "overwrit": 26, "own": [4, 26, 27, 33, 38, 58, 71, 72, 79, 81, 88, 95, 103, 109], "p": 88, "p1": 98, "p2": 98, "packag": [63, 68, 72, 80, 95, 96, 101, 103, 105, 106], "pad": 88, "page": [4, 68, 94, 96, 97], "paid": 87, "pain": 74, "pair": [95, 97], "paitesanshi": 71, "palletsproject": 92, "panel": [78, 95], "paper": [20, 81, 94, 95], "paragraph": [96, 97], "parallel": 71, "param": [27, 33, 36, 46, 48, 74, 82], "paramet": [4, 16, 20, 22, 24, 26, 27, 29, 31, 33, 34, 35, 37, 38, 39, 40, 42, 44, 45, 47, 48, 50, 51, 53, 57, 58, 59, 61, 62, 63, 64, 66, 72, 74, 83, 94, 96, 98, 103, 109], "parent": 96, "parent_doc_id": [4, 42, 78, 96, 97], "pari": [87, 88, 98], "pars": [10, 14, 16, 32, 33, 34, 35, 39, 41, 42, 82, 83, 88, 90, 94, 98], "parse_chat_complet": [10, 35, 88], "parse_embedding_respons": [14, 35, 88], "parse_func_expr": [41, 98], "parse_function_call_expr": [33, 98], "parse_json_str_to_obj": 33, "parse_yaml_str_to_obj": 33, "parsed_input": [42, 98], "parsed_us": 90, "parser": [16, 49, 83, 94, 96, 98], "part": [33, 71, 82, 83, 92, 95, 96, 110], "parti": [26, 64, 95], "particip": 100, "particl": [78, 95], "particulai": 81, "particular": [31, 35, 38, 74, 82, 83, 87], "particularli": 96, "pass": [20, 24, 28, 31, 33, 34, 37, 42, 45, 72, 74, 79, 82, 85, 88, 92, 94, 95, 96, 98], "passag": [4, 96, 97], "password": 97, "past": [42, 92], "path": [20, 38, 57, 59, 63, 81, 83, 109], "path_to_html_output": 68, "pattern": [14, 27, 28, 32, 42], "pdf": [4, 20, 97], "pdfminer": [4, 97], "pep": 105, "per": [42, 90], "percent": 92, "perform": [29, 45, 48, 50, 51, 52, 55, 78, 79, 81, 82, 84, 87, 92, 94, 95, 96, 97, 103, 109], "perhap": 87, "period": [4, 97], "perplex": 81, "persist": [6, 20, 29, 38, 42, 74, 78, 95], "persit": 78, "person": [26, 111], "pgvector": [63, 95, 102], "phase": 96, "philosophi": [73, 83], "phoenix": [86, 103], "photon": [78, 95], "phrase": 95, "pickabl": 74, "pickl": [27, 29, 62, 78, 95], "picklabl": [27, 29], "pickle_to_fil": 27, "piec": [4, 96], "pip": [63, 64, 68, 102], "pipelin": [6, 27, 28, 29, 34, 61, 74, 79, 81, 82, 84, 95, 105, 106], "pkl": [29, 61, 78], "place": [36, 98], "placehold": 92, "plai": [35, 78, 85, 92, 95, 96], "plain": 97, "plan": [83, 88, 94, 102], "plann": 71, "planner": 1, "platform": [81, 82, 98, 100], "pleas": [4, 16, 26, 32, 34, 45, 63, 64, 68, 69, 74, 79, 81, 82, 88, 90, 94, 95, 96, 97, 98, 103, 105, 108, 111], "plenti": 74, "plot": 73, "plug": [35, 103], "poetri": [68, 103, 105], "point": [4, 57, 72, 86, 97, 98, 109], "pollut": [78, 86, 95], "pool": 95, "pop": [29, 78], "popular": [71, 81, 96], "posit": [28, 33, 42, 44, 48, 64, 78, 80, 95, 96, 98], "possibl": 72, "post": [22, 95, 97], "postgr": 95, "postgresql": 95, "postprocessor": 103, "potenti": [33, 72, 85, 94, 97, 105], "power": [73, 78, 86, 95, 106], "powershel": 64, "practic": [95, 96, 103], "practis": [74, 95], "pre": [78, 81, 103, 105], "precis": [81, 95, 97], "pred_answ": [44, 45, 48], "predefin": 33, "predict": [26, 34, 42, 44, 45, 48, 57, 72, 81, 82, 83, 85, 87, 92, 109], "prefer": [86, 95, 98], "prefix": [26, 27, 90, 92, 111], "prepar": [22, 78, 80, 95, 96, 98], "prepend": 27, "preprint": 81, "preprocess": [4, 40, 96, 97], "prescript": 74, "presenc": 20, "preserv": 72, "preset": [1, 34, 37, 92, 96], "preset_prompt_kwarg": [16, 37, 57, 87, 94, 95, 96, 109], "pretti": 95, "prevent": [4, 96, 97], "previou": [28, 50, 53, 78, 82, 90, 94, 96, 97, 109], "previous": [27, 37, 95], "principl": 103, "print": [4, 16, 20, 26, 27, 28, 32, 33, 37, 39, 42, 64, 72, 78, 79, 80, 81, 82, 86, 88, 90, 92, 94, 95, 96, 97, 98, 109, 111], "print_prompt": [34, 37, 78, 82], "print_prompt_templ": 37, "printc": 64, "printout": [74, 78, 90, 92, 95, 98], "prior": 64, "priorit": 95, "pro": [78, 95], "prob": 95, "probab": 95, "probabl": [95, 96], "problem": [94, 95, 98, 103, 105], "procesor": 79, "process": [4, 18, 22, 29, 31, 42, 49, 68, 72, 74, 78, 79, 80, 81, 82, 83, 84, 87, 90, 92, 94, 95, 96, 97, 98, 103, 105, 109], "process_queri": 98, "processor": [16, 31, 34, 42, 50, 51, 82, 83], "produc": [78, 95, 109], "product": [4, 78, 79, 81, 84, 95, 96], "production": 103, "profess": 95, "profil": [95, 96], "program": [72, 86], "programmat": [83, 92], "progress": 105, "prohibit": 68, "project": [58, 59, 68, 79, 87, 100, 101, 102, 107], "project_nam": [57, 58, 59], "prompt": [1, 16, 22, 26, 27, 30, 34, 37, 42, 52, 57, 59, 64, 72, 74, 78, 82, 83, 84, 85, 87, 88, 90, 94, 95, 96, 98, 103, 104, 106, 109, 111], "prompt_build": [82, 92, 98, 109, 111], "prompt_kwarg": [1, 34, 37, 58, 74, 78, 82, 87, 92, 98], "prompt_stat": [59, 87], "prompt_templ": 111, "prompt_token": [42, 88], "prompt_vari": [27, 74, 82, 87, 90, 92, 95, 106], "promt_kwarg": 1, "proper": 97, "properli": [90, 111], "properti": [16, 29, 33, 41, 42, 58, 59, 72, 79, 94, 98], "propetriari": 85, "propos": [50, 51, 53], "proprietari": [92, 103], "protocol": [35, 81, 83, 95], "provid": [4, 22, 26, 27, 33, 35, 36, 37, 50, 53, 57, 58, 64, 72, 73, 74, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 92, 94, 95, 96, 98, 103, 106, 109, 111], "proxi": 63, "proxim": 95, "pt": 88, "publish": [1, 18, 105], "pull": 68, "punchlin": 111, "punctuat": [4, 97], "pure": 82, "purpos": [4, 74, 78, 97, 109], "purposli": 27, "pursuit": 71, "push": [68, 105], "put": [72, 74, 79, 84, 95, 103], "py": [42, 68, 86, 103, 109], "pydant": [26, 72], "pydata_sphinx_them": 68, "pypdf2": [4, 97], "pypi": 105, "pyproject": 105, "python": [4, 16, 26, 33, 39, 42, 68, 72, 81, 86, 90, 92, 97, 102, 103], "pytorch": [26, 27, 28, 55, 68, 72, 74, 84, 86, 105, 106, 111], "q": [18, 20, 94], "q_i": 20, "qa": 27, "qualiti": [68, 81, 82, 109], "qualnam": [26, 42, 63, 66], "quantit": 81, "queri": [1, 3, 16, 20, 22, 27, 42, 44, 45, 46, 47, 48, 71, 74, 79, 81, 87, 88, 92, 94, 95, 96, 97, 98, 106, 109], "query_1": 95, "query_1_short": 95, "query_1_token": 95, "query_1_word": 95, "query_2": 95, "query_2_short": 95, "query_or_queri": [22, 96], "query_str": [42, 78], "question": [4, 16, 18, 26, 33, 45, 48, 72, 74, 81, 87, 94, 97, 100, 103, 109, 111], "quick": [41, 94, 96], "quickli": [78, 95, 103], "quit": [82, 90, 92, 95], "quot": [90, 98], "r": [27, 37, 68, 74, 82, 88, 92, 95, 98, 106, 109, 111], "rag": [43, 71, 81, 94, 95, 96, 103, 105, 106], "rag_hotpotqa": 109, "raga": 81, "rais": [4, 26, 33, 39, 63, 72, 79, 82, 88, 90, 95], "random": [39, 50, 55], "random_replac": [50, 51, 55], "random_sampl": [50, 55], "randomli": [50, 55], "randomsampl": [50, 55], "rang": [42, 45, 50, 53, 55, 72, 81, 95, 96, 97, 98, 109], "rank": [20, 24, 83, 96], "rank_bm25": [20, 95], "rare": 20, "rate": 98, "rather": [72, 79, 82, 97], "ratio": [46, 47, 48, 96, 109], "raw": [4, 20, 42, 72, 82, 92, 97, 98], "raw_respons": [22, 42, 79, 82, 86, 87, 88, 98], "rc": 105, "re": [94, 95, 105], "reach": [20, 83, 92, 94], "react": 71, "reactag": [1, 71, 83, 94], "read": [57, 85, 92, 94, 103, 111], "readabl": [68, 106], "readi": [86, 95, 96, 98], "readili": 81, "readm": [68, 103, 104], "readthedoc": 86, "real": [4, 78, 95, 97, 100], "realiti": 92, "realli": [78, 82, 88, 94], "realtion": 95, "reason": [16, 20, 71, 72, 81, 83, 94, 95, 96], "reattach": 4, "rebuilt": 61, "recal": [46, 48, 81, 95, 109], "recall_list": [46, 48, 81, 109], "receiv": [28, 80, 85, 96], "recogn": 103, "recognit": 84, "recommend": [81, 102], "recomnend": [50, 55], "recomput": 95, "reconstruct": [61, 72], "reconstructed_from_json": 72, "reconstructed_from_yaml": 72, "record": [42, 57, 58, 78, 82, 96], "recreat": 61, "recurs": [27, 33, 74], "red": 64, "reduc": [78, 95], "redund": 105, "refer": [1, 4, 10, 20, 26, 27, 34, 45, 68, 81, 94, 96, 97, 111], "reference_text": 81, "reflect": [4, 97], "regardless": 98, "regist": [29, 58, 65, 78, 86, 88], "register_compon": 27, "register_gener": 58, "register_module_forward_hook": 86, "register_paramet": [27, 74], "register_transform": [29, 78], "regress": [90, 92], "regular": 27, "reimplement": 95, "reiniti": [22, 95], "rel": 20, "relai": 82, "relat": [42, 95, 96, 105], "relationship": 96, "relax": 74, "relev": [22, 46, 47, 48, 78, 79, 81, 82, 83, 85, 95, 96, 97, 98, 109], "relevance_list": [47, 48, 81, 109], "reli": [26, 84, 96, 98, 106], "relianc": [78, 95, 106], "reliev": 74, "reload": 78, "reloaded_dialog_turn_db": 78, "relu": 74, "remain": [68, 80, 95], "remov": [29, 68, 78], "remove_dupl": 27, "remove_stop_word": 40, "remove_transform": [29, 78], "render": [37, 92], "renered_prompt": 98, "renew": [78, 95], "renewab": 78, "repeat": 97, "replac": [1, 50, 55], "repo": 103, "reponse_embedder_output": 88, "report": [81, 97], "repositori": [68, 103, 105, 108], "repr": 53, "repr_str": 79, "repres": [26, 27, 33, 36, 72, 78, 92, 95, 96, 98, 106, 109], "represent": [26, 37, 42, 66, 80, 81, 96], "represent_ordereddict": 33, "request": 94, "requir": [16, 22, 26, 29, 33, 34, 36, 42, 44, 48, 68, 72, 78, 85, 86, 88, 90, 92, 94, 95, 96, 97, 98, 109, 111], "required_field": [26, 33, 72], "requires_opt": 36, "requr": 98, "rerank": [24, 42, 103], "reranker_retriev": 95, "rerankerretriev": [24, 95], "research": [78, 79, 81, 84, 92, 94, 95, 96, 103], "resembl": 106, "reserv": 82, "reset": [1, 20, 22, 24, 29, 38, 50, 51, 53, 78, 97], "reset_index": [20, 22, 24, 38, 96], "reset_paramet": [50, 51, 53], "resolv": [33, 111], "resort": 90, "resourc": [68, 94, 95], "respect": [33, 80, 83], "respond": [82, 92, 98], "respons": [1, 14, 16, 22, 34, 35, 42, 53, 74, 78, 79, 82, 85, 86, 88, 94, 95, 96, 97, 98, 109], "response_str": [42, 78], "response_text": 88, "rest": [28, 35, 74, 85, 92, 96], "restor": [20, 26, 29, 38, 95], "restored_data": 26, "restored_dialog_turn_db": 78, "restructuredtext": 68, "result": [4, 20, 27, 28, 32, 33, 34, 42, 45, 48, 73, 80, 81, 82, 83, 84, 87, 95, 96, 97, 98, 106], "result1": 98, "result1someth": 98, "result2": 98, "result2someth": 98, "retri": [35, 88], "retriev": [3, 4, 6, 20, 22, 24, 27, 33, 42, 46, 47, 48, 49, 74, 78, 80, 81, 82, 83, 84, 88, 92, 97, 98, 103, 105, 106, 109], "retrieved_context": [46, 47, 48, 81], "retriever2": 20, "retriever_1": 95, "retriever_evalu": 109, "retriever_output": 3, "retriever_output_to_context_str": 3, "retriever_recal": [48, 81], "retriever_relev": [48, 81], "retrieverdocumentstyp": [24, 95], "retrieverdocumenttyp": [20, 22, 24, 38, 42, 95], "retrieverevalu": 109, "retrieveroutput": [3, 20, 22, 24, 38, 42, 78, 95, 96], "retrieveroutputtocontextstr": 3, "retrieveroutputtyp": [22, 95], "retrieverqueriestyp": 95, "retrieverquerytyp": [38, 42, 95], "retrieverrecal": [46, 48, 81], "retrieverrelev": [47, 48, 81], "retrieverstrqueriestyp": [22, 95], "retrieverstrquerytyp": 95, "return": [4, 16, 20, 22, 26, 27, 28, 29, 31, 32, 33, 39, 40, 42, 44, 45, 46, 47, 48, 61, 62, 64, 66, 72, 74, 78, 79, 82, 83, 88, 90, 92, 94, 95, 96, 97, 98, 106], "return_data_class": 16, "return_tensor": 88, "reus": 105, "review": [68, 80, 81, 96, 105], "right": [20, 33, 39, 82, 84, 87, 90, 95], "rigid": 103, "risk": 97, "robust": [81, 90], "roger": 18, "role": [26, 78, 85, 88, 92, 94, 95, 103, 111], "rom": 90, "root": [64, 86, 102], "root_logg": [64, 86], "roug": 81, "row": 42, "rst": 68, "rule": [4, 84, 97, 105], "run": [1, 32, 68, 74, 78, 79, 80, 86, 87, 94, 97, 98, 102, 103, 105, 111], "run_async_function_cal": 98, "run_sync_and_async_mix": 32, "run_sync_and_async_mix_without_wait": 32, "runtim": [37, 102], "safe": [33, 63], "safe_import": 63, "safe_load": [90, 109], "sai": [72, 87, 95], "same": [22, 27, 28, 29, 40, 42, 44, 48, 50, 55, 72, 78, 79, 82, 88, 90, 92, 94, 95, 96, 103, 106], "sampl": [50, 51, 55, 97, 105, 109], "sampler": [50, 51], "san": 98, "sandbox": [32, 33, 41, 98], "sandbox_exec": [32, 33], "sandbox_execut": 98, "sat": 81, "satur": [20, 96], "save": [20, 26, 29, 38, 42, 57, 58, 59, 62, 64, 74, 78, 79, 82, 86, 87, 95], "save_dir": [57, 58, 59, 64, 86], "save_index": 96, "save_json": [62, 74], "save_meta_data": 58, "save_pickl": 62, "save_st": [29, 78], "save_to_fil": [20, 38, 95], "scale": [95, 96], "scarecrow": 111, "scenario": 97, "scene": 85, "schema": [16, 26, 33, 42, 72, 90, 98, 111], "schmea": 72, "scope": 4, "score": [4, 20, 22, 33, 42, 45, 48, 50, 53, 78, 80, 81, 96, 97], "script": [64, 109], "script_nam": 64, "sdk": [42, 95, 102, 106], "seamless": 94, "seamlessli": 95, "search": [33, 80, 81, 94, 95, 96, 97, 98], "search_reranking_with_cross": 95, "second": [32, 33, 46, 47, 48, 81, 87, 88, 95, 96, 97, 98], "secret": 85, "section": [68, 78, 83, 85, 92, 94, 97, 98, 110], "sector": [78, 95], "see": [4, 18, 35, 57, 69, 72, 73, 74, 78, 80, 85, 86, 92, 94, 95, 96, 97, 98, 103, 105, 106], "seek": [92, 103], "seen": 78, "segment": [4, 97], "select": [50, 55, 81, 90, 97, 109, 111], "self": [16, 27, 28, 33, 57, 72, 74, 79, 86, 87, 88, 95, 98, 106], "semant": [78, 80, 95, 97, 105], "semver": 105, "send": [92, 95], "sens": [71, 81, 87], "sensit": [26, 72, 84, 95, 97, 106], "sensor": 95, "sent": 92, "sentenc": [4, 82, 94, 96, 97, 109], "sentiment": [4, 80, 81, 96, 97], "separ": [4, 35, 64, 68, 92, 97, 103], "seq": [28, 74], "seq1": 28, "seq2": 28, "seq3": 28, "sequenc": [3, 20, 22, 24, 31, 38, 50, 55, 74, 78, 83, 88, 94, 95, 97], "sequenti": [1, 28, 34, 40, 71, 78, 79, 82, 83, 94, 109], "seral": [72, 84], "sercur": 98, "seri": [4, 85, 96, 97], "serial": [26, 27, 28, 37, 62, 72, 74, 83, 92, 95, 111], "serializ": 29, "serv": 74, "server": 68, "servic": 96, "session": 42, "session_id": [42, 78], "set": [1, 4, 20, 22, 27, 33, 34, 37, 45, 64, 68, 78, 79, 80, 83, 88, 94, 95, 96, 97, 101, 104, 109, 111], "set_assistant_respons": 42, "set_user_queri": 42, "setup": [29, 78, 79, 80, 82, 86, 87, 95, 102, 103, 111], "setup_env": [79, 88, 102], "seven": 92, "sever": [74, 81, 97], "shallow": 27, "shape": 84, "share": [4, 100, 103], "shell": 103, "shift": [4, 96, 97], "shorten": 68, "shorter": [95, 96, 97], "shorthair": 96, "shot": [18, 26, 50, 51, 55, 92, 94, 95, 104, 111], "should": [4, 16, 22, 26, 27, 28, 29, 31, 35, 42, 50, 53, 59, 74, 79, 82, 87, 90, 92, 95, 96, 97, 98, 103, 111], "show": [16, 42, 68, 74, 80, 82, 90, 94, 95, 96, 98, 103, 109, 111], "showcas": 95, "shown": 98, "signal": 96, "signatur": [26, 72, 98, 111], "signature_json": [16, 26, 72], "signature_yaml": [16, 26, 72], "signific": [78, 95, 96], "significantli": [20, 78, 95], "signitur": 111, "similar": [33, 42, 79, 80, 81, 86, 92, 94, 95, 96, 106], "similaritypostprocessor": 103, "similarli": [72, 82, 87, 103], "simpl": [16, 34, 39, 50, 55, 78, 79, 80, 82, 86, 90, 92, 95, 97], "simple_prompt": 92, "simpleqa": [87, 106], "simpler": 111, "simplest": [86, 98], "simpli": [33, 50, 51, 71, 72, 79, 82, 86, 95], "simplic": 106, "simplifi": [78, 79, 82, 84, 87, 94, 95, 98], "simplili": 98, "simul": [32, 94, 95, 96], "sinc": 105, "singl": [28, 29, 31, 34, 42, 45, 61, 78, 79, 81, 82, 85, 86, 87, 92, 94, 95, 98, 111], "site": [68, 86], "situat": [71, 79], "size": [4, 31, 79, 95, 96], "skim": 95, "skip": [50, 55], "sleep": [32, 96, 98], "slide": [4, 96, 97], "slightli": 98, "slow": 97, "small": [31, 61, 78, 79, 80, 88, 95, 96], "small_tool_manag": 98, "smaller": [4, 79, 83, 95, 96, 97], "smallest": [4, 97], "smell": 96, "snippet": [42, 68, 81, 98, 109], "so": [33, 40, 42, 71, 72, 78, 84, 85, 86, 88, 94, 95, 97], "social": 97, "softwar": 84, "solar": [78, 95], "solut": [84, 96, 103], "solv": [94, 103, 111], "some": [22, 39, 50, 55, 72, 78, 81, 82, 86, 87, 92, 95, 103], "someth": 98, "sometim": [45, 72, 103], "soon": [77, 82, 83, 89, 91, 99, 110], "sort": 37, "sort_kei": [26, 33], "sourc": [1, 3, 4, 6, 10, 14, 16, 20, 22, 24, 26, 27, 28, 29, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 50, 51, 52, 53, 54, 55, 57, 58, 59, 61, 62, 63, 64, 65, 66, 67, 68, 78, 86, 94, 95, 96, 103, 106], "space": [4, 16, 80, 90, 94, 96, 97], "span": 81, "speak": [98, 103], "spec": 42, "speciaf": 109, "special": [85, 92], "specif": [10, 24, 32, 34, 35, 36, 38, 41, 42, 45, 72, 81, 86, 88, 92, 94, 95, 97, 109], "specifc": 42, "specifi": [4, 10, 26, 36, 42, 64, 72, 92, 95, 96, 97, 98], "spectrum": 81, "speed": [95, 96], "spend": 84, "sphinx": 68, "split": [3, 4, 20, 68, 78, 80, 83, 95, 104], "split_and_emb": 78, "split_bi": [4, 61, 78, 80, 96, 97], "split_funct": 96, "split_length": [61, 78, 80, 96], "split_overlap": [61, 78, 80, 96], "split_text": 4, "split_text_by_token_fn": 96, "split_text_by_word_fn": [20, 95], "split_text_by_word_fn_then_lower_token": [20, 95], "split_text_token": 20, "splitted_doc": [4, 80, 96, 97], "splitter": [4, 78, 80, 83, 95], "splitter_config": 78, "splitter_set": 96, "sql": [78, 90, 95], "sqlalchemi": [63, 78, 95, 102], "src": 86, "stabl": [86, 105], "staff": 96, "stage": [79, 94, 95, 103], "stai": [74, 103], "stand": 82, "standar": [10, 74, 84], "standard": [10, 16, 26, 32, 35, 42, 79, 82, 83, 88, 90, 95, 97, 98, 103, 111], "star": 81, "start": [1, 16, 18, 26, 33, 42, 63, 66, 79, 96, 98, 109], "start_header_id": [85, 92], "start_tim": [32, 98], "starter": [50, 53], "state": [20, 22, 24, 26, 27, 29, 38, 57, 59, 61, 74, 78, 82, 83, 84, 87, 95, 96, 98], "state_dict": [27, 50, 54, 74], "static": [26, 72], "statu": 72, "step": [1, 4, 18, 30, 42, 50, 53, 54, 71, 79, 82, 87, 90, 92, 94, 95, 96, 97, 109], "stepoutput": [42, 94], "steps_str": [30, 82, 87, 92], "stick": 82, "still": [68, 78, 82, 84, 86, 95, 96, 97, 98], "stop": [82, 92], "storag": [4, 6, 29, 61, 78, 95], "store": [4, 27, 29, 34, 58, 59, 72, 78, 80, 82, 87, 95, 96], "str": [1, 3, 4, 10, 16, 20, 22, 24, 26, 27, 28, 29, 31, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 50, 52, 53, 57, 58, 59, 61, 62, 63, 64, 65, 66, 67, 72, 74, 78, 79, 82, 88, 90, 95, 96, 97, 98, 111], "str_param": 36, "straightforward": [82, 90, 94], "strateg": 94, "streamlin": [26, 83, 98, 111], "stress": 74, "strict": [27, 97], "string": [1, 16, 22, 26, 33, 34, 36, 37, 39, 40, 42, 44, 45, 46, 47, 48, 66, 68, 82, 83, 85, 90, 92, 94, 95, 96, 98, 103, 109], "string_pars": [16, 82, 90, 96, 109], "structu": 72, "structur": [4, 10, 26, 27, 33, 35, 42, 55, 72, 78, 79, 82, 83, 87, 88, 90, 95, 97, 98, 106, 111], "stuck": 97, "style": 68, "subclass": [16, 20, 26, 27, 35, 38, 42, 63, 72, 74, 79, 82, 83, 88, 92, 95, 98], "subcompon": [27, 34, 74, 82], "subcomponn": 74, "subdirectori": 49, "subject": 81, "submiss": 105, "submit": 96, "subqueri": 94, "subsequ": 94, "subset": 109, "substanti": [78, 95], "substitut": 92, "subtract": 94, "success": [82, 98], "successfulli": [98, 105], "sudden": [4, 96, 97], "suggest": [20, 94, 96], "suitabl": 4, "sum": 98, "sum_": 20, "summar": [81, 84, 97, 103], "summari": [82, 111], "sunlight": [78, 95], "super": [27, 72, 74, 79, 87, 88, 106], "support": [4, 18, 26, 32, 33, 34, 41, 42, 64, 66, 72, 79, 82, 85, 88, 90, 95, 96, 97, 98, 102, 106, 109, 111], "support_model_list": 88, "supporting_fact": 109, "suppos": 95, "sure": [16, 72, 90, 95, 98, 102, 105, 111], "survei": [71, 81], "sustain": [78, 95], "switch": [22, 79, 88, 95, 103, 106], "sy": [27, 30, 74, 78, 82, 92, 95, 98, 106], "sylphai": 68, "sync": [27, 32, 35, 41, 42, 88, 98], "sync_client": 88, "sync_function_1": 32, "sync_function_2": 32, "sync_tool_1": 32, "sync_tool_2": 32, "synchron": [32, 74], "syntax": [82, 92], "system": [30, 35, 37, 42, 71, 78, 81, 85, 88, 92, 94, 96, 97, 103], "system_input": 10, "system_prompt": 27, "system_tim": 78, "sytem": 10, "t": [4, 16, 20, 27, 29, 33, 36, 37, 42, 85, 86, 92, 94, 96, 97, 103], "t0": 94, "t2d": [95, 96], "t_co": [42, 50, 55], "tab": 105, "tabl": [78, 95, 96], "tag": 105, "take": [1, 4, 32, 71, 80, 82, 85, 90, 92, 94, 95, 97, 98, 103], "taken": 98, "target": [57, 90], "task": [1, 4, 18, 27, 30, 32, 34, 45, 50, 53, 57, 61, 62, 74, 78, 79, 81, 82, 83, 84, 86, 87, 92, 94, 95, 96, 97, 98, 104, 109, 111], "task_context_str": 52, "task_desc_str": [16, 30, 37, 82, 87, 92, 96, 109], "task_input_dataclass": [50, 51], "task_output_dataclass": [50, 51], "team": 106, "technic": [68, 81, 98], "techniqu": [74, 95], "technologi": [78, 81, 95], "temperatur": [33, 34, 88, 94, 96, 98], "templat": [16, 27, 30, 34, 37, 45, 57, 68, 74, 90, 94, 95, 96, 98, 106, 111], "template_doc": [27, 74], "tenni": 18, "tensor": [26, 27, 72, 74, 86, 106, 111], "tensorboard": 86, "tensorflow": 86, "term": [20, 96], "termin": [82, 94], "terribl": 96, "test": [27, 29, 81, 82, 95, 102, 103, 104, 105, 106], "test_input_1": 39, "test_input_2": 39, "test_input_3": 39, "test_input_4": 39, "testcod": 68, "testgener": 57, "testgenerator_generator_trac": 57, "text": [4, 20, 29, 31, 33, 37, 39, 40, 42, 53, 61, 64, 72, 78, 79, 80, 81, 82, 83, 84, 86, 88, 90, 92, 94, 95, 103, 109], "text_splitt": [80, 96, 97], "text_splitter_set": [80, 96], "textsearch": 95, "textsplitt": [4, 78, 95], "than": [16, 26, 27, 31, 50, 53, 72, 73, 74, 79, 84, 90, 94, 95, 97, 98, 106, 111], "thank": 42, "theater": 96, "thei": [28, 29, 36, 39, 78, 82, 84, 85, 86, 90, 94, 95, 96, 111], "them": [20, 26, 27, 38, 39, 42, 46, 47, 48, 68, 74, 78, 80, 81, 84, 85, 86, 90, 92, 95, 98, 103, 109, 111], "themat": 97, "theme": 68, "themselv": 71, "thenlper": [79, 88], "therefor": 94, "thi": [4, 6, 16, 18, 22, 26, 27, 28, 29, 30, 31, 32, 33, 35, 37, 42, 44, 45, 46, 47, 48, 57, 61, 64, 65, 68, 72, 73, 74, 78, 79, 80, 81, 82, 83, 84, 86, 87, 88, 90, 92, 94, 95, 96, 97, 98, 102, 103, 105, 106, 109, 110, 111], "thing": [35, 84, 88], "think": [18, 103], "third": [64, 95], "those": 85, "though": [16, 88, 90, 92, 95, 97], "thought": [16, 18, 42, 72, 94, 98], "thoughtact": 16, "three": [34, 79, 80, 82, 83, 84, 85, 87, 98, 103], "through": [42, 68, 78, 80, 81, 82, 87, 94, 95, 96, 103, 105, 109], "thu": [42, 79, 90, 92, 109], "tiktoken": [4, 40, 97], "time": [32, 50, 55, 71, 80, 84, 92, 94, 95, 96, 98, 100], "time_stamp": [58, 59, 87], "timeout": 33, "timestamp": [42, 64], "tini": 86, "titl": [42, 78, 95, 96, 109], "to_dict": [20, 26, 27, 36, 37, 38, 55, 66, 72, 74, 92, 95, 98], "to_dict_class": [26, 66], "to_embed": [61, 80], "to_json": [26, 42, 72, 98, 111], "to_json_exampl": 26, "to_json_obj": [26, 72], "to_json_signatur": [26, 72, 98, 111], "to_schema": [26, 72], "to_schema_str": [26, 72], "to_thread": 32, "to_yaml": [26, 42, 72, 78, 98, 111], "to_yaml_exampl": 26, "to_yaml_obj": [26, 72], "to_yaml_signatur": [26, 72, 111], "toctre": 68, "todai": [20, 86], "todo": 85, "toembed": [3, 61, 78, 80, 96], "toembedderrespons": [80, 96], "togeth": [74, 78, 79, 80, 83, 92, 103], "token": [4, 16, 20, 26, 42, 47, 48, 78, 83, 85, 88, 92, 95, 96, 98, 109, 111], "tokenlogprob": 42, "tokyo": 98, "tol": 33, "tolist": 88, "toml": 105, "too": [74, 78, 95, 96], "tool": [1, 30, 32, 41, 42, 71, 81, 82, 83, 84, 85, 86, 87, 92, 94, 98, 103, 105, 106], "tool_1": 32, "tool_cal": 98, "tool_help": 94, "tool_manag": 98, "toolmanag": [41, 106], "toolnam": 94, "tools_str": [30, 82, 87, 92], "top": [20, 22, 24, 27, 72, 74, 84, 94, 95, 96], "top_k": [20, 22, 24, 33, 38, 61, 78, 96], "top_k_docu": 78, "topic": 106, "torch": [55, 63, 74, 86, 106], "torchmetr": 81, "total": [20, 46, 47, 48, 81, 90, 95, 98, 109], "total_docu": 95, "total_token": [42, 88], "tower": 87, "trace": [57, 58, 59, 86, 94, 104], "trace_gener": 57, "trace_generator_cal": [57, 62, 82, 87], "trace_generator_error": 87, "trace_generator_st": [57, 82, 87], "tracer": 86, "track": [42, 59, 74, 78, 82, 87, 95, 103], "tradit": 96, "trag": 97, "train": [27, 28, 34, 55, 74, 81, 85, 87, 92, 97, 104, 109], "trainabl": 34, "trainable_param": 34, "trainer": [83, 84], "transact": 81, "transfom": 78, "transform": [3, 20, 28, 29, 63, 78, 79, 80, 83, 86, 88, 95, 96, 97, 102, 103], "transformed_item": [29, 78], "transformer_setup": [29, 78], "transformercli": 88, "transformerembedd": 88, "transformers_cli": [79, 88, 95], "transformerscli": [24, 79, 88, 95], "translat": [81, 84], "transpar": [26, 72, 74, 84, 103], "treat": [96, 98], "treatment": 74, "trec": 104, "trec_data": 26, "trec_data_dict": 33, "trec_data_list": [26, 33], "trecdata": [26, 33, 72], "trecdata2": 72, "trecdatalist": [26, 33], "tredatalist": 26, "tree": 27, "trend": 96, "trigger": 105, "trim_block": 92, "tripl": [16, 90, 98], "true": [1, 16, 20, 27, 29, 33, 36, 39, 42, 45, 48, 50, 53, 55, 57, 64, 72, 78, 79, 80, 81, 88, 90, 92, 94, 95, 96, 98, 109, 111], "truli": 82, "truncat": 88, "truth": [44, 45, 46, 47, 48, 50, 53, 78, 81, 95, 109], "try": [84, 88, 98], "tuna": 96, "tune": 96, "tupl": [27, 33, 44, 45, 46, 47, 48, 50, 55, 63, 64], "turbo": [27, 33, 34, 74, 78, 82, 85, 88, 95, 96, 98], "turn": [42, 78, 80, 82, 94], "turn_db": 6, "tutori": [68, 74, 94, 96, 97, 109, 111], "two": [16, 18, 28, 29, 50, 55, 62, 64, 73, 78, 79, 82, 83, 86, 87, 88, 90, 94, 95, 98, 106], "txt": 68, "type": [4, 10, 16, 20, 22, 24, 26, 27, 28, 29, 31, 32, 33, 35, 36, 38, 39, 44, 45, 46, 47, 48, 50, 53, 55, 58, 61, 63, 64, 65, 66, 68, 72, 74, 78, 79, 80, 82, 87, 88, 90, 94, 96, 98, 109, 111], "type_hint": 33, "type_obj": 33, "typeerror": [4, 26, 36], "typevar": 95, "typic": [72, 74, 81, 82, 87, 88, 103], "u": [29, 72, 78, 80, 90, 92, 95, 98], "ultim": 84, "unabl": 94, "unbias": 81, "uncas": 81, "uncased_l5_no": 81, "uncontrol": 103, "undefin": [10, 35, 42, 88], "underli": 74, "understand": [35, 78, 81, 83, 88, 94, 95, 96, 97, 98, 103], "unexpect": 81, "unifi": [26, 34, 74, 78, 82, 83], "uniform": 97, "union": [20, 33, 39, 42, 46, 47, 48, 88, 95], "uniqu": [27, 42, 59, 74, 84, 94, 103], "unit": [4, 42, 79, 96, 97, 98], "unknown": 98, "unless": 29, "unlik": [94, 96], "unmodifi": 80, "unsupport": [33, 98], "until": 92, "up": [1, 22, 33, 42, 68, 72, 79, 80, 82, 83, 84, 94, 95, 96, 101, 103, 104, 111], "upcom": 74, "updat": [36, 37, 50, 51, 57, 59, 68, 94, 98, 105], "update_default_model_kwarg": 31, "update_dialog_turn": 42, "update_paramet": [50, 51, 53], "update_prompt_kwarg": 37, "update_valu": 36, "us": [1, 3, 4, 6, 10, 16, 20, 22, 24, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 40, 41, 42, 45, 48, 50, 51, 52, 53, 55, 57, 59, 61, 62, 63, 64, 65, 68, 71, 72, 74, 78, 80, 81, 83, 84, 85, 90, 92, 94, 96, 98, 102, 103, 104, 106, 109, 111], "usag": [4, 16, 42, 68, 78, 80, 82, 86, 88, 94, 95, 97], "use_cas": [103, 104, 109], "use_llm_as_fallback": 1, "use_token": [20, 95], "user": [1, 6, 16, 20, 22, 27, 28, 30, 31, 33, 34, 42, 50, 53, 68, 71, 72, 74, 78, 79, 82, 84, 85, 87, 88, 90, 92, 94, 95, 96, 97, 98, 106], "user_exampl": 90, "user_id": [42, 78], "user_queri": [42, 78], "user_query_timestamp": [42, 78], "user_tim": 78, "user_to_pars": 90, "userqueri": [42, 78], "usual": 87, "util": [4, 55, 64, 74, 79, 81, 82, 83, 86, 88, 94, 96, 97, 102], "uuid": 42, "uuid4": 42, "v": [33, 84], "v1": 105, "v2": 105, "v3": 95, "valid": [16, 33, 39, 90, 98, 105], "validate_data": 33, "valu": [16, 20, 26, 33, 36, 39, 42, 44, 46, 47, 48, 52, 63, 66, 72, 90, 98], "valueerror": [4, 33, 39, 88, 90], "varaibl": 92, "vari": [18, 85], "variabl": [33, 34, 37, 42, 67, 79, 82, 88, 92, 98, 101, 103], "varieti": 81, "varietri": 33, "variou": [33, 68, 74, 82, 90, 94, 95, 100, 109, 110], "vast": 82, "ve": 111, "vector": [4, 42, 61, 78, 79, 80, 95, 96, 97], "vectorizer_set": [80, 96], "vectorstor": 96, "vendor": 103, "verbos": 72, "veri": [20, 97, 103], "verif": 94, "version": [29, 62, 64, 68, 94, 95, 102], "vertex": 10, "via": [31, 32, 34, 35, 36, 41, 57, 71, 72, 74, 79, 80, 81, 82, 83, 84, 86, 88, 96, 98], "video": 95, "view": [68, 98], "visit": [10, 87, 94], "visual": [74, 79, 92, 106], "vote": 81, "vouch": 103, "vx": 105, "wa": [26, 85, 96, 111], "wai": [18, 26, 29, 41, 72, 74, 78, 79, 86, 88, 90, 95, 96, 97, 98, 103, 106], "walk": 109, "wand": 96, "wandb": 86, "want": [16, 26, 31, 42, 57, 72, 79, 82, 84, 86, 90, 92, 95, 98, 103, 111], "warn": [34, 64, 68], "wast": [78, 95], "watch": [80, 96], "water": [74, 82, 84], "we": [4, 26, 27, 29, 33, 34, 35, 37, 40, 42, 59, 62, 68, 72, 73, 74, 78, 79, 80, 81, 82, 83, 84, 86, 87, 88, 90, 92, 94, 95, 96, 97, 98, 103, 106, 109, 111], "weather": 98, "web": [68, 81, 86], "weight": [20, 27, 50, 51, 74, 86, 90], "weights_per_class": [50, 51, 55], "welcom": [49, 96], "well": [27, 29, 71, 73, 78, 84, 92, 94, 95, 97, 111], "what": [22, 26, 27, 33, 71, 72, 74, 78, 79, 80, 82, 86, 87, 88, 92, 95, 96, 97, 98, 106, 111], "when": [3, 20, 26, 29, 31, 36, 37, 42, 50, 51, 63, 78, 79, 80, 81, 82, 85, 86, 87, 92, 94, 95, 96, 97, 98, 103, 105, 111], "whenev": [82, 88], "where": [4, 42, 57, 64, 78, 82, 84, 85, 87, 92, 95, 96, 97, 98, 103], "wherea": 97, "whether": [1, 20, 29, 33, 38, 79, 82, 97], "which": [1, 4, 20, 22, 26, 29, 31, 32, 33, 35, 42, 50, 53, 55, 64, 71, 72, 74, 78, 79, 81, 82, 83, 85, 86, 87, 90, 92, 94, 95, 96, 97, 98, 103, 109], "while": [33, 72, 78, 83, 84, 95, 97], "white": 64, "who": [16, 38, 82, 83, 85, 95], "whole": [27, 42, 83, 90, 95, 109], "why": [42, 74, 78, 79, 83, 88, 95, 103, 111], "wide": [72, 81, 84, 95, 96], "wider": 106, "wiki": [20, 94, 95], "wikidata": 92, "wikipedia": [20, 92, 94, 95], "win": 111, "wind": [78, 95], "window": [4, 64, 95, 96, 97], "wip": 36, "within": [26, 27, 68, 71, 83, 96, 106], "without": [18, 22, 26, 28, 32, 33, 42, 78, 82, 85, 86, 92, 95, 96, 98, 103, 106], "won": [42, 85, 97], "word": [4, 20, 40, 61, 78, 80, 81, 85, 95, 96], "work": [4, 27, 29, 32, 33, 74, 78, 80, 82, 83, 87, 90, 92, 95, 96, 111], "workabl": 82, "workflow": [83, 94, 105], "world": [4, 20, 29, 42, 57, 78, 84, 85, 87, 90, 96, 97, 98, 103, 106], "world2": 29, "world3": 29, "world4": 29, "wors": [82, 87], "would": [64, 74, 80, 87, 92, 94, 95, 96], "wrap": [3, 27, 32, 33, 40, 72, 98], "wrapper": [10, 57, 98], "write": [33, 62, 69, 70, 74, 81, 88, 92, 98, 103], "write_list_to_jsonl": 62, "written": 62, "wrong": 82, "www": [20, 86, 95], "x": [20, 27, 33, 50, 55, 74, 92, 95, 96, 98, 105, 106], "x0c": 96, "xb": 96, "xq": 96, "xx": 98, "y": [33, 98, 105], "yaml": [16, 26, 33, 39, 41, 42, 72, 74, 90, 98, 109, 111], "yaml_definit": [41, 98], "yaml_dict_str": 90, "yaml_format_instruct": 16, "yaml_list_str": 90, "yaml_nested_dict_str": 90, "yaml_obj": 39, "yaml_output_format": 16, "yaml_output_format_prompt": 90, "yaml_output_format_templ": 16, "yaml_output_pars": 90, "yaml_pars": [16, 39], "yaml_signatur": 72, "yaml_str": [16, 26, 33, 39, 72], "yamloutputpars": [16, 90], "yamlpars": [16, 39, 90], "yang": 81, "ye": [45, 48, 90, 95, 103], "year": [46, 47, 48, 81], "yellow": 64, "yet": 34, "yield": [20, 27, 96], "yml": [33, 90], "you": [3, 4, 16, 18, 20, 22, 26, 27, 29, 31, 32, 33, 34, 35, 37, 38, 40, 41, 42, 45, 57, 61, 64, 68, 72, 74, 78, 79, 80, 81, 82, 83, 85, 86, 87, 88, 90, 92, 95, 96, 97, 98, 100, 102, 103, 105, 106, 109, 111], "your": [4, 10, 16, 20, 26, 27, 34, 42, 45, 61, 64, 68, 72, 74, 78, 79, 80, 81, 82, 83, 84, 86, 87, 88, 90, 95, 96, 97, 98, 102, 103, 105, 109, 111], "your_api_kei": 61, "your_api_key_if_you_use_anthrop": 102, "your_api_key_if_you_use_coher": 102, "your_api_key_if_you_use_googl": 102, "your_api_key_if_you_use_groq": 102, "your_api_key_if_you_use_hf": 102, "your_api_key_if_you_use_openai": 102, "yourself": [61, 88, 95, 102], "yupeng": 81, "z": 105, "zero": [20, 95, 104], "zip": 96, "zishan": 81}, "titles": ["agent", "react", "data_process", "data_components", "text_splitter", "memory", "memory", "model_client", "anthropic_client", "cohere_client", "google_client", "groq_client", "openai_client", "transformers_client", "utils", "output_parsers", "outputs", "reasoning", "chain_of_thought", "retriever", "bm25_retriever", "faiss_retriever", "llm_retriever", "postgres_retriever", "reranker_retriever", "Components", "base_data_class", "component", "container", "db", "default_prompt_template", "embedder", "func_tool", "functional", "generator", "model_client", "parameter", "prompt_builder", "retriever", "string_parser", "tokenizer", "tool_manager", "types", "Core", "answer_match_acc", "llm_as_judge", "retriever_recall", "retriever_relevance", "Evaluation", "API Reference", "Optimizer", "few_shot_optimizer", "llm_augment", "llm_optimizer", "optimizer", "sampler", "Tracing", "decorators", "generator_call_logger", "generator_state_logger", "Utils", "config", "file_io", "lazy_import", "logger", "registry", "serialization", "setup_env", "Contribute to Document", "LightRAG Contribution Guide", "For Contributors", "Agent", "DataClass", "Class Hierarchy", "Component", "Configurations", "Data Pipeline", "Datasets", "Data & RAG", "Embedder", "Embedder", "LLM Evaluation", "Generator", "Tutorials", "Design Philosophy", "Introduction", "Logging", "Tracing", "ModelClient", "Optimizer", "Parser", "Parameter", "Prompt", "RAG application", "ReAct Agent", "Retriever", "Retriever", "Text Splitter", "Function calls", "Trainer", "Community", "Get Started", "Installation", "Introduction", "LightRAG in 10 minutes", "Release Version Control Guide", "Light", "Resources", "Resources", "Evaluating a RAG Pipeline", "Use Cases", "Introduction to BaseDataClass", "<no title>"], "titleterms": {"": 94, "1": [84, 96, 98, 102], "10": 104, "2": [84, 96, 98, 102], "3": [84, 96, 98, 102], "For": 70, "In": [82, 95], "With": 95, "across": 82, "action": [72, 74, 79, 82, 90, 95, 98], "ad": 68, "agent": [0, 25, 71, 83, 94], "all": 86, "an": [82, 94], "answer_match_acc": 44, "anthropic_cli": 8, "api": [49, 71, 72, 74, 78, 79, 82, 86, 88, 90, 92, 95, 98, 102], "applat": 85, "applic": [86, 92, 93, 103], "awar": 97, "base": [83, 95, 97], "base_data_class": 26, "basedataclass": 111, "batchembedd": 79, "bm25_retriev": 20, "bm25retriev": 95, "build": [68, 83, 84], "call": 98, "case": 110, "chain_of_thought": 18, "chang": 68, "chat": 85, "chunk": 97, "class": [73, 83, 92, 95], "client": 82, "cloud": 78, "code": 68, "cohere_cli": 9, "commit": 68, "commun": 100, "complet": 85, "complex": 84, "compon": [25, 27, 49, 74, 83], "config": [61, 82], "configur": [74, 75, 83], "contain": 28, "content": 97, "context": [90, 92, 95], "contribut": [68, 69], "contributor": 70, "control": 105, "core": [43, 49], "creat": 82, "custom": 97, "data": [25, 72, 76, 78, 83, 85, 92, 95], "data_compon": 3, "data_process": 2, "databas": [78, 95], "dataclass": 72, "dataset": [72, 77], "db": 29, "decor": 57, "deep": 94, "default": 92, "default_prompt_templ": 30, "definit": 97, "describ": 72, "deseri": 74, "design": [72, 74, 82, 84, 86, 90, 92, 95, 98], "detail": 97, "dialogturn": 78, "directli": 88, "dive": 94, "do": 85, "docstr": 68, "document": [68, 78, 96, 97], "doe": 97, "embedd": [31, 79, 80, 96], "embedderoutput": 79, "end": [98, 103], "environ": 102, "error": 82, "essenti": 83, "evalu": [48, 49, 81, 83, 109], "exampl": [72, 82, 97], "experiment": 82, "faiss_retriev": 21, "faissretriev": 95, "featur": 97, "few_shot_optim": 51, "file": [74, 78, 86], "file_io": 62, "fix": 97, "flow": [85, 92], "format": [72, 98], "foundat": 103, "from": [72, 74, 82], "func_tool": 32, "funcompon": 74, "function": [33, 86, 98], "functionexpress": 98, "functiontool": 98, "gener": [34, 82], "generator_call_logg": 58, "generator_state_logg": 59, "generatoroutput": 82, "get": [82, 101], "google_cli": 10, "graph": 78, "groq_client": 11, "guid": [69, 105], "hierarchi": 73, "how": [81, 86, 97, 103], "i": [94, 103], "implement": 94, "import": 105, "infer": 88, "instal": 102, "instanc": 72, "instead": [85, 95], "integr": 97, "introduct": [85, 94, 103, 111], "jinja2": 92, "kei": 102, "lazy_import": 63, "librari": [82, 86], "light": 106, "lightrag": [69, 85, 94, 96, 98, 102, 103, 104], "llm": [72, 81, 84, 85, 92, 95], "llm_as_judg": 45, "llm_augment": 52, "llm_optim": 53, "llm_retriev": 22, "load": [72, 102], "local": [78, 79], "localdb": 95, "log": [83, 86], "logger": [64, 86], "memori": [5, 6, 25, 95], "minimum": 82, "minut": 104, "model": [78, 79, 82, 88], "model_cli": [7, 35], "modelcli": [25, 88], "modular": 106, "need": [85, 94], "new": 105, "note": 105, "one": 86, "openai": 79, "openai_cli": 12, "optim": [49, 50, 54, 83, 84, 89], "option": [96, 102], "orchestr": 82, "other": 97, "our": 84, "output": [16, 25, 79, 82, 90, 98], "output_pars": 15, "output_processor": 82, "over": 84, "overview": [0, 2, 5, 7, 15, 17, 19, 43, 48, 50, 56, 60, 97, 105], "packag": 102, "parallel": 98, "paramet": [36, 91], "pars": 72, "parser": [25, 90], "part": 103, "pattern": 95, "philosophi": 84, "pipelin": [76, 78, 83, 109], "postgres_retriev": 23, "postgresretriev": 95, "previou": 85, "principl": 84, "print": 74, "printc": 86, "process": 25, "processor": 79, "product": 106, "project": 86, "prompt": 92, "prompt_build": 37, "protocol": 88, "qualiti": 84, "quantiti": 84, "quick": 98, "rag": [78, 83, 93, 109], "react": [1, 94], "read": 78, "reason": [17, 25], "refer": [49, 71, 72, 74, 78, 79, 82, 86, 88, 90, 92, 95, 98], "registri": 65, "releas": 105, "rerank": 95, "reranker_retriev": 24, "research": 106, "resourc": [85, 107, 108], "retriev": [19, 25, 38, 95, 96], "retriever_recal": 46, "retriever_relev": 47, "robust": 106, "sampler": 55, "scope": [90, 98], "score": 95, "sdk": 88, "searal": 74, "separ": 86, "sequenti": 74, "serial": 66, "set": [86, 102], "setup": 68, "setup_env": 67, "show": 72, "simplic": 84, "size": 97, "souc": 68, "split": [96, 97], "splitter": [96, 97], "standard": 68, "start": [101, 103], "step": 105, "storag": 83, "strategi": 97, "string": 72, "string_pars": 39, "structur": [74, 85, 103], "suggest": 78, "switch": 82, "templat": [82, 92], "test": 68, "text": [85, 96, 97], "text_splitt": 4, "textsplitt": 97, "threshold": 95, "tip": 97, "togeth": 95, "token": [40, 97], "tool_manag": 41, "toolmanag": 98, "top_k": 95, "trace": [49, 56, 82, 83, 87], "train": [82, 83], "trainer": 99, "transformers_cli": 13, "troubleshoot": 105, "tutori": 83, "type": [42, 95, 97], "understand": 84, "unit": 106, "up": [86, 102], "upcom": 97, "us": [79, 82, 86, 88, 95, 97, 110], "user": 86, "util": [14, 49, 60], "variabl": 102, "version": 105, "walkthrough": 98, "we": 85, "what": [81, 94, 103], "where": 81, "why": [85, 92, 94], "word": 97, "work": [72, 97], "workflow": 84, "write": [68, 78], "you": 94}})
\ No newline at end of file