text
stringlengths
3
1.68M
id
stringlengths
13
169
metadata
dict
__index_level_0__
int64
0
2.21k
from __future__ import annotations import logging import os import traceback import uuid from concurrent.futures import ThreadPoolExecutor from typing import Any, Iterable, List, Optional, Tuple import requests from langchain_core.documents import Document from langchain_core.embeddings import Embeddings from langcha...
langchain/libs/community/langchain_community/vectorstores/clarifai.py/0
{ "file_path": "langchain/libs/community/langchain_community/vectorstores/clarifai.py", "repo_id": "langchain", "token_count": 5215 }
308
# coding=utf-8 # Copyright 2021 The Facebook, 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/L...
transformers/src/transformers/models/blenderbot_small/configuration_blenderbot_small.py/0
{ "file_path": "transformers/src/transformers/models/blenderbot_small/configuration_blenderbot_small.py", "repo_id": "transformers", "token_count": 8145 }
626
<!--Copyright 2023 The HuggingFace Team. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
peft/docs/source/conceptual_guides/adapter.md/0
{ "file_path": "peft/docs/source/conceptual_guides/adapter.md", "repo_id": "peft", "token_count": 2203 }
312
import "./globals.css"; import type { Metadata } from "next"; import { Inter } from "next/font/google"; const inter = Inter({ subsets: ["latin"] }); export const metadata: Metadata = { title: "Chat LangChain", description: "Chatbot for LangChain", }; export default function RootLayout({ children, }: { childr...
chat-langchain/chat-langchain/app/layout.tsx/0
{ "file_path": "chat-langchain/chat-langchain/app/layout.tsx", "repo_id": "chat-langchain", "token_count": 270 }
8
<jupyter_start><jupyter_code># Setup OpenAI with credentials import openai openai.api_key = "sk-your-key"<jupyter_output><empty_output><jupyter_text>Leveraging the GraphQL schema in our AgentThe schema was retrieved using the `apollo client:download-schema` command: `apollo client:download-schema download3.json --endp...
llama_index/llama-index-integrations/tools/llama-index-tools-shopify/examples/shopify.ipynb/0
{ "file_path": "llama_index/llama-index-integrations/tools/llama-index-tools-shopify/examples/shopify.ipynb", "repo_id": "llama_index", "token_count": 2575 }
1,496
// 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_test.go/0
{ "file_path": "milvus/internal/kv/rocksdb/rocksdb_kv_test.go", "repo_id": "milvus", "token_count": 4299 }
1,824
# 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/examples/community/pipeline_sdxl_style_aligned.py/0
{ "file_path": "diffusers/examples/community/pipeline_sdxl_style_aligned.py", "repo_id": "diffusers", "token_count": 44173 }
213
import { IEmbeddingFunction } from "./IEmbeddingFunction"; let CohereAiApi: any; export class HuggingFaceEmbeddingServerFunction implements IEmbeddingFunction { private url: string; constructor({ url }: { url: string }) { // we used to construct the client here, but we need to async import the types ...
chroma/clients/js/src/embeddings/HuggingFaceEmbeddingServerFunction.ts/0
{ "file_path": "chroma/clients/js/src/embeddings/HuggingFaceEmbeddingServerFunction.ts", "repo_id": "chroma", "token_count": 371 }
32
# Pytorch cheatsheet {{#include ../../../README.md:cheatsheet}}
candle/candle-book/src/guide/cheatsheet.md/0
{ "file_path": "candle/candle-book/src/guide/cheatsheet.md", "repo_id": "candle", "token_count": 26 }
33
import json import logging from typing import Any, AsyncIterator, Dict, Iterator, List, Optional import requests from langchain_core.callbacks import ( AsyncCallbackManagerForLLMRun, CallbackManagerForLLMRun, ) from langchain_core.language_models.llms import LLM from langchain_core.outputs import GenerationChu...
langchain/libs/community/langchain_community/llms/textgen.py/0
{ "file_path": "langchain/libs/community/langchain_community/llms/textgen.py", "repo_id": "langchain", "token_count": 6107 }
282
import { ChatLlamaCpp } from "@langchain/community/chat_models/llama_cpp"; const llamaPath = "/Replace/with/path/to/your/model/gguf-llama2-q4_0.bin"; const model = new ChatLlamaCpp({ modelPath: llamaPath, temperature: 0.7 }); const stream = await model.stream("Tell me a short story about a happy Llama."); for await...
langchainjs/examples/src/models/chat/integration_llama_cpp_stream.ts/0
{ "file_path": "langchainjs/examples/src/models/chat/integration_llama_cpp_stream.ts", "repo_id": "langchainjs", "token_count": 183 }
804
@@@@body@struct_name virtual void visit(@@struct_name@@&) = 0; #### @@@@main #pragma once // Generated File // DO NOT EDIT #include "query/@@root_base@@.h" namespace @@namespace@@ { class @@root_base@@Visitor { public: virtual ~@@root_base@@Visitor() = default; public: @@body@@ }; } // namespace @@names...
milvus/tools/core_gen/templates/visitor_base.h/0
{ "file_path": "milvus/tools/core_gen/templates/visitor_base.h", "repo_id": "milvus", "token_count": 122 }
1,990
// Copyright (C) 2019-2020 Zilliz. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance // with the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable l...
milvus/internal/core/unittest/test_string_expr.cpp/0
{ "file_path": "milvus/internal/core/unittest/test_string_expr.cpp", "repo_id": "milvus", "token_count": 13886 }
1,956
from langchain_community.utilities.reddit_search import RedditSearchAPIWrapper __all__ = ["RedditSearchAPIWrapper"]
langchain/libs/langchain/langchain/utilities/reddit_search.py/0
{ "file_path": "langchain/libs/langchain/langchain/utilities/reddit_search.py", "repo_id": "langchain", "token_count": 32 }
574
"""Adapter utils.""" import json import logging import os from abc import abstractmethod from typing import Callable, Dict import torch import torch.nn.functional as F from torch import Tensor, nn logger = logging.getLogger(__name__) class BaseAdapter(nn.Module): """Base adapter. Can be subclassed to impl...
llama_index/llama-index-legacy/llama_index/legacy/embeddings/adapter_utils.py/0
{ "file_path": "llama_index/llama-index-legacy/llama_index/legacy/embeddings/adapter_utils.py", "repo_id": "llama_index", "token_count": 2411 }
1,648
# coding=utf-8 # Copyright 2023 Mesh TensorFlow authors, T5 Authors 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...
transformers/src/transformers/models/umt5/modeling_umt5.py/0
{ "file_path": "transformers/src/transformers/models/umt5/modeling_umt5.py", "repo_id": "transformers", "token_count": 37579 }
731
# SSL ResNeXT A **ResNeXt** repeats a [building block](https://paperswithcode.com/method/resnext-block) that aggregates a set of transformations with the same topology. Compared to a [ResNet](https://paperswithcode.com/method/resnet), it exposes a new dimension, *cardinality* (the size of the set of transformations) ...
pytorch-image-models/docs/models/.templates/models/ssl-resnext.md/0
{ "file_path": "pytorch-image-models/docs/models/.templates/models/ssl-resnext.md", "repo_id": "pytorch-image-models", "token_count": 2623 }
351
# coding=utf-8 # Copyright 2022 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/nat/configuration_nat.py/0
{ "file_path": "transformers/src/transformers/models/nat/configuration_nat.py", "repo_id": "transformers", "token_count": 2760 }
640
""" Knowledge Graph Query Engine.""" import logging from typing import Any, Dict, List, Optional, Sequence from llama_index.core.base.base_query_engine import BaseQueryEngine from llama_index.core.base.response.schema import RESPONSE_TYPE from llama_index.core.callbacks.schema import CBEventType, EventPayload from ll...
llama_index/llama-index-core/llama_index/core/query_engine/knowledge_graph_query_engine.py/0
{ "file_path": "llama_index/llama-index-core/llama_index/core/query_engine/knowledge_graph_query_engine.py", "repo_id": "llama_index", "token_count": 4628 }
1,136
from llama_index.core.postprocessor import MetadataReplacementPostProcessor from llama_index.core.schema import NodeWithScore, TextNode def test_metadata_replacement() -> None: node = TextNode( text="This is a test 1.", metadata={"key": "This is a another test."} ) nodes = [NodeWithScore(node=nod...
llama_index/llama-index-core/tests/postprocessor/test_metadata_replacement.py/0
{ "file_path": "llama_index/llama-index-core/tests/postprocessor/test_metadata_replacement.py", "repo_id": "llama_index", "token_count": 190 }
1,155
# coding=utf-8 # Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICEN...
transformers/src/transformers/models/cpm/tokenization_cpm.py/0
{ "file_path": "transformers/src/transformers/models/cpm/tokenization_cpm.py", "repo_id": "transformers", "token_count": 6643 }
624
# Copyright 2023-present the HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
peft/src/peft/tuners/oft/model.py/0
{ "file_path": "peft/src/peft/tuners/oft/model.py", "repo_id": "peft", "token_count": 1600 }
350
import logging import os import re import zipfile from typing import Iterator, List, Union from langchain_core.chat_sessions import ChatSession from langchain_core.messages import AIMessage, HumanMessage from langchain_community.chat_loaders.base import BaseChatLoader logger = logging.getLogger(__name__) class Wha...
langchain/libs/community/langchain_community/chat_loaders/whatsapp.py/0
{ "file_path": "langchain/libs/community/langchain_community/chat_loaders/whatsapp.py", "repo_id": "langchain", "token_count": 2107 }
239
from langchain_together import __all__ EXPECTED_ALL = [ "__version__", "Together", "TogetherEmbeddings", ] def test_all_imports() -> None: assert sorted(EXPECTED_ALL) == sorted(__all__)
langchain/libs/partners/together/tests/unit_tests/test_imports.py/0
{ "file_path": "langchain/libs/partners/together/tests/unit_tests/test_imports.py", "repo_id": "langchain", "token_count": 80 }
627
"""**Chat Models** are a variation on language models. While Chat Models use language models under the hood, the interface they expose is a bit different. Rather than expose a "text in, text out" API, they expose an interface where "chat messages" are the inputs and outputs. **Class hierarchy:** .. code-block:: ...
langchain/libs/langchain/langchain/chat_models/__init__.py/0
{ "file_path": "langchain/libs/langchain/langchain/chat_models/__init__.py", "repo_id": "langchain", "token_count": 764 }
493
libdir=@CMAKE_INSTALL_FULL_LIBDIR@ includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@ Name: Milvus IndexBuilder Description: IndexBuilder modules for Milvus Version: @MILVUS_VERSION@ Libs: -L${libdir} -lmilvus_indexbuilder Cflags: -I${includedir}
milvus/internal/core/src/indexbuilder/milvus_indexbuilder.pc.in/0
{ "file_path": "milvus/internal/core/src/indexbuilder/milvus_indexbuilder.pc.in", "repo_id": "milvus", "token_count": 99 }
1,730
# Copyright 2022 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
accelerate/src/accelerate/utils/operations.py/0
{ "file_path": "accelerate/src/accelerate/utils/operations.py", "repo_id": "accelerate", "token_count": 12679 }
18
import logging import os import re import warnings from typing import List from urllib.parse import urlparse import requests from bs4 import BeautifulSoup from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document DATA_KEY = "data" ERRORS_KEY = "errors" class WordLiftLoaderErr...
llama_index/llama-index-integrations/readers/llama-index-readers-wordlift/llama_index/readers/wordlift/base.py/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-wordlift/llama_index/readers/wordlift/base.py", "repo_id": "llama_index", "token_count": 4834 }
1,399
<jupyter_start><jupyter_code>from transformers import AutoModelForSeq2SeqLM from peft import get_peft_config, get_peft_model, get_peft_model_state_dict, PrefixTuningConfig, TaskType import torch from datasets import load_dataset import os os.environ["TOKENIZERS_PARALLELISM"] = "false" os.environ["CUDA_VISIBLE_DEVICES"...
peft/examples/conditional_generation/peft_prefix_tuning_seq2seq.ipynb/0
{ "file_path": "peft/examples/conditional_generation/peft_prefix_tuning_seq2seq.ipynb", "repo_id": "peft", "token_count": 2479 }
325
from __future__ import annotations import logging from typing import TYPE_CHECKING, Any, Optional from langchain_core.callbacks import BaseCallbackHandler from langchain_core.utils import get_from_env if TYPE_CHECKING: from whylogs.api.logger.logger import Logger diagnostic_logger = logging.getLogger(__name__) ...
langchain/libs/community/langchain_community/callbacks/whylabs_callback.py/0
{ "file_path": "langchain/libs/community/langchain_community/callbacks/whylabs_callback.py", "repo_id": "langchain", "token_count": 3135 }
218
import { test } from "@jest/globals"; import { CollegeConfidentialLoader } from "../web/college_confidential.js"; test("Test College confidential loader", async () => { const loader = new CollegeConfidentialLoader( "https://www.collegeconfidential.com/colleges/brown-university/" ); await loader.load(); });
langchainjs/langchain/src/document_loaders/tests/college_confidential.int.test.ts/0
{ "file_path": "langchainjs/langchain/src/document_loaders/tests/college_confidential.int.test.ts", "repo_id": "langchainjs", "token_count": 94 }
876
# 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/optimization/test_optimization_tf.py/0
{ "file_path": "transformers/tests/optimization/test_optimization_tf.py", "repo_id": "transformers", "token_count": 1782 }
828
"""Base classes for LLM-powered router chains.""" from __future__ import annotations from typing import Any, Dict, List, Optional, Type, cast from langchain_core.callbacks import ( AsyncCallbackManagerForChainRun, CallbackManagerForChainRun, ) from langchain_core.exceptions import OutputParserException from l...
langchain/libs/langchain/langchain/chains/router/llm_router.py/0
{ "file_path": "langchain/libs/langchain/langchain/chains/router/llm_router.py", "repo_id": "langchain", "token_count": 1815 }
499
"""Test Yuan2.0 API wrapper.""" from langchain_core.outputs import LLMResult from langchain_community.llms import Yuan2 def test_yuan2_call_method() -> None: """Test valid call to Yuan2.0.""" llm = Yuan2( infer_api="http://127.0.0.1:8000/yuan", max_tokens=1024, temp=1.0, top_p...
langchain/libs/community/tests/integration_tests/llms/test_yuan2.py/0
{ "file_path": "langchain/libs/community/tests/integration_tests/llms/test_yuan2.py", "repo_id": "langchain", "token_count": 424 }
343
<!--Copyright 2023 Mistral AI 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 required by applicabl...
transformers/docs/source/en/model_doc/mistral.md/0
{ "file_path": "transformers/docs/source/en/model_doc/mistral.md", "repo_id": "transformers", "token_count": 2111 }
488
import pytest from langchain_core.utils import check_package_version def test_check_package_version_pass() -> None: check_package_version("PyYAML", gte_version="5.4.1") def test_check_package_version_fail() -> None: with pytest.raises(ValueError): check_package_version("PyYAML", lt_version="5.4.1")
langchain/libs/langchain/tests/unit_tests/test_utils.py/0
{ "file_path": "langchain/libs/langchain/tests/unit_tests/test_utils.py", "repo_id": "langchain", "token_count": 120 }
619
import pathlib from langchain_community.chat_loaders import utils, whatsapp def test_whatsapp_chat_loader() -> None: chat_path = pathlib.Path(__file__).parent / "data" / "whatsapp_chat.txt" loader = whatsapp.WhatsAppChatLoader(str(chat_path)) chat_sessions = list( utils.map_ai_messages(loader.la...
langchain/libs/community/tests/unit_tests/chat_loaders/test_whatsapp.py/0
{ "file_path": "langchain/libs/community/tests/unit_tests/chat_loaders/test_whatsapp.py", "repo_id": "langchain", "token_count": 251 }
360
# coding=utf-8 # Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a cop...
transformers/examples/research_projects/adversarial/run_hans.py/0
{ "file_path": "transformers/examples/research_projects/adversarial/run_hans.py", "repo_id": "transformers", "token_count": 3302 }
567
"""OpenAI agent worker.""" import asyncio import json import logging import uuid from threading import Thread from typing import Any, Dict, List, Optional, Tuple, Union, cast, get_args from llama_index.agent.openai.utils import resolve_tool_choice from llama_index.core.agent.types import ( BaseAgentWorker, Ta...
llama_index/llama-index-integrations/agent/llama-index-agent-openai/llama_index/agent/openai/step.py/0
{ "file_path": "llama_index/llama-index-integrations/agent/llama-index-agent-openai/llama_index/agent/openai/step.py", "repo_id": "llama_index", "token_count": 10417 }
1,259
# Convert the original UniDiffuser checkpoints into diffusers equivalents. import argparse from argparse import Namespace import torch from transformers import ( CLIPImageProcessor, CLIPTextConfig, CLIPTextModel, CLIPTokenizer, CLIPVisionConfig, CLIPVisionModelWithProjection, GPT2Tokenizer...
diffusers/scripts/convert_unidiffuser_to_diffusers.py/0
{ "file_path": "diffusers/scripts/convert_unidiffuser_to_diffusers.py", "repo_id": "diffusers", "token_count": 13871 }
221
from langchain import llms from langchain.llms.base import BaseLLM EXPECT_ALL = [ "AI21", "AlephAlpha", "AmazonAPIGateway", "Anthropic", "Anyscale", "Arcee", "Aviary", "AzureMLOnlineEndpoint", "AzureOpenAI", "Banana", "Baseten", "Beam", "Bedrock", "CTransformers"...
langchain/libs/langchain/tests/unit_tests/llms/test_imports.py/0
{ "file_path": "langchain/libs/langchain/tests/unit_tests/llms/test_imports.py", "repo_id": "langchain", "token_count": 927 }
602
<jupyter_start><jupyter_code>! pip install langchain_community tiktoken langchain-openai langchainhub chromadb langchain langgraph<jupyter_output><empty_output><jupyter_text>Self-RAGSelf-reflection can enhance RAG, enabling correction of poor quality retrieval or generations.Several recent papers focus on this theme, b...
langgraph/examples/rag/langgraph_self_rag.ipynb/0
{ "file_path": "langgraph/examples/rag/langgraph_self_rag.ipynb", "repo_id": "langgraph", "token_count": 6017 }
1,116
# Hacker News >[Hacker News](https://en.wikipedia.org/wiki/Hacker_News) (sometimes abbreviated as `HN`) is a social news > website focusing on computer science and entrepreneurship. It is run by the investment fund and startup > incubator `Y Combinator`. In general, content that can be submitted is defined as "anyth...
langchain/docs/docs/integrations/providers/hacker_news.mdx/0
{ "file_path": "langchain/docs/docs/integrations/providers/hacker_news.mdx", "repo_id": "langchain", "token_count": 165 }
149
""" Sin-cos, fourier, rotary position embedding modules and functions Hacked together by / Copyright 2022 Ross Wightman """ import math from typing import List, Tuple, Optional, Union import torch from torch import nn as nn from .grid import ndgrid from .trace_utils import _assert def pixel_freq_bands( num...
pytorch-image-models/timm/layers/pos_embed_sincos.py/0
{ "file_path": "pytorch-image-models/timm/layers/pos_embed_sincos.py", "repo_id": "pytorch-image-models", "token_count": 7200 }
378
import pytest from tokenizers import BertWordPieceTokenizer from ..utils import bert_files, data_dir, multiprocessing_with_parallelism class TestBertWordPieceTokenizer: def test_basic_encode(self, bert_files): tokenizer = BertWordPieceTokenizer.from_file(bert_files["vocab"]) # Encode with speci...
tokenizers/bindings/python/tests/implementations/test_bert_wordpiece.py/0
{ "file_path": "tokenizers/bindings/python/tests/implementations/test_bert_wordpiece.py", "repo_id": "tokenizers", "token_count": 919 }
409
// @ts-nocheck // Inlined because of ESM import issues /*! * https://github.com/Starcounter-Jack/JSON-Patch * (c) 2013-2021 Joachim Wester * MIT license */ declare var require: any; import { PatchError, _deepClone, isInteger, unescapePathComponent, hasUndefined, } from "./helpers.js"; export const Jso...
langchainjs/langchain-core/src/utils/fast-json-patch/src/core.ts/0
{ "file_path": "langchainjs/langchain-core/src/utils/fast-json-patch/src/core.ts", "repo_id": "langchainjs", "token_count": 8120 }
886
<jupyter_start><jupyter_text>Integrations avec le *Hub* d'Hugging Face Installez les bibliothèques 🤗 Transformers et 🤗 Gradio pour exécuter ce *notebook*.<jupyter_code>!pip install datasets transformers[sentencepiece] !pip install gradio import gradio as gr title = "GPT-J-6B (Boris)" description = "Démo Gradio pour ...
notebooks/course/fr/chapter9/section5.ipynb/0
{ "file_path": "notebooks/course/fr/chapter9/section5.ipynb", "repo_id": "notebooks", "token_count": 653 }
301
use regex::Regex; use crate::tokenizer::{ pattern::Invert, PreTokenizedString, PreTokenizer, Result, SplitDelimiterBehavior, }; use crate::utils::macro_rules_attribute; #[derive(Clone, Debug, PartialEq, Eq)] #[macro_rules_attribute(impl_serde_type!)] pub struct Whitespace; impl Default for Whitespace { fn de...
tokenizers/tokenizers/src/pre_tokenizers/whitespace.rs/0
{ "file_path": "tokenizers/tokenizers/src/pre_tokenizers/whitespace.rs", "repo_id": "tokenizers", "token_count": 1660 }
484
# Copyright 2022 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
transformers/src/transformers/models/donut/__init__.py/0
{ "file_path": "transformers/src/transformers/models/donut/__init__.py", "repo_id": "transformers", "token_count": 902 }
635
# coding=utf-8 # Copyright 2022 Google LongT5 Authors 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 ...
transformers/tests/models/longt5/test_modeling_longt5.py/0
{ "file_path": "transformers/tests/models/longt5/test_modeling_longt5.py", "repo_id": "transformers", "token_count": 29813 }
738
@import "highlight.js/styles/atom-one-dark";
chat-ui/src/styles/highlight-js.css/0
{ "file_path": "chat-ui/src/styles/highlight-js.css", "repo_id": "chat-ui", "token_count": 17 }
106
python_sources()
llama_index/benchmarks/vector_stores/BUILD/0
{ "file_path": "llama_index/benchmarks/vector_stores/BUILD", "repo_id": "llama_index", "token_count": 6 }
1,028
from langchain_community.graphs.neo4j_graph import value_sanitize def test_value_sanitize_with_small_list(): # type: ignore[no-untyped-def] small_list = list(range(15)) # list size > LIST_LIMIT input_dict = {"key1": "value1", "small_list": small_list} expected_output = {"key1": "value1", "small_list": s...
langchain/libs/community/tests/unit_tests/graphs/test_neo4j_graph.py/0
{ "file_path": "langchain/libs/community/tests/unit_tests/graphs/test_neo4j_graph.py", "repo_id": "langchain", "token_count": 564 }
397
// 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/segcore/DeletedRecord.h/0
{ "file_path": "milvus/internal/core/src/segcore/DeletedRecord.h", "repo_id": "milvus", "token_count": 1894 }
1,745
python_sources()
llama_index/llama-index-core/llama_index/core/agent/react/BUILD/0
{ "file_path": "llama_index/llama-index-core/llama_index/core/agent/react/BUILD", "repo_id": "llama_index", "token_count": 6 }
1,137
from llama_index.core.llms.base import BaseLLM from llama_index.llms.konko import Konko def test_embedding_class(): names_of_base_classes = [b.__name__ for b in Konko.__mro__] assert BaseLLM.__name__ in names_of_base_classes
llama_index/llama-index-integrations/llms/llama-index-llms-konko/tests/test_llms_konko.py/0
{ "file_path": "llama_index/llama-index-integrations/llms/llama-index-llms-konko/tests/test_llms_konko.py", "repo_id": "llama_index", "token_count": 92 }
1,261
# Copyright 2020 The HuggingFace Datasets Authors and the TensorFlow 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 # # U...
datasets/src/datasets/formatting/__init__.py/0
{ "file_path": "datasets/src/datasets/formatting/__init__.py", "repo_id": "datasets", "token_count": 1818 }
141
// 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/event_manager.go/0
{ "file_path": "milvus/internal/datanode/event_manager.go", "repo_id": "milvus", "token_count": 4936 }
1,836
from threading import Lock from chromadb.segment import ( SegmentImplementation, SegmentManager, MetadataReader, SegmentType, VectorReader, S, ) import logging from chromadb.segment.impl.manager.cache.cache import SegmentLRUCache, BasicCache,SegmentCache import os from chromadb.config import Sy...
chroma/chromadb/segment/impl/manager/local.py/0
{ "file_path": "chroma/chromadb/segment/impl/manager/local.py", "repo_id": "chroma", "token_count": 4079 }
21
from llama_index.vector_stores.mongodb.base import MongoDBAtlasVectorSearch __all__ = ["MongoDBAtlasVectorSearch"]
llama_index/llama-index-integrations/vector_stores/llama-index-vector-stores-mongodb/llama_index/vector_stores/mongodb/__init__.py/0
{ "file_path": "llama_index/llama-index-integrations/vector_stores/llama-index-vector-stores-mongodb/llama_index/vector_stores/mongodb/__init__.py", "repo_id": "llama_index", "token_count": 38 }
1,665
from langchain_community.retrievers.pinecone_hybrid_search import ( PineconeHybridSearchRetriever, ) __all__ = ["PineconeHybridSearchRetriever"]
langchain/libs/langchain/langchain/retrievers/pinecone_hybrid_search.py/0
{ "file_path": "langchain/libs/langchain/langchain/retrievers/pinecone_hybrid_search.py", "repo_id": "langchain", "token_count": 52 }
541
import { LLMChain } from "langchain/chains"; import { AgentExecutor, ZeroShotAgent } from "langchain/agents"; import { ChatOpenAI } from "@langchain/openai"; import { Calculator } from "langchain/tools/calculator"; import { Serialized } from "@langchain/core/load/serializable"; import { BaseCallbackHandler } from "@lan...
langchainjs/examples/src/agents/streaming.ts/0
{ "file_path": "langchainjs/examples/src/agents/streaming.ts", "repo_id": "langchainjs", "token_count": 1676 }
813
"""Test HuggingFace API wrapper.""" import unittest from pathlib import Path import pytest from langchain_community.llms.huggingface_endpoint import HuggingFaceEndpoint from langchain_community.llms.loading import load_llm from tests.integration_tests.llms.utils import assert_llm_equality @unittest.skip( "This...
langchain/libs/community/tests/integration_tests/llms/test_huggingface_endpoint.py/0
{ "file_path": "langchain/libs/community/tests/integration_tests/llms/test_huggingface_endpoint.py", "repo_id": "langchain", "token_count": 750 }
341
/* eslint-disable no-process-env */ import { MongoClient, ObjectId } from "mongodb"; import { AIMessage, HumanMessage } from "@langchain/core/messages"; import { MongoDBChatMessageHistory } from "../message/mongodb.js"; afterAll(async () => { // eslint-disable-next-line @typescript-eslint/no-non-null-assertion co...
langchainjs/libs/langchain-community/src/stores/tests/mongodb.int.test.ts/0
{ "file_path": "langchainjs/libs/langchain-community/src/stores/tests/mongodb.int.test.ts", "repo_id": "langchainjs", "token_count": 777 }
1,037
"""Node parsers.""" from llama_index.core.node_parser.file.html import HTMLNodeParser from llama_index.core.node_parser.file.json import JSONNodeParser from llama_index.core.node_parser.file.markdown import MarkdownNodeParser from llama_index.core.node_parser.file.simple_file import SimpleFileNodeParser from llama_ind...
llama_index/llama-index-core/llama_index/core/node_parser/__init__.py/0
{ "file_path": "llama_index/llama-index-core/llama_index/core/node_parser/__init__.py", "repo_id": "llama_index", "token_count": 652 }
1,230
"""Question answering over a graph.""" from __future__ import annotations from typing import Any, Dict, List, Optional from langchain_community.graphs.kuzu_graph import KuzuGraph from langchain_core.callbacks import CallbackManagerForChainRun from langchain_core.language_models import BaseLanguageModel from langchain...
langchain/libs/langchain/langchain/chains/graph_qa/kuzu.py/0
{ "file_path": "langchain/libs/langchain/langchain/chains/graph_qa/kuzu.py", "repo_id": "langchain", "token_count": 1481 }
459
# Git clone the spider evaluation repo if it doesn't exist. if [ ! -d "spider-evaluation" ]; then git clone https://github.com/taoyds/spider.git spider-evaluation fi BENCHMARK_DIR=$1 PREDICTIONS_DIR=$2 # Check if gold and pred SQL files have the same number of lines. if [ $(wc -l < $BENCHMARK_DIR/train_gold.sql) -n...
llama_index/benchmarks/struct_indices/spider/evaluate.sh/0
{ "file_path": "llama_index/benchmarks/struct_indices/spider/evaluate.sh", "repo_id": "llama_index", "token_count": 470 }
1,108
Transform Retriever ======================= .. automodule:: llama_index.core.retrievers.transform_retriever :members: :inherited-members: .. :exclude-members: index_struct, query, set_llm_predictor, set_prompt_helper
llama_index/docs/api_reference/query/retrievers/transform.rst/0
{ "file_path": "llama_index/docs/api_reference/query/retrievers/transform.rst", "repo_id": "llama_index", "token_count": 81 }
1,035
# An introduction to Multi-Agents Reinforcement Learning (MARL) ## From single agent to multiple agents In the first unit, we learned to train agents in a single-agent system. When our agent was alone in its environment: **it was not cooperating or collaborating with other agents**. <figure> <img src="https://huggin...
deep-rl-class/units/en/unit7/introduction-to-marl.mdx/0
{ "file_path": "deep-rl-class/units/en/unit7/introduction-to-marl.mdx", "repo_id": "deep-rl-class", "token_count": 982 }
168
<jupyter_start><jupyter_text>Clarifai>[Clarifai](https://www.clarifai.com/) is an AI Platform that provides the full AI lifecycle ranging from data exploration, data labeling, model training, evaluation, and inference. A Clarifai application can be used as a vector database after uploading inputs. This notebook shows h...
langchain/docs/docs/integrations/vectorstores/clarifai.ipynb/0
{ "file_path": "langchain/docs/docs/integrations/vectorstores/clarifai.ipynb", "repo_id": "langchain", "token_count": 2038 }
179
# 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 applicabl...
transformers/src/transformers/models/layoutxlm/__init__.py/0
{ "file_path": "transformers/src/transformers/models/layoutxlm/__init__.py", "repo_id": "transformers", "token_count": 688 }
657
# coding=utf-8 # 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 requir...
transformers/tests/models/esm/test_tokenization_esm.py/0
{ "file_path": "transformers/tests/models/esm/test_tokenization_esm.py", "repo_id": "transformers", "token_count": 2117 }
745
"""Labelled Evaluation Class.""" import asyncio import time from typing import List, Optional from llama_index.core.bridge.pydantic import Field from llama_index.core.evaluation import ( BaseEvaluator, EvaluationResult, ) from llama_index.core.evaluation.pairwise import EvaluationSource from llama_index.core....
llama_index/llama-index-core/llama_index/core/llama_dataset/evaluator_evaluation.py/0
{ "file_path": "llama_index/llama-index-core/llama_index/core/llama_dataset/evaluator_evaluation.py", "repo_id": "llama_index", "token_count": 6623 }
1,159
[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 = ["JiraReader"] contains_example = false import_path = "llama_index.readers.jira" [tool.myp...
llama_index/llama-index-integrations/readers/llama-index-readers-jira/pyproject.toml/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-jira/pyproject.toml", "repo_id": "llama_index", "token_count": 661 }
1,465
<jupyter_start><jupyter_text>Neptune SPARQL QA ChainThis notebook shows use of LLM to query RDF graph in Amazon Neptune. This code uses a `NeptuneRdfGraph` class that connects with the Neptune database and loads it's schema. The `NeptuneSparqlQAChain` is used to connect the graph and LLM to ask natural language questio...
langchain/docs/docs/use_cases/graph/neptune_sparql_qa.ipynb/0
{ "file_path": "langchain/docs/docs/use_cases/graph/neptune_sparql_qa.ipynb", "repo_id": "langchain", "token_count": 2044 }
194
python_tests()
llama_index/llama-index-integrations/tools/llama-index-tools-yahoo-finance/tests/BUILD/0
{ "file_path": "llama_index/llama-index-integrations/tools/llama-index-tools-yahoo-finance/tests/BUILD", "repo_id": "llama_index", "token_count": 5 }
1,589
<!--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...
accelerate/docs/source/usage_guides/gradient_accumulation.md/0
{ "file_path": "accelerate/docs/source/usage_guides/gradient_accumulation.md", "repo_id": "accelerate", "token_count": 2733 }
3
<jupyter_start><jupyter_text>Nuclia>[Nuclia](https://nuclia.com) automatically indexes your unstructured data from any internal and external source, providing optimized search results and generative answers. It can handle video and audio transcription, image content extraction, and document parsing.`Nuclia Understandin...
langchain/docs/docs/integrations/document_transformers/nuclia_transformer.ipynb/0
{ "file_path": "langchain/docs/docs/integrations/document_transformers/nuclia_transformer.ipynb", "repo_id": "langchain", "token_count": 675 }
115
# coding=utf-8 # Copyright 2022 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/perceiver/image_processing_perceiver.py/0
{ "file_path": "transformers/src/transformers/models/perceiver/image_processing_perceiver.py", "repo_id": "transformers", "token_count": 7364 }
715
from __future__ import annotations import typing import uuid from typing import ( Any, Callable, Dict, Iterable, List, Optional, Tuple, Type, TypeVar, Union, ) import numpy as np if typing.TYPE_CHECKING: from cassandra.cluster import Session from langchain_core.documents ...
langchain/libs/community/langchain_community/vectorstores/cassandra.py/0
{ "file_path": "langchain/libs/community/langchain_community/vectorstores/cassandra.py", "repo_id": "langchain", "token_count": 7064 }
307
import { ScrollArea, Table } from "@mantine/core"; import { Experiment } from "../utils/types"; const ExperimentSummaryTable = ({ experiments, }: { experiments: Experiment[]; }) => { return ( <ScrollArea scrollbarSize={0}> <Table withBorder withColumnBorders striped highlightOnHover> <thead> ...
auto-evaluator/nextjs/components/ExperimentSummaryTable.tsx/0
{ "file_path": "auto-evaluator/nextjs/components/ExperimentSummaryTable.tsx", "repo_id": "auto-evaluator", "token_count": 919 }
2
python_sources()
llama_index/llama-index-legacy/llama_index/legacy/llm_predictor/vellum/BUILD/0
{ "file_path": "llama_index/llama-index-legacy/llama_index/legacy/llm_predictor/vellum/BUILD", "repo_id": "llama_index", "token_count": 6 }
1,584
<jupyter_start><jupyter_text>Evaluating Existing Runs[](https://colab.research.google.com/github/langchain-ai/langsmith-cookbook/blob/main/testing-examples/evaluate-existing-test-project/evaluate_runs.ipynb)This tutorial shows how to evaluate runs in an existing test project. This is useful when:- You have a new evalua...
langsmith-cookbook/testing-examples/evaluate-existing-test-project/evaluate_runs.ipynb/0
{ "file_path": "langsmith-cookbook/testing-examples/evaluate-existing-test-project/evaluate_runs.ipynb", "repo_id": "langsmith-cookbook", "token_count": 2772 }
1,063
from typing import Dict, Iterator, List, Optional, Union from tokenizers import AddedToken, Tokenizer, decoders, trainers from tokenizers.models import WordPiece from tokenizers.normalizers import BertNormalizer from tokenizers.pre_tokenizers import BertPreTokenizer from tokenizers.processors import BertProcessing fr...
tokenizers/bindings/python/py_src/tokenizers/implementations/bert_wordpiece.py/0
{ "file_path": "tokenizers/bindings/python/py_src/tokenizers/implementations/bert_wordpiece.py", "repo_id": "tokenizers", "token_count": 2637 }
441
# coding=utf-8 # Copyright 2018 The OpenAI Team Authors and HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License...
transformers/src/transformers/models/openai/configuration_openai.py/0
{ "file_path": "transformers/src/transformers/models/openai/configuration_openai.py", "repo_id": "transformers", "token_count": 2789 }
672
# OpenAI The `OpenAIEmbeddings` class uses the OpenAI API to generate embeddings for a given text. By default it strips new line characters from the text, as recommended by OpenAI, but you can disable this by passing `stripNewLines: false` to the constructor. import IntegrationInstallTooltip from "@mdx_components/int...
langchainjs/docs/core_docs/docs/integrations/text_embedding/openai.mdx/0
{ "file_path": "langchainjs/docs/core_docs/docs/integrations/text_embedding/openai.mdx", "repo_id": "langchainjs", "token_count": 680 }
713
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
milvus/internal/proxy/roundrobin_balancer.go/0
{ "file_path": "milvus/internal/proxy/roundrobin_balancer.go", "repo_id": "milvus", "token_count": 731 }
1,885
<!--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/using_safetensors.md/0
{ "file_path": "diffusers/docs/source/en/using-diffusers/using_safetensors.md", "repo_id": "diffusers", "token_count": 1535 }
193
""" Swin Transformer A PyTorch impl of : `Swin Transformer: Hierarchical Vision Transformer using Shifted Windows` - https://arxiv.org/pdf/2103.14030 Code/weights from https://github.com/microsoft/Swin-Transformer, original copyright/license info below S3 (AutoFormerV2, https://arxiv.org/abs/2111.14725) Swin weig...
pytorch-image-models/timm/models/swin_transformer.py/0
{ "file_path": "pytorch-image-models/timm/models/swin_transformer.py", "repo_id": "pytorch-image-models", "token_count": 16908 }
358
// 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/pkg/eventlog/handler_test.go/0
{ "file_path": "milvus/pkg/eventlog/handler_test.go", "repo_id": "milvus", "token_count": 596 }
1,883
<!--Copyright 2023 The HuggingFace Team. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
transformers/docs/source/en/perf_train_tpu_tf.md/0
{ "file_path": "transformers/docs/source/en/perf_train_tpu_tf.md", "repo_id": "transformers", "token_count": 3706 }
510
"""Summary index. A simple data structure where LlamaIndex iterates through document chunks in sequence in order to answer a given query. """ from enum import Enum from typing import Any, Dict, Optional, Sequence, Union from llama_index.core.base.base_retriever import BaseRetriever from llama_index.core.base.embedd...
llama_index/llama-index-core/llama_index/core/indices/list/base.py/0
{ "file_path": "llama_index/llama-index-core/llama_index/core/indices/list/base.py", "repo_id": "llama_index", "token_count": 2301 }
1,128
import assert from "assert"; import { OpenAI } from "langchain/llms/openai"; import { LLMChain } from "langchain/chains"; import { ChatPromptTemplate } from "langchain/prompts"; import { loadPrompt } from "langchain/prompts/load"; import { MemoryVectorStore } from "langchain/vectorstores/memory"; import { OpenAIEmbeddi...
langchainjs/environment_tests/test-exports-bun/src/index.js/0
{ "file_path": "langchainjs/environment_tests/test-exports-bun/src/index.js", "repo_id": "langchainjs", "token_count": 466 }
781
<!--Copyright 2021 The HuggingFace Team. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
accelerate/docs/source/package_reference/accelerator.md/0
{ "file_path": "accelerate/docs/source/package_reference/accelerator.md", "repo_id": "accelerate", "token_count": 2148 }
4
import { Embeddings } from "@langchain/core/embeddings"; import { type OpenAIClientOptions as AzureOpenAIClientOptions, OpenAIClient as AzureOpenAIClient, AzureKeyCredential, OpenAIKeyCredential, } from "@azure/openai"; import { KeyCredential, TokenCredential, isTokenCredential, } from "@azure/core-auth";...
langchainjs/libs/langchain-azure-openai/src/embeddings.ts/0
{ "file_path": "langchainjs/libs/langchain-azure-openai/src/embeddings.ts", "repo_id": "langchainjs", "token_count": 1736 }
943
<jupyter_start><jupyter_text>Custom agent with tool retrievalThe novel idea introduced in this notebook is the idea of using retrieval to select the set of tools to use to answer an agent query. This is useful when you have many many tools to select from. You cannot put the description of all the tools in the prompt (b...
langchain/cookbook/custom_agent_with_tool_retrieval.ipynb/0
{ "file_path": "langchain/cookbook/custom_agent_with_tool_retrieval.ipynb", "repo_id": "langchain", "token_count": 2692 }
76
# 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/stable_diffusion/safety_checker.py/0
{ "file_path": "diffusers/src/diffusers/pipelines/stable_diffusion/safety_checker.py", "repo_id": "diffusers", "token_count": 2300 }
267
import chromadb from contextvars import ContextVar from functools import wraps import logging from typing import Callable, Optional, Dict, List, Union, cast, Any from overrides import override from starlette.middleware.base import BaseHTTPMiddleware, RequestResponseEndpoint from starlette.requests import Request from s...
chroma/chromadb/auth/fastapi.py/0
{ "file_path": "chroma/chromadb/auth/fastapi.py", "repo_id": "chroma", "token_count": 5711 }
13
# Marqo This page covers how to use the Marqo ecosystem within LangChain. ### **What is Marqo?** Marqo is a tensor search engine that uses embeddings stored in in-memory HNSW indexes to achieve cutting edge search speeds. Marqo can scale to hundred-million document indexes with horizontal index sharding and allows f...
langchain/docs/docs/integrations/providers/marqo.md/0
{ "file_path": "langchain/docs/docs/integrations/providers/marqo.md", "repo_id": "langchain", "token_count": 532 }
140
<jupyter_start><jupyter_text>Qdrant>[Qdrant](https://qdrant.tech/documentation/) (read: quadrant) is a vector similarity search engine. It provides a production-ready service with a convenient API to store, search, and manage points - vectors with an additional payload. `Qdrant` is tailored to extended filtering suppor...
langchain/docs/docs/integrations/retrievers/self_query/qdrant_self_query.ipynb/0
{ "file_path": "langchain/docs/docs/integrations/retrievers/self_query/qdrant_self_query.ipynb", "repo_id": "langchain", "token_count": 1811 }
170