blob: b086877ae28c8d2bdcd1e2c3ebdb970f928a4ee6 [file] [log] [blame]
<!DOCTYPE html>
<html class="writer-html5" lang="en" data-content_root="./">
<head>
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>apache_beam.ml.rag package &mdash; Apache Beam 2.68.0 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=e59714d7" />
<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=2388e03a"></script>
<script src="_static/doctools.js?v=9a2dae69"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/theme.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="apache_beam.ml.rag.chunking package" href="apache_beam.ml.rag.chunking.html" />
<link rel="prev" title="apache_beam.ml.inference.xgboost_inference module" href="apache_beam.ml.inference.xgboost_inference.html" />
</head>
<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >
<a href="index.html" class="icon icon-home">
Apache Beam
</a>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
<input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="apache_beam.coders.html">apache_beam.coders package</a></li>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.dataframe.html">apache_beam.dataframe package</a></li>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.io.html">apache_beam.io package</a></li>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.metrics.html">apache_beam.metrics package</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="apache_beam.ml.html">apache_beam.ml package</a><ul class="current">
<li class="toctree-l2 current"><a class="reference internal" href="apache_beam.ml.html#subpackages">Subpackages</a><ul class="current">
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.anomaly.html">apache_beam.ml.anomaly package</a></li>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.gcp.html">apache_beam.ml.gcp package</a></li>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.inference.html">apache_beam.ml.inference package</a></li>
<li class="toctree-l3 current"><a class="current reference internal" href="#">apache_beam.ml.rag package</a><ul>
<li class="toctree-l4"><a class="reference internal" href="#subpackages">Subpackages</a></li>
<li class="toctree-l4"><a class="reference internal" href="#submodules">Submodules</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.transforms.html">apache_beam.ml.transforms package</a></li>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.ts.html">apache_beam.ml.ts package</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.options.html">apache_beam.options package</a></li>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.portability.html">apache_beam.portability package</a></li>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.runners.html">apache_beam.runners package</a></li>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.testing.html">apache_beam.testing package</a></li>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.transforms.html">apache_beam.transforms package</a></li>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.typehints.html">apache_beam.typehints package</a></li>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.utils.html">apache_beam.utils package</a></li>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.yaml.html">apache_beam.yaml package</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.error.html">apache_beam.error module</a></li>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.pipeline.html">apache_beam.pipeline module</a></li>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.pvalue.html">apache_beam.pvalue module</a></li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="index.html">Apache Beam</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="Page navigation">
<ul class="wy-breadcrumbs">
<li><a href="index.html" class="icon icon-home" aria-label="Home"></a></li>
<li class="breadcrumb-item"><a href="apache_beam.ml.html">apache_beam.ml package</a></li>
<li class="breadcrumb-item active">apache_beam.ml.rag package</li>
<li class="wy-breadcrumbs-aside">
<a href="_sources/apache_beam.ml.rag.rst.txt" rel="nofollow"> View page source</a>
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<section id="module-apache_beam.ml.rag">
<span id="apache-beam-ml-rag-package"></span><h1>apache_beam.ml.rag package<a class="headerlink" href="#module-apache_beam.ml.rag" title="Link to this heading"></a></h1>
<p>Apache Beam RAG (Retrieval Augmented Generation) components.
This package provides components for building RAG pipelines in Apache Beam,
including:
- Chunking
- Embedding generation
- Vector storage
- Vector search enrichment</p>
<section id="subpackages">
<h2>Subpackages<a class="headerlink" href="#subpackages" title="Link to this heading"></a></h2>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.ml.rag.chunking.html">apache_beam.ml.rag.chunking package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="apache_beam.ml.rag.chunking.html#submodules">Submodules</a><ul>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.rag.chunking.base.html">apache_beam.ml.rag.chunking.base module</a><ul>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.chunking.base.html#apache_beam.ml.rag.chunking.base.ChunkingTransformProvider"><code class="docutils literal notranslate"><span class="pre">ChunkingTransformProvider</span></code></a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.rag.chunking.langchain.html">apache_beam.ml.rag.chunking.langchain module</a><ul>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.chunking.langchain.html#apache_beam.ml.rag.chunking.langchain.LangChainChunker"><code class="docutils literal notranslate"><span class="pre">LangChainChunker</span></code></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.ml.rag.embeddings.html">apache_beam.ml.rag.embeddings package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="apache_beam.ml.rag.embeddings.html#submodules">Submodules</a><ul>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.rag.embeddings.base.html">apache_beam.ml.rag.embeddings.base module</a><ul>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.embeddings.base.html#apache_beam.ml.rag.embeddings.base.create_rag_adapter"><code class="docutils literal notranslate"><span class="pre">create_rag_adapter()</span></code></a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.rag.embeddings.huggingface.html">apache_beam.ml.rag.embeddings.huggingface module</a><ul>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.embeddings.huggingface.html#apache_beam.ml.rag.embeddings.huggingface.HuggingfaceTextEmbeddings"><code class="docutils literal notranslate"><span class="pre">HuggingfaceTextEmbeddings</span></code></a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.rag.embeddings.vertex_ai.html">apache_beam.ml.rag.embeddings.vertex_ai module</a><ul>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.embeddings.vertex_ai.html#apache_beam.ml.rag.embeddings.vertex_ai.VertexAITextEmbeddings"><code class="docutils literal notranslate"><span class="pre">VertexAITextEmbeddings</span></code></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.ml.rag.enrichment.html">apache_beam.ml.rag.enrichment package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="apache_beam.ml.rag.enrichment.html#submodules">Submodules</a><ul>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.rag.enrichment.bigquery_vector_search.html">apache_beam.ml.rag.enrichment.bigquery_vector_search module</a><ul>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.enrichment.bigquery_vector_search.html#apache_beam.ml.rag.enrichment.bigquery_vector_search.BigQueryVectorSearchParameters"><code class="docutils literal notranslate"><span class="pre">BigQueryVectorSearchParameters</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.enrichment.bigquery_vector_search.html#apache_beam.ml.rag.enrichment.bigquery_vector_search.BigQueryVectorSearchEnrichmentHandler"><code class="docutils literal notranslate"><span class="pre">BigQueryVectorSearchEnrichmentHandler</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.enrichment.bigquery_vector_search.html#apache_beam.ml.rag.enrichment.bigquery_vector_search.join_fn"><code class="docutils literal notranslate"><span class="pre">join_fn()</span></code></a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.rag.enrichment.milvus_search.html">apache_beam.ml.rag.enrichment.milvus_search module</a><ul>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.enrichment.milvus_search.html#apache_beam.ml.rag.enrichment.milvus_search.SearchStrategy"><code class="docutils literal notranslate"><span class="pre">SearchStrategy</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.enrichment.milvus_search.html#apache_beam.ml.rag.enrichment.milvus_search.KeywordSearchMetrics"><code class="docutils literal notranslate"><span class="pre">KeywordSearchMetrics</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.enrichment.milvus_search.html#apache_beam.ml.rag.enrichment.milvus_search.VectorSearchMetrics"><code class="docutils literal notranslate"><span class="pre">VectorSearchMetrics</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.enrichment.milvus_search.html#apache_beam.ml.rag.enrichment.milvus_search.MilvusBaseRanker"><code class="docutils literal notranslate"><span class="pre">MilvusBaseRanker</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.enrichment.milvus_search.html#apache_beam.ml.rag.enrichment.milvus_search.MilvusConnectionParameters"><code class="docutils literal notranslate"><span class="pre">MilvusConnectionParameters</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.enrichment.milvus_search.html#apache_beam.ml.rag.enrichment.milvus_search.BaseSearchParameters"><code class="docutils literal notranslate"><span class="pre">BaseSearchParameters</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.enrichment.milvus_search.html#apache_beam.ml.rag.enrichment.milvus_search.VectorSearchParameters"><code class="docutils literal notranslate"><span class="pre">VectorSearchParameters</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.enrichment.milvus_search.html#apache_beam.ml.rag.enrichment.milvus_search.KeywordSearchParameters"><code class="docutils literal notranslate"><span class="pre">KeywordSearchParameters</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.enrichment.milvus_search.html#apache_beam.ml.rag.enrichment.milvus_search.HybridSearchParameters"><code class="docutils literal notranslate"><span class="pre">HybridSearchParameters</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.enrichment.milvus_search.html#apache_beam.ml.rag.enrichment.milvus_search.MilvusSearchParameters"><code class="docutils literal notranslate"><span class="pre">MilvusSearchParameters</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.enrichment.milvus_search.html#apache_beam.ml.rag.enrichment.milvus_search.MilvusCollectionLoadParameters"><code class="docutils literal notranslate"><span class="pre">MilvusCollectionLoadParameters</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.enrichment.milvus_search.html#apache_beam.ml.rag.enrichment.milvus_search.MilvusSearchResult"><code class="docutils literal notranslate"><span class="pre">MilvusSearchResult</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.enrichment.milvus_search.html#apache_beam.ml.rag.enrichment.milvus_search.MilvusSearchEnrichmentHandler"><code class="docutils literal notranslate"><span class="pre">MilvusSearchEnrichmentHandler</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.enrichment.milvus_search.html#apache_beam.ml.rag.enrichment.milvus_search.join_fn"><code class="docutils literal notranslate"><span class="pre">join_fn()</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.enrichment.milvus_search.html#apache_beam.ml.rag.enrichment.milvus_search.unpack_dataclass_with_kwargs"><code class="docutils literal notranslate"><span class="pre">unpack_dataclass_with_kwargs()</span></code></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.ml.rag.ingestion.html">apache_beam.ml.rag.ingestion package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="apache_beam.ml.rag.ingestion.html#submodules">Submodules</a><ul>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.rag.ingestion.alloydb.html">apache_beam.ml.rag.ingestion.alloydb module</a><ul>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.ingestion.alloydb.html#apache_beam.ml.rag.ingestion.alloydb.AlloyDBLanguageConnectorConfig"><code class="docutils literal notranslate"><span class="pre">AlloyDBLanguageConnectorConfig</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.ingestion.alloydb.html#apache_beam.ml.rag.ingestion.alloydb.AlloyDBVectorWriterConfig"><code class="docutils literal notranslate"><span class="pre">AlloyDBVectorWriterConfig</span></code></a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.rag.ingestion.base.html">apache_beam.ml.rag.ingestion.base module</a><ul>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.ingestion.base.html#apache_beam.ml.rag.ingestion.base.VectorDatabaseWriteConfig"><code class="docutils literal notranslate"><span class="pre">VectorDatabaseWriteConfig</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.ingestion.base.html#apache_beam.ml.rag.ingestion.base.VectorDatabaseWriteTransform"><code class="docutils literal notranslate"><span class="pre">VectorDatabaseWriteTransform</span></code></a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.rag.ingestion.bigquery.html">apache_beam.ml.rag.ingestion.bigquery module</a><ul>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.ingestion.bigquery.html#apache_beam.ml.rag.ingestion.bigquery.SchemaConfig"><code class="docutils literal notranslate"><span class="pre">SchemaConfig</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.ingestion.bigquery.html#apache_beam.ml.rag.ingestion.bigquery.BigQueryVectorWriterConfig"><code class="docutils literal notranslate"><span class="pre">BigQueryVectorWriterConfig</span></code></a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.rag.ingestion.cloudsql.html">apache_beam.ml.rag.ingestion.cloudsql module</a><ul>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.ingestion.cloudsql.html#apache_beam.ml.rag.ingestion.cloudsql.LanguageConnectorConfig"><code class="docutils literal notranslate"><span class="pre">LanguageConnectorConfig</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.ingestion.cloudsql.html#apache_beam.ml.rag.ingestion.cloudsql.CloudSQLPostgresVectorWriterConfig"><code class="docutils literal notranslate"><span class="pre">CloudSQLPostgresVectorWriterConfig</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.ingestion.cloudsql.html#apache_beam.ml.rag.ingestion.cloudsql.CloudSQLMySQLVectorWriterConfig"><code class="docutils literal notranslate"><span class="pre">CloudSQLMySQLVectorWriterConfig</span></code></a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.rag.ingestion.jdbc_common.html">apache_beam.ml.rag.ingestion.jdbc_common module</a><ul>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.ingestion.jdbc_common.html#apache_beam.ml.rag.ingestion.jdbc_common.ConnectionConfig"><code class="docutils literal notranslate"><span class="pre">ConnectionConfig</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.ingestion.jdbc_common.html#apache_beam.ml.rag.ingestion.jdbc_common.WriteConfig"><code class="docutils literal notranslate"><span class="pre">WriteConfig</span></code></a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.rag.ingestion.mysql.html">apache_beam.ml.rag.ingestion.mysql module</a><ul>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.ingestion.mysql.html#apache_beam.ml.rag.ingestion.mysql.MySQLVectorWriterConfig"><code class="docutils literal notranslate"><span class="pre">MySQLVectorWriterConfig</span></code></a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.rag.ingestion.mysql_common.html">apache_beam.ml.rag.ingestion.mysql_common module</a><ul>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.ingestion.mysql_common.html#apache_beam.ml.rag.ingestion.mysql_common.chunk_embedding_fn"><code class="docutils literal notranslate"><span class="pre">chunk_embedding_fn()</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.ingestion.mysql_common.html#apache_beam.ml.rag.ingestion.mysql_common.ColumnSpec"><code class="docutils literal notranslate"><span class="pre">ColumnSpec</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.ingestion.mysql_common.html#apache_beam.ml.rag.ingestion.mysql_common.embedding_to_string"><code class="docutils literal notranslate"><span class="pre">embedding_to_string()</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.ingestion.mysql_common.html#apache_beam.ml.rag.ingestion.mysql_common.ColumnSpecsBuilder"><code class="docutils literal notranslate"><span class="pre">ColumnSpecsBuilder</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.ingestion.mysql_common.html#apache_beam.ml.rag.ingestion.mysql_common.ConflictResolution"><code class="docutils literal notranslate"><span class="pre">ConflictResolution</span></code></a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.rag.ingestion.postgres.html">apache_beam.ml.rag.ingestion.postgres module</a><ul>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.ingestion.postgres.html#apache_beam.ml.rag.ingestion.postgres.PostgresVectorWriterConfig"><code class="docutils literal notranslate"><span class="pre">PostgresVectorWriterConfig</span></code></a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.rag.ingestion.postgres_common.html">apache_beam.ml.rag.ingestion.postgres_common module</a><ul>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.ingestion.postgres_common.html#apache_beam.ml.rag.ingestion.postgres_common.chunk_embedding_fn"><code class="docutils literal notranslate"><span class="pre">chunk_embedding_fn()</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.ingestion.postgres_common.html#apache_beam.ml.rag.ingestion.postgres_common.ColumnSpec"><code class="docutils literal notranslate"><span class="pre">ColumnSpec</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.ingestion.postgres_common.html#apache_beam.ml.rag.ingestion.postgres_common.ColumnSpecsBuilder"><code class="docutils literal notranslate"><span class="pre">ColumnSpecsBuilder</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.ingestion.postgres_common.html#apache_beam.ml.rag.ingestion.postgres_common.ConflictResolution"><code class="docutils literal notranslate"><span class="pre">ConflictResolution</span></code></a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.rag.ingestion.test_utils.html">apache_beam.ml.rag.ingestion.test_utils module</a><ul>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.ingestion.test_utils.html#apache_beam.ml.rag.ingestion.test_utils.row_to_chunk"><code class="docutils literal notranslate"><span class="pre">row_to_chunk()</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.ingestion.test_utils.html#apache_beam.ml.rag.ingestion.test_utils.ChunkTestUtils"><code class="docutils literal notranslate"><span class="pre">ChunkTestUtils</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.ingestion.test_utils.html#apache_beam.ml.rag.ingestion.test_utils.HashingFn"><code class="docutils literal notranslate"><span class="pre">HashingFn</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.ingestion.test_utils.html#apache_beam.ml.rag.ingestion.test_utils.generate_expected_hash"><code class="docutils literal notranslate"><span class="pre">generate_expected_hash()</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="apache_beam.ml.rag.ingestion.test_utils.html#apache_beam.ml.rag.ingestion.test_utils.key_on_id"><code class="docutils literal notranslate"><span class="pre">key_on_id()</span></code></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</section>
<section id="submodules">
<h2>Submodules<a class="headerlink" href="#submodules" title="Link to this heading"></a></h2>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="apache_beam.ml.rag.types.html">apache_beam.ml.rag.types module</a><ul>
<li class="toctree-l2"><a class="reference internal" href="apache_beam.ml.rag.types.html#apache_beam.ml.rag.types.Content"><code class="docutils literal notranslate"><span class="pre">Content</span></code></a><ul>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.rag.types.html#apache_beam.ml.rag.types.Content.text"><code class="docutils literal notranslate"><span class="pre">Content.text</span></code></a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="apache_beam.ml.rag.types.html#apache_beam.ml.rag.types.Embedding"><code class="docutils literal notranslate"><span class="pre">Embedding</span></code></a><ul>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.rag.types.html#apache_beam.ml.rag.types.Embedding.dense_embedding"><code class="docutils literal notranslate"><span class="pre">Embedding.dense_embedding</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.rag.types.html#apache_beam.ml.rag.types.Embedding.sparse_embedding"><code class="docutils literal notranslate"><span class="pre">Embedding.sparse_embedding</span></code></a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="apache_beam.ml.rag.types.html#apache_beam.ml.rag.types.Chunk"><code class="docutils literal notranslate"><span class="pre">Chunk</span></code></a><ul>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.rag.types.html#apache_beam.ml.rag.types.Chunk.content"><code class="docutils literal notranslate"><span class="pre">Chunk.content</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.rag.types.html#apache_beam.ml.rag.types.Chunk.id"><code class="docutils literal notranslate"><span class="pre">Chunk.id</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.rag.types.html#apache_beam.ml.rag.types.Chunk.index"><code class="docutils literal notranslate"><span class="pre">Chunk.index</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.rag.types.html#apache_beam.ml.rag.types.Chunk.metadata"><code class="docutils literal notranslate"><span class="pre">Chunk.metadata</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.rag.types.html#apache_beam.ml.rag.types.Chunk.embedding"><code class="docutils literal notranslate"><span class="pre">Chunk.embedding</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.rag.types.html#apache_beam.ml.rag.types.Chunk.dense_embedding"><code class="docutils literal notranslate"><span class="pre">Chunk.dense_embedding</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="apache_beam.ml.rag.types.html#apache_beam.ml.rag.types.Chunk.sparse_embedding"><code class="docutils literal notranslate"><span class="pre">Chunk.sparse_embedding</span></code></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</section>
</section>
</div>
</div>
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
<a href="apache_beam.ml.inference.xgboost_inference.html" class="btn btn-neutral float-left" title="apache_beam.ml.inference.xgboost_inference module" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
<a href="apache_beam.ml.rag.chunking.html" class="btn btn-neutral float-right" title="apache_beam.ml.rag.chunking package" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
</div>
<hr/>
<div role="contentinfo">
<p>&#169; Copyright %Y, Apache Beam.</p>
</div>
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<script>
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>
</body>
</html>