text
stringlengths
3
1.68M
id
stringlengths
13
169
metadata
dict
__index_level_0__
int64
0
2.21k
python_sources() python_tests( name="tests", skip_tests=True, )
llama_index/llama-index-legacy/tests/llm_predictor/BUILD/0
{ "file_path": "llama_index/llama-index-legacy/tests/llm_predictor/BUILD", "repo_id": "llama_index", "token_count": 32 }
1,743
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
milvus/internal/querycoordv2/job/utils.go/0
{ "file_path": "milvus/internal/querycoordv2/job/utils.go", "repo_id": "milvus", "token_count": 1590 }
1,895
<!--Copyright 2021 The HuggingFace Team. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
transformers/docs/source/en/model_doc/layoutxlm.md/0
{ "file_path": "transformers/docs/source/en/model_doc/layoutxlm.md", "repo_id": "transformers", "token_count": 981 }
486
# End-to-End finetuning of RAG (including DPR retriever) for Question Answering. This finetuning script is actively maintained by [Shamane Siri](https://github.com/shamanez). Feel free to ask questions on the [Forum](https://discuss.huggingface.co/) or post an issue on [GitHub](https://github.com/huggingface/transform...
transformers/examples/research_projects/rag-end2end-retriever/README.md/0
{ "file_path": "transformers/examples/research_projects/rag-end2end-retriever/README.md", "repo_id": "transformers", "token_count": 1044 }
532
"""Test ChatOpenAI wrapper.""" from typing import Any, Optional import pytest from langchain_core.callbacks import CallbackManager from langchain_core.messages import AIMessage, BaseMessage, HumanMessage, SystemMessage from langchain_core.outputs import ( ChatGeneration, ChatResult, LLMResult, ) from langc...
langchain/libs/community/tests/integration_tests/chat_models/test_openai.py/0
{ "file_path": "langchain/libs/community/tests/integration_tests/chat_models/test_openai.py", "repo_id": "langchain", "token_count": 4140 }
344
import pytest @pytest.fixture(scope="module") def neox_sharded_handle(launcher): with launcher( "OpenAssistant/oasst-sft-1-pythia-12b", num_shard=2, use_flash_attention=False ) as handle: yield handle @pytest.fixture(scope="module") async def neox_sharded(neox_sharded_handle): await neox...
text-generation-inference/integration-tests/models/test_neox_sharded.py/0
{ "file_path": "text-generation-inference/integration-tests/models/test_neox_sharded.py", "repo_id": "text-generation-inference", "token_count": 507 }
401
package writebuffer import ( "container/heap" "math/rand" "time" "github.com/samber/lo" "go.uber.org/atomic" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus/internal/datanode/metacache" "github.com/milvus-io/milvus/internal/proto/datapb" "github.com/milvus-io/milvus/pkg/u...
milvus/internal/datanode/writebuffer/sync_policy.go/0
{ "file_path": "milvus/internal/datanode/writebuffer/sync_policy.go", "repo_id": "milvus", "token_count": 1697 }
1,812
from unittest.mock import MagicMock, patch import httpx from llama_index.legacy.embeddings import AzureOpenAIEmbedding @patch("llama_index.legacy.embeddings.azure_openai.AzureOpenAI") def test_custom_http_client(azure_openai_mock: MagicMock) -> None: """ Verify that a custom http_client set for AzureOpenAIEm...
llama_index/llama-index-legacy/tests/embeddings/test_azure_openai.py/0
{ "file_path": "llama_index/llama-index-legacy/tests/embeddings/test_azure_openai.py", "repo_id": "llama_index", "token_count": 272 }
1,730
<jupyter_start><jupyter_text>Composable ObjectsIn this notebook, we show how you can combine multiple objects into a single top-level index.This approach works by setting up `IndexNode` objects, with an `obj` field that points to a:- query engine- retriever- query pipeline- another node!```pythonobject = IndexNode(inde...
llama_index/docs/examples/retrievers/composable_retrievers.ipynb/0
{ "file_path": "llama_index/docs/examples/retrievers/composable_retrievers.ipynb", "repo_id": "llama_index", "token_count": 1853 }
1,127
# 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/tests/models/dpt/test_modeling_dpt.py/0
{ "file_path": "transformers/tests/models/dpt/test_modeling_dpt.py", "repo_id": "transformers", "token_count": 6106 }
731
"""Util that calls Metaphor Search API. In order to set this up, follow instructions at: """ import json from typing import Dict, List, Optional import aiohttp import requests from langchain_core.pydantic_v1 import BaseModel, Extra, root_validator from langchain_core.utils import get_from_dict_or_env METAPHOR_API_UR...
langchain/libs/community/langchain_community/utilities/metaphor_search.py/0
{ "file_path": "langchain/libs/community/langchain_community/utilities/metaphor_search.py", "repo_id": "langchain", "token_count": 3086 }
328
// 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/indexbuilder/VecIndexCreator.cpp/0
{ "file_path": "milvus/internal/core/src/indexbuilder/VecIndexCreator.cpp", "repo_id": "milvus", "token_count": 1146 }
1,649
<jupyter_start><jupyter_text>Cogniswitch ToolSpec**Use CogniSwitch to build production ready applications that can consume, organize and retrieve knowledge flawlessly. Using the framework of your choice, in this case LlamaIndex, CogniSwitch helps alleviate the stress of decision making when it comes to, choosing the ri...
llama_index/llama-index-integrations/tools/llama-index-tools-cogniswitch/examples/cogniswitch.ipynb/0
{ "file_path": "llama_index/llama-index-integrations/tools/llama-index-tools-cogniswitch/examples/cogniswitch.ipynb", "repo_id": "llama_index", "token_count": 1415 }
1,420
<?xml version="1.0" encoding="utf-8"?> <!-- Generator: Adobe Illustrator 23.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> <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" viewBox="0 0 270 270" style="enable-background:new 0 0 270...
auto-evaluator/nextjs/public/slack-mark.svg/0
{ "file_path": "auto-evaluator/nextjs/public/slack-mark.svg", "repo_id": "auto-evaluator", "token_count": 1106 }
4
"""Tool for the Google Lens""" from typing import Optional from langchain_core.callbacks import CallbackManagerForToolRun from langchain_core.tools import BaseTool from langchain_community.utilities.google_lens import GoogleLensAPIWrapper class GoogleLensQueryRun(BaseTool): """Tool that queries the Google Lens...
langchain/libs/community/langchain_community/tools/google_lens/tool.py/0
{ "file_path": "langchain/libs/community/langchain_community/tools/google_lens/tool.py", "repo_id": "langchain", "token_count": 294 }
286
package milvus import ( "fmt" "strings" "github.com/milvus-io/milvus/pkg/util/typeutil" ) const ( RunCmd = "run" ) var ( usageLine = fmt.Sprintf("Usage:\n"+ "%s\n%s\n%s\n%s\n", runLine, stopLine, mckLine, serverTypeLine) serverTypeLine = ` [server type] ` + strings.Join(typeutil.ServerTypeList(), "\n\t") ...
milvus/cmd/milvus/help.go/0
{ "file_path": "milvus/cmd/milvus/help.go", "repo_id": "milvus", "token_count": 560 }
1,627
from llama_index.core.llama_pack import BaseLlamaPack from llama_index.packs.vectara_rag import VectaraRagPack def test_class(): names_of_base_classes = [b.__name__ for b in VectaraRagPack.__mro__] assert BaseLlamaPack.__name__ in names_of_base_classes
llama_index/llama-index-packs/llama-index-packs-vectara-rag/tests/test_packs_vectara_rag.py/0
{ "file_path": "llama_index/llama-index-packs/llama-index-packs-vectara-rag/tests/test_packs_vectara_rag.py", "repo_id": "llama_index", "token_count": 102 }
1,706
import logging import pytest import functools import socket import common.common_type as ct import common.common_func as cf from utils.util_log import test_log as log from common.common_func import param_info from check.param_check import ip_check, number_check from config.log_config import log_config from utils.util...
milvus/tests/python_client/deploy/conftest.py/0
{ "file_path": "milvus/tests/python_client/deploy/conftest.py", "repo_id": "milvus", "token_count": 246 }
2,037
# coding=utf-8 # Copyright 2019-present CNRS, Facebook Inc. and the HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 #...
transformers/src/transformers/models/flaubert/configuration_flaubert.py/0
{ "file_path": "transformers/src/transformers/models/flaubert/configuration_flaubert.py", "repo_id": "transformers", "token_count": 4615 }
644
from langchain_community.tools.ainetwork.owner import AINOwnerOps, RuleSchema __all__ = ["RuleSchema", "AINOwnerOps"]
langchain/libs/langchain/langchain/tools/ainetwork/owner.py/0
{ "file_path": "langchain/libs/langchain/langchain/tools/ainetwork/owner.py", "repo_id": "langchain", "token_count": 39 }
553
"""Load html from files, clean up, split, ingest into Weaviate.""" import pickle from langchain.document_loaders import SitemapLoader from langchain.embeddings import OpenAIEmbeddings from langchain.text_splitter import RecursiveCharacterTextSplitter from langchain.vectorstores.faiss import FAISS def get_text(conten...
langchain-aiplugin/retrieval_qa/ingest.py/0
{ "file_path": "langchain-aiplugin/retrieval_qa/ingest.py", "repo_id": "langchain-aiplugin", "token_count": 418 }
66
import { BaseLLMParams, LLM } from "@langchain/core/language_models/llms"; export interface BittensorInput extends BaseLLMParams { systemPrompt?: string | null | undefined; topResponses?: number | undefined; } interface Message { role: string; content: string; } interface ChatPayload { uids?: string[]; to...
langchainjs/langchain/src/experimental/llms/bittensor.ts/0
{ "file_path": "langchainjs/langchain/src/experimental/llms/bittensor.ts", "repo_id": "langchainjs", "token_count": 2118 }
960
import asyncio import logging from threading import Thread from typing import Any, List, Optional, Tuple from llama_index.core.base.llms.types import ChatMessage, MessageRole from llama_index.core.callbacks import CallbackManager, trace_method from llama_index.core.chat_engine.types import ( AgentChatResponse, ...
llama_index/llama-index-core/llama_index/core/chat_engine/condense_plus_context.py/0
{ "file_path": "llama_index/llama-index-core/llama_index/core/chat_engine/condense_plus_context.py", "repo_id": "llama_index", "token_count": 5650 }
1,165
python_tests()
llama_index/llama-index-integrations/vector_stores/llama-index-vector-stores-mongodb/tests/BUILD/0
{ "file_path": "llama_index/llama-index-integrations/vector_stores/llama-index-vector-stores-mongodb/tests/BUILD", "repo_id": "llama_index", "token_count": 5 }
1,527
<jupyter_start><jupyter_text>Density based retrieval relevanceAn important aspect of using embeddings-based retreival systems like Chroma is knowing whether there are relevant results to a given query in the existing dataset. As application developers, we would like to know when the system doesn't have enough informati...
chroma/chromadb/experimental/density_relevance.ipynb/0
{ "file_path": "chroma/chromadb/experimental/density_relevance.ipynb", "repo_id": "chroma", "token_count": 3234 }
14
<jupyter_start><jupyter_text>---sidebar_position: 2title: "RunnableLambda: Run Custom Functions"keywords: [RunnableLambda, LCEL]---<jupyter_code># Run custom functions You can use arbitrary functions in the pipeline. Note that all inputs to these functions need to be a SINGLE argument. If you have a function that acc...
langchain/docs/docs/expression_language/how_to/functions.ipynb/0
{ "file_path": "langchain/docs/docs/expression_language/how_to/functions.ipynb", "repo_id": "langchain", "token_count": 1022 }
90
<jupyter_start><jupyter_text>Ingestion Pipeline + Document ManagementAttaching a `docstore` to the ingestion pipeline will enable document management.Using the `document.doc_id` or `node.ref_doc_id` as a grounding point, the ingestion pipeline will actively look for duplicate documents.It works by- Storing a map of `do...
llama_index/docs/examples/ingestion/document_management_pipeline.ipynb/0
{ "file_path": "llama_index/docs/examples/ingestion/document_management_pipeline.ipynb", "repo_id": "llama_index", "token_count": 1213 }
1,190
{ "eslint.workingDirectories": [ "./nextjs", ], "deno.enablePaths": [ "./supabase" ], "deno.importMap": "./supabase/functions/import_map.json" }
langchain-template-supabase/.vscode/settings.json/0
{ "file_path": "langchain-template-supabase/.vscode/settings.json", "repo_id": "langchain-template-supabase", "token_count": 73 }
71
from .. import decoders Decoder = decoders.Decoder ByteLevel = decoders.ByteLevel Replace = decoders.Replace WordPiece = decoders.WordPiece ByteFallback = decoders.ByteFallback Fuse = decoders.Fuse Strip = decoders.Strip Metaspace = decoders.Metaspace BPEDecoder = decoders.BPEDecoder CTC = decoders.CTC Sequence = dec...
tokenizers/bindings/python/py_src/tokenizers/decoders/__init__.py/0
{ "file_path": "tokenizers/bindings/python/py_src/tokenizers/decoders/__init__.py", "repo_id": "tokenizers", "token_count": 128 }
461
# 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/loaders/unet.py/0
{ "file_path": "diffusers/src/diffusers/loaders/unet.py", "repo_id": "diffusers", "token_count": 20006 }
225
import { OpenAI, OpenAIEmbeddings } from "@langchain/openai"; import { MemoryVectorStore } from "langchain/vectorstores/memory"; import { HydeRetriever } from "langchain/retrievers/hyde"; import { Document } from "@langchain/core/documents"; const embeddings = new OpenAIEmbeddings(); const vectorStore = new MemoryVect...
langchainjs/examples/src/retrievers/hyde.ts/0
{ "file_path": "langchainjs/examples/src/retrievers/hyde.ts", "repo_id": "langchainjs", "token_count": 272 }
912
from typing import Optional, Type from langchain.callbacks.manager import ( AsyncCallbackManagerForToolRun, CallbackManagerForToolRun, ) # Import things that are needed generically from langchain.pydantic_v1 import BaseModel, Field from langchain.tools import BaseTool from neo4j_semantic_ollama.utils import ...
langchain/templates/neo4j-semantic-ollama/neo4j_semantic_ollama/information_tool.py/0
{ "file_path": "langchain/templates/neo4j-semantic-ollama/neo4j_semantic_ollama/information_tool.py", "repo_id": "langchain", "token_count": 923 }
701
*This guideline is very much a work-in-progress.* Contributions to `timm` for code, documentation, tests are more than welcome! There haven't been any formal guidelines to date so please bear with me, and feel free to add to this guide. # Coding style Code linting and auto-format (black) are not currently in place ...
pytorch-image-models/CONTRIBUTING.md/0
{ "file_path": "pytorch-image-models/CONTRIBUTING.md", "repo_id": "pytorch-image-models", "token_count": 1224 }
342
import { BedrockChat } from "@langchain/community/chat_models/bedrock"; // Or, from web environments: // import { BedrockChat } from "@langchain/community/chat_models/bedrock/web"; import { HumanMessage } from "@langchain/core/messages"; // If no credentials are provided, the default credentials from // @aws-sdk/crede...
langchainjs/examples/src/models/chat/integration_bedrock.ts/0
{ "file_path": "langchainjs/examples/src/models/chat/integration_bedrock.ts", "repo_id": "langchainjs", "token_count": 348 }
845
<!--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/ja/main_classes/logging.md/0
{ "file_path": "transformers/docs/source/ja/main_classes/logging.md", "repo_id": "transformers", "token_count": 2182 }
489
// 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/handlers_test.go/0
{ "file_path": "milvus/internal/querynodev2/handlers_test.go", "repo_id": "milvus", "token_count": 1716 }
1,839
package log import ( "context" "testing" "time" "github.com/stretchr/testify/assert" "go.uber.org/zap" ) func TestExporterV2(t *testing.T) { ts := newTestLogSpy(t) conf := &Config{Level: "debug", DisableTimestamp: true} logger, properties, _ := InitTestLogger(ts, conf) ReplaceGlobals(logger, properties) r...
milvus/pkg/log/mlogger_test.go/0
{ "file_path": "milvus/pkg/log/mlogger_test.go", "repo_id": "milvus", "token_count": 1112 }
2,033
python_sources()
llama_index/llama-index-core/llama_index/core/base/BUILD/0
{ "file_path": "llama_index/llama-index-core/llama_index/core/base/BUILD", "repo_id": "llama_index", "token_count": 6 }
1,245
python_tests( name="tests", skip_tests=True, )
llama_index/llama-index-legacy/tests/chat_engine/BUILD/0
{ "file_path": "llama_index/llama-index-legacy/tests/chat_engine/BUILD", "repo_id": "llama_index", "token_count": 25 }
1,793
# 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/integrations/peft.py/0
{ "file_path": "transformers/src/transformers/integrations/peft.py", "repo_id": "transformers", "token_count": 9185 }
574
"""Test PGVector functionality.""" from unittest import mock from unittest.mock import Mock import pytest from langchain_community.embeddings import FakeEmbeddings from langchain_community.vectorstores import pgvector _CONNECTION_STRING = pgvector.PGVector.connection_string_from_db_params( driver="psycopg2", ...
langchain/libs/community/tests/unit_tests/vectorstores/test_pgvector.py/0
{ "file_path": "langchain/libs/community/tests/unit_tests/vectorstores/test_pgvector.py", "repo_id": "langchain", "token_count": 870 }
411
mod benchmarks; use criterion::criterion_main; criterion_main!( benchmarks::affine::benches, benchmarks::matmul::benches, benchmarks::random::benches, benchmarks::where_cond::benches );
candle/candle-core/benches/bench_main.rs/0
{ "file_path": "candle/candle-core/benches/bench_main.rs", "repo_id": "candle", "token_count": 71 }
32
import os import pytest import yaml from datasets.features.features import Features, Value from datasets.info import DatasetInfo, DatasetInfosDict @pytest.mark.parametrize( "files", [ ["full:README.md", "dataset_infos.json"], ["empty:README.md", "dataset_infos.json"], ["dataset_infos...
datasets/tests/test_info.py/0
{ "file_path": "datasets/tests/test_info.py", "repo_id": "datasets", "token_count": 2685 }
168
import os import time import pytest from dotenv import load_dotenv from langchain_community.embeddings.openai import OpenAIEmbeddings from langchain_community.vectorstores.azuresearch import AzureSearch load_dotenv() model = os.getenv("OPENAI_EMBEDDINGS_ENGINE_DOC", "text-embedding-ada-002") # Vector store settings...
langchain/libs/community/tests/integration_tests/vectorstores/test_azuresearch.py/0
{ "file_path": "langchain/libs/community/tests/integration_tests/vectorstores/test_azuresearch.py", "repo_id": "langchain", "token_count": 1217 }
383
use crate::op::{BinaryOp, Op, ReduceOp, UnaryOp}; use crate::{Error, Result, Tensor, TensorId}; use std::collections::HashMap; // arg has been reduced to node via reduce_dims, expand it back to arg. // This has to handle keepdims. fn broadcast_back(arg: &Tensor, node: &Tensor, reduced_dims: &[usize]) -> Result<Tensor>...
candle/candle-core/src/backprop.rs/0
{ "file_path": "candle/candle-core/src/backprop.rs", "repo_id": "candle", "token_count": 22994 }
26
from langchain_community.chat_models import ChatOpenAI from langchain_community.embeddings import OpenAIEmbeddings from langchain_community.vectorstores import Neo4jVector from langchain_core.output_parsers import StrOutputParser from langchain_core.prompts import ChatPromptTemplate from langchain_core.pydantic_v1 impo...
langchain/templates/neo4j-parent/neo4j_parent/chain.py/0
{ "file_path": "langchain/templates/neo4j-parent/neo4j_parent/chain.py", "repo_id": "langchain", "token_count": 415 }
670
<jupyter_start><jupyter_text>LangChain LLM<jupyter_code>%pip install llama-index-llms-langchain from langchain.llms import OpenAI from llama_index.llms.langchain import LangChainLLM llm = LangChainLLM(llm=OpenAI()) response_gen = llm.stream_complete("Hi this is") for delta in response_gen: print(delta.delta, end=""...
llama_index/docs/examples/llm/langchain.ipynb/0
{ "file_path": "llama_index/docs/examples/llm/langchain.ipynb", "repo_id": "llama_index", "token_count": 150 }
1,113
export * from "./vectorstores.js";
langchainjs/libs/langchain-weaviate/src/index.ts/0
{ "file_path": "langchainjs/libs/langchain-weaviate/src/index.ts", "repo_id": "langchainjs", "token_count": 11 }
1,111
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
milvus/internal/datacoord/compaction_test.go/0
{ "file_path": "milvus/internal/datacoord/compaction_test.go", "repo_id": "milvus", "token_count": 7665 }
1,684
{ "[python]": { "editor.defaultFormatter": "ms-python.black-formatter" }, "python.formatting.provider": "none", "python.testing.pytestArgs": [ "candle-pyo3" ], "python.testing.unittestEnabled": false, "python.testing.pytestEnabled": true }
candle/.vscode/settings.json/0
{ "file_path": "candle/.vscode/settings.json", "repo_id": "candle", "token_count": 123 }
27
from langchain import agents from tests.unit_tests import assert_all_importable EXPECTED_ALL = [ "Agent", "AgentExecutor", "AgentExecutorIterator", "AgentOutputParser", "AgentType", "BaseMultiActionAgent", "BaseSingleActionAgent", "ConversationalAgent", "ConversationalChatAgent", ...
langchain/libs/langchain/tests/unit_tests/agents/test_imports.py/0
{ "file_path": "langchain/libs/langchain/tests/unit_tests/agents/test_imports.py", "repo_id": "langchain", "token_count": 533 }
588
// 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/ShowExprVisitor.cpp/0
{ "file_path": "milvus/internal/core/src/query/visitors/ShowExprVisitor.cpp", "repo_id": "milvus", "token_count": 5925 }
1,796
"""Mock utils.""" import re from typing import List, Optional, Set from llama_index.core.indices.keyword_table.utils import simple_extract_keywords def mock_tokenizer(text: str) -> List[str]: """Mock tokenizer.""" tokens = re.split(r"[ \n]", text) # split by space or newline result = [] for token i...
llama_index/llama-index-core/tests/mock_utils/mock_utils.py/0
{ "file_path": "llama_index/llama-index-core/tests/mock_utils/mock_utils.py", "repo_id": "llama_index", "token_count": 613 }
1,194
import json import pickle import pytest from tokenizers.decoders import ( CTC, BPEDecoder, ByteLevel, Decoder, Metaspace, Sequence, WordPiece, ByteFallback, Replace, Strip, Fuse, ) class TestByteLevel: def test_instantiate(self): assert ByteLevel() is not None...
tokenizers/bindings/python/tests/bindings/test_decoders.py/0
{ "file_path": "tokenizers/bindings/python/tests/bindings/test_decoders.py", "repo_id": "tokenizers", "token_count": 3521 }
467
from langchain_community.document_loaders.blob_loaders.file_system import ( FileSystemBlobLoader, ) __all__ = ["FileSystemBlobLoader"]
langchain/libs/langchain/langchain/document_loaders/blob_loaders/file_system.py/0
{ "file_path": "langchain/libs/langchain/langchain/document_loaders/blob_loaders/file_system.py", "repo_id": "langchain", "token_count": 48 }
501
# flake8: noqa # There's no way to ignore "F401 '...' imported but unused" warnings in this # module, but to preserve other warnings. So, don't check this module at all # coding=utf-8 # Copyright 2023-present the HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not u...
peft/src/peft/tuners/__init__.py/0
{ "file_path": "peft/src/peft/tuners/__init__.py", "repo_id": "peft", "token_count": 443 }
316
# Load from langchain.text_splitter import RecursiveCharacterTextSplitter from langchain_community.chat_models import ChatOllama from langchain_community.document_loaders import WebBaseLoader from langchain_community.embeddings import GPT4AllEmbeddings from langchain_community.vectorstores import Chroma from langchain_...
langchain/templates/rag-chroma-private/rag_chroma_private/chain.py/0
{ "file_path": "langchain/templates/rag-chroma-private/rag_chroma_private/chain.py", "repo_id": "langchain", "token_count": 544 }
676
# coding=utf-8 # Copyright 2023 MBZUAI and The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 #...
transformers/src/transformers/models/swiftformer/configuration_swiftformer.py/0
{ "file_path": "transformers/src/transformers/models/swiftformer/configuration_swiftformer.py", "repo_id": "transformers", "token_count": 2037 }
748
# coding=utf-8 # Copyright 2022 The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
transformers/src/transformers/models/mobilenet_v1/convert_original_tf_checkpoint_to_pytorch.py/0
{ "file_path": "transformers/src/transformers/models/mobilenet_v1/convert_original_tf_checkpoint_to_pytorch.py", "repo_id": "transformers", "token_count": 1888 }
642
# coding=utf-8 # Copyright 2024 HuggingFace Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
diffusers/tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_img2img.py/0
{ "file_path": "diffusers/tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_img2img.py", "repo_id": "diffusers", "token_count": 14477 }
293
<!--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/es/pipeline_tutorial.md/0
{ "file_path": "transformers/docs/source/es/pipeline_tutorial.md", "repo_id": "transformers", "token_count": 2286 }
528
<jupyter_start><jupyter_text>If you're opening this Notebook on colab, you will probably need to install 🤗 Transformers and 🤗 Datasets. Uncomment the following cell and run it.<jupyter_code>#! pip install datasets transformers seqeval<jupyter_output><empty_output><jupyter_text>If you're opening this notebook locally,...
notebooks/examples/token_classification.ipynb/0
{ "file_path": "notebooks/examples/token_classification.ipynb", "repo_id": "notebooks", "token_count": 7204 }
312
<jupyter_start><jupyter_text>Retry parserWhile in some cases it is possible to fix any parsing mistakes by only looking at the output, in other cases it isn't. An example of this is when the output is not just in the incorrect format, but is partially complete. Consider the below example.<jupyter_code>from langchain.ou...
langchain/docs/docs/modules/model_io/output_parsers/types/retry.ipynb/0
{ "file_path": "langchain/docs/docs/modules/model_io/output_parsers/types/retry.ipynb", "repo_id": "langchain", "token_count": 852 }
207
<!--Copyright 2022 The HuggingFace Team. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
transformers/docs/source/ja/tasks/translation.md/0
{ "file_path": "transformers/docs/source/ja/tasks/translation.md", "repo_id": "transformers", "token_count": 7453 }
527
# Copyright (c) Microsoft Corporation and HuggingFace # Licensed under the MIT License. import cython cimport numpy from cython.parallel cimport parallel, prange import numpy as np # Reduce this number if matrices are too big for large graphs UNREACHABLE_NODE_DISTANCE = 510 def floyd_warshall(adjacency_matrix): ...
transformers/src/transformers/models/graphormer/algos_graphormer.pyx/0
{ "file_path": "transformers/src/transformers/models/graphormer/algos_graphormer.pyx", "repo_id": "transformers", "token_count": 1752 }
613
--- hide_table_of_contents: true --- import CodeBlock from "@theme/CodeBlock"; # Motörhead Memory [Motörhead](https://github.com/getmetal/motorhead) is a memory server implemented in Rust. It automatically handles incremental summarization in the background and allows for stateless applications. ## Setup See instr...
langchainjs/docs/core_docs/docs/integrations/chat_memory/motorhead_memory.mdx/0
{ "file_path": "langchainjs/docs/core_docs/docs/integrations/chat_memory/motorhead_memory.mdx", "repo_id": "langchainjs", "token_count": 229 }
711
"""**Chat Loaders** load chat messages from common communications platforms. Load chat messages from various communications platforms such as Facebook Messenger, Telegram, and WhatsApp. The loaded chat messages can be used for fine-tuning models. **Class hierarchy:** .. code-block:: BaseChatLoader --> <name>Cha...
langchain/libs/langchain/langchain/chat_loaders/__init__.py/0
{ "file_path": "langchain/libs/langchain/langchain/chat_loaders/__init__.py", "repo_id": "langchain", "token_count": 121 }
501
<jupyter_start><jupyter_text>Hugging Face x Amazon SageMaker - Asynchronous Inference with Hugging Face's Transformers Welcome to this getting started guide. We will use the Hugging Face Inference DLCs and Amazon SageMaker Python SDK to run an [Asynchronous Inference](https://docs.aws.amazon.com/sagemaker/latest/dg/asy...
notebooks/sagemaker/16_async_inference_hf_hub/sagemaker-notebook.ipynb/0
{ "file_path": "notebooks/sagemaker/16_async_inference_hf_hub/sagemaker-notebook.ipynb", "repo_id": "notebooks", "token_count": 4049 }
316
version: 2.1 setup: true orbs: continuation: circleci/continuation@0.1.0 parameters: nightly: type: boolean default: false jobs: # Ensure running with CircleCI/huggingface check_circleci_user: docker: - image: cimg/python:3.8.12 parallelism: 1 steps:...
transformers/.circleci/config.yml/0
{ "file_path": "transformers/.circleci/config.yml", "repo_id": "transformers", "token_count": 5200 }
488
poetry_requirements( name="poetry", )
llama_index/llama-index-integrations/llms/llama-index-llms-anyscale/BUILD/0
{ "file_path": "llama_index/llama-index-integrations/llms/llama-index-llms-anyscale/BUILD", "repo_id": "llama_index", "token_count": 18 }
1,343
# coding=utf-8 # Copyright 2022 Microsoft Research, 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/lice...
transformers/src/transformers/models/resnet/modeling_resnet.py/0
{ "file_path": "transformers/src/transformers/models/resnet/modeling_resnet.py", "repo_id": "transformers", "token_count": 8017 }
674
"""Langchain memory wrapper (for LlamaIndex).""" from typing import Any, Dict, List, Optional from llama_index.core.bridge.langchain import ( AIMessage, BaseChatMemory, BaseMessage, HumanMessage, ) from llama_index.core.bridge.langchain import BaseMemory as Memory from llama_index.core.bridge.pydantic...
llama_index/llama-index-core/llama_index/core/langchain_helpers/memory_wrapper.py/0
{ "file_path": "llama_index/llama-index-core/llama_index/core/langchain_helpers/memory_wrapper.py", "repo_id": "llama_index", "token_count": 3235 }
1,185
<jupyter_start><jupyter_code>from transformers import AutoModelForCausalLM from peft import PeftModel, PeftConfig import torch from datasets import load_dataset import os from transformers import AutoTokenizer from torch.utils.data import DataLoader from transformers import default_data_collator, get_linear_schedule_wi...
peft/examples/causal_language_modeling/peft_lora_clm_accelerate_big_model_inference.ipynb/0
{ "file_path": "peft/examples/causal_language_modeling/peft_lora_clm_accelerate_big_model_inference.ipynb", "repo_id": "peft", "token_count": 2945 }
325
import { test, expect } from "@jest/globals"; import { Document } from "@langchain/core/documents"; import { FakeEmbeddings } from "@langchain/core/utils/testing"; import { CloseVectorNode } from "../closevector/node.js"; test("Test CloseVectorNode.fromTexts + addVectors", async () => { const vectorStore = await Clo...
langchainjs/libs/langchain-community/src/vectorstores/tests/closevector_node.test.ts/0
{ "file_path": "langchainjs/libs/langchain-community/src/vectorstores/tests/closevector_node.test.ts", "repo_id": "langchainjs", "token_count": 707 }
1,006
#!/bin/bash export CUDA_VISIBLE_DEVICES=0 PATH_TO_DATA=/h/xinji/projects/GLUE MODEL_TYPE=bert # bert or roberta MODEL_SIZE=base # base or large DATASET=MRPC # SST-2, MRPC, RTE, QNLI, QQP, or MNLI MODEL_NAME=${MODEL_TYPE}-${MODEL_SIZE} if [ $MODEL_TYPE = 'bert' ] then MODEL_NAME=${MODEL_NAME}-uncased fi python...
transformers/examples/research_projects/deebert/eval_deebert.sh/0
{ "file_path": "transformers/examples/research_projects/deebert/eval_deebert.sh", "repo_id": "transformers", "token_count": 360 }
558
<!--Copyright 2021 The HuggingFace Team. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
transformers/docs/source/en/model_doc/xls_r.md/0
{ "file_path": "transformers/docs/source/en/model_doc/xls_r.md", "repo_id": "transformers", "token_count": 782 }
474
""" GitHub API client for collaborators. """ import os from typing import Any, Dict, Optional, Protocol class BaseGitHubCollaboratorsClient(Protocol): def get_all_endpoints(self) -> Dict[str, str]: ... async def request( self, endpoint: str, method: str, headers: Dict...
llama_index/llama-index-integrations/readers/llama-index-readers-github/llama_index/readers/github/collaborators/github_client.py/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-github/llama_index/readers/github/collaborators/github_client.py", "repo_id": "llama_index", "token_count": 2810 }
1,357
search_performance: collections: - server: db_config.primary_path: /test/milvus/db_data_011/sift_10m_128_l2_ivf_flat_16384 cache_config.cpu_cache_capacity: 32GB engine_config.use_blas_threshold: 0 engine_config.gpu_search_threshold: 100 gpu_resource_config.enable: tru...
milvus/tests/benchmark/milvus_benchmark/suites/011_gpu_search_sift10m_ivf.yaml/0
{ "file_path": "milvus/tests/benchmark/milvus_benchmark/suites/011_gpu_search_sift10m_ivf.yaml", "repo_id": "milvus", "token_count": 801 }
1,946
poetry_requirements( name="poetry", ) python_requirements( name="reqs", )
llama_index/llama-index-packs/llama-index-packs-multi-tenancy-rag/BUILD/0
{ "file_path": "llama_index/llama-index-packs/llama-index-packs-multi-tenancy-rag/BUILD", "repo_id": "llama_index", "token_count": 36 }
1,661
# Wav2Vec2 Contrastive Loss PreTraining examples The following example showcases how to pretrain a wav2vec2 model using the JAX/Flax backend. Pretraining Wav2Vec2 is rather complex, so it is highly recommended to read the [official paper](https://arxiv.org/abs/2006.11477). JAX/Flax allows you to trace pure functions...
transformers/examples/research_projects/jax-projects/wav2vec2/README.md/0
{ "file_path": "transformers/examples/research_projects/jax-projects/wav2vec2/README.md", "repo_id": "transformers", "token_count": 1507 }
564
# coding=utf-8 # Copyright 2023 The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
transformers/src/transformers/models/swiftformer/convert_swiftformer_original_to_hf.py/0
{ "file_path": "transformers/src/transformers/models/swiftformer/convert_swiftformer_original_to_hf.py", "repo_id": "transformers", "token_count": 2556 }
735
from llama_index.core.tools.tool_spec.base import BaseToolSpec from llama_index.tools.openapi import OpenAPIToolSpec def test_class(): names_of_base_classes = [b.__name__ for b in OpenAPIToolSpec.__mro__] assert BaseToolSpec.__name__ in names_of_base_classes
llama_index/llama-index-integrations/tools/llama-index-tools-openapi/tests/test_tools_openapi.py/0
{ "file_path": "llama_index/llama-index-integrations/tools/llama-index-tools-openapi/tests/test_tools_openapi.py", "repo_id": "llama_index", "token_count": 96 }
1,491
import datetime from typing import Any, Dict, List, Optional, Union, cast from llama_index.core.bridge.pydantic import BaseModel from llama_index.core.callbacks.base_handler import BaseCallbackHandler from llama_index.core.callbacks.schema import CBEventType, EventPayload from llama_index.core.llms import ChatMessage ...
llama_index/llama-index-integrations/callbacks/llama-index-callbacks-promptlayer/llama_index/callbacks/promptlayer/base.py/0
{ "file_path": "llama_index/llama-index-integrations/callbacks/llama-index-callbacks-promptlayer/llama_index/callbacks/promptlayer/base.py", "repo_id": "llama_index", "token_count": 2386 }
1,295
from typing import Any, Iterator, List from langchain_core.documents import Document from langchain_community.document_loaders.base import BaseLoader class BaiduBOSDirectoryLoader(BaseLoader): """Load from `Baidu BOS directory`.""" def __init__(self, conf: Any, bucket: str, prefix: str = ""): """In...
langchain/libs/community/langchain_community/document_loaders/baiducloud_bos_directory.py/0
{ "file_path": "langchain/libs/community/langchain_community/document_loaders/baiducloud_bos_directory.py", "repo_id": "langchain", "token_count": 860 }
250
# LangChain Documentation For more information on contributing to our documentation, see the [Documentation Contributing Guide](https://python.langchain.com/docs/contributing/documentation)
langchain/docs/README.md/0
{ "file_path": "langchain/docs/README.md", "repo_id": "langchain", "token_count": 43 }
84
// Code generated from Plan.g4 by ANTLR 4.9. DO NOT EDIT. package planparserv2 // Plan import "github.com/antlr/antlr4/runtime/Go/antlr" type BasePlanVisitor struct { *antlr.BaseParseTreeVisitor } func (v *BasePlanVisitor) VisitJSONIdentifier(ctx *JSONIdentifierContext) interface{} { return v.VisitChildren(ctx) } ...
milvus/internal/parser/planparserv2/generated/plan_base_visitor.go/0
{ "file_path": "milvus/internal/parser/planparserv2/generated/plan_base_visitor.go", "repo_id": "milvus", "token_count": 1197 }
2,007
<jupyter_start><jupyter_text>Customizing Conversational MemoryThis notebook walks through a few ways to customize conversational memory.<jupyter_code>from langchain.chains import ConversationChain from langchain.memory import ConversationBufferMemory from langchain_openai import OpenAI llm = OpenAI(temperature=0)<jupy...
langchain/docs/docs/modules/memory/conversational_customization.ipynb/0
{ "file_path": "langchain/docs/docs/modules/memory/conversational_customization.ipynb", "repo_id": "langchain", "token_count": 1086 }
203
// 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/mock/health_watch_server.go/0
{ "file_path": "milvus/internal/util/mock/health_watch_server.go", "repo_id": "milvus", "token_count": 560 }
1,905
compute_environment: LOCAL_MACHINE debug: false deepspeed_config: deepspeed_multinode_launcher: standard offload_optimizer_device: none offload_param_device: none zero3_init_flag: true zero3_save_16bit_model: true zero_stage: 3 distributed_type: DEEPSPEED downcast_bf16: 'no' machine_rank: 0 main_training_fu...
alignment-handbook/recipes/accelerate_configs/deepspeed_zero3.yaml/0
{ "file_path": "alignment-handbook/recipes/accelerate_configs/deepspeed_zero3.yaml", "repo_id": "alignment-handbook", "token_count": 193 }
18
import threading from time import time, sleep import pytest from pymilvus.grpc_gen.common_pb2 import SegmentState from pymilvus.exceptions import MilvusException from base.client_base import TestcaseBase from common import common_func as cf from common import common_type as ct from common.common_type import CaseLabel...
milvus/tests/python_client/testcases/test_compaction.py/0
{ "file_path": "milvus/tests/python_client/testcases/test_compaction.py", "repo_id": "milvus", "token_count": 24682 }
1,974
package migration import ( "github.com/milvus-io/milvus/cmd/tools/migration/meta" ) type migrator210To220 struct{} func (m migrator210To220) Migrate(metas *meta.Meta) (*meta.Meta, error) { return meta.From210To220(metas) } func newMigrator210To220() *migrator210To220 { return &migrator210To220{} }
milvus/cmd/tools/migration/migration/210_to_220.go/0
{ "file_path": "milvus/cmd/tools/migration/migration/210_to_220.go", "repo_id": "milvus", "token_count": 123 }
1,705
<jupyter_start><jupyter_text>Recursively split by characterThis text splitter is the recommended one for generic text. It is parameterized by a list of characters. It tries to split on them in order until the chunks are small enough. The default list is `["\n\n", "\n", " ", ""]`. This has the effect of trying to keep a...
langchain/docs/docs/modules/data_connection/document_transformers/recursive_text_splitter.ipynb/0
{ "file_path": "langchain/docs/docs/modules/data_connection/document_transformers/recursive_text_splitter.ipynb", "repo_id": "langchain", "token_count": 362 }
200
<!--- Copyright 2021 The HuggingFace Team. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ...
transformers/examples/research_projects/jax-projects/model_parallel/README.md/0
{ "file_path": "transformers/examples/research_projects/jax-projects/model_parallel/README.md", "repo_id": "transformers", "token_count": 913 }
589
<script lang="ts"> import type { ActionData, PageData } from "./$types"; import AssistantSettings from "$lib/components/AssistantSettings.svelte"; export let data: PageData; export let form: ActionData; </script> <AssistantSettings bind:form models={data.models} />
chat-ui/src/routes/settings/assistants/new/+page.svelte/0
{ "file_path": "chat-ui/src/routes/settings/assistants/new/+page.svelte", "repo_id": "chat-ui", "token_count": 80 }
104
use crate::tokenizer::{Encoding, Result}; use serde::{Deserialize, Serialize}; use std::cmp; use std::mem; #[derive(Debug, Clone, Copy, PartialEq, Serialize, Deserialize, Eq, Default)] pub enum TruncationDirection { Left, #[default] Right, } impl std::convert::AsRef<str> for TruncationDirection { fn a...
tokenizers/tokenizers/src/utils/truncation.rs/0
{ "file_path": "tokenizers/tokenizers/src/utils/truncation.rs", "repo_id": "tokenizers", "token_count": 5473 }
425
from llama_index.legacy.node_parser.file.html import HTMLNodeParser from llama_index.legacy.node_parser.file.json import JSONNodeParser from llama_index.legacy.node_parser.file.markdown import MarkdownNodeParser from llama_index.legacy.node_parser.file.simple_file import SimpleFileNodeParser __all__ = [ "SimpleFil...
llama_index/llama-index-legacy/llama_index/legacy/node_parser/file/__init__.py/0
{ "file_path": "llama_index/llama-index-legacy/llama_index/legacy/node_parser/file/__init__.py", "repo_id": "llama_index", "token_count": 136 }
1,687
[target.x86_64-apple-darwin] rustflags = [ "-C", "link-arg=-undefined", "-C", "link-arg=dynamic_lookup", "-C", "link-arg=-mmacosx-version-min=10.11", ] [target.aarch64-apple-darwin] rustflags = [ "-C", "link-arg=-undefined", "-C", "link-arg=dynamic_lookup", "-C", "link-arg=-mmacosx-version-min=10.11", ]
tokenizers/bindings/python/.cargo/config.toml/0
{ "file_path": "tokenizers/bindings/python/.cargo/config.toml", "repo_id": "tokenizers", "token_count": 146 }
459
<!--Copyright 2020 The HuggingFace Team. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
transformers/docs/source/en/model_doc/deberta.md/0
{ "file_path": "transformers/docs/source/en/model_doc/deberta.md", "repo_id": "transformers", "token_count": 2499 }
501
CREATE TABLE segments ( id TEXT PRIMARY KEY, type TEXT NOT NULL, scope TEXT NOT NULL, topic TEXT, collection TEXT REFERENCES collection(id) ); CREATE TABLE segment_metadata ( segment_id TEXT REFERENCES segments(id) ON DELETE CASCADE, key TEXT NOT NULL, str_value TEXT, int_value INT...
chroma/chromadb/migrations/sysdb/00002-segments.sqlite.sql/0
{ "file_path": "chroma/chromadb/migrations/sysdb/00002-segments.sqlite.sql", "repo_id": "chroma", "token_count": 148 }
16
from llama_index.packs.retry_engine_weaviate.base import WeaviateRetryEnginePack __all__ = ["WeaviateRetryEnginePack"]
llama_index/llama-index-packs/llama-index-packs-retry-engine-weaviate/llama_index/packs/retry_engine_weaviate/__init__.py/0
{ "file_path": "llama_index/llama-index-packs/llama-index-packs-retry-engine-weaviate/llama_index/packs/retry_engine_weaviate/__init__.py", "repo_id": "llama_index", "token_count": 42 }
1,726