├── .coveragerc ├── .github ├── copilot-instructions.md ├── pull_request_template.md └── workflows │ ├── maintainer_tests.yml │ ├── publish.yml │ ├── requirements.txt │ ├── run_tests.yml │ ├── run_tests_prod.yml │ └── run_tests_staging.yml ├── .gitignore ├── .isort.cfg ├── .pre-commit-config.yaml ├── .ruff.toml ├── CHANGELOG.md ├── LICENSE ├── MANIFEST.in ├── README.md ├── clarifai ├── __init__.py ├── cli.py ├── cli │ ├── README.md │ ├── __init__.py │ ├── __main__.py │ ├── base.py │ ├── compute_cluster.py │ ├── deployment.py │ ├── model.py │ ├── nodepool.py │ ├── pipeline.py │ ├── pipeline_step.py │ └── templates │ │ ├── __init__.py │ │ ├── model_templates.py │ │ ├── pipeline_step_templates.py │ │ └── pipeline_templates.py ├── client │ ├── __init__.py │ ├── app.py │ ├── auth │ │ ├── __init__.py │ │ ├── helper.py │ │ ├── register.py │ │ └── stub.py │ ├── base.py │ ├── compute_cluster.py │ ├── dataset.py │ ├── deployment.py │ ├── input.py │ ├── lister.py │ ├── model.py │ ├── model_client.py │ ├── module.py │ ├── nodepool.py │ ├── pipeline.py │ ├── pipeline_step.py │ ├── runner.py │ ├── search.py │ ├── user.py │ └── workflow.py ├── constants │ ├── base.py │ ├── dataset.py │ ├── input.py │ ├── model.py │ ├── rag.py │ ├── search.py │ └── workflow.py ├── datasets │ ├── __init__.py │ ├── export │ │ ├── __init__.py │ │ └── inputs_annotations.py │ └── upload │ │ ├── __init__.py │ │ ├── base.py │ │ ├── features.py │ │ ├── image.py │ │ ├── loaders │ │ ├── README.md │ │ ├── __init__.py │ │ ├── coco_captions.py │ │ ├── coco_detection.py │ │ ├── imagenet_classification.py │ │ └── xview_detection.py │ │ ├── multimodal.py │ │ ├── text.py │ │ └── utils.py ├── errors.py ├── models │ ├── __init__.py │ └── api.py ├── modules │ ├── README.md │ ├── __init__.py │ ├── css.py │ ├── pages.py │ └── style.css ├── rag │ ├── __init__.py │ ├── rag.py │ └── utils.py ├── runners │ ├── __init__.py │ ├── dockerfile_template │ │ └── Dockerfile.template │ ├── models │ │ ├── __init__.py │ │ ├── dummy_openai_model.py │ │ ├── mcp_class.py │ │ ├── model_builder.py │ │ ├── model_class.py │ │ ├── model_run_locally.py │ │ ├── model_runner.py │ │ ├── model_servicer.py │ │ ├── openai_class.py │ │ ├── visual_classifier_class.py │ │ └── visual_detector_class.py │ ├── pipeline_steps │ │ ├── __init__.py │ │ └── pipeline_step_builder.py │ ├── pipelines │ │ ├── __init__.py │ │ └── pipeline_builder.py │ ├── server.py │ └── utils │ │ ├── __init__.py │ │ ├── code_script.py │ │ ├── const.py │ │ ├── data_types │ │ ├── __init__.py │ │ └── data_types.py │ │ ├── data_utils.py │ │ ├── loader.py │ │ ├── method_signatures.py │ │ ├── model_utils.py │ │ ├── openai_convertor.py │ │ ├── pipeline_validation.py │ │ ├── serializers.py │ │ └── url_fetcher.py ├── schema │ └── search.py ├── urls │ └── helper.py ├── utils │ ├── __init__.py │ ├── cli.py │ ├── config.py │ ├── constants.py │ ├── evaluation │ │ ├── __init__.py │ │ ├── helpers.py │ │ ├── main.py │ │ └── testset_annotation_parser.py │ ├── hashing.py │ ├── logging.py │ ├── misc.py │ ├── model_train.py │ ├── protobuf.py │ └── secrets.py ├── versions.py └── workflows │ ├── __init__.py │ ├── export.py │ ├── utils.py │ └── validate.py ├── examples └── with_proto_demo.py ├── pyproject.toml ├── pytest.ini ├── requirements-dev.txt ├── requirements.txt ├── scripts └── key_for_tests.py ├── setup.py └── tests ├── __init__.py ├── assets ├── coco_detection │ ├── images │ │ ├── 3176048.jpg │ │ ├── architectural-design-architecture-asphalt-2445783.jpg │ │ └── architecture-buildings-commerce-2308592.jpg │ └── instances_default.json ├── imagenet_classification │ ├── LOC_synset_mapping.txt │ └── train │ │ ├── n01855672 │ │ ├── n01855672_0.JPEG │ │ ├── n01855672_1.JPEG │ │ ├── n01855672_2.JPEG │ │ ├── n01855672_3.JPEG │ │ └── n01855672_4.JPEG │ │ └── n02113799 │ │ ├── n02113799_0.JPEG │ │ ├── n02113799_1.JPEG │ │ ├── n02113799_2.JPEG │ │ ├── n02113799_3.JPEG │ │ └── n02113799_4.JPEG ├── red-truck.png ├── sample.csv ├── sample.mp3 ├── sample.mp4 ├── sample.txt ├── sample_texts │ ├── sample1.txt │ ├── sample2.txt │ └── sample3.txt ├── test │ ├── zorua.png │ ├── zubat.png │ └── zweilous.png └── voc │ ├── __init__.py │ ├── annotations │ ├── 2007_000464.xml │ ├── 2008_000853.xml │ ├── 2008_003182.xml │ ├── 2008_008526.xml │ ├── 2009_004315.xml │ ├── 2009_004382.xml │ ├── 2011_000430.xml │ ├── 2011_001610.xml │ ├── 2011_006412.xml │ └── 2012_000690.xml │ ├── dataset.py │ └── images │ ├── 2007_000464.jpg │ ├── 2008_000853.jpg │ ├── 2008_003182.jpg │ ├── 2008_008526.jpg │ ├── 2009_004315.jpg │ ├── 2009_004382.jpg │ ├── 2011_000430.jpg │ ├── 2011_001610.jpg │ ├── 2011_006412.jpg │ └── 2012_000690.jpg ├── cli ├── test_compute_orchestration.py ├── test_local_runner_cli.py ├── test_model_cli.py ├── test_pipeline.py ├── test_pipeline_lockfile.py └── test_version.py ├── client └── test_model_upload_predict.py ├── compute_orchestration └── configs │ ├── example_compute_cluster_config.yaml │ ├── example_deployment_config.yaml │ └── example_nodepool_config.yaml ├── conftest.py ├── openai_model_test.py ├── requirements.txt ├── runners ├── dummy_mcp_model │ ├── 1 │ │ └── model.py │ ├── config.yaml │ └── requirements.txt ├── dummy_missing_stream_options_model │ ├── 1 │ │ └── model.py │ ├── config.yaml │ └── requirements.txt ├── dummy_runner_models │ ├── 1 │ │ └── model.py │ ├── config.yaml │ └── requirements.txt ├── dummy_runner_proto_model │ ├── 1 │ │ └── model.py │ ├── config.yaml │ └── requirements.txt ├── dummy_vllm_models │ ├── 1 │ │ └── model.py │ ├── config.yaml │ └── requirements.txt ├── hf_mbart_model │ ├── 1 │ │ └── model.py │ ├── config.yaml │ └── requirements.txt ├── test_data_handler.py ├── test_download_checkpoints.py ├── test_environment_validation.py ├── test_git_info.py ├── test_model_classes.py ├── test_model_init_huggingface_toolkit.py ├── test_model_init_lmstudio_toolkit.py ├── test_model_init_ollama_toolkit.py ├── test_model_init_sglang_toolkit.py ├── test_model_init_vllm_toolkit.py ├── test_model_run_locally-container.py ├── test_model_run_locally.py ├── test_model_signatures.py ├── test_model_upload.py ├── test_num_threads_config.py ├── test_openai_model.py ├── test_pipeline_step_builder.py ├── test_runners.py ├── test_runners_proto.py ├── test_url_fetcher.py └── test_vllm_model_upload.py ├── test_app.py ├── test_async_stub.py ├── test_auth.py ├── test_data_upload.py ├── test_eval.py ├── test_list_models.py ├── test_misc.py ├── test_model_predict.py ├── test_model_train.py ├── test_modules.py ├── test_pipeline_cli_input_args_override.py ├── test_pipeline_client.py ├── test_pipeline_input_args_override.py ├── test_pipeline_step_secrets.py ├── test_search.py ├── test_secrets.py ├── test_stub.py ├── test_with_proto_feature.py └── workflow ├── fixtures ├── general.yml ├── multi_branch.yml ├── single_branch_with_custom_cropper_model-version.yml ├── single_branch_with_custom_cropper_model.yml ├── single_branch_with_public_cropper_model.yml ├── single_branch_with_public_cropper_model_and_latest_version.yml └── single_node.yml ├── test_create_delete.py ├── test_export.py ├── test_nodes_display.py ├── test_predict.py └── test_validate.py /.coveragerc: -------------------------------------------------------------------------------- 1 | [run] 2 | omit = tests/*, setup.py, clarifai/models/api.py 3 | -------------------------------------------------------------------------------- /.github/copilot-instructions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/.github/copilot-instructions.md -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/workflows/maintainer_tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/.github/workflows/maintainer_tests.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.github/workflows/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/.github/workflows/requirements.txt -------------------------------------------------------------------------------- /.github/workflows/run_tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/.github/workflows/run_tests.yml -------------------------------------------------------------------------------- /.github/workflows/run_tests_prod.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/.github/workflows/run_tests_prod.yml -------------------------------------------------------------------------------- /.github/workflows/run_tests_staging.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/.github/workflows/run_tests_staging.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/.gitignore -------------------------------------------------------------------------------- /.isort.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/.isort.cfg -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.ruff.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/.ruff.toml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/README.md -------------------------------------------------------------------------------- /clarifai/__init__.py: -------------------------------------------------------------------------------- 1 | __version__ = "11.10.3" 2 | -------------------------------------------------------------------------------- /clarifai/cli.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /clarifai/cli/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/cli/README.md -------------------------------------------------------------------------------- /clarifai/cli/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /clarifai/cli/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/cli/__main__.py -------------------------------------------------------------------------------- /clarifai/cli/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/cli/base.py -------------------------------------------------------------------------------- /clarifai/cli/compute_cluster.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/cli/compute_cluster.py -------------------------------------------------------------------------------- /clarifai/cli/deployment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/cli/deployment.py -------------------------------------------------------------------------------- /clarifai/cli/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/cli/model.py -------------------------------------------------------------------------------- /clarifai/cli/nodepool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/cli/nodepool.py -------------------------------------------------------------------------------- /clarifai/cli/pipeline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/cli/pipeline.py -------------------------------------------------------------------------------- /clarifai/cli/pipeline_step.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/cli/pipeline_step.py -------------------------------------------------------------------------------- /clarifai/cli/templates/__init__.py: -------------------------------------------------------------------------------- 1 | """Template files for CLI init commands.""" 2 | -------------------------------------------------------------------------------- /clarifai/cli/templates/model_templates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/cli/templates/model_templates.py -------------------------------------------------------------------------------- /clarifai/cli/templates/pipeline_step_templates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/cli/templates/pipeline_step_templates.py -------------------------------------------------------------------------------- /clarifai/cli/templates/pipeline_templates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/cli/templates/pipeline_templates.py -------------------------------------------------------------------------------- /clarifai/client/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/client/__init__.py -------------------------------------------------------------------------------- /clarifai/client/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/client/app.py -------------------------------------------------------------------------------- /clarifai/client/auth/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/client/auth/__init__.py -------------------------------------------------------------------------------- /clarifai/client/auth/helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/client/auth/helper.py -------------------------------------------------------------------------------- /clarifai/client/auth/register.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/client/auth/register.py -------------------------------------------------------------------------------- /clarifai/client/auth/stub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/client/auth/stub.py -------------------------------------------------------------------------------- /clarifai/client/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/client/base.py -------------------------------------------------------------------------------- /clarifai/client/compute_cluster.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/client/compute_cluster.py -------------------------------------------------------------------------------- /clarifai/client/dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/client/dataset.py -------------------------------------------------------------------------------- /clarifai/client/deployment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/client/deployment.py -------------------------------------------------------------------------------- /clarifai/client/input.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/client/input.py -------------------------------------------------------------------------------- /clarifai/client/lister.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/client/lister.py -------------------------------------------------------------------------------- /clarifai/client/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/client/model.py -------------------------------------------------------------------------------- /clarifai/client/model_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/client/model_client.py -------------------------------------------------------------------------------- /clarifai/client/module.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/client/module.py -------------------------------------------------------------------------------- /clarifai/client/nodepool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/client/nodepool.py -------------------------------------------------------------------------------- /clarifai/client/pipeline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/client/pipeline.py -------------------------------------------------------------------------------- /clarifai/client/pipeline_step.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/client/pipeline_step.py -------------------------------------------------------------------------------- /clarifai/client/runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/client/runner.py -------------------------------------------------------------------------------- /clarifai/client/search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/client/search.py -------------------------------------------------------------------------------- /clarifai/client/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/client/user.py -------------------------------------------------------------------------------- /clarifai/client/workflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/client/workflow.py -------------------------------------------------------------------------------- /clarifai/constants/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/constants/base.py -------------------------------------------------------------------------------- /clarifai/constants/dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/constants/dataset.py -------------------------------------------------------------------------------- /clarifai/constants/input.py: -------------------------------------------------------------------------------- 1 | MAX_UPLOAD_BATCH_SIZE = 128 2 | -------------------------------------------------------------------------------- /clarifai/constants/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/constants/model.py -------------------------------------------------------------------------------- /clarifai/constants/rag.py: -------------------------------------------------------------------------------- 1 | MAX_UPLOAD_BATCH_SIZE = 128 2 | -------------------------------------------------------------------------------- /clarifai/constants/search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/constants/search.py -------------------------------------------------------------------------------- /clarifai/constants/workflow.py: -------------------------------------------------------------------------------- 1 | MAX_WORKFLOW_PREDICT_INPUTS = 32 2 | -------------------------------------------------------------------------------- /clarifai/datasets/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /clarifai/datasets/export/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /clarifai/datasets/export/inputs_annotations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/datasets/export/inputs_annotations.py -------------------------------------------------------------------------------- /clarifai/datasets/upload/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /clarifai/datasets/upload/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/datasets/upload/base.py -------------------------------------------------------------------------------- /clarifai/datasets/upload/features.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/datasets/upload/features.py -------------------------------------------------------------------------------- /clarifai/datasets/upload/image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/datasets/upload/image.py -------------------------------------------------------------------------------- /clarifai/datasets/upload/loaders/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/datasets/upload/loaders/README.md -------------------------------------------------------------------------------- /clarifai/datasets/upload/loaders/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /clarifai/datasets/upload/loaders/coco_captions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/datasets/upload/loaders/coco_captions.py -------------------------------------------------------------------------------- /clarifai/datasets/upload/loaders/coco_detection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/datasets/upload/loaders/coco_detection.py -------------------------------------------------------------------------------- /clarifai/datasets/upload/loaders/imagenet_classification.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/datasets/upload/loaders/imagenet_classification.py -------------------------------------------------------------------------------- /clarifai/datasets/upload/loaders/xview_detection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/datasets/upload/loaders/xview_detection.py -------------------------------------------------------------------------------- /clarifai/datasets/upload/multimodal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/datasets/upload/multimodal.py -------------------------------------------------------------------------------- /clarifai/datasets/upload/text.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/datasets/upload/text.py -------------------------------------------------------------------------------- /clarifai/datasets/upload/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/datasets/upload/utils.py -------------------------------------------------------------------------------- /clarifai/errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/errors.py -------------------------------------------------------------------------------- /clarifai/models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /clarifai/models/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/models/api.py -------------------------------------------------------------------------------- /clarifai/modules/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/modules/README.md -------------------------------------------------------------------------------- /clarifai/modules/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /clarifai/modules/css.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/modules/css.py -------------------------------------------------------------------------------- /clarifai/modules/pages.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/modules/pages.py -------------------------------------------------------------------------------- /clarifai/modules/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/modules/style.css -------------------------------------------------------------------------------- /clarifai/rag/__init__.py: -------------------------------------------------------------------------------- 1 | from .rag import RAG 2 | 3 | __all__ = ["RAG"] 4 | -------------------------------------------------------------------------------- /clarifai/rag/rag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/rag/rag.py -------------------------------------------------------------------------------- /clarifai/rag/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/rag/utils.py -------------------------------------------------------------------------------- /clarifai/runners/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/runners/__init__.py -------------------------------------------------------------------------------- /clarifai/runners/dockerfile_template/Dockerfile.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/runners/dockerfile_template/Dockerfile.template -------------------------------------------------------------------------------- /clarifai/runners/models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /clarifai/runners/models/dummy_openai_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/runners/models/dummy_openai_model.py -------------------------------------------------------------------------------- /clarifai/runners/models/mcp_class.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/runners/models/mcp_class.py -------------------------------------------------------------------------------- /clarifai/runners/models/model_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/runners/models/model_builder.py -------------------------------------------------------------------------------- /clarifai/runners/models/model_class.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/runners/models/model_class.py -------------------------------------------------------------------------------- /clarifai/runners/models/model_run_locally.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/runners/models/model_run_locally.py -------------------------------------------------------------------------------- /clarifai/runners/models/model_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/runners/models/model_runner.py -------------------------------------------------------------------------------- /clarifai/runners/models/model_servicer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/runners/models/model_servicer.py -------------------------------------------------------------------------------- /clarifai/runners/models/openai_class.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/runners/models/openai_class.py -------------------------------------------------------------------------------- /clarifai/runners/models/visual_classifier_class.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/runners/models/visual_classifier_class.py -------------------------------------------------------------------------------- /clarifai/runners/models/visual_detector_class.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/runners/models/visual_detector_class.py -------------------------------------------------------------------------------- /clarifai/runners/pipeline_steps/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /clarifai/runners/pipeline_steps/pipeline_step_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/runners/pipeline_steps/pipeline_step_builder.py -------------------------------------------------------------------------------- /clarifai/runners/pipelines/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /clarifai/runners/pipelines/pipeline_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/runners/pipelines/pipeline_builder.py -------------------------------------------------------------------------------- /clarifai/runners/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/runners/server.py -------------------------------------------------------------------------------- /clarifai/runners/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /clarifai/runners/utils/code_script.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/runners/utils/code_script.py -------------------------------------------------------------------------------- /clarifai/runners/utils/const.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/runners/utils/const.py -------------------------------------------------------------------------------- /clarifai/runners/utils/data_types/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/runners/utils/data_types/__init__.py -------------------------------------------------------------------------------- /clarifai/runners/utils/data_types/data_types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/runners/utils/data_types/data_types.py -------------------------------------------------------------------------------- /clarifai/runners/utils/data_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/runners/utils/data_utils.py -------------------------------------------------------------------------------- /clarifai/runners/utils/loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/runners/utils/loader.py -------------------------------------------------------------------------------- /clarifai/runners/utils/method_signatures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/runners/utils/method_signatures.py -------------------------------------------------------------------------------- /clarifai/runners/utils/model_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/runners/utils/model_utils.py -------------------------------------------------------------------------------- /clarifai/runners/utils/openai_convertor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/runners/utils/openai_convertor.py -------------------------------------------------------------------------------- /clarifai/runners/utils/pipeline_validation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/runners/utils/pipeline_validation.py -------------------------------------------------------------------------------- /clarifai/runners/utils/serializers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/runners/utils/serializers.py -------------------------------------------------------------------------------- /clarifai/runners/utils/url_fetcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/runners/utils/url_fetcher.py -------------------------------------------------------------------------------- /clarifai/schema/search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/schema/search.py -------------------------------------------------------------------------------- /clarifai/urls/helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/urls/helper.py -------------------------------------------------------------------------------- /clarifai/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /clarifai/utils/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/utils/cli.py -------------------------------------------------------------------------------- /clarifai/utils/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/utils/config.py -------------------------------------------------------------------------------- /clarifai/utils/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/utils/constants.py -------------------------------------------------------------------------------- /clarifai/utils/evaluation/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/utils/evaluation/__init__.py -------------------------------------------------------------------------------- /clarifai/utils/evaluation/helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/utils/evaluation/helpers.py -------------------------------------------------------------------------------- /clarifai/utils/evaluation/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/utils/evaluation/main.py -------------------------------------------------------------------------------- /clarifai/utils/evaluation/testset_annotation_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/utils/evaluation/testset_annotation_parser.py -------------------------------------------------------------------------------- /clarifai/utils/hashing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/utils/hashing.py -------------------------------------------------------------------------------- /clarifai/utils/logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/utils/logging.py -------------------------------------------------------------------------------- /clarifai/utils/misc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/utils/misc.py -------------------------------------------------------------------------------- /clarifai/utils/model_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/utils/model_train.py -------------------------------------------------------------------------------- /clarifai/utils/protobuf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/utils/protobuf.py -------------------------------------------------------------------------------- /clarifai/utils/secrets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/utils/secrets.py -------------------------------------------------------------------------------- /clarifai/versions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/versions.py -------------------------------------------------------------------------------- /clarifai/workflows/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /clarifai/workflows/export.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/workflows/export.py -------------------------------------------------------------------------------- /clarifai/workflows/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/workflows/utils.py -------------------------------------------------------------------------------- /clarifai/workflows/validate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/clarifai/workflows/validate.py -------------------------------------------------------------------------------- /examples/with_proto_demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/examples/with_proto_demo.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/pyproject.toml -------------------------------------------------------------------------------- /pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/pytest.ini -------------------------------------------------------------------------------- /requirements-dev.txt: -------------------------------------------------------------------------------- 1 | pre-commit==2.20.0 2 | ruff==0.11.4 3 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/key_for_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/scripts/key_for_tests.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/assets/coco_detection/images/3176048.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/coco_detection/images/3176048.jpg -------------------------------------------------------------------------------- /tests/assets/coco_detection/images/architectural-design-architecture-asphalt-2445783.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/coco_detection/images/architectural-design-architecture-asphalt-2445783.jpg -------------------------------------------------------------------------------- /tests/assets/coco_detection/images/architecture-buildings-commerce-2308592.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/coco_detection/images/architecture-buildings-commerce-2308592.jpg -------------------------------------------------------------------------------- /tests/assets/coco_detection/instances_default.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/coco_detection/instances_default.json -------------------------------------------------------------------------------- /tests/assets/imagenet_classification/LOC_synset_mapping.txt: -------------------------------------------------------------------------------- 1 | n01855672 goose 2 | n02113799 standard poodle 3 | -------------------------------------------------------------------------------- /tests/assets/imagenet_classification/train/n01855672/n01855672_0.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/imagenet_classification/train/n01855672/n01855672_0.JPEG -------------------------------------------------------------------------------- /tests/assets/imagenet_classification/train/n01855672/n01855672_1.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/imagenet_classification/train/n01855672/n01855672_1.JPEG -------------------------------------------------------------------------------- /tests/assets/imagenet_classification/train/n01855672/n01855672_2.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/imagenet_classification/train/n01855672/n01855672_2.JPEG -------------------------------------------------------------------------------- /tests/assets/imagenet_classification/train/n01855672/n01855672_3.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/imagenet_classification/train/n01855672/n01855672_3.JPEG -------------------------------------------------------------------------------- /tests/assets/imagenet_classification/train/n01855672/n01855672_4.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/imagenet_classification/train/n01855672/n01855672_4.JPEG -------------------------------------------------------------------------------- /tests/assets/imagenet_classification/train/n02113799/n02113799_0.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/imagenet_classification/train/n02113799/n02113799_0.JPEG -------------------------------------------------------------------------------- /tests/assets/imagenet_classification/train/n02113799/n02113799_1.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/imagenet_classification/train/n02113799/n02113799_1.JPEG -------------------------------------------------------------------------------- /tests/assets/imagenet_classification/train/n02113799/n02113799_2.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/imagenet_classification/train/n02113799/n02113799_2.JPEG -------------------------------------------------------------------------------- /tests/assets/imagenet_classification/train/n02113799/n02113799_3.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/imagenet_classification/train/n02113799/n02113799_3.JPEG -------------------------------------------------------------------------------- /tests/assets/imagenet_classification/train/n02113799/n02113799_4.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/imagenet_classification/train/n02113799/n02113799_4.JPEG -------------------------------------------------------------------------------- /tests/assets/red-truck.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/red-truck.png -------------------------------------------------------------------------------- /tests/assets/sample.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/sample.csv -------------------------------------------------------------------------------- /tests/assets/sample.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/sample.mp3 -------------------------------------------------------------------------------- /tests/assets/sample.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/sample.mp4 -------------------------------------------------------------------------------- /tests/assets/sample.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/sample.txt -------------------------------------------------------------------------------- /tests/assets/sample_texts/sample1.txt: -------------------------------------------------------------------------------- 1 | Text Sample 1 2 | -------------------------------------------------------------------------------- /tests/assets/sample_texts/sample2.txt: -------------------------------------------------------------------------------- 1 | Text Sample 2 2 | -------------------------------------------------------------------------------- /tests/assets/sample_texts/sample3.txt: -------------------------------------------------------------------------------- 1 | Text Sample 3 2 | -------------------------------------------------------------------------------- /tests/assets/test/zorua.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/test/zorua.png -------------------------------------------------------------------------------- /tests/assets/test/zubat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/test/zubat.png -------------------------------------------------------------------------------- /tests/assets/test/zweilous.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/test/zweilous.png -------------------------------------------------------------------------------- /tests/assets/voc/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/assets/voc/annotations/2007_000464.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/voc/annotations/2007_000464.xml -------------------------------------------------------------------------------- /tests/assets/voc/annotations/2008_000853.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/voc/annotations/2008_000853.xml -------------------------------------------------------------------------------- /tests/assets/voc/annotations/2008_003182.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/voc/annotations/2008_003182.xml -------------------------------------------------------------------------------- /tests/assets/voc/annotations/2008_008526.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/voc/annotations/2008_008526.xml -------------------------------------------------------------------------------- /tests/assets/voc/annotations/2009_004315.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/voc/annotations/2009_004315.xml -------------------------------------------------------------------------------- /tests/assets/voc/annotations/2009_004382.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/voc/annotations/2009_004382.xml -------------------------------------------------------------------------------- /tests/assets/voc/annotations/2011_000430.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/voc/annotations/2011_000430.xml -------------------------------------------------------------------------------- /tests/assets/voc/annotations/2011_001610.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/voc/annotations/2011_001610.xml -------------------------------------------------------------------------------- /tests/assets/voc/annotations/2011_006412.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/voc/annotations/2011_006412.xml -------------------------------------------------------------------------------- /tests/assets/voc/annotations/2012_000690.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/voc/annotations/2012_000690.xml -------------------------------------------------------------------------------- /tests/assets/voc/dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/voc/dataset.py -------------------------------------------------------------------------------- /tests/assets/voc/images/2007_000464.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/voc/images/2007_000464.jpg -------------------------------------------------------------------------------- /tests/assets/voc/images/2008_000853.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/voc/images/2008_000853.jpg -------------------------------------------------------------------------------- /tests/assets/voc/images/2008_003182.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/voc/images/2008_003182.jpg -------------------------------------------------------------------------------- /tests/assets/voc/images/2008_008526.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/voc/images/2008_008526.jpg -------------------------------------------------------------------------------- /tests/assets/voc/images/2009_004315.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/voc/images/2009_004315.jpg -------------------------------------------------------------------------------- /tests/assets/voc/images/2009_004382.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/voc/images/2009_004382.jpg -------------------------------------------------------------------------------- /tests/assets/voc/images/2011_000430.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/voc/images/2011_000430.jpg -------------------------------------------------------------------------------- /tests/assets/voc/images/2011_001610.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/voc/images/2011_001610.jpg -------------------------------------------------------------------------------- /tests/assets/voc/images/2011_006412.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/voc/images/2011_006412.jpg -------------------------------------------------------------------------------- /tests/assets/voc/images/2012_000690.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/assets/voc/images/2012_000690.jpg -------------------------------------------------------------------------------- /tests/cli/test_compute_orchestration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/cli/test_compute_orchestration.py -------------------------------------------------------------------------------- /tests/cli/test_local_runner_cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/cli/test_local_runner_cli.py -------------------------------------------------------------------------------- /tests/cli/test_model_cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/cli/test_model_cli.py -------------------------------------------------------------------------------- /tests/cli/test_pipeline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/cli/test_pipeline.py -------------------------------------------------------------------------------- /tests/cli/test_pipeline_lockfile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/cli/test_pipeline_lockfile.py -------------------------------------------------------------------------------- /tests/cli/test_version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/cli/test_version.py -------------------------------------------------------------------------------- /tests/client/test_model_upload_predict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/client/test_model_upload_predict.py -------------------------------------------------------------------------------- /tests/compute_orchestration/configs/example_compute_cluster_config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/compute_orchestration/configs/example_compute_cluster_config.yaml -------------------------------------------------------------------------------- /tests/compute_orchestration/configs/example_deployment_config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/compute_orchestration/configs/example_deployment_config.yaml -------------------------------------------------------------------------------- /tests/compute_orchestration/configs/example_nodepool_config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/compute_orchestration/configs/example_nodepool_config.yaml -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/openai_model_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/openai_model_test.py -------------------------------------------------------------------------------- /tests/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/requirements.txt -------------------------------------------------------------------------------- /tests/runners/dummy_mcp_model/1/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/dummy_mcp_model/1/model.py -------------------------------------------------------------------------------- /tests/runners/dummy_mcp_model/config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/dummy_mcp_model/config.yaml -------------------------------------------------------------------------------- /tests/runners/dummy_mcp_model/requirements.txt: -------------------------------------------------------------------------------- 1 | aiohttp 2 | requests 3 | clarifai 4 | huggingface_hub 5 | fastmcp>=2.3.4 6 | -------------------------------------------------------------------------------- /tests/runners/dummy_missing_stream_options_model/1/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/dummy_missing_stream_options_model/1/model.py -------------------------------------------------------------------------------- /tests/runners/dummy_missing_stream_options_model/config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/dummy_missing_stream_options_model/config.yaml -------------------------------------------------------------------------------- /tests/runners/dummy_missing_stream_options_model/requirements.txt: -------------------------------------------------------------------------------- 1 | openai>=1.0.0 2 | -------------------------------------------------------------------------------- /tests/runners/dummy_runner_models/1/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/dummy_runner_models/1/model.py -------------------------------------------------------------------------------- /tests/runners/dummy_runner_models/config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/dummy_runner_models/config.yaml -------------------------------------------------------------------------------- /tests/runners/dummy_runner_models/requirements.txt: -------------------------------------------------------------------------------- 1 | aiohttp 2 | requests 3 | clarifai 4 | huggingface_hub 5 | -------------------------------------------------------------------------------- /tests/runners/dummy_runner_proto_model/1/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/dummy_runner_proto_model/1/model.py -------------------------------------------------------------------------------- /tests/runners/dummy_runner_proto_model/config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/dummy_runner_proto_model/config.yaml -------------------------------------------------------------------------------- /tests/runners/dummy_runner_proto_model/requirements.txt: -------------------------------------------------------------------------------- 1 | aiohttp 2 | requests 3 | clarifai 4 | huggingface_hub 5 | -------------------------------------------------------------------------------- /tests/runners/dummy_vllm_models/1/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/dummy_vllm_models/1/model.py -------------------------------------------------------------------------------- /tests/runners/dummy_vllm_models/config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/dummy_vllm_models/config.yaml -------------------------------------------------------------------------------- /tests/runners/dummy_vllm_models/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/dummy_vllm_models/requirements.txt -------------------------------------------------------------------------------- /tests/runners/hf_mbart_model/1/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/hf_mbart_model/1/model.py -------------------------------------------------------------------------------- /tests/runners/hf_mbart_model/config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/hf_mbart_model/config.yaml -------------------------------------------------------------------------------- /tests/runners/hf_mbart_model/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/hf_mbart_model/requirements.txt -------------------------------------------------------------------------------- /tests/runners/test_data_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/test_data_handler.py -------------------------------------------------------------------------------- /tests/runners/test_download_checkpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/test_download_checkpoints.py -------------------------------------------------------------------------------- /tests/runners/test_environment_validation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/test_environment_validation.py -------------------------------------------------------------------------------- /tests/runners/test_git_info.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/test_git_info.py -------------------------------------------------------------------------------- /tests/runners/test_model_classes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/test_model_classes.py -------------------------------------------------------------------------------- /tests/runners/test_model_init_huggingface_toolkit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/test_model_init_huggingface_toolkit.py -------------------------------------------------------------------------------- /tests/runners/test_model_init_lmstudio_toolkit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/test_model_init_lmstudio_toolkit.py -------------------------------------------------------------------------------- /tests/runners/test_model_init_ollama_toolkit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/test_model_init_ollama_toolkit.py -------------------------------------------------------------------------------- /tests/runners/test_model_init_sglang_toolkit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/test_model_init_sglang_toolkit.py -------------------------------------------------------------------------------- /tests/runners/test_model_init_vllm_toolkit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/test_model_init_vllm_toolkit.py -------------------------------------------------------------------------------- /tests/runners/test_model_run_locally-container.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/test_model_run_locally-container.py -------------------------------------------------------------------------------- /tests/runners/test_model_run_locally.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/test_model_run_locally.py -------------------------------------------------------------------------------- /tests/runners/test_model_signatures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/test_model_signatures.py -------------------------------------------------------------------------------- /tests/runners/test_model_upload.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/test_model_upload.py -------------------------------------------------------------------------------- /tests/runners/test_num_threads_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/test_num_threads_config.py -------------------------------------------------------------------------------- /tests/runners/test_openai_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/test_openai_model.py -------------------------------------------------------------------------------- /tests/runners/test_pipeline_step_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/test_pipeline_step_builder.py -------------------------------------------------------------------------------- /tests/runners/test_runners.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/test_runners.py -------------------------------------------------------------------------------- /tests/runners/test_runners_proto.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/test_runners_proto.py -------------------------------------------------------------------------------- /tests/runners/test_url_fetcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/test_url_fetcher.py -------------------------------------------------------------------------------- /tests/runners/test_vllm_model_upload.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/runners/test_vllm_model_upload.py -------------------------------------------------------------------------------- /tests/test_app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/test_app.py -------------------------------------------------------------------------------- /tests/test_async_stub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/test_async_stub.py -------------------------------------------------------------------------------- /tests/test_auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/test_auth.py -------------------------------------------------------------------------------- /tests/test_data_upload.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/test_data_upload.py -------------------------------------------------------------------------------- /tests/test_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/test_eval.py -------------------------------------------------------------------------------- /tests/test_list_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/test_list_models.py -------------------------------------------------------------------------------- /tests/test_misc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/test_misc.py -------------------------------------------------------------------------------- /tests/test_model_predict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/test_model_predict.py -------------------------------------------------------------------------------- /tests/test_model_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/test_model_train.py -------------------------------------------------------------------------------- /tests/test_modules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/test_modules.py -------------------------------------------------------------------------------- /tests/test_pipeline_cli_input_args_override.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/test_pipeline_cli_input_args_override.py -------------------------------------------------------------------------------- /tests/test_pipeline_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/test_pipeline_client.py -------------------------------------------------------------------------------- /tests/test_pipeline_input_args_override.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/test_pipeline_input_args_override.py -------------------------------------------------------------------------------- /tests/test_pipeline_step_secrets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/test_pipeline_step_secrets.py -------------------------------------------------------------------------------- /tests/test_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/test_search.py -------------------------------------------------------------------------------- /tests/test_secrets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/test_secrets.py -------------------------------------------------------------------------------- /tests/test_stub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/test_stub.py -------------------------------------------------------------------------------- /tests/test_with_proto_feature.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/test_with_proto_feature.py -------------------------------------------------------------------------------- /tests/workflow/fixtures/general.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/workflow/fixtures/general.yml -------------------------------------------------------------------------------- /tests/workflow/fixtures/multi_branch.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/workflow/fixtures/multi_branch.yml -------------------------------------------------------------------------------- /tests/workflow/fixtures/single_branch_with_custom_cropper_model-version.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/workflow/fixtures/single_branch_with_custom_cropper_model-version.yml -------------------------------------------------------------------------------- /tests/workflow/fixtures/single_branch_with_custom_cropper_model.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/workflow/fixtures/single_branch_with_custom_cropper_model.yml -------------------------------------------------------------------------------- /tests/workflow/fixtures/single_branch_with_public_cropper_model.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/workflow/fixtures/single_branch_with_public_cropper_model.yml -------------------------------------------------------------------------------- /tests/workflow/fixtures/single_branch_with_public_cropper_model_and_latest_version.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/workflow/fixtures/single_branch_with_public_cropper_model_and_latest_version.yml -------------------------------------------------------------------------------- /tests/workflow/fixtures/single_node.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/workflow/fixtures/single_node.yml -------------------------------------------------------------------------------- /tests/workflow/test_create_delete.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/workflow/test_create_delete.py -------------------------------------------------------------------------------- /tests/workflow/test_export.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/workflow/test_export.py -------------------------------------------------------------------------------- /tests/workflow/test_nodes_display.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/workflow/test_nodes_display.py -------------------------------------------------------------------------------- /tests/workflow/test_predict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/workflow/test_predict.py -------------------------------------------------------------------------------- /tests/workflow/test_validate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clarifai/clarifai-python/HEAD/tests/workflow/test_validate.py --------------------------------------------------------------------------------