text
stringlengths
3
1.68M
id
stringlengths
13
169
metadata
dict
__index_level_0__
int64
0
2.21k
compute_environment: LOCAL_MACHINE debug: false deepspeed_config: deepspeed_multinode_launcher: standard gradient_accumulation_steps: 1 offload_optimizer_device: none offload_param_device: none zero3_init_flag: false zero_stage: 2 distributed_type: DEEPSPEED downcast_bf16: 'no' machine_rank: 0 main_training...
trl/examples/accelerate_configs/deepspeed_zero2.yaml/0
{ "file_path": "trl/examples/accelerate_configs/deepspeed_zero2.yaml", "repo_id": "trl", "token_count": 192 }
819
<jupyter_start><jupyter_text>Replicate - Llama 2 13B Setup Make sure you have the `REPLICATE_API_TOKEN` environment variable set. If you don't have one yet, go to https://replicate.com/ to obtain one. If you're opening this Notebook on colab, you will probably need to install LlamaIndex ๐Ÿฆ™.<jupyter_code>%pip instal...
llama_index/docs/examples/llm/llama_2.ipynb/0
{ "file_path": "llama_index/docs/examples/llm/llama_2.ipynb", "repo_id": "llama_index", "token_count": 1505 }
1,109
<!--- 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 ...
transformers/docs/source/ko/contributing.md/0
{ "file_path": "transformers/docs/source/ko/contributing.md", "repo_id": "transformers", "token_count": 15881 }
504
// 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/exec/expression/CompareExpr.h/0
{ "file_path": "milvus/internal/core/src/exec/expression/CompareExpr.h", "repo_id": "milvus", "token_count": 3830 }
1,749
// 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/rootcoord/timeticksync_test.go/0
{ "file_path": "milvus/internal/rootcoord/timeticksync_test.go", "repo_id": "milvus", "token_count": 2867 }
2,006
import { BaseOutputParser, OutputParserException, } from "@langchain/core/output_parsers"; /** * Class to parse the output of an LLM call to a date. * @augments BaseOutputParser */ export class DatetimeOutputParser extends BaseOutputParser<Date> { static lc_name() { return "DatetimeOutputParser"; } l...
langchainjs/langchain/src/output_parsers/datetime.ts/0
{ "file_path": "langchainjs/langchain/src/output_parsers/datetime.ts", "repo_id": "langchainjs", "token_count": 494 }
895
"""Base class for all loaders that uses O365 Package""" from __future__ import annotations import logging import os import tempfile from abc import abstractmethod from enum import Enum from pathlib import Path from typing import TYPE_CHECKING, Dict, Iterable, List, Sequence, Union from langchain_core.pydantic_v1 impo...
langchain/libs/community/langchain_community/document_loaders/base_o365.py/0
{ "file_path": "langchain/libs/community/langchain_community/document_loaders/base_o365.py", "repo_id": "langchain", "token_count": 3079 }
242
# coding=utf-8 # Copyright 2023 Toshiyuki Sakamoto(tanreinama) and HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # ...
transformers/tests/models/gptsan_japanese/test_modeling_gptsan_japanese.py/0
{ "file_path": "transformers/tests/models/gptsan_japanese/test_modeling_gptsan_japanese.py", "repo_id": "transformers", "token_count": 10015 }
729
from typing import Optional from ..utils.logging import get_logger from .audio_classification import AudioClassification from .automatic_speech_recognition import AutomaticSpeechRecognition from .base import TaskTemplate from .image_classification import ImageClassification from .language_modeling import LanguageModel...
datasets/src/datasets/tasks/__init__.py/0
{ "file_path": "datasets/src/datasets/tasks/__init__.py", "repo_id": "datasets", "token_count": 506 }
139
import type { Voy as VoyOriginClient, SearchResult } from "voy-search"; import type { EmbeddingsInterface } from "@langchain/core/embeddings"; import { VectorStore } from "@langchain/core/vectorstores"; import { Document } from "@langchain/core/documents"; export type VoyClient = Omit< VoyOriginClient, "remove" | ...
langchainjs/libs/langchain-community/src/vectorstores/voy.ts/0
{ "file_path": "langchainjs/libs/langchain-community/src/vectorstores/voy.ts", "repo_id": "langchainjs", "token_count": 2247 }
988
# Apache Cassandra > [Apache Cassandraยฎ](https://cassandra.apache.org/) is a NoSQL, row-oriented, highly scalable and highly available database. > Starting with version 5.0, the database ships with [vector search capabilities](https://cassandra.apache.org/doc/trunk/cassandra/vector-search/overview.html). The integrat...
langchain/docs/docs/integrations/providers/cassandra.mdx/0
{ "file_path": "langchain/docs/docs/integrations/providers/cassandra.mdx", "repo_id": "langchain", "token_count": 646 }
132
from langchain_core.output_parsers.json import ( SimpleJsonOutputParser, parse_and_check_json_markdown, parse_json_markdown, parse_partial_json, ) __all__ = [ "SimpleJsonOutputParser", "parse_partial_json", "parse_json_markdown", "parse_and_check_json_markdown", ]
langchain/libs/langchain/langchain/output_parsers/json.py/0
{ "file_path": "langchain/libs/langchain/langchain/output_parsers/json.py", "repo_id": "langchain", "token_count": 123 }
524
# Segment Overview There are currently two types of Segments 1. Growing segment, dynamic insert is allowed, but can not load index for fast retrieving 2. Sealed segment, dynamic insert is disabled, loading vector index is supported Both Segment types share the same interface, based on `SegmentInterface`, External cal...
milvus/docs/design_docs/segcore/segment_overview.md/0
{ "file_path": "milvus/docs/design_docs/segcore/segment_overview.md", "repo_id": "milvus", "token_count": 283 }
1,644
poetry_requirements( name="poetry", )
llama_index/llama-index-integrations/tools/llama-index-tools-openapi/BUILD/0
{ "file_path": "llama_index/llama-index-integrations/tools/llama-index-tools-openapi/BUILD", "repo_id": "llama_index", "token_count": 18 }
1,432
"""Init params."""
llama_index/llama-index-core/llama_index/core/indices/common_tree/__init__.py/0
{ "file_path": "llama_index/llama-index-core/llama_index/core/indices/common_tree/__init__.py", "repo_id": "llama_index", "token_count": 6 }
1,190
python_tests()
llama_index/llama-index-integrations/readers/llama-index-readers-graphql/tests/BUILD/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-graphql/tests/BUILD", "repo_id": "llama_index", "token_count": 5 }
1,411
// Code generated by mockery v2.32.4. DO NOT EDIT. package mocks import ( context "context" commonpb "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" grpc "google.golang.org/grpc" internalpb "github.com/milvus-io/milvus/internal/proto/internalpb" milvuspb "github.com/milvus-io/milvus-proto/go-api/v2/mi...
milvus/internal/mocks/mock_querycoord_client.go/0
{ "file_path": "milvus/internal/mocks/mock_querycoord_client.go", "repo_id": "milvus", "token_count": 28510 }
2,001
// 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/datacoord/index_meta_test.go/0
{ "file_path": "milvus/internal/datacoord/index_meta_test.go", "repo_id": "milvus", "token_count": 17542 }
1,828
# Copyright 2024 Stanford University Team 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/licenses/LICENSE-2.0 # #...
diffusers/src/diffusers/schedulers/scheduling_ddim.py/0
{ "file_path": "diffusers/src/diffusers/schedulers/scheduling_ddim.py", "repo_id": "diffusers", "token_count": 10492 }
264
python_sources()
llama_index/llama-index-core/llama_index/core/indices/tree/BUILD/0
{ "file_path": "llama_index/llama-index-core/llama_index/core/indices/tree/BUILD", "repo_id": "llama_index", "token_count": 6 }
1,268
from __future__ import annotations import logging import tempfile from typing import Any, Dict, Optional from langchain_core.callbacks import CallbackManagerForToolRun from langchain_core.pydantic_v1 import root_validator from langchain_core.tools import BaseTool from langchain_core.utils import get_from_dict_or_env ...
langchain/libs/community/langchain_community/tools/azure_cognitive_services/text2speech.py/0
{ "file_path": "langchain/libs/community/langchain_community/tools/azure_cognitive_services/text2speech.py", "repo_id": "langchain", "token_count": 1571 }
292
#include "cuda_utils.cuh" #include<stdint.h> // Naive implementation of conv1d. template <typename T, typename A> __device__ void conv1d( const size_t src_numel, const size_t l_out, const size_t stride, const size_t padding, const size_t dilation, const size_t *info, const T *src, const...
candle/candle-kernels/src/conv.cu/0
{ "file_path": "candle/candle-kernels/src/conv.cu", "repo_id": "candle", "token_count": 10786 }
53
from typing import List from langchain.agents.agent import AgentExecutor from langchain.agents.structured_chat.base import StructuredChatAgent from langchain.tools import BaseTool from langchain_core.language_models import BaseLanguageModel from langchain_experimental.plan_and_execute.executors.base import ChainExecu...
langchain/libs/experimental/langchain_experimental/plan_and_execute/executors/agent_executor.py/0
{ "file_path": "langchain/libs/experimental/langchain_experimental/plan_and_execute/executors/agent_executor.py", "repo_id": "langchain", "token_count": 568 }
434
// 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/cmd/components/root_coord.go/0
{ "file_path": "milvus/cmd/components/root_coord.go", "repo_id": "milvus", "token_count": 766 }
1,719
package writebuffer import ( "testing" "time" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/suite" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus-proto/go-api/v2/msgpb" "github.com/milvus-io/milvus-proto/go-api/v2/schemapb" "github.com/milvus-io/milvus/i...
milvus/internal/datanode/writebuffer/sync_policy_test.go/0
{ "file_path": "milvus/internal/datanode/writebuffer/sync_policy_test.go", "repo_id": "milvus", "token_count": 1848 }
1,795
{ "background_color": "#ffffff", "name": "Chat UI", "short_name": "Chat UI", "display": "standalone", "start_url": "/", "icons": [ { "src": "/chatui/icon-128x128.png", "sizes": "128x128", "type": "image/png" }, { "src": "/chatui/icon-256x256.png", "sizes": "256x256", "type": "image/png" ...
chat-ui/static/chatui/manifest.json/0
{ "file_path": "chat-ui/static/chatui/manifest.json", "repo_id": "chat-ui", "token_count": 218 }
114
<script lang="ts"> import { onDestroy } from "svelte"; import CarbonImage from "~icons/carbon/image"; // import EosIconsLoading from "~icons/eos-icons/loading"; export let files: File[]; let file_error_message = ""; let errorTimeout: ReturnType<typeof setTimeout>; export let onDrag = false; async function d...
chat-ui/src/lib/components/chat/FileDropzone.svelte/0
{ "file_path": "chat-ui/src/lib/components/chat/FileDropzone.svelte", "repo_id": "chat-ui", "token_count": 1232 }
97
# Sitemap Loader This notebook goes over how to use the [`SitemapLoader`](https://api.js.langchain.com/classes/langchain_document_loaders_web_sitemap.SitemapLoader.html) class to load sitemaps into `Document`s. ## Setup First, we need to install the `langchain` package: ```bash npm2yarn npm install --save langchain...
langchainjs/docs/core_docs/docs/integrations/document_loaders/web_loaders/sitemap.mdx/0
{ "file_path": "langchainjs/docs/core_docs/docs/integrations/document_loaders/web_loaders/sitemap.mdx", "repo_id": "langchainjs", "token_count": 288 }
729
from pathlib import Path from langchain.memory import ConversationBufferMemory from langchain.utilities import SQLDatabase from langchain_community.chat_models import ChatOllama from langchain_core.output_parsers import StrOutputParser from langchain_core.prompts import ChatPromptTemplate, MessagesPlaceholder from lan...
langchain/templates/sql-ollama/sql_ollama/chain.py/0
{ "file_path": "langchain/templates/sql-ollama/sql_ollama/chain.py", "repo_id": "langchain", "token_count": 976 }
681
import { OpenAI } from "@langchain/openai"; import { TavilySearchResults } from "@langchain/community/tools/tavily_search"; import type { PromptTemplate } from "@langchain/core/prompts"; import { pull } from "langchain/hub"; import { AgentExecutor, createReactAgent } from "langchain/agents"; // Define the tools the a...
langchainjs/examples/src/agents/react.ts/0
{ "file_path": "langchainjs/examples/src/agents/react.ts", "repo_id": "langchainjs", "token_count": 568 }
785
# Quiz [[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: We mentioned Q Learning is a tabular method....
deep-rl-class/units/en/unit3/quiz.mdx/0
{ "file_path": "deep-rl-class/units/en/unit3/quiz.mdx", "repo_id": "deep-rl-class", "token_count": 1099 }
154
# Metadata Extraction ## Introduction In many cases, especially with long documents, a chunk of text may lack the context necessary to disambiguate the chunk from other similar chunks of text. To combat this, we use LLMs to extract certain contextual information relevant to the document to better help the retrieval ...
llama_index/docs/module_guides/indexing/metadata_extraction.md/0
{ "file_path": "llama_index/docs/module_guides/indexing/metadata_extraction.md", "repo_id": "llama_index", "token_count": 1325 }
1,100
// Code generated by mockery v2.32.4. DO NOT EDIT. package allocator import ( internalallocator "github.com/milvus-io/milvus/internal/allocator" mock "github.com/stretchr/testify/mock" ) // MockAllocator is an autogenerated mock type for the Allocator type type MockAllocator struct { mock.Mock } type MockAllocat...
milvus/internal/datanode/allocator/mock_allocator.go/0
{ "file_path": "milvus/internal/datanode/allocator/mock_allocator.go", "repo_id": "milvus", "token_count": 3485 }
1,780
[tool.poetry] name = "rag-supabase" version = "0.1.0" description = "RAG using Supabase retriver" authors = [ "Greg Richardson <greg@supabase.io>", ] readme = "README.md" [tool.poetry.dependencies] python = ">=3.8.1,<4.0" langchain = "^0.1" openai = "<2" tiktoken = "^0.5.1" supabase = "^1.2.0" [tool.poetry.group....
langchain/templates/rag-supabase/pyproject.toml/0
{ "file_path": "langchain/templates/rag-supabase/pyproject.toml", "repo_id": "langchain", "token_count": 329 }
690
"""Test EmbaasEmbeddings embeddings""" from langchain_core.pydantic_v1 import SecretStr from pytest import CaptureFixture from langchain_community.embeddings import EmbaasEmbeddings def test_api_key_is_string() -> None: llm = EmbaasEmbeddings(embaas_api_key="secret-api-key") assert isinstance(llm.embaas_api...
langchain/libs/community/tests/unit_tests/embeddings/test_embaas.py/0
{ "file_path": "langchain/libs/community/tests/unit_tests/embeddings/test_embaas.py", "repo_id": "langchain", "token_count": 241 }
413
from typing import Dict, List from llama_index.core.indices.tree.base import TreeIndex from llama_index.core.schema import Document from llama_index.core.service_context import ServiceContext def test_query( documents: List[Document], mock_service_context: ServiceContext, struct_kwargs: Dict, ) -> None: ...
llama_index/llama-index-core/tests/indices/tree/test_retrievers.py/0
{ "file_path": "llama_index/llama-index-core/tests/indices/tree/test_retrievers.py", "repo_id": "llama_index", "token_count": 482 }
1,223
<jupyter_start><jupyter_text>Neptune Open Cypher QA ChainThis QA chain queries Neptune graph database using openCypher and returns human readable response<jupyter_code>from langchain_community.graphs import NeptuneGraph host = "<neptune-host>" port = 8182 use_https = True graph = NeptuneGraph(host=host, port=port, us...
langchain/docs/docs/use_cases/graph/neptune_cypher_qa.ipynb/0
{ "file_path": "langchain/docs/docs/use_cases/graph/neptune_cypher_qa.ipynb", "repo_id": "langchain", "token_count": 210 }
201
<!--Copyright 2021 The HuggingFace Team. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
accelerate/docs/source/concept_guides/internal_mechanism.md/0
{ "file_path": "accelerate/docs/source/concept_guides/internal_mechanism.md", "repo_id": "accelerate", "token_count": 1096 }
2
from llama_index.readers.microsoft_sharepoint.base import SharePointReader __all__ = ["SharePointReader"]
llama_index/llama-index-integrations/readers/llama-index-readers-microsoft-sharepoint/llama_index/readers/microsoft_sharepoint/__init__.py/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-microsoft-sharepoint/llama_index/readers/microsoft_sharepoint/__init__.py", "repo_id": "llama_index", "token_count": 31 }
1,386
export { createExtractionChain, createExtractionChainFromZod, } from "./extraction.js"; export { type TaggingChainOptions, createTaggingChain, createTaggingChainFromZod, } from "./tagging.js"; export { type OpenAPIChainOptions, createOpenAPIChain } from "./openapi.js"; export { type StructuredOutputChainInp...
langchainjs/langchain/src/chains/openai_functions/index.ts/0
{ "file_path": "langchainjs/langchain/src/chains/openai_functions/index.ts", "repo_id": "langchainjs", "token_count": 191 }
955
<!--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/ko/model_doc/whisper.md/0
{ "file_path": "transformers/docs/source/ko/model_doc/whisper.md", "repo_id": "transformers", "token_count": 2696 }
541
import os import jsonlines import numpy as np from tqdm import tqdm DOC_STRIDE = 2048 MAX_LENGTH = 4096 SEED = 42 PROCESS_TRAIN = os.environ.pop("PROCESS_TRAIN", "false") CATEGORY_MAPPING = {"null": 0, "short": 1, "long": 2, "yes": 3, "no": 4} def _get_single_answer(example): def choose_first(answer, is_long_a...
transformers/examples/research_projects/jax-projects/big_bird/prepare_natural_questions.py/0
{ "file_path": "transformers/examples/research_projects/jax-projects/big_bird/prepare_natural_questions.py", "repo_id": "transformers", "token_count": 5324 }
524
#!/bin/bash # Compile jobs variable; Usage: $ jobs=12 ./build.sh ... if [[ ! ${jobs+1} ]]; then if command -v nproc &> /dev/null # For linux then jobs=$(nproc) elif command -v sysctl &> /dev/null # For macOS then jobs=$(sysctl -n hw.logicalcpu) else jobs=4 fi fi ...
milvus/internal/core/build.sh/0
{ "file_path": "milvus/internal/core/build.sh", "repo_id": "milvus", "token_count": 2176 }
1,742
--- hide_table_of_contents: true --- # ChatGPT Plugin Retriever This example shows how to use the ChatGPT Retriever Plugin within LangChain. To set up the ChatGPT Retriever Plugin, please follow instructions [here](https://github.com/openai/chatgpt-retrieval-plugin). ## Usage import CodeBlock from "@theme/CodeBloc...
langchainjs/docs/core_docs/docs/integrations/retrievers/chatgpt-retriever-plugin.mdx/0
{ "file_path": "langchainjs/docs/core_docs/docs/integrations/retrievers/chatgpt-retriever-plugin.mdx", "repo_id": "langchainjs", "token_count": 138 }
711
from typing import Any, Dict, List, Optional, cast import requests from langchain_core.callbacks import CallbackManagerForLLMRun from langchain_core.language_models.llms import LLM from langchain_core.pydantic_v1 import BaseModel, Extra, SecretStr, root_validator from langchain_core.utils import convert_to_secret_str,...
langchain/libs/community/langchain_community/llms/ai21.py/0
{ "file_path": "langchain/libs/community/langchain_community/llms/ai21.py", "repo_id": "langchain", "token_count": 2193 }
263
import random import string import sys import traceback from importlib.machinery import SourceFileLoader if __name__ == "__main__": files = sys.argv[1:] has_failure = False for file in files: try: module_name = "".join( random.choice(string.ascii_letters) for _ in range(...
langchain/libs/experimental/scripts/check_imports.py/0
{ "file_path": "langchain/libs/experimental/scripts/check_imports.py", "repo_id": "langchain", "token_count": 282 }
471
import { LlamaCpp } from "@langchain/community/llms/llama_cpp"; const llamaPath = "/Replace/with/path/to/your/model/gguf-llama2-q4_0.bin"; const model = new LlamaCpp({ modelPath: llamaPath, temperature: 0.7 }); const prompt = "Tell me a short story about a happy Llama."; const stream = await model.stream(prompt); ...
langchainjs/examples/src/models/llm/llama_cpp_stream.ts/0
{ "file_path": "langchainjs/examples/src/models/llm/llama_cpp_stream.ts", "repo_id": "langchainjs", "token_count": 174 }
830
"""Init file."""
llama_index/llama-index-integrations/readers/llama-index-readers-papers/llama_index/readers/papers/pubmed/__init__.py/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-papers/llama_index/readers/papers/pubmed/__init__.py", "repo_id": "llama_index", "token_count": 6 }
1,501
import json import os import torch from diffusers import UNet1DModel os.makedirs("hub/hopper-medium-v2/unet/hor32", exist_ok=True) os.makedirs("hub/hopper-medium-v2/unet/hor128", exist_ok=True) os.makedirs("hub/hopper-medium-v2/value_function", exist_ok=True) def unet(hor): if hor == 128: down_block_...
diffusers/scripts/convert_models_diffuser_to_diffusers.py/0
{ "file_path": "diffusers/scripts/convert_models_diffuser_to_diffusers.py", "repo_id": "diffusers", "token_count": 1700 }
227
poetry_requirements( name="poetry", )
llama_index/llama-index-integrations/readers/llama-index-readers-database/BUILD/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-database/BUILD", "repo_id": "llama_index", "token_count": 18 }
1,355
poetry_requirements( name="poetry", )
llama_index/llama-index-integrations/llms/llama-index-llms-openai-like/BUILD/0
{ "file_path": "llama_index/llama-index-integrations/llms/llama-index-llms-openai-like/BUILD", "repo_id": "llama_index", "token_count": 18 }
1,411
// Code generated by mockery v2.32.4. DO NOT EDIT. package mocks import ( context "context" commonpb "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" clientv3 "go.etcd.io/etcd/client/v3" datapb "github.com/milvus-io/milvus/internal/proto/datapb" indexpb "github.com/milvus-io/milvus/internal/proto/indexp...
milvus/internal/mocks/mock_datacoord.go/0
{ "file_path": "milvus/internal/mocks/mock_datacoord.go", "repo_id": "milvus", "token_count": 42902 }
1,801
from typing import TYPE_CHECKING, Optional, Type from langchain_core.callbacks import ( CallbackManagerForToolRun, ) from langchain_core.pydantic_v1 import BaseModel, Field from langchain_core.tools import BaseTool if TYPE_CHECKING: # This is for linting and IDE typehints import multion else: try: ...
langchain/libs/community/langchain_community/tools/multion/close_session.py/0
{ "file_path": "langchain/libs/community/langchain_community/tools/multion/close_session.py", "repo_id": "langchain", "token_count": 646 }
296
poetry_requirements( name="poetry", )
llama_index/llama-index-integrations/tools/llama-index-tools-azure-cv/BUILD/0
{ "file_path": "llama_index/llama-index-integrations/tools/llama-index-tools-azure-cv/BUILD", "repo_id": "llama_index", "token_count": 18 }
1,613
import posixpath from pathlib import Path from unittest.mock import patch import pytest from fsspec.implementations.local import AbstractFileSystem, LocalFileSystem, stringify_path from fsspec.registry import _registry as _fsspec_registry class MockFileSystem(AbstractFileSystem): protocol = "mock" def __ini...
datasets/tests/fixtures/fsspec.py/0
{ "file_path": "datasets/tests/fixtures/fsspec.py", "repo_id": "datasets", "token_count": 1757 }
163
<!-- Copyright 2023 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 agree...
transformers/docs/source/ja/attention.md/0
{ "file_path": "transformers/docs/source/ja/attention.md", "repo_id": "transformers", "token_count": 1963 }
488
from enum import Enum from typing import Dict, Type from llama_index.core.graph_stores.simple import SimpleGraphStore from llama_index.core.graph_stores.types import GraphStore class GraphStoreType(str, Enum): SIMPLE = "simple_kg" GRAPH_STORE_TYPE_TO_GRAPH_STORE_CLASS: Dict[GraphStoreType, Type[GraphStore]] = ...
llama_index/llama-index-core/llama_index/core/graph_stores/registry.py/0
{ "file_path": "llama_index/llama-index-core/llama_index/core/graph_stores/registry.py", "repo_id": "llama_index", "token_count": 199 }
1,212
package parameterutil import ( "testing" "github.com/stretchr/testify/assert" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus-proto/go-api/v2/schemapb" "github.com/milvus-io/milvus/pkg/common" ) func TestGetMaxLength(t *testing.T) { t.Run("not string type", func(t *testing....
milvus/pkg/util/parameterutil/get_max_len_test.go/0
{ "file_path": "milvus/pkg/util/parameterutil/get_max_len_test.go", "repo_id": "milvus", "token_count": 1165 }
2,117
"""base multi modal retriever.""" from abc import abstractmethod from typing import List from llama_index.legacy.core.base_retriever import BaseRetriever from llama_index.legacy.core.image_retriever import BaseImageRetriever from llama_index.legacy.indices.query.schema import QueryType from llama_index.legacy.schema ...
llama_index/llama-index-legacy/llama_index/legacy/core/base_multi_modal_retriever.py/0
{ "file_path": "llama_index/llama-index-legacy/llama_index/legacy/core/base_multi_modal_retriever.py", "repo_id": "llama_index", "token_count": 704 }
1,696
// Copyright (C) 2019-2023 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/simd/sse4.h/0
{ "file_path": "milvus/internal/core/src/simd/sse4.h", "repo_id": "milvus", "token_count": 404 }
1,753
import { DiscussServiceClient } from "@google-ai/generativelanguage"; import type { protos } from "@google-ai/generativelanguage"; import { GoogleAuth } from "google-auth-library"; import { CallbackManagerForLLMRun } from "@langchain/core/callbacks/manager"; import { AIMessage, BaseMessage, ChatMessage, isBaseM...
langchainjs/libs/langchain-community/src/chat_models/googlepalm.ts/0
{ "file_path": "langchainjs/libs/langchain-community/src/chat_models/googlepalm.ts", "repo_id": "langchainjs", "token_count": 3708 }
1,050
site_name: 'Pytorch Image Models' site_description: 'Pretained Image Recognition Models' repo_name: 'rwightman/pytorch-image-models' repo_url: 'https://github.com/rwightman/pytorch-image-models' nav: - index.md - models.md - ... | models/*.md - results.md - scripts.md - training_hparam_examples.md - featu...
pytorch-image-models/mkdocs.yml/0
{ "file_path": "pytorch-image-models/mkdocs.yml", "repo_id": "pytorch-image-models", "token_count": 727 }
366
// 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/storage/ThreadPools.h/0
{ "file_path": "milvus/internal/core/src/storage/ThreadPools.h", "repo_id": "milvus", "token_count": 857 }
1,675
from llama_index.legacy.question_gen.guidance_generator import GuidanceQuestionGenerator from llama_index.legacy.question_gen.llm_generators import LLMQuestionGenerator from llama_index.legacy.question_gen.openai_generator import OpenAIQuestionGenerator from llama_index.legacy.question_gen.output_parser import SubQuest...
llama_index/llama-index-legacy/llama_index/legacy/question_gen/__init__.py/0
{ "file_path": "llama_index/llama-index-legacy/llama_index/legacy/question_gen/__init__.py", "repo_id": "llama_index", "token_count": 151 }
1,757
<!--Copyright 2021 The HuggingFace Team. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
transformers/docs/source/en/model_doc/speech-encoder-decoder.md/0
{ "file_path": "transformers/docs/source/en/model_doc/speech-encoder-decoder.md", "repo_id": "transformers", "token_count": 2084 }
501
import logging from typing import Dict, List, Union from langchain_core.documents import Document from langchain_community.document_loaders.base import BaseLoader logger = logging.getLogger(__name__) class BSHTMLLoader(BaseLoader): """Load `HTML` files and parse them with `beautiful soup`.""" def __init__...
langchain/libs/community/langchain_community/document_loaders/html_bs.py/0
{ "file_path": "langchain/libs/community/langchain_community/document_loaders/html_bs.py", "repo_id": "langchain", "token_count": 912 }
251
--- sidebar_class_name: node-only --- import CodeBlock from "@theme/CodeBlock"; # Faiss :::tip Compatibility Only available on Node.js. ::: [Faiss](https://github.com/facebookresearch/faiss) is a library for efficient similarity search and clustering of dense vectors. Langchainjs supports using Faiss as a vectorst...
langchainjs/docs/core_docs/docs/integrations/vectorstores/faiss.mdx/0
{ "file_path": "langchainjs/docs/core_docs/docs/integrations/vectorstores/faiss.mdx", "repo_id": "langchainjs", "token_count": 763 }
728
"""Test PromptLayer OpenAI API wrapper.""" from pathlib import Path from typing import Generator import pytest from langchain_community.llms.loading import load_llm from langchain_community.llms.promptlayer_openai import PromptLayerOpenAI def test_promptlayer_openai_call() -> None: """Test valid call to prompt...
langchain/libs/community/tests/integration_tests/llms/test_promptlayer_openai.py/0
{ "file_path": "langchain/libs/community/tests/integration_tests/llms/test_promptlayer_openai.py", "repo_id": "langchain", "token_count": 866 }
361
import json from pathlib import Path from typing import Iterator, List, Union from langchain_core.documents import Document from langchain_community.document_loaders.base import BaseLoader class TomlLoader(BaseLoader): """Load `TOML` files. It can load a single source file or several files in a single ...
langchain/libs/community/langchain_community/document_loaders/toml.py/0
{ "file_path": "langchain/libs/community/langchain_community/document_loaders/toml.py", "repo_id": "langchain", "token_count": 716 }
251
.. _Ref-Storage-Index-Store: Index Store ===================== .. automodule:: llama_index.core.storage.index_store :members: :inherited-members:
llama_index/docs/api_reference/storage/index_store.rst/0
{ "file_path": "llama_index/docs/api_reference/storage/index_store.rst", "repo_id": "llama_index", "token_count": 54 }
1,097
# 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 applicabl...
diffusers/src/diffusers/schedulers/scheduling_ddim_inverse.py/0
{ "file_path": "diffusers/src/diffusers/schedulers/scheduling_ddim_inverse.py", "repo_id": "diffusers", "token_count": 7388 }
256
<!--Copyright 2023 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/tasks/prompting.md/0
{ "file_path": "transformers/docs/source/en/tasks/prompting.md", "repo_id": "transformers", "token_count": 5568 }
466
# Roam >[ROAM](https://roamresearch.com/) is a note-taking tool for networked thought, designed to create a personal knowledge base. ## Installation and Setup There isn't any special setup for it. ## Document Loader See a [usage example](/docs/integrations/document_loaders/roam). ```python from langchain_commu...
langchain/docs/docs/integrations/providers/roam.mdx/0
{ "file_path": "langchain/docs/docs/integrations/providers/roam.mdx", "repo_id": "langchain", "token_count": 107 }
155
#!/usr/bin/env python # coding=utf-8 # Copyright 2018 Google AI, Google Brain and Carnegie Mellon University 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 co...
transformers/examples/pytorch/text-generation/run_generation.py/0
{ "file_path": "transformers/examples/pytorch/text-generation/run_generation.py", "repo_id": "transformers", "token_count": 6877 }
565
[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 = ["SageMakerEmbedding"] contains_example = false import_path = "llama_index.embeddings.sagem...
llama_index/llama-index-integrations/embeddings/llama-index-embeddings-sagemaker-endpoint/pyproject.toml/0
{ "file_path": "llama_index/llama-index-integrations/embeddings/llama-index-embeddings-sagemaker-endpoint/pyproject.toml", "repo_id": "llama_index", "token_count": 648 }
1,286
# Copyright 2022 The Music Spectrogram Diffusion Authors. # 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...
diffusers/src/diffusers/pipelines/deprecated/spectrogram_diffusion/continuous_encoder.py/0
{ "file_path": "diffusers/src/diffusers/pipelines/deprecated/spectrogram_diffusion/continuous_encoder.py", "repo_id": "diffusers", "token_count": 1329 }
249
#!/usr/bin/env python # coding=utf-8 # Copyright 2024 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/LI...
diffusers/examples/text_to_image/train_text_to_image.py/0
{ "file_path": "diffusers/examples/text_to_image/train_text_to_image.py", "repo_id": "diffusers", "token_count": 19394 }
226
import json import logging import re import zipfile from pathlib import Path from typing import Dict, Iterator, List, Union from langchain_core.chat_sessions import ChatSession from langchain_core.messages import AIMessage, HumanMessage from langchain_community.chat_loaders.base import BaseChatLoader logger = loggin...
langchain/libs/community/langchain_community/chat_loaders/slack.py/0
{ "file_path": "langchain/libs/community/langchain_community/chat_loaders/slack.py", "repo_id": "langchain", "token_count": 1471 }
221
# Copyright 2023-present the HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
peft/src/peft/config.py/0
{ "file_path": "peft/src/peft/config.py", "repo_id": "peft", "token_count": 4398 }
346
export async function getEmbeddings( worker, weightsURL, tokenizerURL, configURL, modelID, sentences, updateStatus = null ) { return new Promise((resolve, reject) => { worker.postMessage({ weightsURL, tokenizerURL, configURL, modelID, sentences, }); function mes...
candle/candle-wasm-examples/bert/utils.js/0
{ "file_path": "candle/candle-wasm-examples/bert/utils.js", "repo_id": "candle", "token_count": 1250 }
72
from llama_index.core.llms.base import BaseLLM from llama_index.llms.anyscale import Anyscale def test_text_inference_embedding_class(): names_of_base_classes = [b.__name__ for b in Anyscale.__mro__] assert BaseLLM.__name__ in names_of_base_classes
llama_index/llama-index-integrations/llms/llama-index-llms-anyscale/tests/test_llms_anyscale.py/0
{ "file_path": "llama_index/llama-index-integrations/llms/llama-index-llms-anyscale/tests/test_llms_anyscale.py", "repo_id": "llama_index", "token_count": 99 }
1,249
/* eslint-disable no-promise-executor-return */ /* eslint-disable @typescript-eslint/no-explicit-any */ import { StringOutputParser } from "../../output_parsers/string.js"; import { ChatPromptTemplate, SystemMessagePromptTemplate, HumanMessagePromptTemplate, } from "../../prompts/chat.js"; import { concat } from...
langchainjs/langchain-core/src/runnables/tests/runnable_map.test.ts/0
{ "file_path": "langchainjs/langchain-core/src/runnables/tests/runnable_map.test.ts", "repo_id": "langchainjs", "token_count": 3080 }
932
# coding=utf-8 # Copyright 2021 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 copy of the License at # # http://www.a...
transformers/src/transformers/models/speech_encoder_decoder/configuration_speech_encoder_decoder.py/0
{ "file_path": "transformers/src/transformers/models/speech_encoder_decoder/configuration_speech_encoder_decoder.py", "repo_id": "transformers", "token_count": 1595 }
659
<!--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/api/logging.md/0
{ "file_path": "diffusers/docs/source/en/api/logging.md", "repo_id": "diffusers", "token_count": 1351 }
171
import { ZepVectorStore } from "@langchain/community/vectorstores/zep"; import { FakeEmbeddings } from "@langchain/core/utils/testing"; import { TextLoader } from "langchain/document_loaders/fs/text"; import { randomUUID } from "crypto"; const loader = new TextLoader("src/document_loaders/example_data/example.txt"); c...
langchainjs/examples/src/indexes/vector_stores/zep/zep_from_docs.ts/0
{ "file_path": "langchainjs/examples/src/indexes/vector_stores/zep/zep_from_docs.ts", "repo_id": "langchainjs", "token_count": 559 }
793
<html> <head> <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> <title>Candle Segment Anything Model (SAM) Rust/WASM</title> </head> <body></body> </html> <!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1...
candle/candle-wasm-examples/segment-anything/lib-example.html/0
{ "file_path": "candle/candle-wasm-examples/segment-anything/lib-example.html", "repo_id": "candle", "token_count": 10333 }
74
# 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/clvp/number_normalizer.py/0
{ "file_path": "transformers/src/transformers/models/clvp/number_normalizer.py", "repo_id": "transformers", "token_count": 4412 }
579
/* eslint-disable no-promise-executor-return */ import { test, expect } from "@jest/globals"; import { HumanMessage } from "@langchain/core/messages"; import { ChatCohere } from "../chat_models.js"; test("ChatCohere can invoke", async () => { const model = new ChatCohere(); const response = await model.invoke([new...
langchainjs/libs/langchain-cohere/src/tests/chat_models.int.test.ts/0
{ "file_path": "langchainjs/libs/langchain-cohere/src/tests/chat_models.int.test.ts", "repo_id": "langchainjs", "token_count": 636 }
989
# coding=utf-8 # Copyright 2018 The OpenAI Team Authors and 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 copy of the License...
transformers/src/transformers/models/openai/modeling_tf_openai.py/0
{ "file_path": "transformers/src/transformers/models/openai/modeling_tf_openai.py", "repo_id": "transformers", "token_count": 17626 }
640
from llama_index.readers.pathway.base import PathwayReader __all__ = ["PathwayReader"]
llama_index/llama-index-integrations/readers/llama-index-readers-pathway/llama_index/readers/pathway/__init__.py/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-pathway/llama_index/readers/pathway/__init__.py", "repo_id": "llama_index", "token_count": 29 }
1,401
#define min(a, b) ((a)<(b)?(a):(b)) #define max(a, b) ((a)>(b)?(a):(b)) #define ceil_divide(a, b) ((a)/(b)+((a)%(b)!=0)) #define select(cond, a, b) ((cond)?(a):(b)) #define PI 3.141592 #define EPSILON 1e-8 #define MAX_VAL 1e12 #define MIN_VAL -1e12 #define EMPTY_VALUE -1
transformers/src/transformers/kernels/yoso/common.h/0
{ "file_path": "transformers/src/transformers/kernels/yoso/common.h", "repo_id": "transformers", "token_count": 140 }
638
""" PyTorch Conditionally Parameterized Convolution (CondConv) Paper: CondConv: Conditionally Parameterized Convolutions for Efficient Inference (https://arxiv.org/abs/1904.04971) Hacked together by / Copyright 2020 Ross Wightman """ import math from functools import partial import numpy as np import torch from torc...
pytorch-image-models/timm/layers/cond_conv2d.py/0
{ "file_path": "pytorch-image-models/timm/layers/cond_conv2d.py", "repo_id": "pytorch-image-models", "token_count": 2314 }
365
from __future__ import annotations import logging import os import sys from typing import ( AbstractSet, Any, AsyncIterator, Collection, Dict, Iterator, List, Literal, Mapping, Optional, Set, Tuple, Union, ) import openai import tiktoken from langchain_core.callback...
langchain/libs/partners/openai/langchain_openai/llms/base.py/0
{ "file_path": "langchain/libs/partners/openai/langchain_openai/llms/base.py", "repo_id": "langchain", "token_count": 11011 }
652
# Split code and markup CodeTextSplitter allows you to split your code and markup with support for multiple languages. LangChain supports a variety of different markup and programming language-specific text splitters to split your text based on language-specific syntax. This results in more semantically self-containe...
langchainjs/docs/core_docs/docs/modules/data_connection/document_transformers/code_splitter.mdx/0
{ "file_path": "langchainjs/docs/core_docs/docs/modules/data_connection/document_transformers/code_splitter.mdx", "repo_id": "langchainjs", "token_count": 393 }
731
import { Document } from "@langchain/core/documents"; import { TextLoader } from "./text.js"; interface ChatGPTMessage { author: { role: string; }; content: { parts: string[]; }; create_time: number; } interface ChatGPTLog { title: string; mapping: Record<string, { message: ChatGPTMessage }>; } ...
langchainjs/langchain/src/document_loaders/fs/chatgpt.ts/0
{ "file_path": "langchainjs/langchain/src/document_loaders/fs/chatgpt.ts", "repo_id": "langchainjs", "token_count": 1096 }
890
/* eslint-disable @typescript-eslint/no-non-null-assertion */ // Requires a vectorstore that supports maximal marginal relevance search import { Pinecone } from "@pinecone-database/pinecone"; import { OpenAIEmbeddings, ChatOpenAI } from "@langchain/openai"; import { PineconeStore } from "@langchain/pinecone"; import {...
langchainjs/examples/src/prompts/semantic_similarity_example_selector_custom_retriever.ts/0
{ "file_path": "langchainjs/examples/src/prompts/semantic_similarity_example_selector_custom_retriever.ts", "repo_id": "langchainjs", "token_count": 734 }
880
import { materialAllOfControlTester, MaterialAllOfRenderer, MaterialObjectRenderer, materialOneOfControlTester, MaterialOneOfRenderer, } from "@jsonforms/material-renderers"; import { BooleanCell, DateCell, DateTimeCell, EnumCell, IntegerCell, NumberCell, SliderCell, TimeCell, booleanCellTes...
langserve/langserve/playground/src/renderers.tsx/0
{ "file_path": "langserve/langserve/playground/src/renderers.tsx", "repo_id": "langserve", "token_count": 1110 }
1,064
#!/usr/bin/env python # 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...
transformers/scripts/fsmt/gen-card-facebook-wmt19.py/0
{ "file_path": "transformers/scripts/fsmt/gen-card-facebook-wmt19.py", "repo_id": "transformers", "token_count": 2078 }
546
// 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/pkg/util/metricsinfo/cache_test.go/0
{ "file_path": "milvus/pkg/util/metricsinfo/cache_test.go", "repo_id": "milvus", "token_count": 1732 }
1,919
from langchain_community.adapters.openai import ( Chat, ChatCompletion, ChatCompletionChunk, ChatCompletions, Choice, ChoiceChunk, Completions, IndexableBaseModel, chat, convert_dict_to_message, convert_message_to_dict, convert_messages_for_finetuning, convert_openai_...
langchain/libs/langchain/langchain/adapters/openai.py/0
{ "file_path": "langchain/libs/langchain/langchain/adapters/openai.py", "repo_id": "langchain", "token_count": 284 }
432