text
stringlengths
3
1.68M
id
stringlengths
13
169
metadata
dict
__index_level_0__
int64
0
2.21k
import { z } from "zod"; import { test, expect } from "@jest/globals"; import { convertToOpenAIFunction, convertToOpenAITool, } from "../function_calling.js"; import { FakeTool } from "../testing/index.js"; test("Can convert tool to OpenAI Functions format", async () => { const tool = new FakeTool({ name: "f...
langchainjs/langchain-core/src/utils/tests/function_calling.test.ts/0
{ "file_path": "langchainjs/langchain-core/src/utils/tests/function_calling.test.ts", "repo_id": "langchainjs", "token_count": 1556 }
876
[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 = ["AirtableReader"] contains_example = false import_path = "llama_index.readers.airtable" [...
llama_index/llama-index-integrations/readers/llama-index-readers-airtable/pyproject.toml/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-airtable/pyproject.toml", "repo_id": "llama_index", "token_count": 656 }
1,375
import { test } from "@jest/globals"; import { ChatPromptTemplate } from "@langchain/core/prompts"; import { ChatMistralAI } from "../chat_models.js"; import { MistralAIEmbeddings } from "../embeddings.js"; test("Test ChatMistralAI can invoke", async () => { const model = new ChatMistralAI(); const prompt = ChatPr...
langchainjs/libs/langchain-mistralai/src/tests/mistralai.int.test.ts/0
{ "file_path": "langchainjs/libs/langchain-mistralai/src/tests/mistralai.int.test.ts", "repo_id": "langchainjs", "token_count": 637 }
1,036
[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 = ["RankGPTRerank"] contains_example = false import_path = "llama_index.postprocessor.rankgpt...
llama_index/llama-index-integrations/postprocessor/llama-index-postprocessor-rankgpt-rerank/pyproject.toml/0
{ "file_path": "llama_index/llama-index-integrations/postprocessor/llama-index-postprocessor-rankgpt-rerank/pyproject.toml", "repo_id": "llama_index", "token_count": 646 }
1,318
# 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/tests/models/squeezebert/test_tokenization_squeezebert.py/0
{ "file_path": "transformers/tests/models/squeezebert/test_tokenization_squeezebert.py", "repo_id": "transformers", "token_count": 644 }
843
// 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/search_test.go/0
{ "file_path": "milvus/internal/querynodev2/segments/search_test.go", "repo_id": "milvus", "token_count": 1784 }
2,049
import argparse import csv import gc import os from dataclasses import dataclass from typing import Dict, List, Union import torch import torch.utils.benchmark as benchmark GITHUB_SHA = os.getenv("GITHUB_SHA", None) BENCHMARK_FIELDS = [ "pipeline_cls", "ckpt_id", "batch_size", "num_inference_steps", ...
diffusers/benchmarks/utils.py/0
{ "file_path": "diffusers/benchmarks/utils.py", "repo_id": "diffusers", "token_count": 1254 }
169
# 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/src/transformers/models/mgp_str/processing_mgp_str.py/0
{ "file_path": "transformers/src/transformers/models/mgp_str/processing_mgp_str.py", "repo_id": "transformers", "token_count": 4019 }
632
from llama_index.core.llama_pack import BaseLlamaPack from llama_index.packs.voyage_query_engine import VoyageQueryEnginePack def test_class(): names_of_base_classes = [b.__name__ for b in VoyageQueryEnginePack.__mro__] assert BaseLlamaPack.__name__ in names_of_base_classes
llama_index/llama-index-packs/llama-index-packs-voyage-query-engine/tests/test_packs_voyage_query_engine.py/0
{ "file_path": "llama_index/llama-index-packs/llama-index-packs-voyage-query-engine/tests/test_packs_voyage_query_engine.py", "repo_id": "llama_index", "token_count": 101 }
1,708
# coding=utf-8 # Copyright 2023 The Google Research Team Authors and 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/l...
transformers/src/transformers/models/align/modeling_align.py/0
{ "file_path": "transformers/src/transformers/models/align/modeling_align.py", "repo_id": "transformers", "token_count": 30088 }
562
import asyncio import json import time import warnings from collections import deque from typing import Any, List, Optional import pandas as pd import tqdm from llama_index.core import ServiceContext from llama_index.core.evaluation import ( CorrectnessEvaluator, EvaluationResult, FaithfulnessEvaluator, ...
llama_index/llama-index-packs/llama-index-packs-rag-evaluator/llama_index/packs/rag_evaluator/base.py/0
{ "file_path": "llama_index/llama-index-packs/llama-index-packs-rag-evaluator/llama_index/packs/rag_evaluator/base.py", "repo_id": "llama_index", "token_count": 7847 }
1,675
--- sidebar_position: 0 --- # Quick Start import CodeBlock from "@theme/CodeBlock"; Language models output text. But you may often want to get more structured information than just text back. This is where output parsers come in. Output parsers are classes that help structure language model responses. There are two...
langchainjs/docs/core_docs/docs/modules/model_io/output_parsers/quick_start.mdx/0
{ "file_path": "langchainjs/docs/core_docs/docs/modules/model_io/output_parsers/quick_start.mdx", "repo_id": "langchainjs", "token_count": 719 }
770
#!/usr/bin/env bash # Reference: https://github.com/ryandaniels/docker-script-find-latest-image-tag/blob/master/docker_image_find_tag.sh set -ef -o pipefail REGISTRY=${REGISTRY:-"https://index.docker.io/v2"} REGISTRY_AUTH=${REGISTRY_AUTH:-"https://auth.docker.io"} REGISTRY_SERVICE=${REGISTRY_SERVICE:-"registry.docke...
milvus/scripts/docker_image_find_tag.sh/0
{ "file_path": "milvus/scripts/docker_image_find_tag.sh", "repo_id": "milvus", "token_count": 3360 }
2,071
python_tests( name="tests", )
llama_index/llama-index-core/tests/storage/chat_store/BUILD/0
{ "file_path": "llama_index/llama-index-core/tests/storage/chat_store/BUILD", "repo_id": "llama_index", "token_count": 15 }
1,169
[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 = ["JoplinReader", "LINK_NOTE_TEMPLATE"] contains_example = false import_path = "llama_index....
llama_index/llama-index-integrations/readers/llama-index-readers-joplin/pyproject.toml/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-joplin/pyproject.toml", "repo_id": "llama_index", "token_count": 677 }
1,322
.PHONY: all format lint test tests test_watch integration_tests docker_tests help extended_tests # Default target executed when no arguments are given to make. all: help # Define a variable for the test file path. TEST_FILE ?= tests/unit_tests/ test: poetry run pytest $(TEST_FILE) tests: poetry run pytest $(TEST_...
langchain/libs/core/Makefile/0
{ "file_path": "langchain/libs/core/Makefile", "repo_id": "langchain", "token_count": 884 }
386
from __future__ import annotations from typing import Iterator, List from urllib.parse import urlparse from langchain_community.embeddings.mlflow import MlflowEmbeddings def _chunk(texts: List[str], size: int) -> Iterator[List[str]]: for i in range(0, len(texts), size): yield texts[i : i + size] class...
langchain/libs/community/langchain_community/embeddings/databricks.py/0
{ "file_path": "langchain/libs/community/langchain_community/embeddings/databricks.py", "repo_id": "langchain", "token_count": 541 }
256
python_sources()
llama_index/llama-index-legacy/llama_index/legacy/llama_pack/BUILD/0
{ "file_path": "llama_index/llama-index-legacy/llama_index/legacy/llama_pack/BUILD", "repo_id": "llama_index", "token_count": 6 }
1,674
"""Base retrieval abstractions.""" import asyncio from abc import abstractmethod from enum import Enum from typing import Any, Dict, List, Optional, Tuple from llama_index.core.bridge.pydantic import BaseModel, Field from llama_index.core.evaluation.retrieval.metrics import resolve_metrics from llama_index.core.evalu...
llama_index/llama-index-core/llama_index/core/evaluation/retrieval/base.py/0
{ "file_path": "llama_index/llama-index-core/llama_index/core/evaluation/retrieval/base.py", "repo_id": "llama_index", "token_count": 2742 }
1,147
poetry_requirements( name="poetry", ) python_requirements( name="reqs", )
llama_index/llama-index-integrations/readers/llama-index-readers-hwp/BUILD/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-hwp/BUILD", "repo_id": "llama_index", "token_count": 36 }
1,381
package coordinator import ( "sort" "testing" "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/stretchr/testify/assert" ) func TestConvertCollectionMetadataToModel(t *test...
chroma/go/coordinator/internal/metastore/coordinator/model_db_convert_test.go/0
{ "file_path": "chroma/go/coordinator/internal/metastore/coordinator/model_db_convert_test.go", "repo_id": "chroma", "token_count": 2367 }
44
import { BaseClient, BaseClientOptions, GetTableSchemaResponse, Schemas, XataApiClient, parseWorkspacesUrlParts, } from "@xata.io/client"; import { BaseListChatMessageHistory } from "@langchain/core/chat_history"; import { BaseMessage, StoredMessage, StoredMessageData, mapChatMessagesToStoredMessage...
langchainjs/libs/langchain-community/src/stores/message/xata.ts/0
{ "file_path": "langchainjs/libs/langchain-community/src/stores/message/xata.ts", "repo_id": "langchainjs", "token_count": 2457 }
1,002
[ { "server": "idc-sh002", "suite_params": [ { "suite": "2_locust_search.yaml", "image_type": "cpu" }, { "suite": "2_locust_search_index.yaml", "image_type": "cpu" } ] } ]
milvus/tests/benchmark/milvus_benchmark/scheduler/locust.json/0
{ "file_path": "milvus/tests/benchmark/milvus_benchmark/scheduler/locust.json", "repo_id": "milvus", "token_count": 220 }
1,964
import { logVersion010MigrationWarning } from "../util/entrypoint_deprecation.js"; /* #__PURE__ */ logVersion010MigrationWarning({ oldEntrypointName: "cache/ioredis", newEntrypointName: "caches/ioredis", }); export * from "@langchain/community/caches/ioredis";
langchainjs/langchain/src/cache/ioredis.ts/0
{ "file_path": "langchainjs/langchain/src/cache/ioredis.ts", "repo_id": "langchainjs", "token_count": 88 }
950
// 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/healthz/healthz_handler.go/0
{ "file_path": "milvus/internal/http/healthz/healthz_handler.go", "repo_id": "milvus", "token_count": 1068 }
1,936
from vertexai.preview.generative_models import ( # type: ignore HarmBlockThreshold, HarmCategory, ) __all__ = ["HarmBlockThreshold", "HarmCategory"]
langchain/libs/partners/google-vertexai/langchain_google_vertexai/_enums.py/0
{ "file_path": "langchain/libs/partners/google-vertexai/langchain_google_vertexai/_enums.py", "repo_id": "langchain", "token_count": 55 }
617
poetry_requirements( name="poetry", ) python_requirements( name="reqs", )
llama_index/llama-index-integrations/readers/llama-index-readers-stripe-docs/BUILD/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-stripe-docs/BUILD", "repo_id": "llama_index", "token_count": 36 }
1,532
from rag_google_cloud_sensitive_data_protection.chain import chain if __name__ == "__main__": query = { "question": "Good morning. My name is Captain Blackbeard. My phone number " "is 555-555-5555. And my email is lovely.pirate@gmail.com. Have a nice day.", "chat_history": [], } pri...
langchain/templates/rag-google-cloud-sensitive-data-protection/main.py/0
{ "file_path": "langchain/templates/rag-google-cloud-sensitive-data-protection/main.py", "repo_id": "langchain", "token_count": 136 }
661
import os import sys import torch from diffusers import ( AutoPipelineForImage2Image, AutoPipelineForInpainting, AutoPipelineForText2Image, ControlNetModel, LCMScheduler, StableDiffusionAdapterPipeline, StableDiffusionControlNetPipeline, StableDiffusionXLAdapterPipeline, StableDiff...
diffusers/benchmarks/base_classes.py/0
{ "file_path": "diffusers/benchmarks/base_classes.py", "repo_id": "diffusers", "token_count": 5055 }
162
<!--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/llama.md/0
{ "file_path": "transformers/docs/source/en/model_doc/llama.md", "repo_id": "transformers", "token_count": 2356 }
509
import glob import importlib from pathlib import Path def test_importable_all() -> None: for path in glob.glob("../experimental/langchain_experimental/*"): relative_path = Path(path).parts[-1] if relative_path.endswith(".typed"): continue module_name = relative_path.split(".")[...
langchain/libs/experimental/tests/unit_tests/test_imports.py/0
{ "file_path": "langchain/libs/experimental/tests/unit_tests/test_imports.py", "repo_id": "langchain", "token_count": 216 }
474
import subprocess import argparse def main(): parser = argparse.ArgumentParser() parser.add_argument("--check", action="store_true") args = parser.parse_args() output = subprocess.check_output(["text-generation-launcher", "--help"]).decode( "utf-8" ) wrap_code_blocks_flag = "<!-- WR...
text-generation-inference/update_doc.py/0
{ "file_path": "text-generation-inference/update_doc.py", "repo_id": "text-generation-inference", "token_count": 991 }
422
import datetime import warnings from typing import Any, Literal, Optional, Sequence, Union from langchain_core.utils import check_package_version from typing_extensions import TypedDict try: check_package_version("lark", gte_version="1.1.5") from lark import Lark, Transformer, v_args except ImportError: ...
langchain/libs/langchain/langchain/chains/query_constructor/parser.py/0
{ "file_path": "langchain/libs/langchain/langchain/chains/query_constructor/parser.py", "repo_id": "langchain", "token_count": 2509 }
490
python_tests()
llama_index/llama-index-integrations/readers/llama-index-readers-myscale/tests/BUILD/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-myscale/tests/BUILD", "repo_id": "llama_index", "token_count": 5 }
1,526
import { test, expect } from "@jest/globals"; import { OpenAI } from "@langchain/openai"; import { AsyncCaller } from "@langchain/core/utils/async_caller"; test("AsyncCaller.call passes on arguments and returns return value", async () => { const caller = new AsyncCaller({}); const callable = () => fetch("https://l...
langchainjs/langchain/src/util/tests/async_caller.int.test.ts/0
{ "file_path": "langchainjs/langchain/src/util/tests/async_caller.int.test.ts", "repo_id": "langchainjs", "token_count": 505 }
1,029
""" TinyViT Paper: `TinyViT: Fast Pretraining Distillation for Small Vision Transformers` - https://arxiv.org/abs/2207.10666 Adapted from official impl at https://github.com/microsoft/Cream/tree/main/TinyViT """ __all__ = ['TinyVit'] import math import itertools from functools import partial from typing import ...
pytorch-image-models/timm/models/tiny_vit.py/0
{ "file_path": "pytorch-image-models/timm/models/tiny_vit.py", "repo_id": "pytorch-image-models", "token_count": 12415 }
390
python_tests()
llama_index/llama-index-integrations/readers/llama-index-readers-zendesk/tests/BUILD/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-zendesk/tests/BUILD", "repo_id": "llama_index", "token_count": 5 }
1,441
# coding=utf-8 # Copyright 2022 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/glpn/convert_glpn_to_pytorch.py/0
{ "file_path": "transformers/src/transformers/models/glpn/convert_glpn_to_pytorch.py", "repo_id": "transformers", "token_count": 3797 }
669
import type { StructuredToolInterface } from "@langchain/core/tools"; import { BaseLLMOutputParser } from "@langchain/core/output_parsers"; import { AgentStep } from "@langchain/core/agents"; import { ChainValues } from "@langchain/core/utils/types"; import { ChatGeneration, Generation, RUN_KEY } from "@langchain/core...
langchainjs/langchain/src/evaluation/agents/trajectory.ts/0
{ "file_path": "langchainjs/langchain/src/evaluation/agents/trajectory.ts", "repo_id": "langchainjs", "token_count": 2114 }
931
"""Question answering over a graph.""" from __future__ import annotations from typing import Any, Dict, List, Optional from langchain_community.graphs.nebula_graph import NebulaGraph from langchain_core.callbacks import CallbackManagerForChainRun from langchain_core.language_models import BaseLanguageModel from langc...
langchain/libs/langchain/langchain/chains/graph_qa/nebulagraph.py/0
{ "file_path": "langchain/libs/langchain/langchain/chains/graph_qa/nebulagraph.py", "repo_id": "langchain", "token_count": 1471 }
504
from langchain_community.embeddings.javelin_ai_gateway import ( JavelinAIGatewayEmbeddings, ) __all__ = ["JavelinAIGatewayEmbeddings"]
langchain/libs/langchain/langchain/embeddings/javelin_ai_gateway.py/0
{ "file_path": "langchain/libs/langchain/langchain/embeddings/javelin_ai_gateway.py", "repo_id": "langchain", "token_count": 56 }
533
"""Init params.""" from llama_index.finetuning.cross_encoders.cross_encoder import ( CrossEncoderFinetuneEngine, ) __all__ = ["CrossEncoderFinetuneEngine"]
llama_index/llama-index-finetuning/llama_index/finetuning/cross_encoders/__init__.py/0
{ "file_path": "llama_index/llama-index-finetuning/llama_index/finetuning/cross_encoders/__init__.py", "repo_id": "llama_index", "token_count": 58 }
1,173
# Models There are a few primary ways you interact with models in LlamaIndex: ```{toctree} --- maxdepth: 1 --- llms.md embeddings.md ``` Experimental ```{toctree} --- maxdepth: 1 --- multi_modal.md ```
llama_index/docs/module_guides/models/models.md/0
{ "file_path": "llama_index/docs/module_guides/models/models.md", "repo_id": "llama_index", "token_count": 84 }
1,144
poetry_requirements( name="poetry", )
llama_index/llama-index-integrations/readers/llama-index-readers-dashvector/BUILD/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-dashvector/BUILD", "repo_id": "llama_index", "token_count": 18 }
1,421
"""Query engines based on the FLARE paper. Active Retrieval Augmented Generation. """ from typing import Any, Dict, Optional from llama_index.core.base.base_query_engine import BaseQueryEngine from llama_index.core.base.response.schema import RESPONSE_TYPE, Response from llama_index.core.callbacks.base import Callb...
llama_index/llama-index-core/llama_index/core/query_engine/flare/base.py/0
{ "file_path": "llama_index/llama-index-core/llama_index/core/query_engine/flare/base.py", "repo_id": "llama_index", "token_count": 4229 }
1,209
python_sources()
llama_index/llama-index-integrations/readers/llama-index-readers-opendal/llama_index/readers/opendal/azblob/BUILD/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-opendal/llama_index/readers/opendal/azblob/BUILD", "repo_id": "llama_index", "token_count": 6 }
1,439
<!--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/en/model_doc/t5.md/0
{ "file_path": "transformers/docs/source/en/model_doc/t5.md", "repo_id": "transformers", "token_count": 6992 }
456
// 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/core/src/common/binary_set_c.cpp/0
{ "file_path": "milvus/internal/core/src/common/binary_set_c.cpp", "repo_id": "milvus", "token_count": 1503 }
1,733
"""Toolkits for agents.""" from abc import ABC, abstractmethod from typing import List from langchain_core.pydantic_v1 import BaseModel from langchain_community.tools import BaseTool class BaseToolkit(BaseModel, ABC): """Base Toolkit representing a collection of related tools.""" @abstractmethod def ge...
langchain/libs/community/langchain_community/agent_toolkits/base.py/0
{ "file_path": "langchain/libs/community/langchain_community/agent_toolkits/base.py", "repo_id": "langchain", "token_count": 123 }
211
# langchain ## 0.1.0 (Jan 5, 2024) #### Deleted No deletions. #### Deprecated Deprecated classes and methods will be removed in 0.2.0 | Deprecated | Alternative | Reason | |---------------------------------|------------------------------...
langchain/docs/docs/changelog/langchain.mdx/0
{ "file_path": "langchain/docs/docs/changelog/langchain.mdx", "repo_id": "langchain", "token_count": 1615 }
88
# Copyright 2020 The HuggingFace Datasets 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 ...
datasets/metrics/super_glue/super_glue.py/0
{ "file_path": "datasets/metrics/super_glue/super_glue.py", "repo_id": "datasets", "token_count": 4296 }
135
/* eslint-disable import/first */ /* eslint-disable arrow-body-style */ import { z } from "zod"; import { DynamicStructuredTool } from "@langchain/core/tools"; const addTool = new DynamicStructuredTool({ name: "add", description: "Add two integers together.", schema: z.object({ firstInt: z.number(), sec...
langchainjs/examples/src/use_cases/tool_use/multiple_tools.ts/0
{ "file_path": "langchainjs/examples/src/use_cases/tool_use/multiple_tools.ts", "repo_id": "langchainjs", "token_count": 859 }
855
// 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/datanode/flow_graph_manager.go/0
{ "file_path": "milvus/internal/datanode/flow_graph_manager.go", "repo_id": "milvus", "token_count": 1478 }
1,971
# This code was adapted from https://github.com/lucidrains/flamingo-pytorch licensed under the MIT License. # # MIT License # # Copyright (c) 2020 The Google AI Language Team Authors, The HuggingFace Inc. team and github/lonePatient # # Permission is hereby granted, free of charge, to any person obtaining a copy # of ...
text-generation-inference/server/text_generation_server/models/custom_modeling/idefics_perceiver.py/0
{ "file_path": "text-generation-inference/server/text_generation_server/models/custom_modeling/idefics_perceiver.py", "repo_id": "text-generation-inference", "token_count": 5171 }
441
import json import re import zipfile from abc import ABC from pathlib import Path from typing import Iterator, List, Set, Tuple from langchain_community.docstore.document import Document from langchain_community.document_loaders.base import BaseBlobParser from langchain_community.document_loaders.blob_loaders import B...
langchain/libs/community/langchain_community/document_loaders/parsers/vsdx.py/0
{ "file_path": "langchain/libs/community/langchain_community/document_loaders/parsers/vsdx.py", "repo_id": "langchain", "token_count": 3850 }
259
{ "name": "tokenizers-freebsd-x64", "version": "0.13.4-rc1", "os": [ "freebsd" ], "cpu": [ "x64" ], "main": "tokenizers.freebsd-x64.node", "files": [ "tokenizers.freebsd-x64.node" ], "description": "Tokenizers platform specific bindings", "keywords": [ "napi-rs", "NAPI", "N...
tokenizers/bindings/node/npm/freebsd-x64/package.json/0
{ "file_path": "tokenizers/bindings/node/npm/freebsd-x64/package.json", "repo_id": "tokenizers", "token_count": 272 }
434
import { expect, test } from "@jest/globals"; import chroma from "./initClient"; import { EMBEDDINGS, IDS, METADATAS } from "./data"; test("it should delete a collection", async () => { await chroma.reset(); const collection = await chroma.createCollection({ name: "test" }); await collection.add({ ids: IDS, embe...
chroma/clients/js/test/delete.collection.test.ts/0
{ "file_path": "chroma/clients/js/test/delete.collection.test.ts", "repo_id": "chroma", "token_count": 236 }
35
# coding=utf-8 # Copyright 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 requir...
transformers/src/transformers/models/xglm/configuration_xglm.py/0
{ "file_path": "transformers/src/transformers/models/xglm/configuration_xglm.py", "repo_id": "transformers", "token_count": 2346 }
693
<jupyter_start><jupyter_text>RAG Fusion Query PipelineThis notebook shows how to implement RAG Fusion using the LlamaIndex Query Pipeline syntax. Setup / Load DataWe load in the pg_essay.txt data.<jupyter_code>%pip install llama-index-llms-openai %pip install llama-index-packs-rag-fusion-query-pipeline !wget 'https://...
llama_index/llama-index-packs/llama-index-packs-rag-fusion-query-pipeline/examples/rag_fusion_pipeline.ipynb/0
{ "file_path": "llama_index/llama-index-packs/llama-index-packs-rag-fusion-query-pipeline/examples/rag_fusion_pipeline.ipynb", "repo_id": "llama_index", "token_count": 1151 }
1,721
from llama_index.core.vector_stores.types import VectorStore from llama_index.vector_stores.tencentvectordb import TencentVectorDB def test_class(): names_of_base_classes = [b.__name__ for b in TencentVectorDB.__mro__] assert VectorStore.__name__ in names_of_base_classes
llama_index/llama-index-integrations/vector_stores/llama-index-vector-stores-tencentvectordb/tests/test_vector_stores_tencentvectordb.py/0
{ "file_path": "llama_index/llama-index-integrations/vector_stores/llama-index-vector-stores-tencentvectordb/tests/test_vector_stores_tencentvectordb.py", "repo_id": "llama_index", "token_count": 96 }
1,479
# Plug and Play Language Models: a Simple Approach to Controlled Text Generation Authors: [Sumanth Dathathri](https://dathath.github.io/), [Andrea Madotto](https://andreamad8.github.io/), Janice Lan, Jane Hung, Eric Frank, [Piero Molino](https://w4nderlu.st/), [Jason Yosinski](http://yosinski.com/), and [Rosanne Liu](...
transformers/examples/research_projects/pplm/README.md/0
{ "file_path": "transformers/examples/research_projects/pplm/README.md", "repo_id": "transformers", "token_count": 747 }
539
"""Integration test for self ask with search.""" from langchain_community.llms.openai import OpenAI from langchain.agents.react.base import ReActChain from langchain.docstore.wikipedia import Wikipedia def test_react() -> None: """Test functionality on a prompt.""" llm = OpenAI(temperature=0, model_name="gp...
langchain/libs/langchain/tests/integration_tests/chains/test_react.py/0
{ "file_path": "langchain/libs/langchain/tests/integration_tests/chains/test_react.py", "repo_id": "langchain", "token_count": 221 }
584
# coding=utf-8 # Copyright 2023-present NAVER Corp, The Microsoft Research Asia LayoutLM 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 # # ht...
transformers/src/transformers/models/bros/modeling_bros.py/0
{ "file_path": "transformers/src/transformers/models/bros/modeling_bros.py", "repo_id": "transformers", "token_count": 25108 }
610
# Files for typos # Instruction: https://github.com/marketplace/actions/typos-action#getting-started [default.extend-identifiers] [default.extend-words] NIN="NIN" # NIN is used in scripts/convert_ncsnpp_original_checkpoint_to_diffusers.py nd="np" # nd may be np (numpy) parms="parms" # parms is used in scripts/conver...
diffusers/_typos.toml/0
{ "file_path": "diffusers/_typos.toml", "repo_id": "diffusers", "token_count": 151 }
168
from langchain import hub from langchain.load import dumps, loads from langchain_community.chat_models import ChatOpenAI from langchain_community.embeddings import OpenAIEmbeddings from langchain_community.vectorstores import Pinecone from langchain_core.output_parsers import StrOutputParser from langchain_core.pydanti...
langchain/templates/rag-fusion/rag_fusion/chain.py/0
{ "file_path": "langchain/templates/rag-fusion/rag_fusion/chain.py", "repo_id": "langchain", "token_count": 542 }
731
0.1.0
llama_index/llama-index-legacy/VERSION/0
{ "file_path": "llama_index/llama-index-legacy/VERSION", "repo_id": "llama_index", "token_count": 6 }
1,502
# candle-wuerstchen: Efficient Pretraining of Text-to-Image Models ![anthropomorphic cat dressed as a fire fighter](./assets/cat.jpg) The `wuerstchen` example is a port of the [diffusers implementation](https://github.com/huggingface/diffusers/tree/19edca82f1ff194c07317369a92b470dbae97f34/src/diffusers/pipelines/wuer...
candle/candle-examples/examples/wuerstchen/README.md/0
{ "file_path": "candle/candle-examples/examples/wuerstchen/README.md", "repo_id": "candle", "token_count": 358 }
53
# 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/src/transformers/models/funnel/convert_funnel_original_tf_checkpoint_to_pytorch.py/0
{ "file_path": "transformers/src/transformers/models/funnel/convert_funnel_original_tf_checkpoint_to_pytorch.py", "repo_id": "transformers", "token_count": 797 }
691
libdir=@CMAKE_INSTALL_FULL_LIBDIR@ includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@ Name: Milvus index Description: index modules for Milvus Version: @MILVUS_VERSION@ Libs: -L${libdir} -lmilvus_index Cflags: -I${includedir}
milvus/internal/core/src/index/milvus_index.pc.in/0
{ "file_path": "milvus/internal/core/src/index/milvus_index.pc.in", "repo_id": "milvus", "token_count": 96 }
1,873
delete_performance: collections: - server: db_config.primary_path: /test/milvus/db_data_011/sift_1m_128_128_l2_delete cache_config.cpu_cache_capacity: 16GB engine_config.use_blas_threshold: 1100 engine_config.gpu_search_threshold: 1 gpu_resource_config.enable: true ...
milvus/tests/benchmark/milvus_benchmark/suites/011_delete_performance.yaml/0
{ "file_path": "milvus/tests/benchmark/milvus_benchmark/suites/011_delete_performance.yaml", "repo_id": "milvus", "token_count": 281 }
1,935
python_sources()
llama_index/llama-index-packs/llama-index-packs-rag-evaluator/llama_index/packs/rag_evaluator/BUILD/0
{ "file_path": "llama_index/llama-index-packs/llama-index-packs-rag-evaluator/llama_index/packs/rag_evaluator/BUILD", "repo_id": "llama_index", "token_count": 6 }
1,719
<!--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/ja/model_doc/bit.md/0
{ "file_path": "transformers/docs/source/ja/model_doc/bit.md", "repo_id": "transformers", "token_count": 1858 }
518
#![allow(clippy::map_entry)] use super::{Pair, WithFirstLastIterator, Word, BPE}; use crate::parallelism::*; use crate::tokenizer::{AddedToken, Result, Trainer}; use crate::utils::progress::{ProgressBar, ProgressStyle}; use serde::{Deserialize, Serialize}; use std::cmp::Ordering; use std::collections::{BinaryHeap, Has...
tokenizers/tokenizers/src/models/bpe/trainer.rs/0
{ "file_path": "tokenizers/tokenizers/src/models/bpe/trainer.rs", "repo_id": "tokenizers", "token_count": 15117 }
435
""" This script reads DPR retriever training data and parses each datapoint. We save a line per datapoint. Each line consists of the query followed by a tab-separated list of Wikipedia page titles constituting positive contexts for a given query. """ import argparse import json from tqdm import tqdm def main(): ...
transformers/examples/research_projects/rag/parse_dpr_relevance_data.py/0
{ "file_path": "transformers/examples/research_projects/rag/parse_dpr_relevance_data.py", "repo_id": "transformers", "token_count": 559 }
535
"""Query Tree using embedding similarity between query and node text.""" import logging from typing import Dict, List, Tuple, cast from llama_index.legacy.indices.tree.select_leaf_retriever import ( TreeSelectLeafRetriever, ) from llama_index.legacy.indices.utils import get_sorted_node_list from llama_index.legac...
llama_index/llama-index-legacy/llama_index/legacy/indices/tree/select_leaf_embedding_retriever.py/0
{ "file_path": "llama_index/llama-index-legacy/llama_index/legacy/indices/tree/select_leaf_embedding_retriever.py", "repo_id": "llama_index", "token_count": 2050 }
1,567
python_sources()
llama_index/llama-index-core/llama_index/core/agent/runner/BUILD/0
{ "file_path": "llama_index/llama-index-core/llama_index/core/agent/runner/BUILD", "repo_id": "llama_index", "token_count": 6 }
1,198
from llama_index.core.tools.tool_spec.base import BaseToolSpec from llama_index.tools.playgrounds import ( PlaygroundsSubgraphConnectorToolSpec, PlaygroundsSubgraphInspectorToolSpec, ) def test_class(): names_of_base_classes = [ b.__name__ for b in PlaygroundsSubgraphConnectorToolSpec.__mro__ ...
llama_index/llama-index-integrations/tools/llama-index-tools-playgrounds/tests/test_tools_playgrounds.py/0
{ "file_path": "llama_index/llama-index-integrations/tools/llama-index-tools-playgrounds/tests/test_tools_playgrounds.py", "repo_id": "llama_index", "token_count": 202 }
1,497
pub(crate) mod affine; pub(crate) mod matmul; pub(crate) mod random; pub(crate) mod where_cond; use candle_core::{Device, Result}; pub(crate) trait BenchDevice { fn sync(&self) -> Result<()>; fn bench_name<S: Into<String>>(&self, name: S) -> String; } impl BenchDevice for Device { fn sync(&self) -> Resu...
candle/candle-core/benches/benchmarks/mod.rs/0
{ "file_path": "candle/candle-core/benches/benchmarks/mod.rs", "repo_id": "candle", "token_count": 1019 }
27
from llama_index.core.tools.tool_spec.base import BaseToolSpec from llama_index.tools.graphql import GraphQLToolSpec def test_class(): names_of_base_classes = [b.__name__ for b in GraphQLToolSpec.__mro__] assert BaseToolSpec.__name__ in names_of_base_classes
llama_index/llama-index-integrations/tools/llama-index-tools-graphql/tests/test_tools_graphql.py/0
{ "file_path": "llama_index/llama-index-integrations/tools/llama-index-tools-graphql/tests/test_tools_graphql.py", "repo_id": "llama_index", "token_count": 94 }
1,483
# 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...
transformers/src/transformers/models/data2vec/__init__.py/0
{ "file_path": "transformers/src/transformers/models/data2vec/__init__.py", "repo_id": "transformers", "token_count": 2188 }
626
import os import pickle import tempfile import time from multiprocessing import Pool from unittest import TestCase import pytest from datasets.features import Features, Sequence, Value from datasets.metric import Metric, MetricInfo from .utils import require_tf, require_torch class DummyMetric(Metric): def _in...
datasets/tests/test_metric.py/0
{ "file_path": "datasets/tests/test_metric.py", "repo_id": "datasets", "token_count": 10533 }
145
# coding=utf-8 # Copyright 2023 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/musicgen/processing_musicgen.py/0
{ "file_path": "transformers/src/transformers/models/musicgen/processing_musicgen.py", "repo_id": "transformers", "token_count": 2176 }
719
{ "name": "tokenizers-darwin-arm64", "version": "0.13.4-rc1", "os": [ "darwin" ], "cpu": [ "arm64" ], "main": "tokenizers.darwin-arm64.node", "files": [ "tokenizers.darwin-arm64.node" ], "description": "Tokenizers platform specific bindings", "keywords": [ "napi-rs", "NAPI", ...
tokenizers/bindings/node/npm/darwin-arm64/package.json/0
{ "file_path": "tokenizers/bindings/node/npm/darwin-arm64/package.json", "repo_id": "tokenizers", "token_count": 268 }
454
# 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/longformer/test_modeling_tf_longformer.py/0
{ "file_path": "transformers/tests/models/longformer/test_modeling_tf_longformer.py", "repo_id": "transformers", "token_count": 15156 }
809
"""Tool for the Wikidata API.""" from typing import Optional from langchain_core.callbacks import CallbackManagerForToolRun from langchain_core.tools import BaseTool from langchain_community.utilities.wikidata import WikidataAPIWrapper class WikidataQueryRun(BaseTool): """Tool that searches the Wikidata API.""...
langchain/libs/community/langchain_community/tools/wikidata/tool.py/0
{ "file_path": "langchain/libs/community/langchain_community/tools/wikidata/tool.py", "repo_id": "langchain", "token_count": 334 }
296
from llama_index.readers.file.docs.base import DocxReader, HWPReader, PDFReader from llama_index.readers.file.epub.base import EpubReader from llama_index.readers.file.flat.base import FlatReader from llama_index.readers.file.html.base import HTMLTagReader from llama_index.readers.file.image.base import ImageReader fro...
llama_index/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/__init__.py/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/__init__.py", "repo_id": "llama_index", "token_count": 591 }
1,359
<!--- 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/text-classification/README.md/0
{ "file_path": "transformers/examples/tensorflow/text-classification/README.md", "repo_id": "transformers", "token_count": 1666 }
585
# 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/src/transformers/models/pix2struct/image_processing_pix2struct.py/0
{ "file_path": "transformers/src/transformers/models/pix2struct/image_processing_pix2struct.py", "repo_id": "transformers", "token_count": 8161 }
717
<jupyter_start><jupyter_text>Google Cloud Storage Directory>[Google Cloud Storage](https://en.wikipedia.org/wiki/Google_Cloud_Storage) is a managed service for storing unstructured data.This covers how to load document objects from an `Google Cloud Storage (GCS) directory (bucket)`.<jupyter_code>%pip install --upgrade ...
langchain/docs/docs/integrations/document_loaders/google_cloud_storage_directory.ipynb/0
{ "file_path": "langchain/docs/docs/integrations/document_loaders/google_cloud_storage_directory.ipynb", "repo_id": "langchain", "token_count": 745 }
103
#!/usr/bin/env python3 import logging import pathlib import re import sys from dataclasses import dataclass, field from typing import Any, Callable, Dict, List, Optional, Set, Union import datasets import librosa import numpy as np import torch from lang_trans import arabic from packaging import version from torch imp...
transformers/examples/research_projects/wav2vec2/run_asr.py/0
{ "file_path": "transformers/examples/research_projects/wav2vec2/run_asr.py", "repo_id": "transformers", "token_count": 8256 }
620
FROM python:3.11-buster RUN pip install poetry==1.5.1 RUN poetry config virtualenvs.create false COPY ./pyproject.toml ./poetry.lock* ./ RUN poetry install --no-interaction --no-ansi --no-root --no-directory COPY ./*.py ./.google_vertex_ai_credentials.jso[n] ./ RUN poetry install --no-interaction --no-ansi CMD ...
weblangchain/Dockerfile/0
{ "file_path": "weblangchain/Dockerfile", "repo_id": "weblangchain", "token_count": 146 }
1,928
import { DataSource } from "typeorm"; import { SqlDatabase } from "langchain/sql_db"; import { ChatOpenAI } from "@langchain/openai"; import { PromptTemplate } from "@langchain/core/prompts"; import { RunnableSequence } from "@langchain/core/runnables"; import { StringOutputParser } from "@langchain/core/output_parsers...
langchainjs/examples/src/chains/sql_db_sql_output.ts/0
{ "file_path": "langchainjs/examples/src/chains/sql_db_sql_output.ts", "repo_id": "langchainjs", "token_count": 988 }
824
# imlementation of the PhiModel and PhiForCausalLM classes import torch import torch.distributed import math from torch import nn from typing import Optional, List, Tuple, Any from transformers.configuration_utils import PretrainedConfig from transformers.modeling_outputs import CausalLMOutputWithPast from text_gene...
text-generation-inference/server/text_generation_server/models/custom_modeling/phi_modeling.py/0
{ "file_path": "text-generation-inference/server/text_generation_server/models/custom_modeling/phi_modeling.py", "repo_id": "text-generation-inference", "token_count": 5628 }
445
from typing import Any, Dict, List from langchain.memory.chat_memory import BaseChatMemory from langchain.memory.utils import get_prompt_input_key from langchain_core.vectorstores import VectorStoreRetriever from langchain_experimental.pydantic_v1 import Field class AutoGPTMemory(BaseChatMemory): """Memory for ...
langchain/libs/experimental/langchain_experimental/autonomous_agents/autogpt/memory.py/0
{ "file_path": "langchain/libs/experimental/langchain_experimental/autonomous_agents/autogpt/memory.py", "repo_id": "langchain", "token_count": 452 }
455
// File from https://github.com/mlpen/YOSO/blob/main/encoders/backbones/efficient_attentions/yoso/yoso_v1/cuda/fast_lsh_cumulation.cu #include <torch/extension.h> #include <ATen/ATen.h> #include "fast_lsh_cumulation.h" #include "fast_lsh_cumulation_cuda.h" #include "common_cuda.h" #include "common.h" #include <vector>...
transformers/src/transformers/kernels/yoso/fast_lsh_cumulation.cu/0
{ "file_path": "transformers/src/transformers/kernels/yoso/fast_lsh_cumulation.cu", "repo_id": "transformers", "token_count": 8662 }
601
import { test, expect } from "@jest/globals"; import * as url from "node:url"; import * as path from "node:path"; import { Document } from "@langchain/core/documents"; import { ObsidianLoader } from "../fs/obsidian.js"; const STANDARD_METADATA_FIELDS = [ "created", "path", "source", "lastAccessed", "lastModi...
langchainjs/langchain/src/document_loaders/tests/obsidian.test.ts/0
{ "file_path": "langchainjs/langchain/src/document_loaders/tests/obsidian.test.ts", "repo_id": "langchainjs", "token_count": 1749 }
909
# coding=utf-8 # Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. 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 cop...
transformers/examples/legacy/question-answering/run_squad_trainer.py/0
{ "file_path": "transformers/examples/legacy/question-answering/run_squad_trainer.py", "repo_id": "transformers", "token_count": 2569 }
508
import os from typing import List from langchain_community.document_loaders.unstructured import UnstructuredFileLoader class UnstructuredPowerPointLoader(UnstructuredFileLoader): """Load `Microsoft PowerPoint` files using `Unstructured`. Works with both .ppt and .pptx files. You can run the loader in on...
langchain/libs/community/langchain_community/document_loaders/powerpoint.py/0
{ "file_path": "langchain/libs/community/langchain_community/document_loaders/powerpoint.py", "repo_id": "langchain", "token_count": 954 }
247
from unittest.mock import MagicMock, patch import pytest from llama_index.readers.arango_db import SimpleArangoDBReader @pytest.fixture() def mock_arangodb_client(): with patch("arango.ArangoClient") as mock_client: # Mock the behavior of the db and collection mock_db = MagicMock() mock_s...
llama_index/llama-index-integrations/readers/llama-index-readers-arango-db/tests/test_arangodb.py/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-arango-db/tests/test_arangodb.py", "repo_id": "llama_index", "token_count": 514 }
1,338
// 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/querycoordv2/observers/replica_observer.go/0
{ "file_path": "milvus/internal/querycoordv2/observers/replica_observer.go", "repo_id": "milvus", "token_count": 1484 }
1,757