Skip to content

Commit

Permalink
add llamahub metadata to pyproject.toml (run-llama#10666)
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdai authored and Izuki Matsuba committed Mar 29, 2024
1 parent 10e6595 commit 3d22ad5
Show file tree
Hide file tree
Showing 383 changed files with 1,915 additions and 0 deletions.
5 changes: 5 additions & 0 deletions llama-index-experimental/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ check-filenames = true
check-hidden = true
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = []
contains_example = false
import_path = "llama_index.experimental"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
5 changes: 5 additions & 0 deletions llama-index-finetuning/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ check-filenames = true
check-hidden = true
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["CohereRerankerFinetuneEngine", "EmbeddingAdapterFinetuneEngine", "EmbeddingQAFinetuneDataset", "GradientFinetuneEngine", "OpenAIFinetuneEngine", "SentenceTransformersFinetuneEngine", "generate_cohere_reranker_finetuning_dataset", "generate_qa_embedding_pairs"]
contains_example = false
import_path = "llama_index.finetuning"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ check-filenames = true
check-hidden = true
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["BaseOpenAIAgent", "ContextRetrieverOpenAIAgent", "FnRetrieverOpenAIAgent", "OpenAIAgent"]
contains_example = false
import_path = "llama_index.agent.openai_legacy"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ check-filenames = true
check-hidden = true
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["OpenAIAgent", "OpenAIAgentWorker", "OpenAIAssistantAgent"]
contains_example = false
import_path = "llama_index.agent.openai"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ check-hidden = true
ignore-words-list = "Gere"
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["AimCallback"]
contains_example = false
import_path = "llama_index.callbacks.aim"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ check-filenames = true
check-hidden = true
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["argilla_callback_handler"]
contains_example = false
import_path = "llama_index.callbacks.argilla"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ check-hidden = true
ignore-words-list = "Gere"
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["arize_phoenix_callback_handler"]
contains_example = false
import_path = "llama_index.callbacks.arize_phoenix"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ check-filenames = true
check-hidden = true
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["deepeval_callback_handler"]
contains_example = false
import_path = "llama_index.callbacks.deepeval"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ check-filenames = true
check-hidden = true
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["honeyhive_callback_handler"]
contains_example = false
import_path = "llama_index.callbacks.honeyhive"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ check-hidden = true
ignore-words-list = "Gere"
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["OpenInferenceCallbackHandler"]
contains_example = false
import_path = "llama_index.callbacks.openinference"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ check-hidden = true
ignore-words-list = "Gere"
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["PromptLayerHandler"]
contains_example = false
import_path = "llama_index.callbacks.promptlayer"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ check-hidden = true
ignore-words-list = "Gere"
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["WandbCallbackHandler"]
contains_example = false
import_path = "llama_index.callbacks.wandb"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ check-filenames = true
check-hidden = true
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["AdapterEmbeddingModel"]
contains_example = false
import_path = "llama_index.embeddings.adapter"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ check-filenames = true
check-hidden = true
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["AnyscaleEmbedding"]
contains_example = false
import_path = "llama_index.embeddings.anyscale"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ check-filenames = true
check-hidden = true
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["AsyncAzureOpenAI", "AzureOpenAI", "AzureOpenAIEmbedding"]
contains_example = false
import_path = "llama_index.embeddings.azure_openai"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ check-filenames = true
check-hidden = true
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["BedrockEmbedding", "Models"]
contains_example = false
import_path = "llama_index.embeddings.bedrock"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ check-filenames = true
check-hidden = true
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["ClarifaiEmbedding"]
contains_example = false
import_path = "llama_index.embeddings.clarifai"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ check-filenames = true
check-hidden = true
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["ClipEmbedding"]
contains_example = false
import_path = "llama_index.embeddings.clip"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ check-filenames = true
check-hidden = true
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["CohereEmbedding"]
contains_example = false
import_path = "llama_index.embeddings.cohere"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ check-filenames = true
check-hidden = true
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["ElasticsearchEmbedding"]
contains_example = false
import_path = "llama_index.embeddings.elasticsearch"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ check-filenames = true
check-hidden = true
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["FastEmbedEmbedding"]
contains_example = false
import_path = "llama_index.embeddings.fastembed"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ check-filenames = true
check-hidden = true
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["GeminiEmbedding"]
contains_example = false
import_path = "llama_index.embeddings.gemini"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ check-filenames = true
check-hidden = true
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["GeminiEmbedding", "GooglePaLMEmbedding", "GoogleUnivSentEncoderEmbedding"]
contains_example = false
import_path = "llama_index.embeddings.google"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ check-filenames = true
check-hidden = true
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["GradientEmbedding"]
contains_example = false
import_path = "llama_index.embeddings.gradient"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ check-filenames = true
check-hidden = true
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["OptimumEmbedding"]
contains_example = false
import_path = "llama_index.embeddings.huggingface_optimum"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ check-filenames = true
check-hidden = true
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["HuggingFaceEmbedding", "HuggingFaceInferenceAPIEmbedding", "HuggingFaceInferenceAPIEmbeddings"]
contains_example = false
import_path = "llama_index.embeddings.huggingface"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ check-filenames = true
check-hidden = true
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["InstructorEmbedding"]
contains_example = false
import_path = "llama_index.embeddings.instructor"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ check-filenames = true
check-hidden = true
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["JinaEmbedding"]
contains_example = false
import_path = "llama_index.embeddings.jinaai"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ check-filenames = true
check-hidden = true
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["LangchainEmbedding"]
contains_example = false
import_path = "llama_index.embeddings.langchain"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ check-filenames = true
check-hidden = true
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["LLMRailsEmbedding", "LLMRailsEmbeddings"]
contains_example = false
import_path = "llama_index.embeddings.llm_rails"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ check-filenames = true
check-hidden = true
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["MistralAIEmbedding"]
contains_example = false
import_path = "llama_index.embeddings.mistralai"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ check-filenames = true
check-hidden = true
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["NomicEmbedding"]
contains_example = false
import_path = "llama_index.embeddings.nomic"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ check-filenames = true
check-hidden = true
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"

[tool.llamahub]
classes = ["OllamaEmbedding"]
contains_example = false
import_path = "llama_index.embeddings.ollama"

[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
Expand Down
Loading

0 comments on commit 3d22ad5

Please sign in to comment.