text stringlengths 3 1.68M | id stringlengths 13 169 | metadata dict | __index_level_0__ int64 0 2.21k |
|---|---|---|---|
// 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/syncmgr/storage_serializer.go/0 | {
"file_path": "milvus/internal/datanode/syncmgr/storage_serializer.go",
"repo_id": "milvus",
"token_count": 2595
} | 1,979 |
locust_insert_performance:
collections:
-
milvus:
db_config.primary_path: /test/milvus/db_data_011/insert_sift_1m_128_l2_2
collection_name: local_1m_128_l2
ni_per: 50000
build_index: false
index_type: ivf_sq8
index_param:
nlist: 1024
task:
load_s... | milvus/tests/benchmark/milvus_benchmark/suites/2_locust_insert.yaml/0 | {
"file_path": "milvus/tests/benchmark/milvus_benchmark/suites/2_locust_insert.yaml",
"repo_id": "milvus",
"token_count": 335
} | 1,972 |
# LlamaIndex Vector_Stores Integration: ClickHouse
| llama_index/llama-index-integrations/vector_stores/llama-index-vector-stores-clickhouse/README.md/0 | {
"file_path": "llama_index/llama-index-integrations/vector_stores/llama-index-vector-stores-clickhouse/README.md",
"repo_id": "llama_index",
"token_count": 13
} | 1,598 |
// Copyright (C) 2019-2020 Zilliz. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... | milvus/internal/core/src/query/visitors/ExecExprVisitor.cpp/0 | {
"file_path": "milvus/internal/core/src/query/visitors/ExecExprVisitor.cpp",
"repo_id": "milvus",
"token_count": 85871
} | 1,664 |
[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 = ["GoogleIndex"]
contains_example = false
import_path = "llama_index.indices.managed.google"... | llama_index/llama-index-integrations/indices/llama-index-indices-managed-google/pyproject.toml/0 | {
"file_path": "llama_index/llama-index-integrations/indices/llama-index-indices-managed-google/pyproject.toml",
"repo_id": "llama_index",
"token_count": 673
} | 1,337 |
# Generalization in Reinforcement Learning
Generalization plays a pivotal role in the realm of Reinforcement Learning. While **RL algorithms demonstrate good performance in controlled environments**, the real world presents a **unique challenge due to its non-stationary and open-ended nature**.
As a result, the devel... | deep-rl-class/units/en/unitbonus3/generalisation.mdx/0 | {
"file_path": "deep-rl-class/units/en/unitbonus3/generalisation.mdx",
"repo_id": "deep-rl-class",
"token_count": 250
} | 161 |
# coding=utf-8
# Copyright 2021 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.apache.org/licenses/LICENSE-2.0
#
# Unless required... | transformers/examples/research_projects/quantization-qdqbert/evaluate-hf-trt-qa.py/0 | {
"file_path": "transformers/examples/research_projects/quantization-qdqbert/evaluate-hf-trt-qa.py",
"repo_id": "transformers",
"token_count": 6397
} | 610 |
from langchain_community.tools.graphql.tool import BaseGraphQLTool
__all__ = ["BaseGraphQLTool"]
| langchain/libs/langchain/langchain/tools/graphql/tool.py/0 | {
"file_path": "langchain/libs/langchain/langchain/tools/graphql/tool.py",
"repo_id": "langchain",
"token_count": 30
} | 591 |
import { Redis, RedisOptions } from "ioredis";
import { BaseListChatMessageHistory } from "@langchain/core/chat_history";
import {
BaseMessage,
mapChatMessagesToStoredMessages,
mapStoredMessagesToChatMessages,
} from "@langchain/core/messages";
/**
* Type for the input parameter of the RedisChatMessageHistory
... | langchainjs/libs/langchain-community/src/stores/message/ioredis.ts/0 | {
"file_path": "langchainjs/libs/langchain-community/src/stores/message/ioredis.ts",
"repo_id": "langchainjs",
"token_count": 988
} | 955 |
import React from "react";
export function ColumnContainer({children}) {
return (
<div style={{ display: "flex", flexWrap: "wrap" }}>
{children}
</div>
)
}
export function Column({children}) {
return (
<div style={{ flex: "1 0 300px", padding: "10px", overflowX: "clip",... | langchain/docs/src/theme/Columns.js/0 | {
"file_path": "langchain/docs/src/theme/Columns.js",
"repo_id": "langchain",
"token_count": 172
} | 206 |
from langchain_community.tools.bing_search.tool import BingSearchResults, BingSearchRun
__all__ = ["BingSearchRun", "BingSearchResults"]
| langchain/libs/langchain/langchain/tools/bing_search/tool.py/0 | {
"file_path": "langchain/libs/langchain/langchain/tools/bing_search/tool.py",
"repo_id": "langchain",
"token_count": 40
} | 583 |
# 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 applicabl... | transformers/src/transformers/utils/peft_utils.py/0 | {
"file_path": "transformers/src/transformers/utils/peft_utils.py",
"repo_id": "transformers",
"token_count": 1972
} | 709 |
from llama_index.readers.assemblyai.base import AssemblyAIAudioTranscriptReader
__all__ = ["AssemblyAIAudioTranscriptReader"]
| llama_index/llama-index-integrations/readers/llama-index-readers-assemblyai/llama_index/readers/assemblyai/__init__.py/0 | {
"file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-assemblyai/llama_index/readers/assemblyai/__init__.py",
"repo_id": "llama_index",
"token_count": 39
} | 1,292 |
import type { BaseLanguageModelInterface } from "@langchain/core/language_models/base";
import type { AgentAction, AgentFinish } from "@langchain/core/agents";
import {
FormatInstructionsOptions,
OutputParserException,
} from "@langchain/core/output_parsers";
import { renderTemplate } from "@langchain/core/prompts"... | langchainjs/langchain/src/agents/chat_convo/outputParser.ts/0 | {
"file_path": "langchainjs/langchain/src/agents/chat_convo/outputParser.ts",
"repo_id": "langchainjs",
"token_count": 1924
} | 876 |
from typing import List, Tuple
from langchain_core.agents import AgentAction
def format_xml(
intermediate_steps: List[Tuple[AgentAction, str]],
) -> str:
"""Format the intermediate steps as XML.
Args:
intermediate_steps: The intermediate steps.
Returns:
The intermediate steps as XML... | langchain/libs/langchain/langchain/agents/format_scratchpad/xml.py/0 | {
"file_path": "langchain/libs/langchain/langchain/agents/format_scratchpad/xml.py",
"repo_id": "langchain",
"token_count": 226
} | 467 |
python_sources()
| llama_index/llama-index-integrations/readers/llama-index-readers-elasticsearch/llama_index/readers/elasticsearch/BUILD/0 | {
"file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-elasticsearch/llama_index/readers/elasticsearch/BUILD",
"repo_id": "llama_index",
"token_count": 6
} | 1,362 |
---
title: Migrating to 0.1
hide_table_of_contents: true
---
# Migration guide: 0.0 -> 0.1
If you're still using the pre `0.1` version of LangChain, but want to upgrade to the latest version, we've created a script that can handle almost every aspect of the migration for you.
At a high level, the changes from `0.0` ... | langchainjs/docs/core_docs/docs/guides/migrating.mdx/0 | {
"file_path": "langchainjs/docs/core_docs/docs/guides/migrating.mdx",
"repo_id": "langchainjs",
"token_count": 585
} | 707 |
:::tip
See [this section for general instructions on installing integration packages](/docs/get_started/installation#installing-integration-packages).
:::
| langchainjs/docs/core_docs/docs/mdx_components/integration_install_tooltip.mdx/0 | {
"file_path": "langchainjs/docs/core_docs/docs/mdx_components/integration_install_tooltip.mdx",
"repo_id": "langchainjs",
"token_count": 38
} | 732 |
import copy
from dataclasses import dataclass, field
from typing import ClassVar, Dict
from ..features import Audio, Features, Value
from .base import TaskTemplate
@dataclass(frozen=True)
class AutomaticSpeechRecognition(TaskTemplate):
task: str = field(default="automatic-speech-recognition", metadata={"include_... | datasets/src/datasets/tasks/automatic_speech_recognition.py/0 | {
"file_path": "datasets/src/datasets/tasks/automatic_speech_recognition.py",
"repo_id": "datasets",
"token_count": 459
} | 138 |
from __future__ import annotations
import ast
import json
import os
from io import StringIO
from sys import version_info
from typing import IO, TYPE_CHECKING, Any, Callable, List, Optional, Type, Union
from langchain_core.callbacks import (
AsyncCallbackManagerForToolRun,
CallbackManager,
CallbackManagerF... | langchain/libs/community/langchain_community/tools/e2b_data_analysis/tool.py/0 | {
"file_path": "langchain/libs/community/langchain_community/tools/e2b_data_analysis/tool.py",
"repo_id": "langchain",
"token_count": 3396
} | 299 |
"""Snowflake Query Engine Pack."""
import os
from typing import Any, Dict, List
from llama_index.core import ServiceContext, SQLDatabase
from llama_index.core.indices.struct_store.sql_query import NLSQLTableQueryEngine
from llama_index.core.llama_pack.base import BaseLlamaPack
from sqlalchemy import create_engine
c... | llama_index/llama-index-packs/llama-index-packs-snowflake-query-engine/llama_index/packs/snowflake_query_engine/base.py/0 | {
"file_path": "llama_index/llama-index-packs/llama-index-packs-snowflake-query-engine/llama_index/packs/snowflake_query_engine/base.py",
"repo_id": "llama_index",
"token_count": 1151
} | 1,595 |
---
sidebar_position: 3
---
# Caching
LangChain provides an optional caching layer for chat models. This is useful for two reasons:
It can save you money by reducing the number of API calls you make to the LLM provider, if you're often requesting the same completion multiple times.
It can speed up your application b... | langchainjs/docs/core_docs/docs/modules/model_io/chat/caching.mdx/0 | {
"file_path": "langchainjs/docs/core_docs/docs/modules/model_io/chat/caching.mdx",
"repo_id": "langchainjs",
"token_count": 1715
} | 736 |
# Copyright 2024 The HuggingFace Team. All rights reserved.
# `TemporalConvLayer` Copyright 2024 Alibaba DAMO-VILAB, The ModelScope 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.
#... | diffusers/src/diffusers/models/resnet.py/0 | {
"file_path": "diffusers/src/diffusers/models/resnet.py",
"repo_id": "diffusers",
"token_count": 15036
} | 237 |
from typing import Any
from llama_index.legacy.callbacks.base_handler import BaseCallbackHandler
def honeyhive_callback_handler(**kwargs: Any) -> BaseCallbackHandler:
try:
from honeyhive.utils.llamaindex_tracer import HoneyHiveLlamaIndexTracer
except ImportError:
raise ImportError("Please ins... | llama_index/llama-index-legacy/llama_index/legacy/callbacks/honeyhive_callback.py/0 | {
"file_path": "llama_index/llama-index-legacy/llama_index/legacy/callbacks/honeyhive_callback.py",
"repo_id": "llama_index",
"token_count": 141
} | 1,551 |
import os
from datasets.utils._filelock import FileLock
def test_long_path(tmpdir):
filename = "a" * 1000 + ".lock"
lock1 = FileLock(str(tmpdir / filename))
assert lock1.lock_file.endswith(".lock")
assert not lock1.lock_file.endswith(filename)
assert len(os.path.basename(lock1.lock_file)) <= 255
| datasets/tests/test_filelock.py/0 | {
"file_path": "datasets/tests/test_filelock.py",
"repo_id": "datasets",
"token_count": 120
} | 151 |
<jupyter_start><jupyter_text>KDB.AI> [KDB.AI](https://kdb.ai/) is a powerful knowledge-based vector database and search engine that allows you to build scalable, reliable AI applications, using real-time data, by providing advanced search, recommendation and personalization.[This example](https://github.com/KxSystems/k... | langchain/docs/docs/integrations/vectorstores/kdbai.ipynb/0 | {
"file_path": "langchain/docs/docs/integrations/vectorstores/kdbai.ipynb",
"repo_id": "langchain",
"token_count": 2021
} | 181 |
from typing import Any, List, Optional
from llama_index.legacy.bridge.pydantic import Field, PrivateAttr
from llama_index.legacy.callbacks import CBEventType, EventPayload
from llama_index.legacy.postprocessor.types import BaseNodePostprocessor
from llama_index.legacy.schema import MetadataMode, NodeWithScore, QueryBu... | llama_index/llama-index-legacy/llama_index/legacy/postprocessor/sbert_rerank.py/0 | {
"file_path": "llama_index/llama-index-legacy/llama_index/legacy/postprocessor/sbert_rerank.py",
"repo_id": "llama_index",
"token_count": 1539
} | 1,749 |
package planparserv2
import (
"testing"
"github.com/antlr/antlr4/runtime/Go/antlr"
"github.com/stretchr/testify/assert"
antlrparser "github.com/milvus-io/milvus/internal/parser/planparserv2/generated"
)
func genNaiveInputStream() *antlr.InputStream {
return antlr.NewInputStream("a > 2")
}
func Test_getLexer(t... | milvus/internal/parser/planparserv2/pool_test.go/0 | {
"file_path": "milvus/internal/parser/planparserv2/pool_test.go",
"repo_id": "milvus",
"token_count": 344
} | 1,808 |
// 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/kv/rocksdb/rocksdb_kv.go/0 | {
"file_path": "milvus/internal/kv/rocksdb/rocksdb_kv.go",
"repo_id": "milvus",
"token_count": 4945
} | 1,858 |
# Copyright (c) 2023 Dominic Rampas MIT License
# 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/licen... | diffusers/src/diffusers/pipelines/wuerstchen/modeling_wuerstchen_diffnext.py/0 | {
"file_path": "diffusers/src/diffusers/pipelines/wuerstchen/modeling_wuerstchen_diffnext.py",
"repo_id": "diffusers",
"token_count": 5544
} | 254 |
python_sources()
| llama_index/benchmarks/struct_indices/spider/BUILD/0 | {
"file_path": "llama_index/benchmarks/struct_indices/spider/BUILD",
"repo_id": "llama_index",
"token_count": 6
} | 1,032 |
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
};
| chat-ui/postcss.config.js/0 | {
"file_path": "chat-ui/postcss.config.js",
"repo_id": "chat-ui",
"token_count": 34
} | 92 |
# HTML
>[The HyperText Markup Language or HTML](https://en.wikipedia.org/wiki/HTML) is the standard markup language for documents designed to be displayed in a web browser.
This covers how to load `HTML` documents into a document format that we can use downstream.
```python
from langchain_community.document_loaders ... | langchain/docs/docs/modules/data_connection/document_loaders/html.mdx/0 | {
"file_path": "langchain/docs/docs/modules/data_connection/document_loaders/html.mdx",
"repo_id": "langchain",
"token_count": 439
} | 190 |
<!--Copyright 2024 The HuggingFace Team. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed... | diffusers/docs/source/en/using-diffusers/pipeline_overview.md/0 | {
"file_path": "diffusers/docs/source/en/using-diffusers/pipeline_overview.md",
"repo_id": "diffusers",
"token_count": 327
} | 200 |
"""Google PaLM embeddings file."""
from typing import Any, List, Optional
from llama_index.legacy.bridge.pydantic import PrivateAttr
from llama_index.legacy.callbacks.base import CallbackManager
from llama_index.legacy.core.embeddings.base import (
DEFAULT_EMBED_BATCH_SIZE,
BaseEmbedding,
)
class GooglePaLM... | llama_index/llama-index-legacy/llama_index/legacy/embeddings/google_palm.py/0 | {
"file_path": "llama_index/llama-index-legacy/llama_index/legacy/embeddings/google_palm.py",
"repo_id": "llama_index",
"token_count": 1172
} | 1,510 |
// 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/has_collection_task_test.go/0 | {
"file_path": "milvus/internal/rootcoord/has_collection_task_test.go",
"repo_id": "milvus",
"token_count": 1133
} | 1,853 |
// 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/job/job_load.go/0 | {
"file_path": "milvus/internal/querycoordv2/job/job_load.go",
"repo_id": "milvus",
"token_count": 5175
} | 1,840 |
# coding=utf-8
# Copyright 2023 Meta Platforms, Inc. and The HuggingFace Inc. team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses... | transformers/src/transformers/models/convnextv2/configuration_convnextv2.py/0 | {
"file_path": "transformers/src/transformers/models/convnextv2/configuration_convnextv2.py",
"repo_id": "transformers",
"token_count": 2096
} | 583 |
# Deep Q-Learning [[deep-q-learning]]
<img src="https://huggingface.co/datasets/huggingface-deep-rl-course/course-images/resolve/main/en/unit4/thumbnail.jpg" alt="Unit 3 thumbnail" width="100%">
In the last unit, we learned our first reinforcement learning algorithm: Q-Learning, **implemented it from scratch**, and... | deep-rl-class/units/en/unit3/introduction.mdx/0 | {
"file_path": "deep-rl-class/units/en/unit3/introduction.mdx",
"repo_id": "deep-rl-class",
"token_count": 437
} | 159 |
from langchain_community.chat_message_histories.dynamodb import (
DynamoDBChatMessageHistory,
)
__all__ = ["DynamoDBChatMessageHistory"]
| langchain/libs/langchain/langchain/memory/chat_message_histories/dynamodb.py/0 | {
"file_path": "langchain/libs/langchain/langchain/memory/chat_message_histories/dynamodb.py",
"repo_id": "langchain",
"token_count": 47
} | 521 |
# Copyright 2020 The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | transformers/tests/trainer/test_trainer_distributed.py/0 | {
"file_path": "transformers/tests/trainer/test_trainer_distributed.py",
"repo_id": "transformers",
"token_count": 4366
} | 760 |
from __future__ import annotations
from importlib.metadata import version
from packaging.version import parse
def is_openai_v1() -> bool:
"""Return whether OpenAI API is v1 or more."""
_version = parse(version("openai"))
return _version.major >= 1
| langchain/libs/community/langchain_community/utils/openai.py/0 | {
"file_path": "langchain/libs/community/langchain_community/utils/openai.py",
"repo_id": "langchain",
"token_count": 80
} | 306 |
"""Pydantic models for parsing an OpenAPI spec."""
from __future__ import annotations
import logging
from enum import Enum
from typing import (
TYPE_CHECKING,
Any,
Dict,
List,
Optional,
Sequence,
Tuple,
Type,
Union,
)
from langchain_core.pydantic_v1 import BaseModel, Field
from la... | langchain/libs/community/langchain_community/tools/openapi/utils/api_models.py/0 | {
"file_path": "langchain/libs/community/langchain_community/tools/openapi/utils/api_models.py",
"repo_id": "langchain",
"token_count": 9583
} | 291 |
from typing import Iterable, Optional
from langchain_core.callbacks import CallbackManagerForToolRun
from langchain_core.documents import Document
from langchain_core.tools import BaseTool
from requests.exceptions import HTTPError, ReadTimeout
from urllib3.exceptions import ConnectionError
from langchain_community.do... | langchain/libs/community/langchain_community/tools/yahoo_finance_news.py/0 | {
"file_path": "langchain/libs/community/langchain_community/tools/yahoo_finance_news.py",
"repo_id": "langchain",
"token_count": 988
} | 297 |
# 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/squad/squad.py/0 | {
"file_path": "datasets/metrics/squad/squad.py",
"repo_id": "datasets",
"token_count": 1933
} | 123 |
# coding=utf-8
# Copyright 2018 HuggingFace Inc..
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | transformers/examples/pytorch/test_pytorch_examples.py/0 | {
"file_path": "transformers/examples/pytorch/test_pytorch_examples.py",
"repo_id": "transformers",
"token_count": 10739
} | 578 |
# Tensor Parallelism
Tensor parallelism is a technique used to fit a large model in multiple GPUs. For example, when multiplying the input tensors with the first weight tensor, the matrix multiplication is equivalent to splitting the weight tensor column-wise, multiplying each column with the input separately, and the... | text-generation-inference/docs/source/conceptual/tensor_parallelism.md/0 | {
"file_path": "text-generation-inference/docs/source/conceptual/tensor_parallelism.md",
"repo_id": "text-generation-inference",
"token_count": 273
} | 402 |
poetry_requirements(
name="poetry",
)
| llama_index/llama-index-integrations/postprocessor/llama-index-postprocessor-flag-embedding-reranker/BUILD/0 | {
"file_path": "llama_index/llama-index-integrations/postprocessor/llama-index-postprocessor-flag-embedding-reranker/BUILD",
"repo_id": "llama_index",
"token_count": 18
} | 1,350 |
from typing import Any, List, Optional, Sequence
from llama_index.legacy.bridge.pydantic import BaseModel
from llama_index.legacy.callbacks.base import CallbackManager
from llama_index.legacy.callbacks.schema import CBEventType, EventPayload
from llama_index.legacy.core.base_query_engine import BaseQueryEngine
from ll... | llama_index/llama-index-legacy/llama_index/legacy/query_engine/retriever_query_engine.py/0 | {
"file_path": "llama_index/llama-index-legacy/llama_index/legacy/query_engine/retriever_query_engine.py",
"repo_id": "llama_index",
"token_count": 3329
} | 1,513 |
apiVersion: apps/v1
kind: Deployment
metadata:
name: pulsar
namespace: chroma
spec:
replicas: 1
selector:
matchLabels:
app: pulsar
template:
metadata:
labels:
app: pulsar
spec:
containers:
- name: pulsar
image: apachepulsar/pulsar
command: [ "/... | chroma/k8s/dev/pulsar.yaml/0 | {
"file_path": "chroma/k8s/dev/pulsar.yaml",
"repo_id": "chroma",
"token_count": 419
} | 53 |
python_tests()
| llama_index/llama-index-integrations/vector_stores/llama-index-vector-stores-neo4jvector/tests/BUILD/0 | {
"file_path": "llama_index/llama-index-integrations/vector_stores/llama-index-vector-stores-neo4jvector/tests/BUILD",
"repo_id": "llama_index",
"token_count": 5
} | 1,530 |
package coordinator
import (
"context"
"testing"
"github.com/chroma/chroma-coordinator/internal/metastore/coordinator"
"github.com/chroma/chroma-coordinator/internal/model"
"github.com/chroma/chroma-coordinator/internal/types"
"pgregory.net/rapid"
)
func testMeta(t *rapid.T) {
catalog := coordinator.NewMemory... | chroma/go/coordinator/internal/coordinator/meta_test.go/0 | {
"file_path": "chroma/go/coordinator/internal/coordinator/meta_test.go",
"repo_id": "chroma",
"token_count": 1466
} | 46 |
# coding=utf-8
# Copyright 2021 The HuggingFace Inc. team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless r... | transformers/src/transformers/models/roformer/modeling_flax_roformer.py/0 | {
"file_path": "transformers/src/transformers/models/roformer/modeling_flax_roformer.py",
"repo_id": "transformers",
"token_count": 17227
} | 689 |
"""Local file management toolkit."""
from langchain_community.agent_toolkits.file_management.toolkit import (
FileManagementToolkit,
)
__all__ = ["FileManagementToolkit"]
| langchain/libs/community/langchain_community/agent_toolkits/file_management/__init__.py/0 | {
"file_path": "langchain/libs/community/langchain_community/agent_toolkits/file_management/__init__.py",
"repo_id": "langchain",
"token_count": 54
} | 219 |
python_sources()
| llama_index/llama-index-legacy/llama_index/legacy/llms/BUILD/0 | {
"file_path": "llama_index/llama-index-legacy/llama_index/legacy/llms/BUILD",
"repo_id": "llama_index",
"token_count": 6
} | 1,613 |
import contextlib
import importlib
import inspect
import json
import os
import re
from inspect import isclass
from typing import (
Any,
AsyncIterator,
Awaitable,
Callable,
Dict,
Generator,
Literal,
Mapping,
Optional,
Sequence,
Tuple,
Type,
Union,
)
from fastapi impor... | langserve/langserve/api_handler.py/0 | {
"file_path": "langserve/langserve/api_handler.py",
"repo_id": "langserve",
"token_count": 24856
} | 1,127 |
// Auto-generated by `scripts/create-entrypoints.js`. Do not edit manually.
export const optionalImportEntrypoints: string[] = [
"langchain/agents/load",
"langchain/agents/toolkits/aws_sfn",
"langchain/agents/toolkits/sql",
"langchain/tools/aws_lambda",
"langchain/tools/aws_sfn",
"langchain/tools/calculato... | langchainjs/langchain/src/load/import_constants.ts/0 | {
"file_path": "langchainjs/langchain/src/load/import_constants.ts",
"repo_id": "langchainjs",
"token_count": 2582
} | 946 |
import argparse
import inspect
import os
import numpy as np
import torch
import yaml
from torch.nn import functional as F
from transformers import CLIPConfig, CLIPImageProcessor, CLIPVisionModelWithProjection, T5EncoderModel, T5Tokenizer
from diffusers import DDPMScheduler, IFPipeline, IFSuperResolutionPipeline, UNet... | diffusers/scripts/convert_if.py/0 | {
"file_path": "diffusers/scripts/convert_if.py",
"repo_id": "diffusers",
"token_count": 23048
} | 226 |
python_sources()
| llama_index/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/tabular/BUILD/0 | {
"file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/tabular/BUILD",
"repo_id": "llama_index",
"token_count": 6
} | 1,364 |
use std::convert::TryInto;
use std::sync::Arc;
use pyo3::exceptions;
use pyo3::prelude::*;
use pyo3::types::*;
use crate::encoding::PyEncoding;
use crate::error::ToPyResult;
use serde::{Deserialize, Serialize};
use tk::processors::bert::BertProcessing;
use tk::processors::byte_level::ByteLevel;
use tk::processors::ro... | tokenizers/bindings/python/src/processors.rs/0 | {
"file_path": "tokenizers/bindings/python/src/processors.rs",
"repo_id": "tokenizers",
"token_count": 7873
} | 439 |
from typing import Dict, List, Type
from llama_index.agent import OpenAIAgent, ReActAgent
from llama_index.agent.types import BaseAgent
from llama_index.llms import Anthropic, OpenAI
from llama_index.llms.llama_utils import messages_to_prompt
from llama_index.llms.llm import LLM
from llama_index.llms.replicate import ... | llama_index/benchmarks/agent/agent_utils.py/0 | {
"file_path": "llama_index/benchmarks/agent/agent_utils.py",
"repo_id": "llama_index",
"token_count": 958
} | 1,051 |
from llama_index.vector_stores.google.base import (
GoogleVectorStore,
set_google_config,
)
__all__ = [
"set_google_config",
"GoogleVectorStore",
]
| llama_index/llama-index-integrations/vector_stores/llama-index-vector-stores-google/llama_index/vector_stores/google/__init__.py/0 | {
"file_path": "llama_index/llama-index-integrations/vector_stores/llama-index-vector-stores-google/llama_index/vector_stores/google/__init__.py",
"repo_id": "llama_index",
"token_count": 65
} | 1,466 |
#!/usr/bin/env bash
# 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... | milvus/scripts/install_deps.sh/0 | {
"file_path": "milvus/scripts/install_deps.sh",
"repo_id": "milvus",
"token_count": 1518
} | 1,920 |
# Azure Cosmos DB
> [Azure Cosmos DB for MongoDB vCore](https://learn.microsoft.com/en-us/azure/cosmos-db/mongodb/vcore/) makes it easy to create a database with full native MongoDB support. You can apply your MongoDB experience and continue to use your favorite MongoDB drivers, SDKs, and tools by pointing your applic... | langchainjs/docs/core_docs/docs/integrations/vectorstores/azure_cosmosdb.mdx/0 | {
"file_path": "langchainjs/docs/core_docs/docs/integrations/vectorstores/azure_cosmosdb.mdx",
"repo_id": "langchainjs",
"token_count": 650
} | 727 |
# Porting a custom kernel
| candle/candle-book/src/cuda/porting.md/0 | {
"file_path": "candle/candle-book/src/cuda/porting.md",
"repo_id": "candle",
"token_count": 7
} | 24 |
"""Tool for asking human input."""
from typing import Callable, Optional
from langchain_core.callbacks import CallbackManagerForToolRun
from langchain_core.pydantic_v1 import Field
from langchain_core.tools import BaseTool
def _print_func(text: str) -> None:
print("\n") # noqa: T201
print(text) # noqa: T2... | langchain/libs/community/langchain_community/tools/human/tool.py/0 | {
"file_path": "langchain/libs/community/langchain_community/tools/human/tool.py",
"repo_id": "langchain",
"token_count": 378
} | 294 |
# Visualize the Clipped Surrogate Objective Function
Don't worry. **It's normal if this seems complex to handle right now**. But we're going to see what this Clipped Surrogate Objective Function looks like, and this will help you to visualize better what's going on.
<figure class="image table text-center m-0 w-full">... | deep-rl-class/units/en/unit8/visualize.mdx/0 | {
"file_path": "deep-rl-class/units/en/unit8/visualize.mdx",
"repo_id": "deep-rl-class",
"token_count": 1594
} | 167 |
import { BufferMemory } from "langchain/memory";
import { ChatOpenAI } from "@langchain/openai";
import { ConversationChain } from "langchain/chains";
import { XataChatMessageHistory } from "@langchain/community/stores/message/xata";
import { BaseClient } from "@xata.io/client";
// Before running this example, see the... | langchainjs/examples/src/memory/xata-advanced.ts/0 | {
"file_path": "langchainjs/examples/src/memory/xata-advanced.ts",
"repo_id": "langchainjs",
"token_count": 562
} | 841 |
<jupyter_start><jupyter_text>Facebook MessengerThis notebook shows how to load data from Facebook in a format you can fine-tune on. The overall steps are:1. Download your messenger data to disk.2. Create the Chat Loader and call `loader.load()` (or `loader.lazy_load()`) to perform the conversion.3. Optionally use `merg... | langchain/docs/docs/integrations/chat_loaders/facebook.ipynb/0 | {
"file_path": "langchain/docs/docs/integrations/chat_loaders/facebook.ipynb",
"repo_id": "langchain",
"token_count": 2443
} | 98 |
# 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 applicabl... | transformers/src/transformers/pipelines/image_to_image.py/0 | {
"file_path": "transformers/src/transformers/pipelines/image_to_image.py",
"repo_id": "transformers",
"token_count": 1882
} | 726 |
poetry_requirements(
name="poetry",
)
python_requirements(
name="reqs",
)
| llama_index/llama-index-integrations/readers/llama-index-readers-smart-pdf-loader/BUILD/0 | {
"file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-smart-pdf-loader/BUILD",
"repo_id": "llama_index",
"token_count": 36
} | 1,381 |
# LlamaIndex Docstore Integration: Postgres
| llama_index/llama-index-integrations/storage/docstore/llama-index-storage-docstore-postgres/README.md/0 | {
"file_path": "llama_index/llama-index-integrations/storage/docstore/llama-index-storage-docstore-postgres/README.md",
"repo_id": "llama_index",
"token_count": 11
} | 1,414 |
python_sources()
| llama_index/llama-index-legacy/llama_index/legacy/finetuning/gradient/BUILD/0 | {
"file_path": "llama_index/llama-index-legacy/llama_index/legacy/finetuning/gradient/BUILD",
"repo_id": "llama_index",
"token_count": 6
} | 1,557 |
import torch
# vllm imports
from vllm import cache_ops
from vllm import attention_ops
_PARTITION_SIZE = 512
def reshape_and_cache(
key: torch.Tensor,
value: torch.Tensor,
key_cache: torch.Tensor,
value_cache: torch.Tensor,
slots: torch.Tensor,
):
cache_ops.reshape_and_cache(key, value, key_c... | text-generation-inference/server/text_generation_server/utils/paged_attention.py/0 | {
"file_path": "text-generation-inference/server/text_generation_server/utils/paged_attention.py",
"repo_id": "text-generation-inference",
"token_count": 1485
} | 408 |
"""Test Aleph Alpha API wrapper."""
from langchain_community.llms.aleph_alpha import AlephAlpha
def test_aleph_alpha_call() -> None:
"""Test valid call to cohere."""
llm = AlephAlpha(maximum_tokens=10)
output = llm("Say foo:")
assert isinstance(output, str)
| langchain/libs/community/tests/integration_tests/llms/test_aleph_alpha.py/0 | {
"file_path": "langchain/libs/community/tests/integration_tests/llms/test_aleph_alpha.py",
"repo_id": "langchain",
"token_count": 101
} | 367 |
# LlamaIndex Docstore Integration: Dynamodb Docstore
| llama_index/llama-index-integrations/storage/docstore/llama-index-storage-docstore-dynamodb/README.md/0 | {
"file_path": "llama_index/llama-index-integrations/storage/docstore/llama-index-storage-docstore-dynamodb/README.md",
"repo_id": "llama_index",
"token_count": 14
} | 1,487 |
python_sources()
| llama_index/llama-index-integrations/llms/llama-index-llms-bedrock/llama_index/llms/bedrock/BUILD/0 | {
"file_path": "llama_index/llama-index-integrations/llms/llama-index-llms-bedrock/llama_index/llms/bedrock/BUILD",
"repo_id": "llama_index",
"token_count": 6
} | 1,216 |
import { OpenAIEmbeddings } from "@langchain/openai";
const embeddings = new OpenAIEmbeddings({
timeout: 1000, // 1s timeout
});
/* Embed queries */
const res = await embeddings.embedQuery("Hello world");
console.log(res);
/* Embed documents */
const documentRes = await embeddings.embedDocuments(["Hello world", "Bye... | langchainjs/examples/src/models/embeddings/openai_timeout.ts/0 | {
"file_path": "langchainjs/examples/src/models/embeddings/openai_timeout.ts",
"repo_id": "langchainjs",
"token_count": 110
} | 806 |
"""List-based data structures."""
from llama_index.core.indices.list.base import (
GPTListIndex,
ListIndex,
SummaryIndex,
)
from llama_index.core.indices.list.retrievers import (
ListIndexEmbeddingRetriever,
ListIndexLLMRetriever,
ListIndexRetriever,
SummaryIndexEmbeddingRetriever,
Summ... | llama_index/llama-index-core/llama_index/core/indices/list/__init__.py/0 | {
"file_path": "llama_index/llama-index-core/llama_index/core/indices/list/__init__.py",
"repo_id": "llama_index",
"token_count": 260
} | 1,178 |
from langchain_core.runnables.retry import RunnableRetry, U
__all__ = ["RunnableRetry", "U"]
| langchain/libs/langchain/langchain/schema/runnable/retry.py/0 | {
"file_path": "langchain/libs/langchain/langchain/schema/runnable/retry.py",
"repo_id": "langchain",
"token_count": 37
} | 568 |
# coding=utf-8
# Copyright 2022 Facebook AI and The HuggingFace Inc. team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-... | transformers/src/transformers/models/vit_mae/modeling_tf_vit_mae.py/0 | {
"file_path": "transformers/src/transformers/models/vit_mae/modeling_tf_vit_mae.py",
"repo_id": "transformers",
"token_count": 22784
} | 670 |
// 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/dist/dist_handler.go/0 | {
"file_path": "milvus/internal/querycoordv2/dist/dist_handler.go",
"repo_id": "milvus",
"token_count": 3395
} | 1,753 |
from __future__ import annotations
from typing import TYPE_CHECKING
import pytest
from langchain_core.documents import Document
from langchain_community.document_loaders import PolarsDataFrameLoader
if TYPE_CHECKING:
import polars as pl
@pytest.fixture
def sample_data_frame() -> pl.DataFrame:
import polar... | langchain/libs/community/tests/integration_tests/document_loaders/test_polars_dataframe.py/0 | {
"file_path": "langchain/libs/community/tests/integration_tests/document_loaders/test_polars_dataframe.py",
"repo_id": "langchain",
"token_count": 615
} | 330 |
import pytest
from tokenizers import BertWordPieceTokenizer
from ..utils import bert_files, data_dir
class TestEncoding:
@pytest.fixture(scope="class")
def encodings(self, bert_files):
tokenizer = BertWordPieceTokenizer.from_file(bert_files["vocab"])
single_encoding = tokenizer.encode("I lov... | tokenizers/bindings/python/tests/bindings/test_encoding.py/0 | {
"file_path": "tokenizers/bindings/python/tests/bindings/test_encoding.py",
"repo_id": "tokenizers",
"token_count": 1991
} | 463 |
// Copyright (C) 2019-2020 Zilliz. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... | milvus/internal/core/src/index/SkipIndex.cpp/0 | {
"file_path": "milvus/internal/core/src/index/SkipIndex.cpp",
"repo_id": "milvus",
"token_count": 2783
} | 1,754 |
<!--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/hubert.md/0 | {
"file_path": "transformers/docs/source/en/model_doc/hubert.md",
"repo_id": "transformers",
"token_count": 930
} | 507 |
import os
from typing import Optional, Union
WATSONX_MODELS = {
"google/flan-t5-xxl": 4096,
"google/flan-ul2": 4096,
"bigscience/mt0-xxl": 4096,
"eleutherai/gpt-neox-20b": 8192,
"bigcode/starcoder": 8192,
"meta-llama/llama-2-70b-chat": 4096,
"ibm/mpt-7b-instruct2": 2048,
"ibm/granite-13... | llama_index/llama-index-legacy/llama_index/legacy/llms/watsonx_utils.py/0 | {
"file_path": "llama_index/llama-index-legacy/llama_index/legacy/llms/watsonx_utils.py",
"repo_id": "llama_index",
"token_count": 533
} | 1,739 |
[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 = ["LangChainLLM"]
contains_example = false
import_path = "llama_index.llms.langchain"
[tool... | llama_index/llama-index-integrations/llms/llama-index-llms-langchain/pyproject.toml/0 | {
"file_path": "llama_index/llama-index-integrations/llms/llama-index-llms-langchain/pyproject.toml",
"repo_id": "llama_index",
"token_count": 688
} | 1,227 |
{
"$schema": "https://json.schemastore.org/prettierrc",
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": false,
"quoteProps": "as-needed",
"jsxSingleQuote": false,
"trailingComma": "es5",
"bracketSpacing": true,
"arrowParens": "always",
"requirePragma": false,
"i... | langchainjs/.prettierrc/0 | {
"file_path": "langchainjs/.prettierrc",
"repo_id": "langchainjs",
"token_count": 191
} | 761 |
<jupyter_start><jupyter_text>Human input LLMSimilar to the fake LLM, LangChain provides a pseudo LLM class that can be used for testing, debugging, or educational purposes. This allows you to mock out calls to the LLM and simulate how a human would respond if they received the prompts.In this notebook, we go over how t... | langchain/cookbook/human_input_llm.ipynb/0 | {
"file_path": "langchain/cookbook/human_input_llm.ipynb",
"repo_id": "langchain",
"token_count": 606
} | 72 |
import base64
import itertools
import json
import re
from pathlib import Path
from typing import Dict, List, Type
import requests
from langchain_core.pydantic_v1 import BaseModel, Field
from langchain_community.tools import Tool
def strip_markdown_code(md_string: str) -> str:
"""Strip markdown code from a strin... | langchain/libs/community/langchain_community/tools/bearly/tool.py/0 | {
"file_path": "langchain/libs/community/langchain_community/tools/bearly/tool.py",
"repo_id": "langchain",
"token_count": 2386
} | 279 |
from pathlib import Path
from langchain.utilities import SQLDatabase
from langchain_community.llms import Replicate
from langchain_core.output_parsers import StrOutputParser
from langchain_core.prompts import ChatPromptTemplate
from langchain_core.pydantic_v1 import BaseModel
from langchain_core.runnables import Runna... | langchain/templates/sql-llama2/sql_llama2/chain.py/0 | {
"file_path": "langchain/templates/sql-llama2/sql_llama2/chain.py",
"repo_id": "langchain",
"token_count": 875
} | 679 |
use super::with_tracing::{linear_no_bias as linear, Linear};
use candle::{DType, Device, IndexOp, Result, Tensor, D};
use candle_nn::{embedding, Embedding, Module, VarBuilder};
use std::collections::HashMap;
use std::sync::{Arc, Mutex};
pub const MAX_SEQ_LEN: usize = 4096;
#[derive(Debug, Clone, serde::Deserialize)]
... | candle/candle-transformers/src/models/llama.rs/0 | {
"file_path": "candle/candle-transformers/src/models/llama.rs",
"repo_id": "candle",
"token_count": 7761
} | 78 |
<jupyter_start><jupyter_text>Building a Live RAG Pipeline over Google Drive FilesIn this guide we show you how to build a "live" RAG pipeline over Google Drive files.This pipeline will index Google Drive files and dump them to a Redis vector store. Afterwards, every time you rerun the ingestion pipeline, the pipeline w... | llama_index/docs/examples/ingestion/ingestion_gdrive.ipynb/0 | {
"file_path": "llama_index/docs/examples/ingestion/ingestion_gdrive.ipynb",
"repo_id": "llama_index",
"token_count": 1753
} | 1,141 |
.. _Ref-Embeddings:
Embeddings
=================
Users have a few options to choose from when it comes to embeddings.
- :code:`OpenAIEmbedding`: the default embedding class. Defaults to "text-embedding-ada-002"
- :code:`HuggingFaceEmbedding`: a generic wrapper around HuggingFace's transformers models.
- :code:`Optim... | llama_index/docs/api_reference/service_context/embeddings.rst/0 | {
"file_path": "llama_index/docs/api_reference/service_context/embeddings.rst",
"repo_id": "llama_index",
"token_count": 669
} | 1,082 |
from typing import Dict, Tuple
from langchain.chains.query_constructor.ir import (
Comparator,
Comparison,
Operation,
Operator,
StructuredQuery,
)
from langchain.retrievers.self_query.weaviate import WeaviateTranslator
DEFAULT_TRANSLATOR = WeaviateTranslator()
def test_visit_comparison() -> None... | langchain/libs/langchain/tests/unit_tests/retrievers/self_query/test_weaviate.py/0 | {
"file_path": "langchain/libs/langchain/tests/unit_tests/retrievers/self_query/test_weaviate.py",
"repo_id": "langchain",
"token_count": 2049
} | 604 |
poetry_requirements(
name="poetry",
)
python_requirements(
name="reqs",
)
| llama_index/llama-index-integrations/readers/llama-index-readers-nougat-ocr/BUILD/0 | {
"file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-nougat-ocr/BUILD",
"repo_id": "llama_index",
"token_count": 36
} | 1,492 |
import os
import sys
from pathlib import Path
import pytest
from datasets import Dataset, IterableDataset
from datasets.distributed import split_dataset_by_node
from .utils import execute_subprocess_async, get_torch_dist_unique_port, require_torch
def test_split_dataset_by_node_map_style():
full_ds = Dataset.f... | datasets/tests/test_distributed.py/0 | {
"file_path": "datasets/tests/test_distributed.py",
"repo_id": "datasets",
"token_count": 1926
} | 147 |
# LlamaIndex Llms Integration: Dashscope
| llama_index/llama-index-integrations/llms/llama-index-llms-dashscope/README.md/0 | {
"file_path": "llama_index/llama-index-integrations/llms/llama-index-llms-dashscope/README.md",
"repo_id": "llama_index",
"token_count": 11
} | 1,293 |
apiVersion: chaos-mesh.org/v1alpha1
kind: NetworkChaos
metadata:
name: test-querynode-network-partition
namespace: chaos-testing
spec:
action: partition
mode: all
selector:
namespaces:
- chaos-testing
labelSelectors:
app.kubernetes.io/instance: chaos-testing
app.kubernetes.io/name: m... | milvus/tests/python_client/chaos/chaos_objects/network_partition/chaos_querynode_network_partition.yaml/0 | {
"file_path": "milvus/tests/python_client/chaos/chaos_objects/network_partition/chaos_querynode_network_partition.yaml",
"repo_id": "milvus",
"token_count": 241
} | 2,108 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.