text stringlengths 3 1.68M | id stringlengths 13 169 | metadata dict | __index_level_0__ int64 0 2.21k |
|---|---|---|---|
// 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/indexparamcheck/index_type.go/0 | {
"file_path": "milvus/pkg/util/indexparamcheck/index_type.go",
"repo_id": "milvus",
"token_count": 719
} | 1,913 |
// 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/balance/balance.go/0 | {
"file_path": "milvus/internal/querycoordv2/balance/balance.go",
"repo_id": "milvus",
"token_count": 1649
} | 1,749 |
from langchain_community.llms.predictionguard import PredictionGuard
__all__ = ["PredictionGuard"]
| langchain/libs/langchain/langchain/llms/predictionguard.py/0 | {
"file_path": "langchain/libs/langchain/langchain/llms/predictionguard.py",
"repo_id": "langchain",
"token_count": 27
} | 524 |
from typing import Any, Iterator
from langchain_core.documents import Document
from langchain_community.document_loaders.dataframe import BaseDataFrameLoader
class PolarsDataFrameLoader(BaseDataFrameLoader):
"""Load `Polars` DataFrame."""
def __init__(self, data_frame: Any, *, page_content_column: str = "t... | langchain/libs/community/langchain_community/document_loaders/polars_dataframe.py/0 | {
"file_path": "langchain/libs/community/langchain_community/document_loaders/polars_dataframe.py",
"repo_id": "langchain",
"token_count": 471
} | 247 |
from langchain_community.llms.together import Together
__all__ = ["Together"]
| langchain/libs/langchain/langchain/llms/together.py/0 | {
"file_path": "langchain/libs/langchain/langchain/llms/together.py",
"repo_id": "langchain",
"token_count": 22
} | 552 |
# 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/pipelines/deprecated/versatile_diffusion/pipeline_versatile_diffusion_dual_guided.py/0 | {
"file_path": "diffusers/src/diffusers/pipelines/deprecated/versatile_diffusion/pipeline_versatile_diffusion_dual_guided.py",
"repo_id": "diffusers",
"token_count": 11560
} | 250 |
/* eslint-disable spaced-comment */
import { PromptTemplate } from "@langchain/core/prompts";
export const API_URL_RAW_PROMPT_TEMPLATE = `You are given the below API Documentation:
{api_docs}
Using this documentation, generate the full API url to call for answering the user question.
You should build the API url in or... | langchainjs/langchain/src/chains/api/prompts.ts/0 | {
"file_path": "langchainjs/langchain/src/chains/api/prompts.ts",
"repo_id": "langchainjs",
"token_count": 359
} | 902 |
# scale object
# IMAGE_REPOSITORY = "registry.milvus.io/milvus/milvus" # repository of milvus image
IMAGE_REPOSITORY = "harbor.milvus.io/dockerhub/milvusdb/milvus"
IMAGE_TAG = "master-20211227-b022615" # tag of milvus image
# NAMESPACE = "chaos-testing" # namespace
NAMESPACE = "qa"
IF_NOT_PRESENT = "IfNotPresent" #... | milvus/tests/python_client/scale/constants.py/0 | {
"file_path": "milvus/tests/python_client/scale/constants.py",
"repo_id": "milvus",
"token_count": 157
} | 1,910 |
python_sources()
| llama_index/llama-index-packs/llama-index-packs-rag-fusion-query-pipeline/examples/BUILD/0 | {
"file_path": "llama_index/llama-index-packs/llama-index-packs-rag-fusion-query-pipeline/examples/BUILD",
"repo_id": "llama_index",
"token_count": 6
} | 1,864 |
""" Testing suite for the Tensorflow CvT model. """
from __future__ import annotations
import inspect
import unittest
from math import floor
import numpy as np
from transformers import CvtConfig
from transformers.testing_utils import require_tf, require_vision, slow
from transformers.utils import cached_property, ... | transformers/tests/models/cvt/test_modeling_tf_cvt.py/0 | {
"file_path": "transformers/tests/models/cvt/test_modeling_tf_cvt.py",
"repo_id": "transformers",
"token_count": 4675
} | 793 |
python_tests()
| llama_index/llama-index-integrations/readers/llama-index-readers-maps/tests/BUILD/0 | {
"file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-maps/tests/BUILD",
"repo_id": "llama_index",
"token_count": 5
} | 1,519 |
poetry_requirements(
name="poetry",
)
| llama_index/llama-index-integrations/llms/llama-index-llms-vllm/BUILD/0 | {
"file_path": "llama_index/llama-index-integrations/llms/llama-index-llms-vllm/BUILD",
"repo_id": "llama_index",
"token_count": 18
} | 1,376 |
{
"openapi": "3.0.1",
"info": {
"title": "Slack AI Plugin",
"description": "A plugin that allows users to interact with Slack using ChatGPT",
"version": "v1"
},
"servers": [
{
"url": "https://slack.com/api"
}
],
"components": {
"schemas": {
"search... | langchain/libs/community/tests/unit_tests/examples/test_specs/slack/apispec.json/0 | {
"file_path": "langchain/libs/community/tests/unit_tests/examples/test_specs/slack/apispec.json",
"repo_id": "langchain",
"token_count": 1691
} | 398 |
poetry_requirements(
name="poetry",
)
| llama_index/llama-index-integrations/llms/llama-index-llms-huggingface/BUILD/0 | {
"file_path": "llama_index/llama-index-integrations/llms/llama-index-llms-huggingface/BUILD",
"repo_id": "llama_index",
"token_count": 18
} | 1,258 |
// 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/ShowPlanNodeVisitor.cpp/0 | {
"file_path": "milvus/internal/core/src/query/visitors/ShowPlanNodeVisitor.cpp",
"repo_id": "milvus",
"token_count": 2245
} | 1,762 |
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed... | transformers/docs/source/en/model_doc/mctct.md/0 | {
"file_path": "transformers/docs/source/en/model_doc/mctct.md",
"repo_id": "transformers",
"token_count": 928
} | 459 |
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="100%" viewBox="0 0 4083 3312" enable-background="new 0 0 4083 3312" xml:space="preserve">
<path fill="#4599F5" opacity="1.000000" stroke="none"
d="
M2.000000,632.000000
C2.000000,43... | langchainjs/docs/core_docs/static/svg/langchain_stack.svg/0 | {
"file_path": "langchainjs/docs/core_docs/static/svg/langchain_stack.svg",
"repo_id": "langchainjs",
"token_count": 528508
} | 803 |
<jupyter_start><jupyter_text>Tair>[Tair](https://www.alibabacloud.com/help/en/tair/latest/what-is-tair) is a cloud native in-memory database service developed by `Alibaba Cloud`. It provides rich data models and enterprise-grade capabilities to support your real-time online scenarios while maintaining full compatibilit... | langchain/docs/docs/integrations/vectorstores/tair.ipynb/0 | {
"file_path": "langchain/docs/docs/integrations/vectorstores/tair.ipynb",
"repo_id": "langchain",
"token_count": 768
} | 180 |
from llama_index.agent.openai.base import OpenAIAgent
from llama_index.agent.openai.openai_assistant_agent import OpenAIAssistantAgent
from llama_index.agent.openai.step import OpenAIAgentWorker
__all__ = ["OpenAIAgent", "OpenAIAgentWorker", "OpenAIAssistantAgent"]
| llama_index/llama-index-integrations/agent/llama-index-agent-openai/llama_index/agent/openai/__init__.py/0 | {
"file_path": "llama_index/llama-index-integrations/agent/llama-index-agent-openai/llama_index/agent/openai/__init__.py",
"repo_id": "llama_index",
"token_count": 92
} | 1,167 |
import logging
from typing import Any, AsyncIterator, Dict, Iterator, List, Mapping, Optional, cast
from langchain_core.callbacks import (
AsyncCallbackManagerForLLMRun,
CallbackManagerForLLMRun,
)
from langchain_core.language_models.chat_models import BaseChatModel
from langchain_core.messages import (
AI... | langchain/libs/community/langchain_community/chat_models/baidu_qianfan_endpoint.py/0 | {
"file_path": "langchain/libs/community/langchain_community/chat_models/baidu_qianfan_endpoint.py",
"repo_id": "langchain",
"token_count": 6457
} | 225 |
from typing import Sequence
from langchain_core.language_models import BaseLanguageModel
from langchain_core.prompts.chat import ChatPromptTemplate
from langchain_core.runnables import Runnable, RunnablePassthrough
from langchain_core.tools import BaseTool
from langchain.agents.format_scratchpad import format_log_to_... | langchain/libs/langchain/langchain/agents/json_chat/base.py/0 | {
"file_path": "langchain/libs/langchain/langchain/agents/json_chat/base.py",
"repo_id": "langchain",
"token_count": 2784
} | 441 |
# flake8: noqa
"""Tools provide access to various resources and services.
LangChain has a large ecosystem of integrations with various external resources
like local and remote file systems, APIs and databases.
These integrations allow developers to create versatile applications that combine the
power of LLMs with the... | langchain/libs/langchain/langchain/agents/load_tools.py/0 | {
"file_path": "langchain/libs/langchain/langchain/agents/load_tools.py",
"repo_id": "langchain",
"token_count": 9120
} | 487 |
<!--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/control_brightness.md/0 | {
"file_path": "diffusers/docs/source/en/using-diffusers/control_brightness.md",
"repo_id": "diffusers",
"token_count": 874
} | 189 |
package notification
import (
"context"
"github.com/chroma/chroma-coordinator/internal/model"
)
type NotificationStore interface {
GetAllPendingNotifications(ctx context.Context) (map[string][]model.Notification, error)
GetNotifications(ctx context.Context, collecitonID string) ([]model.Notification, error)
Add... | chroma/go/coordinator/internal/notification/notification_store.go/0 | {
"file_path": "chroma/go/coordinator/internal/notification/notification_store.go",
"repo_id": "chroma",
"token_count": 133
} | 54 |
python_tests()
| llama_index/llama-index-integrations/embeddings/llama-index-embeddings-huggingface/tests/BUILD/0 | {
"file_path": "llama_index/llama-index-integrations/embeddings/llama-index-embeddings-huggingface/tests/BUILD",
"repo_id": "llama_index",
"token_count": 5
} | 1,245 |
python_sources()
| llama_index/llama-index-integrations/llms/llama-index-llms-cohere/llama_index/llms/cohere/BUILD/0 | {
"file_path": "llama_index/llama-index-integrations/llms/llama-index-llms-cohere/llama_index/llms/cohere/BUILD",
"repo_id": "llama_index",
"token_count": 6
} | 1,218 |
from collections import OrderedDict
from typing import Any, Callable, Generic, Optional, TypeVar
K = TypeVar("K")
V = TypeVar("V")
class LRUCache(Generic[K, V]):
"""A simple LRU cache implementation, based on the OrderedDict class, which allows
for a callback to be invoked when an item is evicted from the c... | chroma/chromadb/utils/lru_cache.py/0 | {
"file_path": "chroma/chromadb/utils/lru_cache.py",
"repo_id": "chroma",
"token_count": 446
} | 28 |
html,
body {
padding: 0;
margin: 0;
font-family: Greycliff C, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
line-height: 1.6;
font-size: 18px;
}
* {
box-sizing: border-box;
}
a {
color: #000;
text-decoration: unde... | auto-evaluator/nextjs/styles/global.css/0 | {
"file_path": "auto-evaluator/nextjs/styles/global.css",
"repo_id": "auto-evaluator",
"token_count": 319
} | 5 |
version: '3.5'
x-ccache: &ccache
CCACHE_COMPILERCHECK: content
CCACHE_COMPRESS: 1
CCACHE_COMPRESSLEVEL: 5
CCACHE_MAXSIZE: 2G
CCACHE_DIR: /ccache
services:
builder:
image: ${IMAGE_REPO}/milvus-env:${OS_NAME}-${DATE_VERSION}
# Build devcontainer
build:
context: .
dockerfile: build/do... | milvus/docker-compose.yml/0 | {
"file_path": "milvus/docker-compose.yml",
"repo_id": "milvus",
"token_count": 2095
} | 1,720 |
<!--Copyright 2020 The HuggingFace Team. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed... | transformers/docs/source/en/main_classes/callback.md/0 | {
"file_path": "transformers/docs/source/en/main_classes/callback.md",
"repo_id": "transformers",
"token_count": 1520
} | 498 |
# Building RAG from Scratch (Lower-Level)
This doc is a hub for showing how you can build RAG and agent-based apps using only lower-level abstractions (e.g. LLMs, prompts, embedding models), and without using more "packaged" out of the box abstractions.
Out of the box abstractions include:
- High-level ingestion cod... | llama_index/docs/optimizing/building_rag_from_scratch.md/0 | {
"file_path": "llama_index/docs/optimizing/building_rag_from_scratch.md",
"repo_id": "llama_index",
"token_count": 1225
} | 1,128 |
python_tests()
| llama_index/llama-index-integrations/readers/llama-index-readers-bitbucket/tests/BUILD/0 | {
"file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-bitbucket/tests/BUILD",
"repo_id": "llama_index",
"token_count": 5
} | 1,412 |
# Load tabular data
A tabular dataset is a generic dataset used to describe any data stored in rows and columns, where the rows represent an example and the columns represent a feature (can be continuous or categorical). These datasets are commonly stored in CSV files, Pandas DataFrames, and in database tables. This g... | datasets/docs/source/tabular_load.mdx/0 | {
"file_path": "datasets/docs/source/tabular_load.mdx",
"repo_id": "datasets",
"token_count": 1868
} | 124 |
// Code generated by mockery v2.33.3. DO NOT EDIT.
package mocks
import (
context "context"
dbmodel "github.com/chroma/chroma-coordinator/internal/metastore/db/dbmodel"
mock "github.com/stretchr/testify/mock"
)
// IMetaDomain is an autogenerated mock type for the IMetaDomain type
type IMetaDomain struct {
mock.... | chroma/go/coordinator/internal/metastore/db/dbmodel/mocks/IMetaDomain.go/0 | {
"file_path": "chroma/go/coordinator/internal/metastore/db/dbmodel/mocks/IMetaDomain.go",
"repo_id": "chroma",
"token_count": 1399
} | 51 |
[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 = ["Vertex"]
contains_example = false
import_path = "llama_index.llms.vertex"
[tool.mypy]
di... | llama_index/llama-index-integrations/llms/llama-index-llms-vertex/pyproject.toml/0 | {
"file_path": "llama_index/llama-index-integrations/llms/llama-index-llms-vertex/pyproject.toml",
"repo_id": "llama_index",
"token_count": 647
} | 1,282 |
# DuckDB
>[DuckDB](https://duckdb.org/) is an in-process SQL OLAP database management system.
## Installation and Setup
First, you need to install `duckdb` python package.
```bash
pip install duckdb
```
## Document Loader
See a [usage example](/docs/integrations/document_loaders/duckdb).
```python
from langchain... | langchain/docs/docs/integrations/providers/duckdb.mdx/0 | {
"file_path": "langchain/docs/docs/integrations/providers/duckdb.mdx",
"repo_id": "langchain",
"token_count": 119
} | 139 |
# LlamaPacks 📦
## Llama-Pack Usage
Llama-packs can be downloaded using the `llamaindex-cli` tool that comes with `llama-index`:
```bash
llamaindex-cli download-llamapack ZephyrQueryEnginePack --download-dir ./zephyr_pack
```
Or with the `download_llama_pack` function directly:
```python
from llama_index.core.llam... | llama_index/llama-index-packs/README.md/0 | {
"file_path": "llama_index/llama-index-packs/README.md",
"repo_id": "llama_index",
"token_count": 174
} | 1,655 |
from langchain_community.embeddings.self_hosted_hugging_face import (
SelfHostedHuggingFaceEmbeddings,
SelfHostedHuggingFaceInstructEmbeddings,
)
__all__ = [
"SelfHostedHuggingFaceEmbeddings",
"SelfHostedHuggingFaceInstructEmbeddings",
]
| langchain/libs/langchain/langchain/embeddings/self_hosted_hugging_face.py/0 | {
"file_path": "langchain/libs/langchain/langchain/embeddings/self_hosted_hugging_face.py",
"repo_id": "langchain",
"token_count": 94
} | 527 |
MONGODB_URL=mongodb://localhost:27017/ | chat-ui/.env.ci/0 | {
"file_path": "chat-ui/.env.ci",
"repo_id": "chat-ui",
"token_count": 16
} | 90 |
label: 'SQL'
position: 1 | langchainjs/docs/core_docs/docs/use_cases/sql/_category_.yml/0 | {
"file_path": "langchainjs/docs/core_docs/docs/use_cases/sql/_category_.yml",
"repo_id": "langchainjs",
"token_count": 9
} | 756 |
import { logVersion010MigrationWarning } from "../util/entrypoint_deprecation.js";
/* #__PURE__ */ logVersion010MigrationWarning({
oldEntrypointName: "chat_models/base",
newEntrypointName: "language_models/chat_models",
newPackageName: "@langchain/core",
});
export * from "@langchain/core/language_models/chat_mo... | langchainjs/langchain/src/chat_models/base.ts/0 | {
"file_path": "langchainjs/langchain/src/chat_models/base.ts",
"repo_id": "langchainjs",
"token_count": 102
} | 871 |
from transformers import ProcessorMixin
class CustomProcessor(ProcessorMixin):
feature_extractor_class = "AutoFeatureExtractor"
tokenizer_class = "AutoTokenizer"
| transformers/utils/test_module/custom_processing.py/0 | {
"file_path": "transformers/utils/test_module/custom_processing.py",
"repo_id": "transformers",
"token_count": 51
} | 802 |
<jupyter_start><jupyter_text>LM Format Enforcer Pydantic Program Generate structured data with [**lm-format-enforcer**](https://github.com/noamgat/lm-format-enforcer) via LlamaIndex. With lm-format-enforcer, you can guarantee the output structure is correct by *forcing* the LLM to output desired tokens. This is espec... | llama_index/docs/examples/output_parsing/lmformatenforcer_pydantic_program.ipynb/0 | {
"file_path": "llama_index/docs/examples/output_parsing/lmformatenforcer_pydantic_program.ipynb",
"repo_id": "llama_index",
"token_count": 1622
} | 1,078 |
import type { BaseLanguageModelInterface } from "@langchain/core/language_models/base";
import { type DocumentInterface, Document } from "@langchain/core/documents";
import { PromptTemplate } from "@langchain/core/prompts";
import { BaseOutputParser } from "@langchain/core/output_parsers";
import { LLMChain } from "../... | langchainjs/langchain/src/retrievers/document_compressors/chain_extract.ts/0 | {
"file_path": "langchainjs/langchain/src/retrievers/document_compressors/chain_extract.ts",
"repo_id": "langchainjs",
"token_count": 1244
} | 902 |
from typing import Any, Dict, List, Optional, Sequence, Tuple, Union
from langchain_core.messages.ai import AIMessage, AIMessageChunk
from langchain_core.messages.base import (
BaseMessage,
BaseMessageChunk,
merge_content,
message_to_dict,
messages_to_dict,
)
from langchain_core.messages.chat impor... | langchain/libs/core/langchain_core/messages/__init__.py/0 | {
"file_path": "langchain/libs/core/langchain_core/messages/__init__.py",
"repo_id": "langchain",
"token_count": 3294
} | 392 |
<jupyter_start><jupyter_text>Introduction à 🤗 Diffusers Dans ce *notebook*, vous allez entraîner votre premier modèle de diffusion pour générer des images de mignons papillons 🦋. En cours de route, vous apprendrez les composants de base de la bibliothèque 🤗 *Diffusers*, qui fournira une bonne assise pour les applica... | diffusion-models-class/units/fr/unit1/introduction_to_diffusers.ipynb/0 | {
"file_path": "diffusion-models-class/units/fr/unit1/introduction_to_diffusers.ipynb",
"repo_id": "diffusion-models-class",
"token_count": 11144
} | 290 |
# docstyle-ignore
INSTALL_CONTENT = """
# Datasets installation
! pip install datasets transformers
# To install from source instead of the last release, comment the command above and uncomment the following one.
# ! pip install git+https://github.com/huggingface/datasets.git
"""
notebook_first_cells = [{"type": "code... | datasets/docs/source/_config.py/0 | {
"file_path": "datasets/docs/source/_config.py",
"repo_id": "datasets",
"token_count": 118
} | 114 |
from langchain_community.chat_loaders.base import BaseChatLoader
__all__ = ["BaseChatLoader"]
| langchain/libs/langchain/langchain/chat_loaders/base.py/0 | {
"file_path": "langchain/libs/langchain/langchain/chat_loaders/base.py",
"repo_id": "langchain",
"token_count": 28
} | 494 |
python_sources()
| llama_index/llama-index-integrations/storage/docstore/llama-index-storage-docstore-dynamodb/llama_index/storage/docstore/dynamodb/BUILD/0 | {
"file_path": "llama_index/llama-index-integrations/storage/docstore/llama-index-storage-docstore-dynamodb/llama_index/storage/docstore/dynamodb/BUILD",
"repo_id": "llama_index",
"token_count": 6
} | 1,458 |
"""DeepLake reader."""
from typing import List, Optional, Union
import numpy as np
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
distance_metric_map = {
"l2": lambda a, b: np.linalg.norm(a - b, axis=1, ord=2),
"l1": lambda a, b: np.linalg.norm(a - b, axis=1,... | llama_index/llama-index-integrations/readers/llama-index-readers-deeplake/llama_index/readers/deeplake/base.py/0 | {
"file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-deeplake/llama_index/readers/deeplake/base.py",
"repo_id": "llama_index",
"token_count": 1532
} | 1,482 |
import { logVersion010MigrationWarning } from "../util/entrypoint_deprecation.js";
/* #__PURE__ */ logVersion010MigrationWarning({
oldEntrypointName: "tools/aiplugin",
});
export * from "@langchain/community/tools/aiplugin";
| langchainjs/langchain/src/tools/aiplugin.ts/0 | {
"file_path": "langchainjs/langchain/src/tools/aiplugin.ts",
"repo_id": "langchainjs",
"token_count": 70
} | 1,021 |
// 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/util/importutil/numpy_adapter.go/0 | {
"file_path": "milvus/internal/util/importutil/numpy_adapter.go",
"repo_id": "milvus",
"token_count": 8594
} | 2,075 |
# Copyright 2020 The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | transformers/examples/legacy/seq2seq/seq2seq_trainer.py/0 | {
"file_path": "transformers/examples/legacy/seq2seq/seq2seq_trainer.py",
"repo_id": "transformers",
"token_count": 4874
} | 526 |
"""Logic for converting internal query language to a valid MongoDB Atlas query."""
from typing import Dict, Tuple, Union
from langchain.chains.query_constructor.ir import (
Comparator,
Comparison,
Operation,
Operator,
StructuredQuery,
Visitor,
)
MULTIPLE_ARITY_COMPARATORS = [Comparator.IN, Com... | langchain/libs/langchain/langchain/retrievers/self_query/mongodb_atlas.py/0 | {
"file_path": "langchain/libs/langchain/langchain/retrievers/self_query/mongodb_atlas.py",
"repo_id": "langchain",
"token_count": 975
} | 560 |
import { BaseServiceParams } from "assemblyai";
import { Optional } from "./type-utils.js";
export type * from "assemblyai";
export type AssemblyAIOptions = Optional<BaseServiceParams, "apiKey">;
| langchainjs/langchain/src/types/assemblyai-types.ts/0 | {
"file_path": "langchainjs/langchain/src/types/assemblyai-types.ts",
"repo_id": "langchainjs",
"token_count": 58
} | 958 |
# Changelog
This documents the main changes to the `candle` crate.
## v0.3.1 - Unreleased
### Added
### Modified
## v0.3.0 - 2023-10-01
### Added
- Added the Mistral 7b v0.1 model
[983](https://github.com/huggingface/candle/pull/983).
- Quantized version of the Mistral model
[1009](https://github.com/huggingf... | candle/CHANGELOG.md/0 | {
"file_path": "candle/CHANGELOG.md",
"repo_id": "candle",
"token_count": 1525
} | 26 |
# 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_utils.py/0 | {
"file_path": "diffusers/src/diffusers/schedulers/scheduling_utils.py",
"repo_id": "diffusers",
"token_count": 3215
} | 264 |
"""Transform documents"""
from typing import Any, Callable, List, Sequence
import numpy as np
from langchain_core.documents import BaseDocumentTransformer, Document
from langchain_core.embeddings import Embeddings
from langchain_core.pydantic_v1 import BaseModel, Field
from langchain_community.utils.math import cosin... | langchain/libs/community/langchain_community/document_transformers/embeddings_redundant_filter.py/0 | {
"file_path": "langchain/libs/community/langchain_community/document_transformers/embeddings_redundant_filter.py",
"repo_id": "langchain",
"token_count": 2859
} | 266 |
from typing import Sequence
from langchain_core.language_models import BaseLanguageModel
from langchain_core.prompts.chat import ChatPromptTemplate
from langchain_core.runnables import Runnable, RunnablePassthrough
from langchain_core.tools import BaseTool
from langchain_core.utils.function_calling import convert_to_o... | langchain/libs/langchain/langchain/agents/openai_tools/base.py/0 | {
"file_path": "langchain/libs/langchain/langchain/agents/openai_tools/base.py",
"repo_id": "langchain",
"token_count": 1446
} | 443 |
<jupyter_start><jupyter_text>An Introduction to LlamaIndex Query Pipelines OverviewLlamaIndex provides a declarative query API that allows you to chain together different modules in order to orchestrate simple-to-advanced workflows over your data.This is centered around our `QueryPipeline` abstraction. Load in a variet... | llama_index/llama-index-integrations/callbacks/llama-index-callbacks-arize-phoenix/examples/query_pipeline.ipynb/0 | {
"file_path": "llama_index/llama-index-integrations/callbacks/llama-index-callbacks-arize-phoenix/examples/query_pipeline.ipynb",
"repo_id": "llama_index",
"token_count": 6336
} | 1,244 |
package typeutil
import (
"fmt"
"strconv"
"github.com/milvus-io/milvus-proto/go-api/v2/schemapb"
"github.com/milvus-io/milvus/pkg/common"
)
// GetDim get dimension of field. Maybe also helpful outside.
func GetDim(field *schemapb.FieldSchema) (int64, error) {
if !IsVectorType(field.GetDataType()) {
return 0, ... | milvus/pkg/util/typeutil/get_dim.go/0 | {
"file_path": "milvus/pkg/util/typeutil/get_dim.go",
"repo_id": "milvus",
"token_count": 282
} | 1,843 |
from llama_index.core.base.base_retriever import BaseRetriever
from llama_index.retrievers.you import YouRetriever
def test_class():
names_of_base_classes = [b.__name__ for b in YouRetriever.__mro__]
assert BaseRetriever.__name__ in names_of_base_classes
| llama_index/llama-index-integrations/retrievers/llama-index-retrievers-you/tests/test_retrievers_you_retriever.py/0 | {
"file_path": "llama_index/llama-index-integrations/retrievers/llama-index-retrievers-you/tests/test_retrievers_you_retriever.py",
"repo_id": "llama_index",
"token_count": 97
} | 1,486 |
from llama_index.core.readers.base import BaseReader
from llama_index.readers.pdb import PdbAbstractReader
def test_class():
names_of_base_classes = [b.__name__ for b in PdbAbstractReader.__mro__]
assert BaseReader.__name__ in names_of_base_classes
| llama_index/llama-index-integrations/readers/llama-index-readers-pdb/tests/test_readers_pdb.py/0 | {
"file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-pdb/tests/test_readers_pdb.py",
"repo_id": "llama_index",
"token_count": 90
} | 1,503 |
from langchain_community.retrievers.metal import MetalRetriever
__all__ = ["MetalRetriever"]
| langchain/libs/langchain/langchain/retrievers/metal.py/0 | {
"file_path": "langchain/libs/langchain/langchain/retrievers/metal.py",
"repo_id": "langchain",
"token_count": 29
} | 533 |
from llama_index.storage.docstore.postgres.base import PostgresDocumentStore
__all__ = ["PostgresDocumentStore"]
| llama_index/llama-index-integrations/storage/docstore/llama-index-storage-docstore-postgres/llama_index/storage/docstore/postgres/__init__.py/0 | {
"file_path": "llama_index/llama-index-integrations/storage/docstore/llama-index-storage-docstore-postgres/llama_index/storage/docstore/postgres/__init__.py",
"repo_id": "llama_index",
"token_count": 33
} | 1,594 |
# 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/models/speecht5/__init__.py/0 | {
"file_path": "transformers/src/transformers/models/speecht5/__init__.py",
"repo_id": "transformers",
"token_count": 1227
} | 732 |
from llama_index.core.readers.base import BaseReader
from llama_index.readers.imdb_review import IMDBReviews
def test_class():
names_of_base_classes = [b.__name__ for b in IMDBReviews.__mro__]
assert BaseReader.__name__ in names_of_base_classes
| llama_index/llama-index-integrations/readers/llama-index-readers-imdb-review/tests/test_readers_imdb_review.py/0 | {
"file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-imdb-review/tests/test_readers_imdb_review.py",
"repo_id": "llama_index",
"token_count": 92
} | 1,390 |
"""txtai Vector store index.
An index that is built on top of an existing vector store.
"""
import json
import logging
import os
import pickle
from pathlib import Path
from typing import Any, List, Optional, cast
import fsspec
import numpy as np
from fsspec.implementations.local import LocalFileSystem
from llama_i... | llama_index/llama-index-legacy/llama_index/legacy/vector_stores/txtai.py/0 | {
"file_path": "llama_index/llama-index-legacy/llama_index/legacy/vector_stores/txtai.py",
"repo_id": "llama_index",
"token_count": 3164
} | 1,656 |
# This file is autogenerated by the command `make fix-copies`, do not edit.
from ..utils import requires_backends
LAYOUTLM_V2_PRETRAINED_MODEL_ARCHIVE_LIST = None
class LayoutLMv2Model:
def __init__(self, *args, **kwargs):
requires_backends(self, ["detectron2"])
@classmethod
def from_pretrained... | transformers/src/transformers/utils/dummy_detectron2_objects.py/0 | {
"file_path": "transformers/src/transformers/utils/dummy_detectron2_objects.py",
"repo_id": "transformers",
"token_count": 156
} | 786 |
from langchain_community.document_loaders.rspace import RSpaceLoader
__all__ = ["RSpaceLoader"]
| langchain/libs/langchain/langchain/document_loaders/rspace.py/0 | {
"file_path": "langchain/libs/langchain/langchain/document_loaders/rspace.py",
"repo_id": "langchain",
"token_count": 29
} | 489 |
from typing import List
from langchain_community.agent_toolkits.base import BaseToolkit
from langchain_community.tools import BaseTool
from langchain_community.tools.polygon import PolygonLastQuote
from langchain_community.utilities.polygon import PolygonAPIWrapper
class PolygonToolkit(BaseToolkit):
"""Polygon T... | langchain/libs/community/langchain_community/agent_toolkits/polygon/toolkit.py/0 | {
"file_path": "langchain/libs/community/langchain_community/agent_toolkits/polygon/toolkit.py",
"repo_id": "langchain",
"token_count": 301
} | 213 |
# 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 ... | transformers/tests/models/musicgen/test_modeling_musicgen.py/0 | {
"file_path": "transformers/tests/models/musicgen/test_modeling_musicgen.py",
"repo_id": "transformers",
"token_count": 28118
} | 740 |
import os
from pathlib import Path
from langchain_community.document_loaders import UnstructuredTSVLoader
EXAMPLE_DIRECTORY = file_path = Path(__file__).parent.parent / "examples"
def test_unstructured_tsv_loader() -> None:
"""Test unstructured loader."""
file_path = os.path.join(EXAMPLE_DIRECTORY, "stanley... | langchain/libs/community/tests/integration_tests/document_loaders/test_tsv.py/0 | {
"file_path": "langchain/libs/community/tests/integration_tests/document_loaders/test_tsv.py",
"repo_id": "langchain",
"token_count": 157
} | 328 |
# Copyright 2024 CVSSP, ByteDance 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
#
# Unless ... | diffusers/src/diffusers/pipelines/audioldm2/pipeline_audioldm2.py/0 | {
"file_path": "diffusers/src/diffusers/pipelines/audioldm2/pipeline_audioldm2.py",
"repo_id": "diffusers",
"token_count": 21702
} | 242 |
"""Test Together LLM"""
from typing import cast
from langchain_core.pydantic_v1 import SecretStr
from pytest import CaptureFixture, MonkeyPatch
from langchain_community.llms.together import Together
def test_together_api_key_is_secret_string() -> None:
"""Test that the API key is stored as a SecretStr."""
... | langchain/libs/community/tests/unit_tests/llms/test_together.py/0 | {
"file_path": "langchain/libs/community/tests/unit_tests/llms/test_together.py",
"repo_id": "langchain",
"token_count": 776
} | 403 |
from typing import Dict, List, Tuple
from langchain.agents import (
AgentExecutor,
Tool,
)
from langchain.agents.format_scratchpad import format_to_openai_functions
from langchain.agents.output_parsers import OpenAIFunctionsAgentOutputParser
from langchain.schema import Document
from langchain_community.chat_m... | langchain/templates/openai-functions-tool-retrieval-agent/openai_functions_tool_retrieval_agent/agent.py/0 | {
"file_path": "langchain/templates/openai-functions-tool-retrieval-agent/openai_functions_tool_retrieval_agent/agent.py",
"repo_id": "langchain",
"token_count": 1414
} | 675 |
# coding=utf-8
# Copyright 2021 The Eleuther AI 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
#
# Unless requir... | transformers/src/transformers/models/gpt_neo/convert_gpt_neo_mesh_tf_to_pytorch.py/0 | {
"file_path": "transformers/src/transformers/models/gpt_neo/convert_gpt_neo_mesh_tf_to_pytorch.py",
"repo_id": "transformers",
"token_count": 957
} | 624 |
// Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | milvus/internal/querycoordv2/utils/test.go/0 | {
"file_path": "milvus/internal/querycoordv2/utils/test.go",
"repo_id": "milvus",
"token_count": 1276
} | 1,984 |
<jupyter_start><jupyter_text>Stripe>[Stripe](https://stripe.com/en-ca) is an Irish-American financial services and software as a service (SaaS) company. It offers payment-processing software and application programming interfaces for e-commerce websites and mobile applications.This notebook covers how to load data from... | langchain/docs/docs/integrations/document_loaders/stripe.ipynb/0 | {
"file_path": "langchain/docs/docs/integrations/document_loaders/stripe.ipynb",
"repo_id": "langchain",
"token_count": 465
} | 122 |
// Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | milvus/internal/querycoordv2/observers/collection_observer_test.go/0 | {
"file_path": "milvus/internal/querycoordv2/observers/collection_observer_test.go",
"repo_id": "milvus",
"token_count": 5769
} | 1,763 |
import { test } from "@jest/globals";
import {
DiscordGetMessagesTool,
DiscordChannelSearchTool,
DiscordSendMessagesTool,
DiscordGetGuildsTool,
DiscordGetTextChannelsTool,
} from "../discord.js";
test.skip("DiscordGetMessagesTool", async () => {
const tool = new DiscordGetMessagesTool();
try {
const... | langchainjs/libs/langchain-community/src/tools/tests/discord.int.test.ts/0 | {
"file_path": "langchainjs/libs/langchain-community/src/tools/tests/discord.int.test.ts",
"repo_id": "langchainjs",
"token_count": 652
} | 973 |
from llama_index.packs.neo4j_query_engine.base import Neo4jQueryEnginePack
__all__ = ["Neo4jQueryEnginePack"]
| llama_index/llama-index-packs/llama-index-packs-neo4j-query-engine/llama_index/packs/neo4j_query_engine/__init__.py/0 | {
"file_path": "llama_index/llama-index-packs/llama-index-packs-neo4j-query-engine/llama_index/packs/neo4j_query_engine/__init__.py",
"repo_id": "llama_index",
"token_count": 41
} | 1,580 |
# Google Cloud Compute Deployment
This is an example deployment to Google Cloud Compute using [terraform](https://www.terraform.io/)
## Requirements
- [gcloud CLI](https://cloud.google.com/sdk/gcloud)
- [Terraform CLI v1.3.4+](https://developer.hashicorp.com/terraform/tutorials/gcp-get-started/install-cli)
- [Terraf... | chroma/examples/deployments/google-cloud-compute/README.md/0 | {
"file_path": "chroma/examples/deployments/google-cloud-compute/README.md",
"repo_id": "chroma",
"token_count": 1262
} | 41 |
from enum import Enum
from pymilvus import ExceptionsMessage
class ErrorCode(Enum):
ErrorOk = 0
Error = 1
ErrorMessage = {ErrorCode.ErrorOk: "",
ErrorCode.Error: "is illegal"}
class ErrorMap:
def __init__(self, err_code, err_msg):
self.err_code = err_code
self.err_msg =... | milvus/tests/python_client/common/code_mapping.py/0 | {
"file_path": "milvus/tests/python_client/common/code_mapping.py",
"repo_id": "milvus",
"token_count": 279
} | 1,973 |
"""Steam API toolkit"""
| langchain/libs/langchain/langchain/tools/steam/__init__.py/0 | {
"file_path": "langchain/libs/langchain/langchain/tools/steam/__init__.py",
"repo_id": "langchain",
"token_count": 7
} | 591 |
import {
createStyles,
Card,
Avatar,
Text,
Group,
Button,
rem,
Stack,
} from "@mantine/core";
import Link from "next/link";
import githubIcon from "../public/github-mark.svg";
import twitterBlackIcon from "../public/twitter-black.svg";
import Image from "next/image";
const useStyles = createStyles((the... | auto-evaluator/nextjs/components/PersonCard.tsx/0 | {
"file_path": "auto-evaluator/nextjs/components/PersonCard.tsx",
"repo_id": "auto-evaluator",
"token_count": 782
} | 2 |
import argparse
import json
import requests
import timm
import torch
from huggingface_hub import hf_hub_download
from PIL import Image
from transformers import AutoImageProcessor, SwinConfig, SwinForImageClassification
def get_swin_config(swin_name):
config = SwinConfig()
name_split = swin_name.split("_")
... | transformers/src/transformers/models/swin/convert_swin_timm_to_pytorch.py/0 | {
"file_path": "transformers/src/transformers/models/swin/convert_swin_timm_to_pytorch.py",
"repo_id": "transformers",
"token_count": 2718
} | 660 |
from openai_functions_tool_retrieval_agent.agent import agent_executor
__all__ = ["agent_executor"]
| langchain/templates/openai-functions-tool-retrieval-agent/openai_functions_tool_retrieval_agent/__init__.py/0 | {
"file_path": "langchain/templates/openai-functions-tool-retrieval-agent/openai_functions_tool_retrieval_agent/__init__.py",
"repo_id": "langchain",
"token_count": 34
} | 682 |
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed... | transformers/docs/source/en/model_doc/audio-spectrogram-transformer.md/0 | {
"file_path": "transformers/docs/source/en/model_doc/audio-spectrogram-transformer.md",
"repo_id": "transformers",
"token_count": 1220
} | 455 |
<!--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/ko/optimization/opt_overview.md/0 | {
"file_path": "diffusers/docs/source/ko/optimization/opt_overview.md",
"repo_id": "diffusers",
"token_count": 942
} | 199 |
python_tests()
| llama_index/llama-index-integrations/llms/llama-index-llms-bedrock/tests/BUILD/0 | {
"file_path": "llama_index/llama-index-integrations/llms/llama-index-llms-bedrock/tests/BUILD",
"repo_id": "llama_index",
"token_count": 5
} | 1,219 |
from __future__ import annotations
import asyncio
import functools
import logging
from typing import (
Any,
AsyncIterator,
Callable,
Dict,
Iterator,
List,
Mapping,
Optional,
)
from langchain_core.callbacks import (
AsyncCallbackManagerForLLMRun,
CallbackManagerForLLMRun,
)
from... | langchain/libs/community/langchain_community/llms/tongyi.py/0 | {
"file_path": "langchain/libs/community/langchain_community/llms/tongyi.py",
"repo_id": "langchain",
"token_count": 5280
} | 269 |
<jupyter_start><jupyter_text>SAP HANA Cloud Vector Engine>[SAP HANA Cloud Vector Engine](https://www.sap.com/events/teched/news-guide/ai.htmlarticle8) is a vector store fully integrated into the `SAP HANA Cloud` database. Setting upInstallation of the HANA database driver.<jupyter_code># Pip install necessary package
... | langchain/docs/docs/integrations/vectorstores/sap_hanavector.ipynb/0 | {
"file_path": "langchain/docs/docs/integrations/vectorstores/sap_hanavector.ipynb",
"repo_id": "langchain",
"token_count": 3983
} | 191 |
// 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/util/importutilv2/reader.go/0 | {
"file_path": "milvus/internal/util/importutilv2/reader.go",
"repo_id": "milvus",
"token_count": 883
} | 2,022 |
"""ChatGPT Plugin vector store."""
import os
from typing import Any, Dict, List, Optional
import requests
from requests.adapters import HTTPAdapter, Retry
from llama_index.legacy.schema import (
BaseNode,
MetadataMode,
NodeRelationship,
RelatedNodeInfo,
TextNode,
)
from llama_index.legacy.utils i... | llama_index/llama-index-legacy/llama_index/legacy/vector_stores/chatgpt_plugin.py/0 | {
"file_path": "llama_index/llama-index-legacy/llama_index/legacy/vector_stores/chatgpt_plugin.py",
"repo_id": "llama_index",
"token_count": 2693
} | 1,783 |
{
"fp16": {
"enabled": "auto",
"loss_scale": 0,
"loss_scale_window": 1000,
"initial_scale_power": 16,
"hysteresis": 2,
"min_loss_scale": 1
},
"bf16": {
"enabled": "auto"
},
"optimizer": {
"type": "AdamW",
"params": {
... | transformers/tests/deepspeed/ds_config_zero3.json/0 | {
"file_path": "transformers/tests/deepspeed/ds_config_zero3.json",
"repo_id": "transformers",
"token_count": 820
} | 778 |
from __future__ import annotations
import logging
import warnings
from typing import (
Any,
Callable,
Dict,
List,
Literal,
Optional,
Sequence,
Set,
Tuple,
Union,
)
from langchain_core.embeddings import Embeddings
from langchain_core.pydantic_v1 import BaseModel, Extra, Field, r... | langchain/libs/community/langchain_community/embeddings/localai.py/0 | {
"file_path": "langchain/libs/community/langchain_community/embeddings/localai.py",
"repo_id": "langchain",
"token_count": 5341
} | 277 |
---
sidebar_label: Evaluation
---
import DocCardList from "@theme/DocCardList";
# Evaluation
Building applications with language models involves many moving parts. One of the most critical components is ensuring that the outcomes produced by your models are reliable and useful across a broad array of inputs, and tha... | langchainjs/docs/core_docs/docs/guides/evaluation/index.mdx/0 | {
"file_path": "langchainjs/docs/core_docs/docs/guides/evaluation/index.mdx",
"repo_id": "langchainjs",
"token_count": 308
} | 719 |
// 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/metacache/bloom_filter_set.go/0 | {
"file_path": "milvus/internal/datanode/metacache/bloom_filter_set.go",
"repo_id": "milvus",
"token_count": 1110
} | 1,788 |
// Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | milvus/internal/querynodev2/cluster/manager_test.go/0 | {
"file_path": "milvus/internal/querynodev2/cluster/manager_test.go",
"repo_id": "milvus",
"token_count": 833
} | 1,762 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.