Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/document_loaders/blob_loaders/file_system.py +23 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/document_transformers/__pycache__/__init__.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/document_transformers/__pycache__/beautiful_soup_transformer.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/document_transformers/__pycache__/doctran_text_extract.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/document_transformers/__pycache__/doctran_text_qa.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/document_transformers/__pycache__/doctran_text_translate.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/document_transformers/__pycache__/embeddings_redundant_filter.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/document_transformers/__pycache__/google_translate.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/document_transformers/__pycache__/html2text.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/document_transformers/__pycache__/long_context_reorder.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/document_transformers/__pycache__/nuclia_text_transform.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/document_transformers/__pycache__/openai_functions.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/document_transformers/xsl/html_chunks_with_headers.xslt +199 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/__init__.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/aleph_alpha.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/awa.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/azure_openai.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/baidu_qianfan_endpoint.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/base.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/bedrock.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/bookend.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/cache.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/clarifai.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/cloudflare_workersai.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/cohere.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/dashscope.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/databricks.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/deepinfra.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/edenai.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/elasticsearch.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/embaas.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/ernie.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/fake.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/fastembed.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/google_palm.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/gpt4all.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/gradient_ai.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/huggingface.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/huggingface_hub.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/infinity.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/javelin_ai_gateway.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/jina.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/johnsnowlabs.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/llamacpp.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/llm_rails.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/localai.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/minimax.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/mlflow.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/mlflow_gateway.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/modelscope_hub.cpython-311.pyc +0 -0
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/document_loaders/blob_loaders/file_system.py
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import TYPE_CHECKING, Any
|
| 2 |
+
|
| 3 |
+
from langchain_classic._api import create_importer
|
| 4 |
+
|
| 5 |
+
if TYPE_CHECKING:
|
| 6 |
+
from langchain_community.document_loaders import FileSystemBlobLoader
|
| 7 |
+
|
| 8 |
+
# Create a way to dynamically look up deprecated imports.
|
| 9 |
+
# Used to consolidate logic for raising deprecation warnings and
|
| 10 |
+
# handling optional imports.
|
| 11 |
+
DEPRECATED_LOOKUP = {"FileSystemBlobLoader": "langchain_community.document_loaders"}
|
| 12 |
+
|
| 13 |
+
_import_attribute = create_importer(__package__, deprecated_lookups=DEPRECATED_LOOKUP)
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
def __getattr__(name: str) -> Any:
|
| 17 |
+
"""Look up attributes dynamically."""
|
| 18 |
+
return _import_attribute(name)
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
__all__ = [
|
| 22 |
+
"FileSystemBlobLoader",
|
| 23 |
+
]
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/document_transformers/__pycache__/__init__.cpython-311.pyc
ADDED
|
Binary file (1.75 kB). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/document_transformers/__pycache__/beautiful_soup_transformer.cpython-311.pyc
ADDED
|
Binary file (986 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/document_transformers/__pycache__/doctran_text_extract.cpython-311.pyc
ADDED
|
Binary file (980 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/document_transformers/__pycache__/doctran_text_qa.cpython-311.pyc
ADDED
|
Binary file (971 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/document_transformers/__pycache__/doctran_text_translate.cpython-311.pyc
ADDED
|
Binary file (979 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/document_transformers/__pycache__/embeddings_redundant_filter.cpython-311.pyc
ADDED
|
Binary file (1.5 kB). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/document_transformers/__pycache__/google_translate.cpython-311.pyc
ADDED
|
Binary file (978 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/document_transformers/__pycache__/html2text.cpython-311.pyc
ADDED
|
Binary file (965 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/document_transformers/__pycache__/long_context_reorder.cpython-311.pyc
ADDED
|
Binary file (970 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/document_transformers/__pycache__/nuclia_text_transform.cpython-311.pyc
ADDED
|
Binary file (978 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/document_transformers/__pycache__/openai_functions.cpython-311.pyc
ADDED
|
Binary file (1.19 kB). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/document_transformers/xsl/html_chunks_with_headers.xslt
ADDED
|
@@ -0,0 +1,199 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8" ?>
|
| 2 |
+
<!-- HTML PRE CHUNK:
|
| 3 |
+
This performs a best-effort preliminary "chunking" of text in an HTML file,
|
| 4 |
+
matching each chunk with a "headers" metadata value based on header tags in proximity.
|
| 5 |
+
|
| 6 |
+
recursively visits every element (template mode=list).
|
| 7 |
+
for every element with tagname of interest (only):
|
| 8 |
+
1. serializes a div (and metadata marking the element's xpath).
|
| 9 |
+
2. calculates all text-content for the given element, including descendant elements which are *not* themselves tags of interest.
|
| 10 |
+
3. if any such text-content was found, serializes a "headers" (span.headers) along with this text (span.chunk).
|
| 11 |
+
|
| 12 |
+
to calculate the "headers" of an element:
|
| 13 |
+
1. recursively gets the *nearest* prior-siblings for headings of *each* level
|
| 14 |
+
2. recursively repeats that step#1 for each ancestor (regardless of tag)
|
| 15 |
+
n.b. this recursion is only performed (beginning with) elements which are
|
| 16 |
+
both (1) tags-of-interest and (2) have their own text-content.
|
| 17 |
+
-->
|
| 18 |
+
<xsl:stylesheet version="1.0"
|
| 19 |
+
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
| 20 |
+
xmlns="http://www.w3.org/1999/xhtml">
|
| 21 |
+
|
| 22 |
+
<xsl:param name="tags">div|p|blockquote|ol|ul</xsl:param>
|
| 23 |
+
|
| 24 |
+
<xsl:template match="/">
|
| 25 |
+
<html>
|
| 26 |
+
<head>
|
| 27 |
+
<style>
|
| 28 |
+
div {
|
| 29 |
+
border: solid;
|
| 30 |
+
margin-top: .5em;
|
| 31 |
+
padding-left: .5em;
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
h1, h2, h3, h4, h5, h6 {
|
| 35 |
+
margin: 0;
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
.xpath {
|
| 39 |
+
color: blue;
|
| 40 |
+
}
|
| 41 |
+
.chunk {
|
| 42 |
+
margin: .5em 1em;
|
| 43 |
+
}
|
| 44 |
+
</style>
|
| 45 |
+
</head>
|
| 46 |
+
<body>
|
| 47 |
+
<!-- create "filtered tree" with only tags of interest -->
|
| 48 |
+
<xsl:apply-templates select="*" />
|
| 49 |
+
</body>
|
| 50 |
+
</html>
|
| 51 |
+
</xsl:template>
|
| 52 |
+
|
| 53 |
+
<xsl:template match="*">
|
| 54 |
+
<xsl:choose>
|
| 55 |
+
<!-- tags of interest get serialized into the filtered tree (and recurse down child elements) -->
|
| 56 |
+
<xsl:when test="contains(
|
| 57 |
+
concat('|', $tags, '|'),
|
| 58 |
+
concat('|', local-name(), '|'))">
|
| 59 |
+
|
| 60 |
+
<xsl:variable name="xpath">
|
| 61 |
+
<xsl:apply-templates mode="xpath" select="." />
|
| 62 |
+
</xsl:variable>
|
| 63 |
+
<xsl:variable name="txt">
|
| 64 |
+
<!-- recurse down child text-nodes and elements -->
|
| 65 |
+
<xsl:apply-templates mode="text" />
|
| 66 |
+
</xsl:variable>
|
| 67 |
+
<xsl:variable name="txt-norm" select="normalize-space($txt)" />
|
| 68 |
+
|
| 69 |
+
<div title="{$xpath}">
|
| 70 |
+
|
| 71 |
+
<small class="xpath">
|
| 72 |
+
<xsl:value-of select="$xpath" />
|
| 73 |
+
</small>
|
| 74 |
+
|
| 75 |
+
<xsl:if test="$txt-norm">
|
| 76 |
+
<xsl:variable name="headers">
|
| 77 |
+
<xsl:apply-templates mode="headingsWithAncestors" select="." />
|
| 78 |
+
</xsl:variable>
|
| 79 |
+
|
| 80 |
+
<xsl:if test="normalize-space($headers)">
|
| 81 |
+
<span class="headers">
|
| 82 |
+
<xsl:copy-of select="$headers" />
|
| 83 |
+
</span>
|
| 84 |
+
</xsl:if>
|
| 85 |
+
|
| 86 |
+
<p class="chunk">
|
| 87 |
+
<xsl:value-of select="$txt-norm" />
|
| 88 |
+
</p>
|
| 89 |
+
</xsl:if>
|
| 90 |
+
|
| 91 |
+
<xsl:apply-templates select="*" />
|
| 92 |
+
</div>
|
| 93 |
+
</xsl:when>
|
| 94 |
+
|
| 95 |
+
<!-- all other tags get "skipped" and recurse down child elements -->
|
| 96 |
+
<xsl:otherwise>
|
| 97 |
+
<xsl:apply-templates select="*" />
|
| 98 |
+
</xsl:otherwise>
|
| 99 |
+
</xsl:choose>
|
| 100 |
+
</xsl:template>
|
| 101 |
+
|
| 102 |
+
|
| 103 |
+
<!-- text mode:
|
| 104 |
+
prints text nodes;
|
| 105 |
+
for elements, recurses down child nodes (text and elements) *except* certain exceptions:
|
| 106 |
+
tags of interest (handled in their own list-mode match),
|
| 107 |
+
non-content text (e.g. script|style)
|
| 108 |
+
-->
|
| 109 |
+
|
| 110 |
+
<!-- ignore non-content text -->
|
| 111 |
+
<xsl:template mode="text" match="
|
| 112 |
+
script|style" />
|
| 113 |
+
<!-- for all other elements *except tags of interest*, recurse on child-nodes (text and elements) -->
|
| 114 |
+
<xsl:template mode="text" match="*">
|
| 115 |
+
<xsl:choose>
|
| 116 |
+
<!-- ignore tags of interest -->
|
| 117 |
+
<xsl:when test="contains(
|
| 118 |
+
concat('|', $tags, '|'),
|
| 119 |
+
concat('|', local-name(), '|'))" />
|
| 120 |
+
|
| 121 |
+
<xsl:otherwise>
|
| 122 |
+
<xsl:apply-templates mode="text" />
|
| 123 |
+
</xsl:otherwise>
|
| 124 |
+
</xsl:choose>
|
| 125 |
+
</xsl:template>
|
| 126 |
+
|
| 127 |
+
|
| 128 |
+
<!-- xpath mode:
|
| 129 |
+
return an xpath which matches this element uniquely
|
| 130 |
+
-->
|
| 131 |
+
<xsl:template mode="xpath" match="*">
|
| 132 |
+
<!-- recurse up parents -->
|
| 133 |
+
<xsl:apply-templates mode="xpath" select="parent::*" />
|
| 134 |
+
|
| 135 |
+
<xsl:value-of select="name()" />
|
| 136 |
+
<xsl:text>[</xsl:text>
|
| 137 |
+
<xsl:value-of select="1+count(preceding-sibling::*)" />
|
| 138 |
+
<xsl:text>]/</xsl:text>
|
| 139 |
+
</xsl:template>
|
| 140 |
+
|
| 141 |
+
|
| 142 |
+
<!-- headingsWithAncestors mode:
|
| 143 |
+
recurses up parents (ALL ancestors)
|
| 144 |
+
-->
|
| 145 |
+
<xsl:template mode="headingsWithAncestors" match="*">
|
| 146 |
+
<!-- recurse -->
|
| 147 |
+
<xsl:apply-templates mode="headingsWithAncestors" select="parent::*" />
|
| 148 |
+
|
| 149 |
+
<xsl:apply-templates mode="headingsWithPriorSiblings" select=".">
|
| 150 |
+
<xsl:with-param name="maxHead" select="6" />
|
| 151 |
+
</xsl:apply-templates>
|
| 152 |
+
</xsl:template>
|
| 153 |
+
|
| 154 |
+
|
| 155 |
+
<!-- headingsWithPriorSiblings mode:
|
| 156 |
+
recurses up preceding-siblings
|
| 157 |
+
-->
|
| 158 |
+
<xsl:template mode="headingsWithPriorSiblings" match="*">
|
| 159 |
+
<xsl:param name="maxHead" />
|
| 160 |
+
<xsl:variable name="headLevel" select="number(substring(local-name(), 2))" />
|
| 161 |
+
|
| 162 |
+
<xsl:choose>
|
| 163 |
+
<xsl:when test="'h' = substring(local-name(), 1, 1) and $maxHead >= $headLevel">
|
| 164 |
+
|
| 165 |
+
<!-- recurse up to prior sibling; max level one less than current -->
|
| 166 |
+
<xsl:apply-templates mode="headingsWithPriorSiblings" select="preceding-sibling::*[1]">
|
| 167 |
+
<xsl:with-param name="maxHead" select="$headLevel - 1" />
|
| 168 |
+
</xsl:apply-templates>
|
| 169 |
+
|
| 170 |
+
<xsl:apply-templates mode="heading" select="." />
|
| 171 |
+
|
| 172 |
+
</xsl:when>
|
| 173 |
+
|
| 174 |
+
<!-- special case for 'header' tag, serialize child-headers -->
|
| 175 |
+
<xsl:when test="self::header">
|
| 176 |
+
<xsl:apply-templates mode="heading" select="h1|h2|h3|h4|h5|h6" />
|
| 177 |
+
<!--
|
| 178 |
+
we choose not to recurse further up prior-siblings in this case,
|
| 179 |
+
but n.b. the 'headingsWithAncestors' template above will still continue recursion.
|
| 180 |
+
-->
|
| 181 |
+
</xsl:when>
|
| 182 |
+
|
| 183 |
+
<xsl:otherwise>
|
| 184 |
+
<!-- recurse up to prior sibling; no other work on this element -->
|
| 185 |
+
<xsl:apply-templates mode="headingsWithPriorSiblings" select="preceding-sibling::*[1]">
|
| 186 |
+
<xsl:with-param name="maxHead" select="$maxHead" />
|
| 187 |
+
</xsl:apply-templates>
|
| 188 |
+
</xsl:otherwise>
|
| 189 |
+
|
| 190 |
+
</xsl:choose>
|
| 191 |
+
</xsl:template>
|
| 192 |
+
|
| 193 |
+
<xsl:template mode="heading" match="h1|h2|h3|h4|h5|h6">
|
| 194 |
+
<xsl:copy>
|
| 195 |
+
<xsl:value-of select="normalize-space(.)" />
|
| 196 |
+
</xsl:copy>
|
| 197 |
+
</xsl:template>
|
| 198 |
+
|
| 199 |
+
</xsl:stylesheet>
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/__init__.cpython-311.pyc
ADDED
|
Binary file (5.37 kB). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/aleph_alpha.cpython-311.pyc
ADDED
|
Binary file (1.04 kB). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/awa.cpython-311.pyc
ADDED
|
Binary file (914 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/azure_openai.cpython-311.pyc
ADDED
|
Binary file (932 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/baidu_qianfan_endpoint.cpython-311.pyc
ADDED
|
Binary file (946 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/base.cpython-311.pyc
ADDED
|
Binary file (11 kB). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/bedrock.cpython-311.pyc
ADDED
|
Binary file (923 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/bookend.cpython-311.pyc
ADDED
|
Binary file (923 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/cache.cpython-311.pyc
ADDED
|
Binary file (16.7 kB). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/clarifai.cpython-311.pyc
ADDED
|
Binary file (925 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/cloudflare_workersai.cpython-311.pyc
ADDED
|
Binary file (1.01 kB). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/cohere.cpython-311.pyc
ADDED
|
Binary file (921 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/dashscope.cpython-311.pyc
ADDED
|
Binary file (927 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/databricks.cpython-311.pyc
ADDED
|
Binary file (929 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/deepinfra.cpython-311.pyc
ADDED
|
Binary file (927 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/edenai.cpython-311.pyc
ADDED
|
Binary file (921 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/elasticsearch.cpython-311.pyc
ADDED
|
Binary file (935 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/embaas.cpython-311.pyc
ADDED
|
Binary file (921 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/ernie.cpython-311.pyc
ADDED
|
Binary file (918 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/fake.cpython-311.pyc
ADDED
|
Binary file (1.01 kB). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/fastembed.cpython-311.pyc
ADDED
|
Binary file (927 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/google_palm.cpython-311.pyc
ADDED
|
Binary file (930 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/gpt4all.cpython-311.pyc
ADDED
|
Binary file (923 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/gradient_ai.cpython-311.pyc
ADDED
|
Binary file (928 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/huggingface.cpython-311.pyc
ADDED
|
Binary file (1.14 kB). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/huggingface_hub.cpython-311.pyc
ADDED
|
Binary file (938 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/infinity.cpython-311.pyc
ADDED
|
Binary file (1.13 kB). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/javelin_ai_gateway.cpython-311.pyc
ADDED
|
Binary file (943 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/jina.cpython-311.pyc
ADDED
|
Binary file (916 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/johnsnowlabs.cpython-311.pyc
ADDED
|
Binary file (933 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/llamacpp.cpython-311.pyc
ADDED
|
Binary file (925 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/llm_rails.cpython-311.pyc
ADDED
|
Binary file (926 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/localai.cpython-311.pyc
ADDED
|
Binary file (923 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/minimax.cpython-311.pyc
ADDED
|
Binary file (923 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/mlflow.cpython-311.pyc
ADDED
|
Binary file (921 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/mlflow_gateway.cpython-311.pyc
ADDED
|
Binary file (938 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/langchain_classic/embeddings/__pycache__/modelscope_hub.cpython-311.pyc
ADDED
|
Binary file (933 Bytes). View file
|
|
|