text
stringlengths
3
1.68M
id
stringlengths
13
169
metadata
dict
__index_level_0__
int64
0
2.21k
<jupyter_start><jupyter_text>🚀 RAG/LLM Evaluators - DeepEvalThis code tutorial shows how you can easily integrate DeepEval with LlamaIndex. DeepEval makes it easy to unit-test your RAG/LLMs.You can read more about the DeepEval framework here: https://docs.confident-ai.com/docs/getting-startedFeel free to check out our...
llama_index/docs/examples/evaluation/Deepeval.ipynb/0
{ "file_path": "llama_index/docs/examples/evaluation/Deepeval.ipynb", "repo_id": "llama_index", "token_count": 775 }
1,080
from typing import Any, Dict, List, Optional, Tuple from copy import deepcopy from presidio_anonymizer.operators import Operator, OperatorType from llama_index.core.postprocessor.types import BaseNodePostprocessor from llama_index.core.schema import MetadataMode, NodeWithScore, QueryBundle from presidio_analyzer impo...
llama_index/llama-index-integrations/postprocessor/llama-index-postprocessor-presidio/llama_index/postprocessor/presidio/base.py/0
{ "file_path": "llama_index/llama-index-integrations/postprocessor/llama-index-postprocessor-presidio/llama_index/postprocessor/presidio/base.py", "repo_id": "llama_index", "token_count": 1744 }
1,251
use std::sync::Arc; use std::{fmt::Debug, sync::RwLock}; use super::config::{CustomResourceMemberlistProviderConfig, MemberlistProviderConfig}; use crate::system::{Receiver, Sender}; use crate::{ config::{Configurable, WorkerConfig}, errors::{ChromaError, ErrorCodes}, system::{Component, ComponentContext, ...
chroma/rust/worker/src/memberlist/memberlist_provider.rs/0
{ "file_path": "chroma/rust/worker/src/memberlist/memberlist_provider.rs", "repo_id": "chroma", "token_count": 4146 }
62
# mongo-parent-document-retrieval This template performs RAG using MongoDB and OpenAI. It does a more advanced form of RAG called Parent-Document Retrieval. In this form of retrieval, a large document is first split into medium sized chunks. From there, those medium size chunks are split into small chunks. Embeddings...
langchain/templates/mongo-parent-document-retrieval/README.md/0
{ "file_path": "langchain/templates/mongo-parent-document-retrieval/README.md", "repo_id": "langchain", "token_count": 1760 }
673
from pathlib import Path from langchain_core.documents import Document from langchain_community.document_loaders.csv_loader import CSVLoader class TestCSVLoader: # Tests that a CSV file with valid data is loaded successfully. def test_csv_loader_load_valid_data(self) -> None: # Setup file_pa...
langchain/libs/community/tests/unit_tests/document_loaders/test_csv_loader.py/0
{ "file_path": "langchain/libs/community/tests/unit_tests/document_loaders/test_csv_loader.py", "repo_id": "langchain", "token_count": 1331 }
376
import { withJsonFormsControlProps } from "@jsonforms/react"; import PlusIcon from "../assets/PlusIcon.svg?react"; import TrashIcon from "../assets/TrashIcon.svg?react"; import CodeIcon from "../assets/CodeIcon.svg?react"; import ChatIcon from "../assets/ChatIcon.svg?react"; import { rankWith, and, schemaMatches,...
langserve/langserve/playground/src/components/ChatMessagesControlRenderer.tsx/0
{ "file_path": "langserve/langserve/playground/src/components/ChatMessagesControlRenderer.tsx", "repo_id": "langserve", "token_count": 6896 }
1,086
package migration type Migration interface { // Validate if migration can be executed. For example, higher version to lower version is not allowed. Validate() error // CheckCompatible check if target is compatible with source. If compatible, no migration should be executed. CheckCompatible() bool // CheckSessions...
milvus/cmd/tools/migration/migration/migration.go/0
{ "file_path": "milvus/cmd/tools/migration/migration/migration.go", "repo_id": "milvus", "token_count": 190 }
1,620
<jupyter_start><jupyter_text>Retrieval EvaluationThis notebook uses our `RetrieverEvaluator` to evaluate the quality of any Retriever module defined in LlamaIndex.We specify a set of different evaluation metrics: this includes hit-rate and MRR. For any given question, these will compare the quality of retrieved results...
llama_index/docs/examples/evaluation/retrieval/retriever_eval.ipynb/0
{ "file_path": "llama_index/docs/examples/evaluation/retrieval/retriever_eval.ipynb", "repo_id": "llama_index", "token_count": 1657 }
1,102
# coding=utf-8 # Copyright 2021 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/sew_d/test_modeling_sew_d.py/0
{ "file_path": "transformers/tests/models/sew_d/test_modeling_sew_d.py", "repo_id": "transformers", "token_count": 10461 }
750
import os if os.environ.get("PEFT_DEBUG_WITH_TORCH_COMPILE") == "1": # This is a hack purely for debugging purposes. If the environment variable PEFT_DEBUG_WITH_TORCH_COMPILE is set to # 1, get_peft_model() will return a compiled model. This way, all unit tests that use peft.get_peft_model() will # use a ...
peft/tests/__init__.py/0
{ "file_path": "peft/tests/__init__.py", "repo_id": "peft", "token_count": 302 }
323
// 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/http/server.go/0
{ "file_path": "milvus/internal/http/server.go", "repo_id": "milvus", "token_count": 1249 }
1,819
app.location$.subscribe(function() { var tables = document.querySelectorAll("article table") tables.forEach(function(table) { new Tablesort(table) }) })
pytorch-image-models/docs/javascripts/tables.js/0
{ "file_path": "pytorch-image-models/docs/javascripts/tables.js", "repo_id": "pytorch-image-models", "token_count": 52 }
354
search_performance: collections: - milvus: db_config.primary_path: /test/milvus/db_data_011/sift_10w_128_l2_sq8 cache_config.cpu_cache_capacity: 150GB engine_config.use_blas_threshold: 0 engine_config.gpu_search_threshold: 200 gpu_resource_config.enable: true ...
milvus/tests/benchmark/milvus_benchmark/suites/2_cpu_search.yaml/0
{ "file_path": "milvus/tests/benchmark/milvus_benchmark/suites/2_cpu_search.yaml", "repo_id": "milvus", "token_count": 417 }
1,971
// Copyright (C) 2019-2020 Zilliz. 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 l...
milvus/internal/core/src/query/generated/ExecExprVisitor.h/0
{ "file_path": "milvus/internal/core/src/query/generated/ExecExprVisitor.h", "repo_id": "milvus", "token_count": 3086 }
1,879
from dataclasses import dataclass from typing import Dict, Optional, Tuple, Union import torch import torch.nn as nn from ...configuration_utils import ConfigMixin, register_to_config from ...loaders import UNet2DConditionLoadersMixin from ...utils import BaseOutput, logging from ..attention_processor import CROSS_AT...
diffusers/src/diffusers/models/unets/unet_spatio_temporal_condition.py/0
{ "file_path": "diffusers/src/diffusers/models/unets/unet_spatio_temporal_condition.py", "repo_id": "diffusers", "token_count": 9881 }
248
# Query Engine ## Concept Query engine is a generic interface that allows you to ask question over your data. A query engine takes in a natural language query, and returns a rich response. It is most often (but not always) built on one or many [indexes](/module_guides/indexing/indexing.md) via [retrievers](/module_g...
llama_index/docs/module_guides/deploying/query_engine/root.md/0
{ "file_path": "llama_index/docs/module_guides/deploying/query_engine/root.md", "repo_id": "llama_index", "token_count": 374 }
1,224
import { LlamaModel, LlamaContext, LlamaChatSession } from "node-llama-cpp"; /** * Note that the modelPath is the only required parameter. For testing you * can set this in the environment variable `LLAMA_PATH`. */ export interface LlamaBaseCppInputs { /** Prompt processing batch size. */ batchSize?: number; ...
langchainjs/libs/langchain-community/src/utils/llama_cpp.ts/0
{ "file_path": "langchainjs/libs/langchain-community/src/utils/llama_cpp.ts", "repo_id": "langchainjs", "token_count": 838 }
1,011
// 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/repack_func.go/0
{ "file_path": "milvus/internal/proxy/repack_func.go", "repo_id": "milvus", "token_count": 949 }
1,820
import os from langchain_community.chat_models import ChatOpenAI from langchain_community.embeddings import OpenAIEmbeddings from langchain_community.vectorstores.opensearch_vector_search import ( OpenSearchVectorSearch, ) from langchain_core.output_parsers import StrOutputParser from langchain_core.prompts import...
langchain/templates/rag-opensearch/rag_opensearch/chain.py/0
{ "file_path": "langchain/templates/rag-opensearch/rag_opensearch/chain.py", "repo_id": "langchain", "token_count": 618 }
724
"""Langchain Embedding Wrapper Module.""" from typing import TYPE_CHECKING, List, Optional from llama_index.legacy.bridge.pydantic import PrivateAttr from llama_index.legacy.callbacks import CallbackManager from llama_index.legacy.core.embeddings.base import ( DEFAULT_EMBED_BATCH_SIZE, BaseEmbedding, ) if TY...
llama_index/llama-index-legacy/llama_index/legacy/embeddings/langchain.py/0
{ "file_path": "llama_index/llama-index-legacy/llama_index/legacy/embeddings/langchain.py", "repo_id": "llama_index", "token_count": 1354 }
1,558
from langchain_community.agent_toolkits.openapi.planner_prompt import ( API_CONTROLLER_PROMPT, API_CONTROLLER_TOOL_DESCRIPTION, API_CONTROLLER_TOOL_NAME, API_ORCHESTRATOR_PROMPT, API_PLANNER_PROMPT, API_PLANNER_TOOL_DESCRIPTION, API_PLANNER_TOOL_NAME, PARSING_DELETE_PROMPT, PARSING_G...
langchain/libs/langchain/langchain/agents/agent_toolkits/openapi/planner_prompt.py/0
{ "file_path": "langchain/libs/langchain/langchain/agents/agent_toolkits/openapi/planner_prompt.py", "repo_id": "langchain", "token_count": 597 }
480
from __future__ import annotations from typing import ( TYPE_CHECKING, Any, AsyncIterator, Iterator, Optional, Union, ) from langchain_core.messages import BaseMessage, BaseMessageChunk from langchain_core.output_parsers.base import BaseOutputParser, T from langchain_core.outputs import ( ...
langchain/libs/core/langchain_core/output_parsers/transform.py/0
{ "file_path": "langchain/libs/core/langchain_core/output_parsers/transform.py", "repo_id": "langchain", "token_count": 2030 }
403
@tailwind base; @tailwind components; @tailwind utilities; html, body, #root { height: 100%; } body { background: #f5f5f5; }
opengpts/frontend/src/index.css/0
{ "file_path": "opengpts/frontend/src/index.css", "repo_id": "opengpts", "token_count": 53 }
2,205
# 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/others/test_training.py/0
{ "file_path": "diffusers/tests/others/test_training.py", "repo_id": "diffusers", "token_count": 1481 }
275
// Copyright (C) 2019-2020 Zilliz. 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 l...
milvus/internal/core/unittest/test_minio_chunk_manager.cpp/0
{ "file_path": "milvus/internal/core/unittest/test_minio_chunk_manager.cpp", "repo_id": "milvus", "token_count": 4870 }
1,819
// 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/storage/minio_chunk_manager_test.go/0
{ "file_path": "milvus/internal/storage/minio_chunk_manager_test.go", "repo_id": "milvus", "token_count": 7206 }
2,065
from langchain_community.document_loaders.arcgis_loader import ( ArcGISLoader, ) __all__ = ["ArcGISLoader"]
langchain/libs/langchain/langchain/document_loaders/arcgis_loader.py/0
{ "file_path": "langchain/libs/langchain/langchain/document_loaders/arcgis_loader.py", "repo_id": "langchain", "token_count": 42 }
501
from llama_index.core.readers.base import BaseReader from llama_index.readers.sec_filings import SECFilingsLoader def test_class(): names_of_base_classes = [b.__name__ for b in SECFilingsLoader.__mro__] assert BaseReader.__name__ in names_of_base_classes
llama_index/llama-index-integrations/readers/llama-index-readers-sec-filings/tests/test_readers_sec_filings.py/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-sec-filings/tests/test_readers_sec_filings.py", "repo_id": "llama_index", "token_count": 92 }
1,519
"""AwaDB vector store index. An index that is built on top of an existing vector store. """ import logging import uuid from typing import Any, List, Optional, Set from llama_index.legacy.schema import BaseNode, MetadataMode, TextNode from llama_index.legacy.vector_stores.types import ( VectorStore, VectorSt...
llama_index/llama-index-legacy/llama_index/legacy/vector_stores/awadb.py/0
{ "file_path": "llama_index/llama-index-legacy/llama_index/legacy/vector_stores/awadb.py", "repo_id": "llama_index", "token_count": 3000 }
1,621
package logutil import ( "testing" "github.com/stretchr/testify/assert" "go.uber.org/zap" "go.uber.org/zap/zapcore" "github.com/milvus-io/milvus/pkg/log" ) func TestName(t *testing.T) { conf := &log.Config{Level: "debug", DisableTimestamp: true} logger, _, _ := log.InitTestLogger(t, conf, zap.AddCallerSkip(1...
milvus/pkg/util/logutil/logutil_test.go/0
{ "file_path": "milvus/pkg/util/logutil/logutil_test.go", "repo_id": "milvus", "token_count": 294 }
1,974
# coding=utf-8 # Copyright 2023 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/dinov2/test_modeling_dinov2.py/0
{ "file_path": "transformers/tests/models/dinov2/test_modeling_dinov2.py", "repo_id": "transformers", "token_count": 5087 }
757
# Supabase Langchain supports using Supabase Postgres database as a vector store, using the `pgvector` postgres extension. Refer to the [Supabase blog post](https://supabase.com/blog/openai-embeddings-postgres-vector) for more information. ## Setup ### Install the library with ```bash npm2yarn npm install -S @supab...
langchainjs/docs/core_docs/docs/integrations/vectorstores/supabase.mdx/0
{ "file_path": "langchainjs/docs/core_docs/docs/integrations/vectorstores/supabase.mdx", "repo_id": "langchainjs", "token_count": 1194 }
720
import os import tempfile from unittest import TestCase import numpy as np import pandas as pd import pytest from datasets import load_from_disk from datasets.arrow_dataset import Dataset from datasets.dataset_dict import DatasetDict, IterableDatasetDict from datasets.features import ClassLabel, Features, Sequence, V...
datasets/tests/test_dataset_dict.py/0
{ "file_path": "datasets/tests/test_dataset_dict.py", "repo_id": "datasets", "token_count": 17402 }
155
<!--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 required by applicable law or agreed...
transformers/docs/source/ja/model_doc/barthez.md/0
{ "file_path": "transformers/docs/source/ja/model_doc/barthez.md", "repo_id": "transformers", "token_count": 1461 }
526
import os from langchain.text_splitter import RecursiveCharacterTextSplitter from langchain_community.document_loaders import JSONLoader from langchain_community.embeddings import HuggingFaceEmbeddings from langchain_community.vectorstores.elasticsearch import ElasticsearchStore ELASTIC_CLOUD_ID = os.getenv("ELASTIC_...
langchain/templates/rag-elasticsearch/ingest.py/0
{ "file_path": "langchain/templates/rag-elasticsearch/ingest.py", "repo_id": "langchain", "token_count": 629 }
695
# candle-stable-diffusion: A Diffusers API in Rust/Candle ![rusty robot holding a candle](./assets/stable-diffusion-xl.jpg) _A rusty robot holding a fire torch in its hand_, generated by Stable Diffusion XL using Rust and [candle](https://github.com/huggingface/candle). The `stable-diffusion` example is a conversion...
candle/candle-examples/examples/stable-diffusion/README.md/0
{ "file_path": "candle/candle-examples/examples/stable-diffusion/README.md", "repo_id": "candle", "token_count": 917 }
48
import { expect, test } from "@jest/globals"; import { AdminClient } from "../src/AdminClient"; import adminClient from "./initAdminClient"; test("it should create the admin client connection", async () => { expect(adminClient).toBeDefined(); expect(adminClient).toBeInstanceOf(AdminClient); }); test("it shoul...
chroma/clients/js/test/admin.test.ts/0
{ "file_path": "chroma/clients/js/test/admin.test.ts", "repo_id": "chroma", "token_count": 667 }
33
from llama_index.packs.fuzzy_citation.base import FuzzyCitationEnginePack __all__ = ["FuzzyCitationEnginePack"]
llama_index/llama-index-packs/llama-index-packs-fuzzy-citation/llama_index/packs/fuzzy_citation/__init__.py/0
{ "file_path": "llama_index/llama-index-packs/llama-index-packs-fuzzy-citation/llama_index/packs/fuzzy_citation/__init__.py", "repo_id": "llama_index", "token_count": 40 }
1,704
from langchain.schema.runnable.fallbacks import __all__ EXPECTED_ALL = ["RunnableWithFallbacks"] def test_all_imports() -> None: assert set(__all__) == set(EXPECTED_ALL)
langchain/libs/langchain/tests/unit_tests/schema/runnable/test_fallbacks.py/0
{ "file_path": "langchain/libs/langchain/tests/unit_tests/schema/runnable/test_fallbacks.py", "repo_id": "langchain", "token_count": 67 }
650
# 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 required by applicabl...
transformers/examples/legacy/seq2seq/train_mbart_cc25_enro.sh/0
{ "file_path": "transformers/examples/legacy/seq2seq/train_mbart_cc25_enro.sh", "repo_id": "transformers", "token_count": 501 }
547
# GPT4All This page covers how to use the `GPT4All` wrapper within LangChain. The tutorial is divided into two parts: installation and setup, followed by usage with an example. ## Installation and Setup - Install the Python package with `pip install gpt4all` - Download a [GPT4All model](https://gpt4all.io/index.html...
langchain/docs/docs/integrations/providers/gpt4all.mdx/0
{ "file_path": "langchain/docs/docs/integrations/providers/gpt4all.mdx", "repo_id": "langchain", "token_count": 609 }
141
from llama_index.vector_stores.jaguar.base import JaguarVectorStore __all__ = ["JaguarVectorStore"]
llama_index/llama-index-integrations/vector_stores/llama-index-vector-stores-jaguar/llama_index/vector_stores/jaguar/__init__.py/0
{ "file_path": "llama_index/llama-index-integrations/vector_stores/llama-index-vector-stores-jaguar/llama_index/vector_stores/jaguar/__init__.py", "repo_id": "llama_index", "token_count": 33 }
1,519
<jupyter_start><jupyter_text>Discord>[Discord](https://discord.com/) is a VoIP and instant messaging social platform. Users have the ability to communicate with voice calls, video calls, text messaging, media and files in private chats or as part of communities called "servers". A server is a collection of persistent c...
langchain/docs/docs/integrations/document_loaders/discord.ipynb/0
{ "file_path": "langchain/docs/docs/integrations/document_loaders/discord.ipynb", "repo_id": "langchain", "token_count": 430 }
105
# coding=utf-8 # Copyright 2018 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/src/transformers/models/rembert/convert_rembert_tf_checkpoint_to_pytorch.py/0
{ "file_path": "transformers/src/transformers/models/rembert/convert_rembert_tf_checkpoint_to_pytorch.py", "repo_id": "transformers", "token_count": 775 }
687
<!--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 applicable law or agreed...
transformers/docs/source/en/model_doc/altclip.md/0
{ "file_path": "transformers/docs/source/en/model_doc/altclip.md", "repo_id": "transformers", "token_count": 1400 }
476
package grpccoordinator import ( "github.com/chroma/chroma-coordinator/internal/common" "github.com/chroma/chroma-coordinator/internal/model" "github.com/chroma/chroma-coordinator/internal/proto/coordinatorpb" "github.com/chroma/chroma-coordinator/internal/types" "github.com/pingcap/log" "go.uber.org/zap" ) fun...
chroma/go/coordinator/internal/grpccoordinator/proto_model_convert.go/0
{ "file_path": "chroma/go/coordinator/internal/grpccoordinator/proto_model_convert.go", "repo_id": "chroma", "token_count": 2738 }
43
import os from typing import List import faiss import numpy as np import torch from datasets import Dataset, load_dataset from PIL import Image from transformers import CLIPFeatureExtractor, CLIPModel, PretrainedConfig from diffusers import logging logger = logging.get_logger(__name__) # pylint: disable=invalid-na...
diffusers/examples/research_projects/rdm/retriever.py/0
{ "file_path": "diffusers/examples/research_projects/rdm/retriever.py", "repo_id": "diffusers", "token_count": 3959 }
221
"""A mock Robot server.""" from enum import Enum from typing import Any, Dict, List, Optional, Union from uuid import uuid4 import uvicorn from fastapi import FastAPI, HTTPException, Query from fastapi.middleware.cors import CORSMiddleware from fastapi.openapi.utils import get_openapi from langchain_core.pydantic_v1 i...
langchain/libs/langchain/tests/mock_servers/robot/server.py/0
{ "file_path": "langchain/libs/langchain/tests/mock_servers/robot/server.py", "repo_id": "langchain", "token_count": 2228 }
589
import json from typing import Any, AsyncIterator, Dict, Iterator, List, Optional from aiohttp import ClientSession from langchain_core.callbacks import ( AsyncCallbackManagerForLLMRun, CallbackManagerForLLMRun, ) from langchain_core.language_models.chat_models import ( BaseChatModel, agenerate_from_st...
langchain/libs/community/langchain_community/chat_models/edenai.py/0
{ "file_path": "langchain/libs/community/langchain_community/chat_models/edenai.py", "repo_id": "langchain", "token_count": 5959 }
238
# 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/text_to_video_synthesis/test_text_to_video.py/0
{ "file_path": "diffusers/tests/pipelines/text_to_video_synthesis/test_text_to_video.py", "repo_id": "diffusers", "token_count": 3406 }
278
from langchain_community.llms.ollama import ( Ollama, ) __all__ = ["Ollama"]
langchain/libs/langchain/langchain/llms/ollama.py/0
{ "file_path": "langchain/libs/langchain/langchain/llms/ollama.py", "repo_id": "langchain", "token_count": 35 }
518
use std::error::Error; use vergen::EmitBuilder; fn main() -> Result<(), Box<dyn Error>> { // Try to get the git sha from the local git repository if EmitBuilder::builder() .fail_on_error() .git_sha(false) .emit() .is_err() { // Unable to get the git sha if le...
text-generation-inference/router/build.rs/0
{ "file_path": "text-generation-inference/router/build.rs", "repo_id": "text-generation-inference", "token_count": 324 }
410
poetry_requirements( name="poetry", )
llama_index/llama-index-integrations/readers/llama-index-readers-notion/BUILD/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-notion/BUILD", "repo_id": "llama_index", "token_count": 18 }
1,391
<!--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 applicable law or agreed...
transformers/docs/source/zh/run_scripts.md/0
{ "file_path": "transformers/docs/source/zh/run_scripts.md", "repo_id": "transformers", "token_count": 8240 }
539
package indexcgowrapper import ( "strconv" "testing" "github.com/stretchr/testify/assert" "github.com/milvus-io/milvus-proto/go-api/v2/schemapb" "github.com/milvus-io/milvus/pkg/common" "github.com/milvus-io/milvus/pkg/util/metric" ) const ( // index type IndexFaissIDMap = "FLAT" IndexFaissIVFFlat ...
milvus/internal/util/indexcgowrapper/index_test.go/0
{ "file_path": "milvus/internal/util/indexcgowrapper/index_test.go", "repo_id": "milvus", "token_count": 4159 }
2,023
# Azure Computer Vision Tool This tool connects to a Azure account and allows an Agent to perform a variety of computer vision tasks on image urls. You will need to set up an api key and computer vision instance using Azure, learn more here: https://azure.microsoft.com/en-ca/products/cognitive-services/computer-visio...
llama_index/llama-index-integrations/tools/llama-index-tools-azure-cv/README.md/0
{ "file_path": "llama_index/llama-index-integrations/tools/llama-index-tools-azure-cv/README.md", "repo_id": "llama_index", "token_count": 424 }
1,470
--- sidebar_position: 5 sidebar_class_name: hidden --- # Callbacks :::info Head to [Integrations](/docs/integrations/callbacks/) for documentation on built-in callbacks integrations with 3rd-party tools. ::: LangChain provides a callbacks system that allows you to hook into the various stages of your LLM application....
langchain/docs/docs/modules/callbacks/index.mdx/0
{ "file_path": "langchain/docs/docs/modules/callbacks/index.mdx", "repo_id": "langchain", "token_count": 1950 }
187
# Quiz The best way to learn and [to avoid the illusion of competence](https://www.coursera.org/lecture/learning-how-to-learn/illusions-of-competence-BuFzf) **is to test yourself.** This will help you to find **where you need to reinforce your knowledge**. ### Q1: Which of the following interpretations of bias-varia...
deep-rl-class/units/en/unit6/quiz.mdx/0
{ "file_path": "deep-rl-class/units/en/unit6/quiz.mdx", "repo_id": "deep-rl-class", "token_count": 1508 }
162
#include <stdio.h> #include <assert.h> #include "ATen/ATen.h" #define MIN_VALUE (-1e38) typedef at::BFloat16 bf16; __global__ void kernel_forward_bf16( const int B, const int T, const int C, const float *__restrict__ const _w, const bf16 *__restrict__ const _u, const bf16 *__restrict__ const _k, const bf16 *__...
transformers/src/transformers/kernels/rwkv/wkv_cuda_bf16.cu/0
{ "file_path": "transformers/src/transformers/kernels/rwkv/wkv_cuda_bf16.cu", "repo_id": "transformers", "token_count": 3302 }
558
# coding=utf-8 # 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 requir...
transformers/tests/models/dit/test_modeling_dit.py/0
{ "file_path": "transformers/tests/models/dit/test_modeling_dit.py", "repo_id": "transformers", "token_count": 744 }
780
<!--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/using-diffusers/reusing_seeds.md/0
{ "file_path": "diffusers/docs/source/en/using-diffusers/reusing_seeds.md", "repo_id": "diffusers", "token_count": 1099 }
192
import logging import os from datetime import datetime from typing import List, Optional from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document logger = logging.getLogger(__name__) class ZulipReader(BaseReader): """Zulip reader.""" def __init__( self, ...
llama_index/llama-index-integrations/readers/llama-index-readers-zulip/llama_index/readers/zulip/base.py/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-zulip/llama_index/readers/zulip/base.py", "repo_id": "llama_index", "token_count": 1039 }
1,444
<jupyter_start><jupyter_text>Huggingface Sagemaker-sdk - Deploy 🤗 Transformers for inference Welcome to this getting started guide, we will use the new Hugging Face Inference DLCs and Amazon SageMaker Python SDK to deploy a transformer model for inference. In this example we directly deploy one of the 10 000+ Hugging...
notebooks/sagemaker/11_deploy_model_from_hf_hub/deploy_transformer_model_from_hf_hub.ipynb/0
{ "file_path": "notebooks/sagemaker/11_deploy_model_from_hf_hub/deploy_transformer_model_from_hf_hub.ipynb", "repo_id": "notebooks", "token_count": 1196 }
330
# Blackboard >[Blackboard Learn](https://en.wikipedia.org/wiki/Blackboard_Learn) (previously the `Blackboard Learning Management System`) > is a web-based virtual learning environment and learning management system developed by Blackboard Inc. > The software features course management, customizable open architecture,...
langchain/docs/docs/integrations/providers/blackboard.mdx/0
{ "file_path": "langchain/docs/docs/integrations/providers/blackboard.mdx", "repo_id": "langchain", "token_count": 233 }
139
# Copyright 2021 The HuggingFace Authors. # # 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 to...
datasets/src/datasets/formatting/jax_formatter.py/0
{ "file_path": "datasets/src/datasets/formatting/jax_formatter.py", "repo_id": "datasets", "token_count": 2858 }
132
from unittest.mock import MagicMock, patch import pytest from llama_index.agent.openai.openai_assistant_agent import ( OpenAIAssistantAgent, acall_function, ) from llama_index.core.llms import ChatMessage from llama_index.core.tools import FunctionTool, ToolOutput import openai from openai.types.beta.threads....
llama_index/llama-index-integrations/agent/llama-index-agent-openai/tests/test_openai_assistant_agent.py/0
{ "file_path": "llama_index/llama-index-integrations/agent/llama-index-agent-openai/tests/test_openai_assistant_agent.py", "repo_id": "llama_index", "token_count": 743 }
1,260
<jupyter_start><jupyter_text>Generating images and text with UniDiffuserUniDiffuser was introduced in [One Transformer Fits All Distributions in Multi-Modal Diffusion at Scale](https://arxiv.org/abs/2303.06555).In this notebook, we will show how the [UniDiffuser pipeline](https://huggingface.co/docs/diffusers/api/pipel...
notebooks/diffusers/unidiffuser.ipynb/0
{ "file_path": "notebooks/diffusers/unidiffuser.ipynb", "repo_id": "notebooks", "token_count": 2196 }
278
# Tools ## Concept Having proper tool abstractions is at the core of building [data agents](/module_guides/deploying/agents/root.md). Defining a set of Tools is similar to defining any API interface, with the exception that these Tools are meant for agent rather than human use. We allow users to define both a **Tool*...
llama_index/docs/module_guides/deploying/agents/tools/root.md/0
{ "file_path": "llama_index/docs/module_guides/deploying/agents/tools/root.md", "repo_id": "llama_index", "token_count": 684 }
1,223
{ "details": { "best_of_sequences": null, "finish_reason": "length", "generated_tokens": 10, "prefill": [ { "id": 50, "logprob": null, "text": "G" }, { "id": 330, "logprob": -5.96875, "text": "ir" }, { "id": 1622, ...
text-generation-inference/integration-tests/models/__snapshots__/test_flash_falcon/test_flash_falcon.json/0
{ "file_path": "text-generation-inference/integration-tests/models/__snapshots__/test_flash_falcon/test_flash_falcon.json", "repo_id": "text-generation-inference", "token_count": 4604 }
392
# coding=utf-8 # Copyright 2020 The HuggingFace Team 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 clone of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
transformers/tests/generation/test_utils.py/0
{ "file_path": "transformers/tests/generation/test_utils.py", "repo_id": "transformers", "token_count": 75449 }
727
python_sources()
llama_index/llama-index-core/llama_index/core/ingestion/BUILD/0
{ "file_path": "llama_index/llama-index-core/llama_index/core/ingestion/BUILD", "repo_id": "llama_index", "token_count": 6 }
1,134
### Motivation Without processing, english-> romanian mbart-large-en-ro gets BLEU score 26.8 on the WMT data. With post processing, it can score 37.. Here is the postprocessing code, stolen from @mjpost in this [issue](https://github.com/pytorch/fairseq/issues/1758) ### Instructions Note: You need to have your test_...
transformers/examples/legacy/seq2seq/romanian_postprocessing.md/0
{ "file_path": "transformers/examples/legacy/seq2seq/romanian_postprocessing.md", "repo_id": "transformers", "token_count": 723 }
525
import os from langchain.text_splitter import RecursiveCharacterTextSplitter from langchain_community.document_loaders import JSONLoader from langchain_community.embeddings import OpenAIEmbeddings from langchain_community.vectorstores import ElasticsearchStore ELASTIC_CLOUD_ID = os.getenv("ELASTIC_CLOUD_ID") ELASTIC_...
langchain/templates/rag-self-query/ingest.py/0
{ "file_path": "langchain/templates/rag-self-query/ingest.py", "repo_id": "langchain", "token_count": 628 }
706
// Code generated by mockery v2.32.4. DO NOT EDIT. package proxy import ( context "context" grpc "google.golang.org/grpc" mock "github.com/stretchr/testify/mock" rootcoordpb "github.com/milvus-io/milvus/internal/proto/rootcoordpb" ) // mockTimestampAllocator is an autogenerated mock type for the timestampAllo...
milvus/internal/proxy/mock_tso_test.go/0
{ "file_path": "milvus/internal/proxy/mock_tso_test.go", "repo_id": "milvus", "token_count": 1453 }
1,818
<jupyter_start><jupyter_text>Google FinanceThis notebook goes over how to use the Google Finance Tool to get information from the Google Finance pageTo get an SerpApi key key, sign up at: https://serpapi.com/users/sign_up.Then install google-search-results with the command: pip install google-search-resultsThen set the...
langchain/docs/docs/integrations/tools/google_finance.ipynb/0
{ "file_path": "langchain/docs/docs/integrations/tools/google_finance.ipynb", "repo_id": "langchain", "token_count": 425 }
183
python_sources()
llama_index/llama-index-legacy/llama_index/legacy/response_synthesizers/BUILD/0
{ "file_path": "llama_index/llama-index-legacy/llama_index/legacy/response_synthesizers/BUILD", "repo_id": "llama_index", "token_count": 6 }
1,638
#! /bin/bash REPOSITORY_ID="langchain" GRAPHDB_URI="http://localhost:7200/" echo -e "\nUsing GraphDB: ${GRAPHDB_URI}" function startGraphDB { echo -e "\nStarting GraphDB..." exec /opt/graphdb/dist/bin/graphdb } function waitGraphDBStart { echo -e "\nWaiting GraphDB to start..." for _ in $(seq 1 5); do CHEC...
langchain/libs/community/tests/integration_tests/graphs/docker-compose-ontotext-graphdb/graphdb_create.sh/0
{ "file_path": "langchain/libs/community/tests/integration_tests/graphs/docker-compose-ontotext-graphdb/graphdb_create.sh", "repo_id": "langchain", "token_count": 341 }
333
<script lang="ts"> import type { PageData } from "./$types"; import { PUBLIC_APP_ASSETS, PUBLIC_ORIGIN } from "$env/static/public"; import { isHuggingChat } from "$lib/utils/isHuggingChat"; import { goto } from "$app/navigation"; import { base } from "$app/paths"; import { page } from "$app/stores"; import Ca...
chat-ui/src/routes/assistants/+page.svelte/0
{ "file_path": "chat-ui/src/routes/assistants/+page.svelte", "repo_id": "chat-ui", "token_count": 3270 }
100
# coding=utf-8 # 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/...
transformers/src/transformers/models/speech_to_text/modeling_speech_to_text.py/0
{ "file_path": "transformers/src/transformers/models/speech_to_text/modeling_speech_to_text.py", "repo_id": "transformers", "token_count": 28147 }
744
import json from typing import List from langchain_core.chat_history import BaseChatMessageHistory from langchain_core.messages import ( BaseMessage, message_to_dict, messages_from_dict, ) class XataChatMessageHistory(BaseChatMessageHistory): """Chat message history stored in a Xata database.""" ...
langchain/libs/community/langchain_community/chat_message_histories/xata.py/0
{ "file_path": "langchain/libs/community/langchain_community/chat_message_histories/xata.py", "repo_id": "langchain", "token_count": 2477 }
224
package common import ( "testing" "github.com/stretchr/testify/assert" ) func TestIsSystemField(t *testing.T) { type args struct { fieldID int64 } tests := []struct { name string args args want bool }{ { args: args{fieldID: StartOfUserFieldID}, want: false, }, { args: args{fieldID: Start...
milvus/pkg/common/common_test.go/0
{ "file_path": "milvus/pkg/common/common_test.go", "repo_id": "milvus", "token_count": 303 }
1,947
// Copyright (C) 2019-2020 Zilliz. 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 l...
milvus/internal/core/unittest/test_utils/GenExprProto.h/0
{ "file_path": "milvus/internal/core/unittest/test_utils/GenExprProto.h", "repo_id": "milvus", "token_count": 794 }
1,907
# 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/megatron_gpt2/test_modeling_megatron_gpt2.py/0
{ "file_path": "transformers/tests/models/megatron_gpt2/test_modeling_megatron_gpt2.py", "repo_id": "transformers", "token_count": 1284 }
740
# coding=utf-8 # Copyright 2020 The SqueezeBert 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 # # U...
transformers/src/transformers/models/squeezebert/configuration_squeezebert.py/0
{ "file_path": "transformers/src/transformers/models/squeezebert/configuration_squeezebert.py", "repo_id": "transformers", "token_count": 3050 }
747
from typing import List, Tuple from langchain.agents import AgentExecutor from langchain.agents.format_scratchpad import format_xml from langchain.schema import AIMessage, HumanMessage from langchain.tools import DuckDuckGoSearchRun from langchain.tools.render import render_text_description from langchain_community.ch...
langchain/templates/xml-agent/xml_agent/agent.py/0
{ "file_path": "langchain/templates/xml-agent/xml_agent/agent.py", "repo_id": "langchain", "token_count": 563 }
708
import os import pytest from langchain.retrievers.document_compressors import CohereRerank os.environ["COHERE_API_KEY"] = "foo" @pytest.mark.requires("cohere") def test_init() -> None: CohereRerank() CohereRerank( top_n=5, model="rerank-english_v2.0", cohere_api_key="foo", user_agent="bar" )
langchain/libs/langchain/tests/unit_tests/retrievers/document_compressors/test_cohere_rerank.py/0
{ "file_path": "langchain/libs/langchain/tests/unit_tests/retrievers/document_compressors/test_cohere_rerank.py", "repo_id": "langchain", "token_count": 136 }
629
"""Chain for interacting with Elasticsearch Database.""" from __future__ import annotations from typing import TYPE_CHECKING, Any, Dict, List, Optional from langchain_core.callbacks import CallbackManagerForChainRun from langchain_core.language_models import BaseLanguageModel from langchain_core.output_parsers import...
langchain/libs/langchain/langchain/chains/elasticsearch_database/base.py/0
{ "file_path": "langchain/libs/langchain/langchain/chains/elasticsearch_database/base.py", "repo_id": "langchain", "token_count": 3555 }
502
poetry_requirements( name="poetry", )
llama_index/llama-index-integrations/readers/llama-index-readers-weaviate/BUILD/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-weaviate/BUILD", "repo_id": "llama_index", "token_count": 18 }
1,392
import os ELASTIC_CLOUD_ID = os.getenv("ELASTIC_CLOUD_ID") ELASTIC_USERNAME = os.getenv("ELASTIC_USERNAME", "elastic") ELASTIC_PASSWORD = os.getenv("ELASTIC_PASSWORD") ES_URL = os.getenv("ES_URL", "http://localhost:9200") if ELASTIC_CLOUD_ID and ELASTIC_USERNAME and ELASTIC_PASSWORD: es_connection_details = { ...
langchain/templates/rag-elasticsearch/rag_elasticsearch/connection.py/0
{ "file_path": "langchain/templates/rag-elasticsearch/rag_elasticsearch/connection.py", "repo_id": "langchain", "token_count": 230 }
730
import * as uuid from "uuid"; import { MilvusClient, DataType, DataTypeMap, ErrorCode, FieldType, ClientConfig, InsertReq, } from "@zilliz/milvus2-sdk-node"; import type { EmbeddingsInterface } from "@langchain/core/embeddings"; import { VectorStore } from "@langchain/core/vectorstores"; import { Documen...
langchainjs/libs/langchain-community/src/vectorstores/milvus.ts/0
{ "file_path": "langchainjs/libs/langchain-community/src/vectorstores/milvus.ts", "repo_id": "langchainjs", "token_count": 8176 }
1,023
{ "extends": "@tsconfig/recommended", "compilerOptions": { "target": "ES2021", "lib": [ "ES2021", "ES2022.Object", "DOM" ], "module": "ES2020", "moduleResolution": "nodenext", "esModuleInterop": true, "declaration": true, "noImplicitReturns": true, "noFallthroug...
langsmith-sdk/js/tsconfig.json/0
{ "file_path": "langsmith-sdk/js/tsconfig.json", "repo_id": "langsmith-sdk", "token_count": 405 }
1,069
from llama_index.core.storage.kvstore.types import BaseKVStore from llama_index.storage.kvstore.postgres import PostgresKVStore def test_class(): names_of_base_classes = [b.__name__ for b in PostgresKVStore.__mro__] assert BaseKVStore.__name__ in names_of_base_classes
llama_index/llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-postgres/tests/test_storage_kvstore_postgres.py/0
{ "file_path": "llama_index/llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-postgres/tests/test_storage_kvstore_postgres.py", "repo_id": "llama_index", "token_count": 102 }
1,426
version: "3" services: elasticsearch: image: docker.elastic.co/elasticsearch/elasticsearch:8.9.0 # https://www.docker.elastic.co/r/elasticsearch/elasticsearch environment: - discovery.type=single-node - xpack.security.enabled=false # security has been disabled, so no login or password is required...
langchain/libs/community/tests/integration_tests/vectorstores/docker-compose/elasticsearch.yml/0
{ "file_path": "langchain/libs/community/tests/integration_tests/vectorstores/docker-compose/elasticsearch.yml", "repo_id": "langchain", "token_count": 453 }
386
from llama_index.readers.joplin.base import ( LINK_NOTE_TEMPLATE, JoplinReader, ) __all__ = ["JoplinReader", "LINK_NOTE_TEMPLATE"]
llama_index/llama-index-integrations/readers/llama-index-readers-joplin/llama_index/readers/joplin/__init__.py/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-joplin/llama_index/readers/joplin/__init__.py", "repo_id": "llama_index", "token_count": 64 }
1,370
import { CheerioWebBaseLoader } from "langchain/document_loaders/web/cheerio"; import { RecursiveCharacterTextSplitter } from "langchain/text_splitter"; import { HNSWLib } from "@langchain/community/vectorstores/hnswlib"; import { HuggingFaceTransformersEmbeddings } from "@langchain/community/embeddings/hf_transformers...
langchainjs/examples/src/use_cases/local_retrieval_qa/load_documents.ts/0
{ "file_path": "langchainjs/examples/src/use_cases/local_retrieval_qa/load_documents.ts", "repo_id": "langchainjs", "token_count": 421 }
888
from langchain_community.utilities.google_serper import GoogleSerperAPIWrapper __all__ = ["GoogleSerperAPIWrapper"]
langchain/libs/langchain/langchain/utilities/google_serper.py/0
{ "file_path": "langchain/libs/langchain/langchain/utilities/google_serper.py", "repo_id": "langchain", "token_count": 35 }
593
from candle.utils import load_safetensors, save_gguf, load_gguf from candle.models.bert import BertModel, Config import json from candle import Tensor from tqdm import tqdm from dataclasses import fields import os import time from huggingface_hub import hf_hub_download from transformers import BertTokenizer, AutoModel...
candle/candle-pyo3/e5.py/0
{ "file_path": "candle/candle-pyo3/e5.py", "repo_id": "candle", "token_count": 1778 }
61
import { getBufferString } from "@langchain/core/messages"; import { InputValues, MemoryVariables, OutputValues, } from "@langchain/core/memory"; import { BaseConversationSummaryMemory, BaseConversationSummaryMemoryInput, } from "./summary.js"; /** * Interface for the input parameters of the * Conversation...
langchainjs/langchain/src/memory/summary_buffer.ts/0
{ "file_path": "langchainjs/langchain/src/memory/summary_buffer.ts", "repo_id": "langchainjs", "token_count": 1687 }
949
# Testing new Hugging Face Deep Learning Container. This document explains the testing strategy for releasing the new Hugging Face Deep Learning Container. AWS maintains 14 days of currency with framework releases. Besides framework releases, AWS release train is bi-weekly on Monday. Code cutoff date for any changes i...
transformers/tests/sagemaker/README.md/0
{ "file_path": "transformers/tests/sagemaker/README.md", "repo_id": "transformers", "token_count": 3293 }
834
window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag("js", new Date()); gtag("config", "G-9B66JQQH2F");
langchain/docs/static/js/google_analytics.js/0
{ "file_path": "langchain/docs/static/js/google_analytics.js", "repo_id": "langchain", "token_count": 59 }
207