text
stringlengths
3
1.68M
id
stringlengths
13
169
metadata
dict
__index_level_0__
int64
0
2.21k
### Description #recipes #dessert #cookies A document with HR elements that might trip up a front matter parser: --- ### Ingredients - 3/4 cup (170g) **unsalted butter**, slightly softened to room temperature. - 1 and 1/2 cups (180g) **confectioners’ sugar** ---
langchainjs/langchain/src/document_loaders/tests/example_data/obsidian/no_frontmatter.md/0
{ "file_path": "langchainjs/langchain/src/document_loaders/tests/example_data/obsidian/no_frontmatter.md", "repo_id": "langchainjs", "token_count": 84 }
942
from dataclasses import dataclass from typing import Dict, Optional, Union import torch import torch.nn.functional as F from torch import nn from ...configuration_utils import ConfigMixin, register_to_config from ...loaders import PeftAdapterMixin, UNet2DConditionLoadersMixin from ...utils import BaseOutput from ..at...
diffusers/src/diffusers/models/transformers/prior_transformer.py/0
{ "file_path": "diffusers/src/diffusers/models/transformers/prior_transformer.py", "repo_id": "diffusers", "token_count": 7388 }
233
import CodeBlock from "@theme/CodeBlock"; import CancellationExample from "@examples/models/chat/chat_cancellation.ts"; # Cancelling requests You can cancel a request by passing a `signal` option when you call the model. For example, for OpenAI: import IntegrationInstallTooltip from "@mdx_components/integration_inst...
langchainjs/docs/core_docs/docs/modules/model_io/chat/cancelling_requests.mdx/0
{ "file_path": "langchainjs/docs/core_docs/docs/modules/model_io/chat/cancelling_requests.mdx", "repo_id": "langchainjs", "token_count": 193 }
815
#!/usr/bin/env python """A more complex example that shows how to configure index name at run time.""" from typing import Any, Iterable, List, Optional, Type from fastapi import FastAPI from langchain.embeddings import OpenAIEmbeddings from langchain.schema import Document from langchain.schema.embeddings import Embed...
langserve/examples/configurable_retrieval/server.py/0
{ "file_path": "langserve/examples/configurable_retrieval/server.py", "repo_id": "langserve", "token_count": 1432 }
1,010
# coding=utf-8 # Copyright 2024 HuggingFace Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
diffusers/tests/pipelines/controlnet/test_flax_controlnet.py/0
{ "file_path": "diffusers/tests/pipelines/controlnet/test_flax_controlnet.py", "repo_id": "diffusers", "token_count": 2141 }
268
from typing import List, Optional, Union import PIL.Image import torch from transformers import CLIPImageProcessor, CLIPTextModelWithProjection, CLIPTokenizer, CLIPVisionModelWithProjection from ...models import PriorTransformer from ...schedulers import UnCLIPScheduler from ...utils import ( logging, replace...
diffusers/src/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_prior_emb2emb.py/0
{ "file_path": "diffusers/src/diffusers/pipelines/kandinsky2_2/pipeline_kandinsky2_2_prior_emb2emb.py", "repo_id": "diffusers", "token_count": 11231 }
253
import inspect import re from typing import Any, Callable, Dict, List, Optional, Union import numpy as np import PIL.Image import torch from packaging import version from transformers import CLIPImageProcessor, CLIPTextModel, CLIPTokenizer from diffusers import DiffusionPipeline from diffusers.configuration_utils imp...
diffusers/examples/community/lpw_stable_diffusion.py/0
{ "file_path": "diffusers/examples/community/lpw_stable_diffusion.py", "repo_id": "diffusers", "token_count": 32894 }
211
import torch from diffusers import DDPMScheduler from .test_schedulers import SchedulerCommonTest class DDPMSchedulerTest(SchedulerCommonTest): scheduler_classes = (DDPMScheduler,) def get_scheduler_config(self, **kwargs): config = { "num_train_timesteps": 1000, "beta_start"...
diffusers/tests/schedulers/test_scheduler_ddpm.py/0
{ "file_path": "diffusers/tests/schedulers/test_scheduler_ddpm.py", "repo_id": "diffusers", "token_count": 3860 }
288
# Process 🤗 Datasets provides many tools for modifying the structure and content of a dataset. These tools are important for tidying up a dataset, creating additional columns, converting between features and formats, and much more. This guide will show you how to: - Reorder rows and split the dataset. - Rename and ...
datasets/docs/source/process.mdx/0
{ "file_path": "datasets/docs/source/process.mdx", "repo_id": "datasets", "token_count": 10396 }
112
- sections: - local: index title: TRL - local: quickstart title: Quickstart - local: installation title: Installation - local: how_to_train title: PPO Training FAQ - local: use_model title: Use Trained Models - local: customization title: Customize the Training - local: logging ...
trl/docs/source/_toctree.yml/0
{ "file_path": "trl/docs/source/_toctree.yml", "repo_id": "trl", "token_count": 479 }
876
import string from typing import Any, List from langchain.evaluation.schema import StringEvaluator class ExactMatchStringEvaluator(StringEvaluator): """Compute an exact match between the prediction and the reference. Examples ---------- >>> evaluator = ExactMatchChain() >>> evaluator.evaluate_st...
langchain/libs/langchain/langchain/evaluation/exact_match/base.py/0
{ "file_path": "langchain/libs/langchain/langchain/evaluation/exact_match/base.py", "repo_id": "langchain", "token_count": 1191 }
503
"""Test MistralAI Chat API wrapper.""" import os from typing import Any, AsyncGenerator, Generator from unittest.mock import patch import pytest from langchain_core.callbacks.base import BaseCallbackHandler from langchain_core.messages import ( AIMessage, BaseMessage, ChatMessage, HumanMessage, Sys...
langchain/libs/partners/mistralai/tests/unit_tests/test_chat_models.py/0
{ "file_path": "langchain/libs/partners/mistralai/tests/unit_tests/test_chat_models.py", "repo_id": "langchain", "token_count": 1405 }
632
# Graphsignal This page covers how to use [Graphsignal](https://app.graphsignal.com) to trace and monitor LangChain. Graphsignal enables full visibility into your application. It provides latency breakdowns by chains and tools, exceptions with full context, data monitoring, compute/GPU utilization, OpenAI cost analyti...
langchain/docs/docs/integrations/providers/graphsignal.mdx/0
{ "file_path": "langchain/docs/docs/integrations/providers/graphsignal.mdx", "repo_id": "langchain", "token_count": 443 }
138
"""Ad-hoc data loader tool. Tool that wraps any data loader, and is able to load data on-demand. """ from typing import Any, Callable, Dict, List, Optional, Tuple, Type from llama_index.core.bridge.pydantic import BaseModel from llama_index.core.indices.base import BaseIndex from llama_index.core.indices.vector_st...
llama_index/llama-index-core/llama_index/core/tools/ondemand_loader_tool.py/0
{ "file_path": "llama_index/llama-index-core/llama_index/core/tools/ondemand_loader_tool.py", "repo_id": "llama_index", "token_count": 2621 }
1,211
// Code generated by mockery v2.33.3. DO NOT EDIT. package mocks import ( context "context" mock "github.com/stretchr/testify/mock" model "github.com/chroma/chroma-coordinator/internal/model" types "github.com/chroma/chroma-coordinator/internal/types" ) // Catalog is an autogenerated mock type for the Catalog...
chroma/go/coordinator/internal/metastore/mocks/Catalog.go/0
{ "file_path": "chroma/go/coordinator/internal/metastore/mocks/Catalog.go", "repo_id": "chroma", "token_count": 2399 }
51
<!--- Copyright 2021 The HuggingFace Team. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ...
transformers/examples/tensorflow/multiple-choice/README.md/0
{ "file_path": "transformers/examples/tensorflow/multiple-choice/README.md", "repo_id": "transformers", "token_count": 509 }
624
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
milvus/internal/proxy/accesslog/formater_test.go/0
{ "file_path": "milvus/internal/proxy/accesslog/formater_test.go", "repo_id": "milvus", "token_count": 2202 }
2,011
package coordinator import ( "github.com/chroma/chroma-coordinator/internal/metastore/db/dbmodel" "github.com/chroma/chroma-coordinator/internal/model" "github.com/chroma/chroma-coordinator/internal/types" "github.com/pingcap/log" "go.uber.org/zap" ) func convertCollectionToModel(collectionAndMetadataList []*dbm...
chroma/go/coordinator/internal/metastore/coordinator/model_db_convert.go/0
{ "file_path": "chroma/go/coordinator/internal/metastore/coordinator/model_db_convert.go", "repo_id": "chroma", "token_count": 2392 }
47
export * from "@langchain/community/memory/motorhead_memory";
langchainjs/langchain/src/memory/motorhead_memory.ts/0
{ "file_path": "langchainjs/langchain/src/memory/motorhead_memory.ts", "repo_id": "langchainjs", "token_count": 18 }
933
from __future__ import annotations from collections import defaultdict from typing import Any, Callable, Dict, List, Optional, Sequence, Set, Tuple import uuid from chromadb.config import Settings, System from chromadb.ingest import Consumer, ConsumerCallbackFn, Producer from overrides import overrides, EnforceOverride...
chroma/chromadb/ingest/impl/pulsar.py/0
{ "file_path": "chroma/chromadb/ingest/impl/pulsar.py", "repo_id": "chroma", "token_count": 5066 }
17
import { ChatOpenAI } from "@langchain/openai"; import { StringOutputParser } from "@langchain/core/output_parsers"; const parser = new StringOutputParser(); const model = new ChatOpenAI({ temperature: 0 }); const stream = await model.pipe(parser).stream("Hello there!"); for await (const chunk of stream) { consol...
langchainjs/examples/src/prompts/string_output_parser.ts/0
{ "file_path": "langchainjs/examples/src/prompts/string_output_parser.ts", "repo_id": "langchainjs", "token_count": 131 }
837
# coding=utf-8 # Copyright 2022 The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless r...
transformers/utils/create_dummy_models.py/0
{ "file_path": "transformers/utils/create_dummy_models.py", "repo_id": "transformers", "token_count": 28790 }
799
# News Article Loader This loader makes use of the `newspaper3k` library to parse web page urls which have news articles in them. ## Usage ``` pip install newspaper3k ``` Pass in an array of individual page URLs: ```python from llama_index.readers.web.news import NewsArticleReader reader = NewsArticleReader(use_n...
llama_index/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/news/README.md/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/news/README.md", "repo_id": "llama_index", "token_count": 216 }
1,456
<jupyter_start><jupyter_text>Together AI + RAG [Together AI](https://python.langchain.com/docs/integrations/llms/together) has a broad set of OSS LLMs via inference API.See [here](https://api.together.xyz/playground). We use `"mistralai/Mixtral-8x7B-Instruct-v0.1` for RAG on the Mixtral paper.Download the paper:https:/...
langchain/cookbook/together_ai.ipynb/0
{ "file_path": "langchain/cookbook/together_ai.ipynb", "repo_id": "langchain", "token_count": 711 }
82
"""Notion tool spec."""
llama_index/llama-index-legacy/llama_index/legacy/tools/tool_spec/notion/__init__.py/0
{ "file_path": "llama_index/llama-index-legacy/llama_index/legacy/tools/tool_spec/notion/__init__.py", "repo_id": "llama_index", "token_count": 8 }
1,607
# Requests Tool This tool provides the agent the ability to make HTTP requests. It can be combined with the OpenAPIToolSpec to interface with an OpenAPI server. For security reasons, you must specify the hostname for the headers that you wish to provide. See [here for an example](https://github.com/emptycrown/llama-h...
llama_index/llama-index-integrations/tools/llama-index-tools-requests/README.md/0
{ "file_path": "llama_index/llama-index-integrations/tools/llama-index-tools-requests/README.md", "repo_id": "llama_index", "token_count": 432 }
1,434
<!--Copyright 2024 The HuggingFace Team. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
diffusers/docs/source/en/tutorials/using_peft_for_inference.md/0
{ "file_path": "diffusers/docs/source/en/tutorials/using_peft_for_inference.md", "repo_id": "diffusers", "token_count": 3320 }
197
from llama_index.core.readers.base import BaseReader from llama_index.readers.wordpress import WordpressReader def test_class(): names_of_base_classes = [b.__name__ for b in WordpressReader.__mro__] assert BaseReader.__name__ in names_of_base_classes
llama_index/llama-index-integrations/readers/llama-index-readers-wordpress/tests/test_readers_wordpress.py/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-wordpress/tests/test_readers_wordpress.py", "repo_id": "llama_index", "token_count": 87 }
1,476
""" Astra DB Vector store index. An index based on a DB table with vector search capabilities, powered by the astrapy library """ import json import logging from typing import Any, Dict, List, Optional, cast from warnings import warn from llama_index.legacy.bridge.pydantic import PrivateAttr from llama_index.legacy...
llama_index/llama-index-legacy/llama_index/legacy/vector_stores/astra.py/0
{ "file_path": "llama_index/llama-index-legacy/llama_index/legacy/vector_stores/astra.py", "repo_id": "llama_index", "token_count": 6406 }
1,652
export const PREFIX = `Answer the following questions as best you can. You have access to the following tools:`; export const FORMAT_INSTRUCTIONS = `Use the following format in your response: Question: the input question you must answer Thought: you should always think about what to do Action: the action to take, shou...
langchainjs/langchain/src/agents/mrkl/prompt.ts/0
{ "file_path": "langchainjs/langchain/src/agents/mrkl/prompt.ts", "repo_id": "langchainjs", "token_count": 175 }
879
import gym import numpy as np import torch from mujoco_py import GlfwContext from transformers import DecisionTransformerModel GlfwContext(offscreen=True) # Create a window to init GLFW. def get_action(model, states, actions, rewards, returns_to_go, timesteps): # we don't care about the past rewards in this m...
transformers/examples/research_projects/decision_transformer/run_decision_transformer.py/0
{ "file_path": "transformers/examples/research_projects/decision_transformer/run_decision_transformer.py", "repo_id": "transformers", "token_count": 2763 }
596
[tool.poetry] name = "rag-redis" version = "0.0.1" description = "Run a RAG app backed by OpenAI, HuggingFace, and Redis as a vector database" authors = [ "Tyler Hutcherson <tyler.hutcherson@redis.com>", "Sam Partee <sam.partee@redis.com>", ] readme = "README.md" [tool.poetry.dependencies] python = ">=3.9,<3.1...
langchain/templates/rag-redis/pyproject.toml/0
{ "file_path": "langchain/templates/rag-redis/pyproject.toml", "repo_id": "langchain", "token_count": 543 }
744
# Copyright 2022 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
accelerate/src/accelerate/scheduler.py/0
{ "file_path": "accelerate/src/accelerate/scheduler.py", "repo_id": "accelerate", "token_count": 1577 }
13
# Figma >[Figma](https://www.figma.com/) is a collaborative web application for interface design. ## Installation and Setup The Figma API requires an `access token`, `node_ids`, and a `file key`. The `file key` can be pulled from the URL. https://www.figma.com/file/{filekey}/sampleFilename `Node IDs` are also ava...
langchain/docs/docs/integrations/providers/figma.mdx/0
{ "file_path": "langchain/docs/docs/integrations/providers/figma.mdx", "repo_id": "langchain", "token_count": 222 }
144
import { Dataset, Run } from "../schemas.js"; import { FunctionMessage, HumanMessage } from "@langchain/core/messages"; import { Client } from "../client.js"; import { v4 as uuidv4 } from "uuid"; async function toArray<T>(iterable: AsyncIterable<T>): Promise<T[]> { const result: T[] = []; for await (const item of...
langsmith-sdk/js/src/tests/client.int.test.ts/0
{ "file_path": "langsmith-sdk/js/src/tests/client.int.test.ts", "repo_id": "langsmith-sdk", "token_count": 6324 }
1,047
# A Guide to Building a Full-Stack Web App with LLamaIndex LlamaIndex is a python library, which means that integrating it with a full-stack web application will be a little different than what you might be used to. This guide seeks to walk through the steps needed to create a basic API service written in python, and...
llama_index/docs/understanding/putting_it_all_together/apps/fullstack_app_guide.md/0
{ "file_path": "llama_index/docs/understanding/putting_it_all_together/apps/fullstack_app_guide.md", "repo_id": "llama_index", "token_count": 4737 }
1,130
"""Keep here for backwards compatibility.""" from langchain_community.utilities.sql_database import SQLDatabase __all__ = ["SQLDatabase"]
langchain/libs/langchain/langchain/sql_database.py/0
{ "file_path": "langchain/libs/langchain/langchain/sql_database.py", "repo_id": "langchain", "token_count": 35 }
593
import { logVersion010MigrationWarning } from "../util/entrypoint_deprecation.js"; /* #__PURE__ */ logVersion010MigrationWarning({ oldEntrypointName: "vectorstores/opensearch", }); export * from "@langchain/community/vectorstores/opensearch";
langchainjs/langchain/src/vectorstores/opensearch.ts/0
{ "file_path": "langchainjs/langchain/src/vectorstores/opensearch.ts", "repo_id": "langchainjs", "token_count": 74 }
937
build_performance: collections: - server: db_config.primary_path: /test/milvus/db_data_7/jaccard_50m_512_512_jaccard_ivf_wal_debug cache_config.cpu_cache_capacity: 16 engine_config.use_blas_threshold: 1100 engine_config.gpu_search_threshold: 1 gpu_resource_config.ena...
milvus/tests/benchmark/milvus_benchmark/suites/gpu_build_performance_jaccard50m.yaml/0
{ "file_path": "milvus/tests/benchmark/milvus_benchmark/suites/gpu_build_performance_jaccard50m.yaml", "repo_id": "milvus", "token_count": 327 }
1,882
/* eslint-disable no-process-env */ /* eslint-disable @typescript-eslint/no-non-null-assertion */ import { test, expect } from "@jest/globals"; import { TavilySearchAPIRetriever } from "../tavily_search_api.js"; test.skip("TavilySearchAPIRetriever", async () => { const retriever = new TavilySearchAPIRetriever({ ...
langchainjs/libs/langchain-community/src/retrievers/tests/tavily_search_api.int.test.ts/0
{ "file_path": "langchainjs/libs/langchain-community/src/retrievers/tests/tavily_search_api.int.test.ts", "repo_id": "langchainjs", "token_count": 185 }
1,008
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
milvus/internal/querynodev2/segments/pool_test.go/0
{ "file_path": "milvus/internal/querynodev2/segments/pool_test.go", "repo_id": "milvus", "token_count": 1157 }
1,843
import time import pytest from base.client_base import TestcaseBase from common import common_func as cf from common import common_type as ct from common.common_type import CaseLabel from utils.util_log import test_log as log prefix = "e2e_" class TestE2e(TestcaseBase): """ Test case of end to end""" @pytes...
milvus/tests/python_client/testcases/test_e2e.py/0
{ "file_path": "milvus/tests/python_client/testcases/test_e2e.py", "repo_id": "milvus", "token_count": 1824 }
2,044
"""Wrapper around Together AI's Completion API.""" import logging from typing import Any, Dict, List, Optional from aiohttp import ClientSession from langchain_core._api.deprecation import deprecated from langchain_core.callbacks import ( AsyncCallbackManagerForLLMRun, CallbackManagerForLLMRun, ) from langchai...
langchain/libs/community/langchain_community/llms/together.py/0
{ "file_path": "langchain/libs/community/langchain_community/llms/together.py", "repo_id": "langchain", "token_count": 3162 }
273
from langchain_community.tools.file_management.delete import ( DeleteFileTool, FileDeleteInput, ) __all__ = ["FileDeleteInput", "DeleteFileTool"]
langchain/libs/langchain/langchain/tools/file_management/delete.py/0
{ "file_path": "langchain/libs/langchain/langchain/tools/file_management/delete.py", "repo_id": "langchain", "token_count": 50 }
574
from typing import List, Optional from langchain_core.pydantic_v1 import BaseModel class Validation(BaseModel): """Connery Action parameter validation model.""" required: Optional[bool] = None class Parameter(BaseModel): """Connery Action parameter model.""" key: str title: str descriptio...
langchain/libs/community/langchain_community/tools/connery/models.py/0
{ "file_path": "langchain/libs/community/langchain_community/tools/connery/models.py", "repo_id": "langchain", "token_count": 214 }
304
from __future__ import annotations import os from typing import ( TYPE_CHECKING, List, Optional, Union, ) if TYPE_CHECKING: import rdflib class OntotextGraphDBGraph: """Ontotext GraphDB https://graphdb.ontotext.com/ wrapper for graph operations. *Security note*: Make sure that the datab...
langchain/libs/community/langchain_community/graphs/ontotext_graphdb_graph.py/0
{ "file_path": "langchain/libs/community/langchain_community/graphs/ontotext_graphdb_graph.py", "repo_id": "langchain", "token_count": 3281 }
258
import type { Embeddings } from "../embeddings.js"; import type { VectorStoreInterface, VectorStoreRetrieverInterface, VectorStore, } from "../vectorstores.js"; import type { Example } from "../prompts/base.js"; import { Document } from "../documents/document.js"; import { BaseExampleSelector } from "./base.js"; ...
langchainjs/langchain-core/src/example_selectors/semantic_similarity.ts/0
{ "file_path": "langchainjs/langchain-core/src/example_selectors/semantic_similarity.ts", "repo_id": "langchainjs", "token_count": 2283 }
859
python_tests( name="tests", )
llama_index/llama-index-core/tests/evaluation/BUILD/0
{ "file_path": "llama_index/llama-index-core/tests/evaluation/BUILD", "repo_id": "llama_index", "token_count": 15 }
1,309
poetry_requirements( name="poetry", )
llama_index/llama-index-integrations/readers/llama-index-readers-guru/BUILD/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-guru/BUILD", "repo_id": "llama_index", "token_count": 18 }
1,331
# coding=utf-8 # Copyright 2020-present the HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ap...
transformers/src/transformers/trainer_callback.py/0
{ "file_path": "transformers/src/transformers/trainer_callback.py", "repo_id": "transformers", "token_count": 9727 }
714
import { logVersion010MigrationWarning } from "../util/entrypoint_deprecation.js"; /* #__PURE__ */ logVersion010MigrationWarning({ oldEntrypointName: "embeddings/base", newEntrypointName: "embeddings", newPackageName: "@langchain/core", }); export * from "@langchain/core/embeddings";
langchainjs/langchain/src/embeddings/base.ts/0
{ "file_path": "langchainjs/langchain/src/embeddings/base.ts", "repo_id": "langchainjs", "token_count": 94 }
901
"""Test embedding model integration.""" from unittest.mock import Mock import pytest from ai21 import AI21Client, MissingApiKeyError from ai21.models import EmbedResponse, EmbedResult, EmbedType from pytest_mock import MockerFixture from langchain_ai21.embeddings import AI21Embeddings from tests.unit_tests.conftest i...
langchain/libs/partners/ai21/tests/unit_tests/test_embeddings.py/0
{ "file_path": "langchain/libs/partners/ai21/tests/unit_tests/test_embeddings.py", "repo_id": "langchain", "token_count": 929 }
639
<jupyter_start><jupyter_text>Memgraph QA chainThis notebook shows how to use LLMs to provide a natural language interface to a [Memgraph](https://github.com/memgraph/memgraph) database. To complete this tutorial, you will need [Docker](https://www.docker.com/get-started/) and [Python 3.x](https://www.python.org/) insta...
langchain/docs/docs/use_cases/graph/graph_memgraph_qa.ipynb/0
{ "file_path": "langchain/docs/docs/use_cases/graph/graph_memgraph_qa.ipynb", "repo_id": "langchain", "token_count": 3859 }
217
# Copyright 2021 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
transformers/tests/models/mbart/test_modeling_flax_mbart.py/0
{ "file_path": "transformers/tests/models/mbart/test_modeling_flax_mbart.py", "repo_id": "transformers", "token_count": 8921 }
796
import os from pathlib import Path from langchain_community import chat_models, llms from langchain_core.language_models.chat_models import BaseChatModel, SimpleChatModel from langchain_core.language_models.llms import LLM, BaseLLM INTEGRATIONS_DIR = Path(os.path.abspath(__file__)).parents[1] / "docs" / "integrations...
langchain/docs/scripts/model_feat_table.py/0
{ "file_path": "langchain/docs/scripts/model_feat_table.py", "repo_id": "langchain", "token_count": 2637 }
195
use candle::{Result, Tensor}; use serde::Deserialize; #[derive(Debug, Clone, Copy, PartialEq, Deserialize, Default)] #[serde(rename_all = "lowercase")] pub enum Activation { #[default] Gelu, #[serde(alias = "gelu_new")] NewGelu, Relu, Relu2, Relu6, Silu, Sigmoid, HardSigmoid, ...
candle/candle-nn/src/activation.rs/0
{ "file_path": "candle/candle-nn/src/activation.rs", "repo_id": "candle", "token_count": 1570 }
55
# Telegram Loader This loader fetches posts/chat messages/comments from Telegram channels or chats into `Document`s. Before working with Telegram’s API, you need to get your own API ID and hash: 1. [Login to your Telegram account](https://my.telegram.org) with the phone number of the developer account to use. 2. Cli...
llama_index/llama-index-integrations/readers/llama-index-readers-telegram/README.md/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-telegram/README.md", "repo_id": "llama_index", "token_count": 642 }
1,385
import shutil import os from typing import List, Hashable import hypothesis.strategies as st import onnxruntime import pytest from hypothesis import given, settings from chromadb.utils.embedding_functions import ONNXMiniLM_L6_V2, _verify_sha256 def unique_by(x: Hashable) -> Hashable: return x @settings(deadli...
chroma/chromadb/test/ef/test_default_ef.py/0
{ "file_path": "chroma/chromadb/test/ef/test_default_ef.py", "repo_id": "chroma", "token_count": 1193 }
26
from rag_self_query.chain import chain __all__ = ["chain"]
langchain/templates/rag-self-query/rag_self_query/__init__.py/0
{ "file_path": "langchain/templates/rag-self-query/rag_self_query/__init__.py", "repo_id": "langchain", "token_count": 20 }
666
# coding=utf-8 # Copyright 2018 The Open AI Team Authors and The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
transformers/src/transformers/models/openai/tokenization_openai.py/0
{ "file_path": "transformers/src/transformers/models/openai/tokenization_openai.py", "repo_id": "transformers", "token_count": 7047 }
642
from llama_index.core.output_parsers.base import ChainableOutputParser from llama_index.output_parsers.langchain import LangchainOutputParser def test_class(): names_of_base_classes = [b.__name__ for b in LangchainOutputParser.__mro__] assert ChainableOutputParser.__name__ in names_of_base_classes
llama_index/llama-index-integrations/output_parsers/llama-index-output-parsers-langchain/tests/test_output_parsers_langchain.py/0
{ "file_path": "llama_index/llama-index-integrations/output_parsers/llama-index-output-parsers-langchain/tests/test_output_parsers_langchain.py", "repo_id": "llama_index", "token_count": 100 }
1,294
"""Wrapper around wikipedia API.""" from typing import Union from langchain_core.documents import Document from langchain_community.docstore.base import Docstore class Wikipedia(Docstore): """Wrapper around wikipedia API.""" def __init__(self) -> None: """Check that wikipedia package is installed...
langchain/libs/community/langchain_community/docstore/wikipedia.py/0
{ "file_path": "langchain/libs/community/langchain_community/docstore/wikipedia.py", "repo_id": "langchain", "token_count": 602 }
224
# LlamaIndex Readers Integration: Github
llama_index/llama-index-integrations/readers/llama-index-readers-github/README.md/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-github/README.md", "repo_id": "llama_index", "token_count": 9 }
1,324
import json from typing import List import requests from langchain_core.documents import Document from langchain_core.pydantic_v1 import BaseModel, Field class BraveSearchWrapper(BaseModel): """Wrapper around the Brave search engine.""" api_key: str """The API key to use for the Brave search engine.""" ...
langchain/libs/community/langchain_community/utilities/brave_search.py/0
{ "file_path": "langchain/libs/community/langchain_community/utilities/brave_search.py", "repo_id": "langchain", "token_count": 994 }
299
# Twitter >[Twitter](https://twitter.com/) is an online social media and social networking service. ## Installation and Setup ```bash pip install tweepy ``` We must initialize the loader with the `Twitter API` token, and we need to set up the Twitter `username`. ## Document Loader See a [usage example](/docs/in...
langchain/docs/docs/integrations/providers/twitter.mdx/0
{ "file_path": "langchain/docs/docs/integrations/providers/twitter.mdx", "repo_id": "langchain", "token_count": 121 }
148
"""GitHub Toolkit.""" from typing import Dict, List from langchain_community.agent_toolkits.base import BaseToolkit from langchain_community.tools import BaseTool from langchain_community.tools.gitlab.prompt import ( COMMENT_ON_ISSUE_PROMPT, CREATE_FILE_PROMPT, CREATE_PULL_REQUEST_PROMPT, DELETE_FILE_P...
langchain/libs/community/langchain_community/agent_toolkits/gitlab/toolkit.py/0
{ "file_path": "langchain/libs/community/langchain_community/agent_toolkits/gitlab/toolkit.py", "repo_id": "langchain", "token_count": 1496 }
228
/*! ************************************************************************************************** * Deformable DETR * Copyright (c) 2020 SenseTime. All Rights Reserved. * Licensed under the Apache License, Version 2.0 [see LICENSE for details] ***********************************************************************...
transformers/src/transformers/kernels/deformable_detr/cuda/ms_deform_attn_cuda.cuh/0
{ "file_path": "transformers/src/transformers/kernels/deformable_detr/cuda/ms_deform_attn_cuda.cuh", "repo_id": "transformers", "token_count": 34703 }
599
<!--Copyright 2021 The HuggingFace Team. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
transformers/docs/source/it/debugging.md/0
{ "file_path": "transformers/docs/source/it/debugging.md", "repo_id": "transformers", "token_count": 5635 }
507
# coding=utf-8 # Copyright 2020 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
transformers/tests/models/ctrl/test_modeling_tf_ctrl.py/0
{ "file_path": "transformers/tests/models/ctrl/test_modeling_tf_ctrl.py", "repo_id": "transformers", "token_count": 4926 }
726
from llama_index.core.vector_stores.types import VectorStore from llama_index.vector_stores.awadb import AwaDBVectorStore def test_class(): names_of_base_classes = [b.__name__ for b in AwaDBVectorStore.__mro__] assert VectorStore.__name__ in names_of_base_classes
llama_index/llama-index-integrations/vector_stores/llama-index-vector-stores-awadb/tests/test_vector_stores_awadb.py/0
{ "file_path": "llama_index/llama-index-integrations/vector_stores/llama-index-vector-stores-awadb/tests/test_vector_stores_awadb.py", "repo_id": "llama_index", "token_count": 95 }
1,593
from langchain_core.agents import AgentAction, AgentActionMessageLog, AgentFinish __all__ = ["AgentAction", "AgentActionMessageLog", "AgentFinish"]
langchain/libs/langchain/langchain/schema/agent.py/0
{ "file_path": "langchain/libs/langchain/langchain/schema/agent.py", "repo_id": "langchain", "token_count": 39 }
541
#pragma once namespace fluent { #define NAMED_TYPE_VERSION_MAJOR 1 #define NAMED_TYPE_VERSION_MINOR 1 #define NAMED_TYPE_VERSION_PATCH 0 #define NAMED_TYPE_VERSION "1.1.0" } // namespace fluent
milvus/internal/core/thirdparty/NamedType/version.hpp/0
{ "file_path": "milvus/internal/core/thirdparty/NamedType/version.hpp", "repo_id": "milvus", "token_count": 78 }
1,811
import { base } from "$app/paths"; import { requiresUser } from "$lib/server/auth"; import { collections } from "$lib/server/database"; import { fail, type Actions, redirect } from "@sveltejs/kit"; import { ObjectId } from "mongodb"; import { z } from "zod"; import { sha256 } from "$lib/utils/sha256"; import sharp fr...
chat-ui/src/routes/settings/assistants/[assistantId]/edit/+page.server.ts/0
{ "file_path": "chat-ui/src/routes/settings/assistants/[assistantId]/edit/+page.server.ts", "repo_id": "chat-ui", "token_count": 1573 }
116
{"sender_name": "User 2", "timestamp_ms": 1675597571851, "content": "Bye!"} {"sender_name": "User 1", "timestamp_ms": 1675597435669, "content": "Oh no worries! Bye"} {"sender_name": "User 2", "timestamp_ms": 1675596277579, "content": "No Im sorry it was my mistake, the blue one is not for sale"}
langchain/docs/docs/integrations/document_loaders/example_data/facebook_chat_messages.jsonl/0
{ "file_path": "langchain/docs/docs/integrations/document_loaders/example_data/facebook_chat_messages.jsonl", "repo_id": "langchain", "token_count": 110 }
112
# Copyright 2022 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
accelerate/tests/test_offload.py/0
{ "file_path": "accelerate/tests/test_offload.py", "repo_id": "accelerate", "token_count": 1981 }
24
import tempfile import urllib.request import pytest from langchain_core.documents import Document # from langchain_community.vectorstores.vectara import Vectara, SummaryConfig from langchain_community.vectorstores.vectara import SummaryConfig, Vectara from tests.integration_tests.vectorstores.fake_embeddings import F...
langchain/libs/community/tests/integration_tests/vectorstores/test_vectara.py/0
{ "file_path": "langchain/libs/community/tests/integration_tests/vectorstores/test_vectara.py", "repo_id": "langchain", "token_count": 3603 }
363
# candle-mixtral: 8x7b LLM using a sparse mixture of experts. Mixtral-8x7B-v0.1 is a pretrained generative LLM with 56 billion parameters. - [Blog post](https://mistral.ai/news/mixtral-of-experts/) from Mistral announcing the model release. - [Model card](https://huggingface.co/mistralai/Mixtral-8x7B-v0.1) on the Hu...
candle/candle-examples/examples/mixtral/README.md/0
{ "file_path": "candle/candle-examples/examples/mixtral/README.md", "repo_id": "candle", "token_count": 322 }
51
from __future__ import annotations from typing import Any, Dict, List, Mapping, Optional from urllib.parse import urlparse from langchain_core.callbacks import CallbackManagerForLLMRun from langchain_core.language_models import LLM from langchain_core.pydantic_v1 import Field, PrivateAttr class Mlflow(LLM): """...
langchain/libs/community/langchain_community/llms/mlflow.py/0
{ "file_path": "langchain/libs/community/langchain_community/llms/mlflow.py", "repo_id": "langchain", "token_count": 1563 }
283
# coding=utf-8 # Copyright 2020 The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
transformers/utils/check_dummies.py/0
{ "file_path": "transformers/utils/check_dummies.py", "repo_id": "transformers", "token_count": 3337 }
810
# flake8: noqa QUERY_CHECKER = """ {query} Double check the {dialect} query above for common mistakes, including: - Using NOT IN with NULL values - Using UNION when UNION ALL should have been used - Using BETWEEN for exclusive ranges - Data type mismatch in predicates - Properly quoting identifiers - Using the correct ...
langchain/libs/community/langchain_community/tools/sql_database/prompt.py/0
{ "file_path": "langchain/libs/community/langchain_community/tools/sql_database/prompt.py", "repo_id": "langchain", "token_count": 148 }
321
build_performance: collections: - server: db_config.primary_path: /test/milvus/db_data_011/binary_50m_512_jaccard_ivf cache_config.cpu_cache_capacity: 8GB gpu_resource_config.enable: false collection_name: binary_50m_512_jaccard index_type: bin_ivf_flat index_param:...
milvus/tests/benchmark/milvus_benchmark/suites/011_cpu_build_binary.yaml/0
{ "file_path": "milvus/tests/benchmark/milvus_benchmark/suites/011_cpu_build_binary.yaml", "repo_id": "milvus", "token_count": 160 }
2,085
import asyncio import logging import warnings from concurrent.futures import ThreadPoolExecutor from typing import Any, Dict, Iterator, List, Optional, Union, cast import aiohttp import requests from langchain_core.documents import Document from langchain_community.document_loaders.base import BaseLoader logger = lo...
langchain/libs/community/langchain_community/document_loaders/async_html.py/0
{ "file_path": "langchain/libs/community/langchain_community/document_loaders/async_html.py", "repo_id": "langchain", "token_count": 3861 }
244
import { FaissStore } from "@langchain/community/vectorstores/faiss"; import { OpenAIEmbeddings, ChatOpenAI } from "@langchain/openai"; import { TextLoader } from "langchain/document_loaders/fs/text"; import { RecursiveCharacterTextSplitter } from "langchain/text_splitter"; import { createRetrieverTool, createConve...
langchainjs/examples/src/guides/conversational_retrieval/agent.ts/0
{ "file_path": "langchainjs/examples/src/guides/conversational_retrieval/agent.ts", "repo_id": "langchainjs", "token_count": 714 }
773
#!/usr/bin/env python3 """ This script is adapted from the Bertology pruning code (https://github.com/huggingface/transformers/blob/783d7d2629e97c5f0c5f9ef01b8c66410275c204/examples/research_projects/bertology/run_bertology.py) to prune GPT-like models. The author is @altsoph. """ import argparse import logging import...
transformers/examples/research_projects/bertology/run_prune_gpt.py/0
{ "file_path": "transformers/examples/research_projects/bertology/run_prune_gpt.py", "repo_id": "transformers", "token_count": 6338 }
520
[build-system] build-backend = "poetry.core.masonry.api" requires = ["poetry-core"] [tool.codespell] check-filenames = true check-hidden = true skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb" [tool.llamahub] classes = ["TextEmbeddingsInference"] contains_example = false import_path = "llama_index.embeddings....
llama_index/llama-index-integrations/embeddings/llama-index-embeddings-text-embeddings-inference/pyproject.toml/0
{ "file_path": "llama_index/llama-index-integrations/embeddings/llama-index-embeddings-text-embeddings-inference/pyproject.toml", "repo_id": "llama_index", "token_count": 690 }
1,203
from typing import Dict, List import requests def get_pdb_publications_from_rcsb(pdb_id: str) -> List[Dict]: base_url = "https://data.rcsb.org/rest/v1/core/" pubmed_query = f"{base_url}pubmed/{pdb_id}" entry_query = f"{base_url}entry/{pdb_id}" pubmed_response = requests.get(pubmed_query) entry_re...
llama_index/llama-index-integrations/readers/llama-index-readers-pdb/llama_index/readers/pdb/utils.py/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-pdb/llama_index/readers/pdb/utils.py", "repo_id": "llama_index", "token_count": 1129 }
1,415
<jupyter_start><jupyter_text>Retrieve as you generate with FLAREThis notebook is an implementation of Forward-Looking Active REtrieval augmented generation (FLARE).Please see the original repo [here](https://github.com/jzbjyb/FLARE/tree/main).The basic idea is:- Start answering a question- If you start generating token...
langchain/cookbook/forward_looking_retrieval_augmented_generation.ipynb/0
{ "file_path": "langchain/cookbook/forward_looking_retrieval_augmented_generation.ipynb", "repo_id": "langchain", "token_count": 1324 }
77
import base64 import email from typing import Dict, Optional, Type from langchain_core.callbacks import CallbackManagerForToolRun from langchain_core.pydantic_v1 import BaseModel, Field from langchain_community.tools.gmail.base import GmailBaseTool from langchain_community.tools.gmail.utils import clean_email_body ...
langchain/libs/community/langchain_community/tools/gmail/get_message.py/0
{ "file_path": "langchain/libs/community/langchain_community/tools/gmail/get_message.py", "repo_id": "langchain", "token_count": 963 }
303
from llama_index.packs.nebulagraph_query_engine.base import NebulaGraphQueryEnginePack __all__ = ["NebulaGraphQueryEnginePack"]
llama_index/llama-index-packs/llama-index-packs-nebulagraph-query-engine/llama_index/packs/nebulagraph_query_engine/__init__.py/0
{ "file_path": "llama_index/llama-index-packs/llama-index-packs-nebulagraph-query-engine/llama_index/packs/nebulagraph_query_engine/__init__.py", "repo_id": "llama_index", "token_count": 39 }
1,857
from langchain_core.output_parsers.base import ( BaseGenerationOutputParser, BaseLLMOutputParser, BaseOutputParser, ) from langchain_core.output_parsers.json import JsonOutputParser, SimpleJsonOutputParser from langchain_core.output_parsers.list import ( CommaSeparatedListOutputParser, ListOutputPar...
langchain/libs/core/langchain_core/output_parsers/__init__.py/0
{ "file_path": "langchain/libs/core/langchain_core/output_parsers/__init__.py", "repo_id": "langchain", "token_count": 353 }
393
import enum import os from typing import Optional from huggingface_hub.utils import insecure_hashlib from .. import config from .logging import get_logger logger = get_logger(__name__) class VerificationMode(enum.Enum): """`Enum` that specifies which verification checks to run. The default mode is `BASIC...
datasets/src/datasets/utils/info_utils.py/0
{ "file_path": "datasets/src/datasets/utils/info_utils.py", "repo_id": "datasets", "token_count": 1893 }
150
import base64 import logging from typing import Tuple, Any, cast from overrides import override from pydantic import SecretStr from chromadb.auth import ( ServerAuthProvider, ClientAuthProvider, ServerAuthenticationRequest, ServerAuthCredentialsProvider, AuthInfoType, BasicAuthCredentials, ...
chroma/chromadb/auth/basic/__init__.py/0
{ "file_path": "chroma/chromadb/auth/basic/__init__.py", "repo_id": "chroma", "token_count": 1535 }
14
/* eslint-disable import/first */ /* eslint-disable arrow-body-style */ /* eslint-disable import/no-duplicates */ import { ChatOpenAI } from "@langchain/openai"; const chat = new ChatOpenAI({ modelName: "gpt-3.5-turbo-1106", temperature: 0.2, }); import { HumanMessage } from "@langchain/core/messages"; await ch...
langchainjs/examples/src/use_cases/chatbots/quickstart.ts/0
{ "file_path": "langchainjs/examples/src/use_cases/chatbots/quickstart.ts", "repo_id": "langchainjs", "token_count": 2095 }
854
# Copyright 2021 The Fairseq Authors and The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # #...
transformers/src/transformers/models/m2m_100/convert_m2m100_original_checkpoint_to_pytorch.py/0
{ "file_path": "transformers/src/transformers/models/m2m_100/convert_m2m100_original_checkpoint_to_pytorch.py", "repo_id": "transformers", "token_count": 1220 }
654
# Offline vs. Online Reinforcement Learning Deep Reinforcement Learning (RL) is a framework **to build decision-making agents**. These agents aim to learn optimal behavior (policy) by interacting with the environment through **trial and error and receiving rewards as unique feedback**. The agent’s goal **is to maximi...
deep-rl-class/units/en/unitbonus3/offline-online.mdx/0
{ "file_path": "deep-rl-class/units/en/unitbonus3/offline-online.mdx", "repo_id": "deep-rl-class", "token_count": 708 }
172
# coding=utf-8 # Copyright 2022 The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless r...
transformers/tests/models/levit/test_modeling_levit.py/0
{ "file_path": "transformers/tests/models/levit/test_modeling_levit.py", "repo_id": "transformers", "token_count": 7345 }
733
import json import multiprocessing as mp import re from collections import defaultdict from functools import partial from typing import Dict, List, Optional, Set, Tuple, Type from datasets import Dataset from datasketch import MinHash, MinHashLSH from dpu_utils.utils.iterators import ThreadedIterator from tqdm import ...
transformers/examples/research_projects/codeparrot/scripts/minhash_deduplication.py/0
{ "file_path": "transformers/examples/research_projects/codeparrot/scripts/minhash_deduplication.py", "repo_id": "transformers", "token_count": 4391 }
581
import { AgentActionOutputParser, AgentExecutor, LLMSingleActionAgent, } from "langchain/agents"; import { LLMChain } from "langchain/chains"; import { ChatOpenAI } from "@langchain/openai"; import { Calculator } from "langchain/tools/calculator"; import { BaseChatPromptTemplate, SerializedBasePromptTemplate,...
langchainjs/examples/src/agents/custom_llm_agent_chat.ts/0
{ "file_path": "langchainjs/examples/src/agents/custom_llm_agent_chat.ts", "repo_id": "langchainjs", "token_count": 1541 }
790
[tool.poetry] name = "rag-matching-engine" version = "0.0.1" description = "RAG using Google Cloud Platform's Vertex AI" authors = ["Leonid Kuligin"] readme = "README.md" [tool.poetry.dependencies] python = ">=3.8.1,<4.0" langchain = "^0.1" google-cloud-aiplatform = "^1.35.0" [tool.poetry.group.dev.dependencies] lang...
langchain/templates/rag-matching-engine/pyproject.toml/0
{ "file_path": "langchain/templates/rag-matching-engine/pyproject.toml", "repo_id": "langchain", "token_count": 287 }
734
import type { BaseLanguageModelInterface } from "@langchain/core/language_models/base"; import { BaseChain, ChainInputs } from "langchain/chains"; import { BasePromptTemplate, PromptTemplate } from "@langchain/core/prompts"; import { CallbackManagerForChainRun } from "@langchain/core/callbacks/manager"; import { ChainV...
langchainjs/examples/src/chains/advanced_subclass_call.ts/0
{ "file_path": "langchainjs/examples/src/chains/advanced_subclass_call.ts", "repo_id": "langchainjs", "token_count": 667 }
817