labagent 0.3.0__tar.gz → 0.3.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {labagent-0.3.0/labagent.egg-info → labagent-0.3.1}/PKG-INFO +4 -4
- {labagent-0.3.0 → labagent-0.3.1}/README.md +3 -3
- {labagent-0.3.0 → labagent-0.3.1}/docs/packs.md +5 -1
- {labagent-0.3.0 → labagent-0.3.1}/labagent/__init__.py +1 -1
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/base.py +1 -1
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/databricks/cli.py +4 -1
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/db_agent/pack.py +1 -1
- {labagent-0.3.0 → labagent-0.3.1/labagent.egg-info}/PKG-INFO +4 -4
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_packs.py +9 -0
- {labagent-0.3.0 → labagent-0.3.1}/CONTRIBUTING.md +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/LICENSE +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/MANIFEST.in +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/SECURITY.md +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/docs/account-cleanup.md +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/docs/aml/dataset-card-huggingface.md +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/docs/aml/kaggle-description.md +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/docs/aml-lab-instructor.md +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/docs/aml.md +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/docs/azure-labs.md +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/docs/blog/aml-lab.md +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/docs/dbx-lakehouse.md +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/docs/dbx-workspace.md +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/docs/e2e-test-plan.md +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/docs/examples/oidc-trust-policy.example.json +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/docs/examples/permissions-read.example.json +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/docs/examples/permissions-write.example.json +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/docs/examples/runner-workflow.example.yml +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/docs/job-contract.md +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/docs/rag-lab-instructor.md +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/docs/rag-local.md +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/docs/state-and-secrets.md +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/examples/config.example.json +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/examples/rulesets/legacy-cleanup.example.json +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/ai/__init__.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/ai/rag/__init__.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/ai/rag/adapters.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/ai/rag/cli.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/ai/rag/client.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/ai/rag/config.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/ai/rag/embeddings.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/ai/rag/lab/01_chunking.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/ai/rag/lab/02_embeddings.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/ai/rag/lab/03_vector_store.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/ai/rag/lab/04_generation.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/ai/rag/lab/05_chroma_and_filters.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/ai/rag/lab/06_hybrid_search.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/ai/rag/lab/07_evaluation.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/ai/rag/lab/08_break_it.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/ai/rag/lab/__init__.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/ai/rag/lab/docs/ai_usage_guidelines.md +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/ai/rag/lab/docs/backup_and_recovery.md +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/ai/rag/lab/docs/expense_policy.md +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/ai/rag/lab/docs/remote_work_policy.md +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/ai/rag/lab/docs/vendor_risk_management.md +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/ai/rag/labkit.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/ai/rag/llm.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/ai/rag/models.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/ai/rag/playground.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/ai/rag/samples.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/audit.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/cleanup.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/cli.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/config.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/context.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/datasets.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/deleters.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/discovery.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/envelope.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/iam_ops.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/nl.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/__init__.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/__init__.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/copilot/__init__.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/copilot/exercises.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/copilot/guidance.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/copilot/office.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/copilot/package.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/copilot/select.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/corpus/__init__.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/corpus/build.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/corpus/documents.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/corpus/regs.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/data/reg_index.json +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/data/sdn_seed.json +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/export.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/gen/__init__.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/gen/__main__.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/gen/builtin.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/gen/snapshot.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/lab/01_policy_search.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/lab/02_evidence_bundle.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/lab/03_citations_and_narrative.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/lab/04_triage_and_evaluation.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/lab/__init__.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/licences.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/names.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/pack.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/rag/__init__.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/rag/bundle.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/rag/qa.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/rag/quality.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/rag/tools.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/aml/schema.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/azure_labs/__init__.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/azure_labs/azcli.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/azure_labs/lifecycle.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/azure_labs/migrate.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/azure_labs/pack.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/azure_labs/safety.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/databricks/__init__.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/databricks/auth.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/databricks/models.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/databricks/pg.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/db_agent/__init__.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/dbx_lakehouse/__init__.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/dbx_lakehouse/domains.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/dbx_lakehouse/guides/START_HERE.md +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/dbx_lakehouse/guides/healthcare.md +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/dbx_lakehouse/guides/retail.md +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/dbx_lakehouse/notebook.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/dbx_lakehouse/pack.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/dbx_lakehouse/sql/healthcare/01_bronze.sql +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/dbx_lakehouse/sql/healthcare/02_silver.sql +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/dbx_lakehouse/sql/healthcare/03_gold.sql +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/dbx_lakehouse/sql/healthcare/04_governance.sql +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/dbx_lakehouse/sql/retail/01_bronze.sql +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/dbx_lakehouse/sql/retail/02_silver.sql +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/dbx_lakehouse/sql/retail/03_gold.sql +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/dbx_lakehouse/sqlrun.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/dbx_workspace/__init__.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/dbx_workspace/guards.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/dbx_workspace/pack.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/dbx_workspace/tf.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/gitsrc.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/rag/__init__.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/rag/app/app.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/rag/app/app.yaml +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/rag/app/requirements.txt +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/rag/app/retrieval.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/rag/app/static/index.html +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/rag/chunking.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/rag/sources/__init__.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/rag/sources/datasets.json +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/rag/sources/sec.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/rag/tutorial/__init__.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/rag/tutorial/notebooks/00_setup.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/rag/tutorial/notebooks/01_data.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/rag/tutorial/notebooks/02_embeddings.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/rag/tutorial/notebooks/03_pgvector.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/rag/tutorial/notebooks/04_search.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/rag/tutorial/notebooks/05_answer_and_eval.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/rag/tutorial/notebooks/06_deploy_app.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/rag/tutorial/notebooks/99_cleanup.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/rag/tutorial/notebooks/_common.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/rag/tutorial_pack.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/rag_ide/__init__.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/rag_ide/ec2.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/rag_ide/local.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/rag_ide/modal_gateway.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/rag_ide/pack.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/packs/registry.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/plan.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/rules.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/run.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/secrets_box.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/sweep.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/terraform/cohort_iam/.terraform.lock.hcl +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/terraform/cohort_iam/main.tf +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/terraform/cohort_iam/outputs.tf +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/terraform/cohort_iam/sandbox-policy.json.tftpl +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/terraform/cohort_iam/tests/cohort.tftest.hcl +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/terraform/cohort_iam/variables.tf +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/terraform/cohort_iam/versions.tf +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/terraform/databricks_aws/.terraform.lock.hcl +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/terraform/databricks_aws/main.tf +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/terraform/databricks_aws/outputs.tf +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/terraform/databricks_aws/tests/workspace.tftest.hcl +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/terraform/databricks_aws/variables.tf +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/terraform/databricks_aws/versions.tf +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/terraform/databricks_azure/.terraform.lock.hcl +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/terraform/databricks_azure/main.tf +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/terraform/databricks_azure/outputs.tf +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/terraform/databricks_azure/tests/workspace.tftest.hcl +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/terraform/databricks_azure/variables.tf +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/terraform/databricks_azure/versions.tf +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/terraform/state_backend/.terraform.lock.hcl +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/terraform/state_backend/main.tf +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/terraform/state_backend/tests/bootstrap.tftest.hcl +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent/tf.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent.egg-info/SOURCES.txt +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent.egg-info/dependency_links.txt +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent.egg-info/entry_points.txt +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent.egg-info/requires.txt +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/labagent.egg-info/top_level.txt +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/pyproject.toml +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/scripts/build_lakehouse_data.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/scripts/check_no_pii.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/scripts/make_test_job.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/setup.cfg +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/__init__.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/conftest.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_aml_copilot.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_aml_corpus.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_aml_docs.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_aml_generator.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_aml_lab.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_aml_nl.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_aml_rag.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_azure_labs.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_classify.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_cleanup.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_cloudfront_and_cli.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_datasets.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_db_agent.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_dbx_lakehouse.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_dbx_workspace.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_encoding.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_iam_ops.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_nl.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_pack_jobs.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_packaging.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_plan.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_rag_app.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_rag_ide.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_rag_ide_ec2.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_rag_ide_local.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_rag_lab.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_rag_local.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_rag_sec.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_rag_tutorial.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_repo_hygiene.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_sweep_moto.py +0 -0
- {labagent-0.3.0 → labagent-0.3.1}/tests/test_tf_wrapper.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: labagent
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.1
|
|
4
4
|
Summary: Open-source CLI and AI agent to launch and tear down hands-on labs for RAG, LLM and Databricks, plus AWS and Terraform sandboxes.
|
|
5
5
|
Author: BeCloudReady
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -72,13 +72,13 @@ Dynamic: license-file
|
|
|
72
72
|
labagent builds a lab with one command and removes it with one more. Each lab is a **pack**: ordered, re-runnable steps. `launch` resumes after a failure. `destroy` removes only what the pack created.
|
|
73
73
|
|
|
74
74
|
```bash
|
|
75
|
-
pip install labagent
|
|
75
|
+
pip install labagent # Mac: brew install pipx && pipx ensurepath && pipx install labagent
|
|
76
76
|
labagent packs # list labs (add --json for a machine-readable catalog)
|
|
77
77
|
labagent launch <pack> --name demo --param k=v # build or resume
|
|
78
78
|
labagent destroy <pack> --name demo # remove what launch created
|
|
79
79
|
```
|
|
80
80
|
|
|
81
|
-
Extras: `labagent[rag]` (Databricks RAG), `[rag-local]` (laptop RAG), `[rag-lab]` (laptop RAG with JupyterLab), `[aml]`, `[modal]`. Python 3.9+. Add `--dry-run` to any launch to see the steps.
|
|
81
|
+
Extras: `labagent[rag]` (Databricks RAG), `[rag-local]` (laptop RAG), `[rag-lab]` (laptop RAG with JupyterLab), `[aml]`, `[modal]`. Python 3.9+. On a Mac, use pipx (above): plain `pip install` puts `labagent` in `~/Library/Python/3.X/bin`, which is not on your PATH. Add `--dry-run` to any launch to see the steps.
|
|
82
82
|
|
|
83
83
|
## Packs
|
|
84
84
|
|
|
@@ -86,7 +86,7 @@ Extras: `labagent[rag]` (Databricks RAG), `[rag-local]` (laptop RAG), `[rag-lab]
|
|
|
86
86
|
|---|---|---|
|
|
87
87
|
| `azure-labs` | Copy Azure VMs, disks and network from one resource group to another with snapshots, or snapshot a dead VM or disk. Source is read-only. An Azure Lab Services alternative. [Guide](docs/azure-labs.md) | Azure (needs `az login`) |
|
|
88
88
|
| `rag-sec-tutorial` | Nine notebooks: RAG on SEC 10-K filings with embeddings, pgvector, hybrid search, citations, an evaluation gate, a deployed app | Databricks Free Edition |
|
|
89
|
-
| `db-agent` | [db-agent](https://github.com/db-agent/db-agent) text-to-SQL app on Databricks Apps, pinned commit | Databricks Free Edition |
|
|
89
|
+
| `db-agent` | [db-agent](https://github.com/db-agent/db-agent) text-to-SQL app on Databricks Apps, pinned commit. [Which model, warehouse and schema it picks](docs/packs.md) | Databricks Free Edition |
|
|
90
90
|
| `dbx-lakehouse` | Medallion lakehouse (bronze, silver, gold) from real open data, with masks, a row filter, notebooks and exercises. [Guide](docs/dbx-lakehouse.md) | Databricks Free Edition, AWS, Azure |
|
|
91
91
|
| `dbx-workspace` | Premium Databricks workspace via Terraform. Plan only unless `apply=yes`. [Guide](docs/dbx-workspace.md) | AWS or Azure (costs money) |
|
|
92
92
|
| `aml` | Synthetic anti-money-laundering lab with an answer key: RAG for developers, Microsoft 365 Copilot for staff. [Guide](docs/aml.md) | Your machine |
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
labagent builds a lab with one command and removes it with one more. Each lab is a **pack**: ordered, re-runnable steps. `launch` resumes after a failure. `destroy` removes only what the pack created.
|
|
9
9
|
|
|
10
10
|
```bash
|
|
11
|
-
pip install labagent
|
|
11
|
+
pip install labagent # Mac: brew install pipx && pipx ensurepath && pipx install labagent
|
|
12
12
|
labagent packs # list labs (add --json for a machine-readable catalog)
|
|
13
13
|
labagent launch <pack> --name demo --param k=v # build or resume
|
|
14
14
|
labagent destroy <pack> --name demo # remove what launch created
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
Extras: `labagent[rag]` (Databricks RAG), `[rag-local]` (laptop RAG), `[rag-lab]` (laptop RAG with JupyterLab), `[aml]`, `[modal]`. Python 3.9+. Add `--dry-run` to any launch to see the steps.
|
|
17
|
+
Extras: `labagent[rag]` (Databricks RAG), `[rag-local]` (laptop RAG), `[rag-lab]` (laptop RAG with JupyterLab), `[aml]`, `[modal]`. Python 3.9+. On a Mac, use pipx (above): plain `pip install` puts `labagent` in `~/Library/Python/3.X/bin`, which is not on your PATH. Add `--dry-run` to any launch to see the steps.
|
|
18
18
|
|
|
19
19
|
## Packs
|
|
20
20
|
|
|
@@ -22,7 +22,7 @@ Extras: `labagent[rag]` (Databricks RAG), `[rag-local]` (laptop RAG), `[rag-lab]
|
|
|
22
22
|
|---|---|---|
|
|
23
23
|
| `azure-labs` | Copy Azure VMs, disks and network from one resource group to another with snapshots, or snapshot a dead VM or disk. Source is read-only. An Azure Lab Services alternative. [Guide](docs/azure-labs.md) | Azure (needs `az login`) |
|
|
24
24
|
| `rag-sec-tutorial` | Nine notebooks: RAG on SEC 10-K filings with embeddings, pgvector, hybrid search, citations, an evaluation gate, a deployed app | Databricks Free Edition |
|
|
25
|
-
| `db-agent` | [db-agent](https://github.com/db-agent/db-agent) text-to-SQL app on Databricks Apps, pinned commit | Databricks Free Edition |
|
|
25
|
+
| `db-agent` | [db-agent](https://github.com/db-agent/db-agent) text-to-SQL app on Databricks Apps, pinned commit. [Which model, warehouse and schema it picks](docs/packs.md) | Databricks Free Edition |
|
|
26
26
|
| `dbx-lakehouse` | Medallion lakehouse (bronze, silver, gold) from real open data, with masks, a row filter, notebooks and exercises. [Guide](docs/dbx-lakehouse.md) | Databricks Free Edition, AWS, Azure |
|
|
27
27
|
| `dbx-workspace` | Premium Databricks workspace via Terraform. Plan only unless `apply=yes`. [Guide](docs/dbx-workspace.md) | AWS or Azure (costs money) |
|
|
28
28
|
| `aml` | Synthetic anti-money-laundering lab with an answer key: RAG for developers, Microsoft 365 Copilot for staff. [Guide](docs/aml.md) | Your machine |
|
|
@@ -87,7 +87,11 @@ labagent destroy db-agent --name demo
|
|
|
87
87
|
Steps: `preflight` (login, SQL warehouse, sample data, serving endpoints), `fetch` (pinned commit), `token`, `app`, `verify`
|
|
88
88
|
(asks a real question through the deployed app: this proves the token, warehouse, LLM and SQL safety layer work together).
|
|
89
89
|
|
|
90
|
-
- **
|
|
90
|
+
- **What it picks.** Chat model: `--param chat_endpoint`, else the first serving endpoint named like `llama|gpt|claude|gemma|qwen|instruct|chat`. Embedding model:
|
|
91
|
+
`--param embedding_endpoint`, else the first named like `gte|bge|embed`. The app calls `<workspace host>/serving-endpoints` with its token. Data: `catalog` (default `samples`)
|
|
92
|
+
and `dataset` (default `bakehouse`); preflight fails with the list of schemas if it is missing. Warehouse: `--param warehouse` (id or name), else the first one.
|
|
93
|
+
These are first-match guesses: pass the names yourself when the workspace has several. Preflight records the choices as `chat_endpoint`, `embedding_endpoint` and `warehouse_id`.
|
|
94
|
+
- **Pinned code.** `ref` must be a full commit SHA, and the clone is refused if HEAD differs. To move to a newer db-agent, review it and change the pin (`PINNED` in `labagent/packs/db_agent/pack.py`), or try one commit with `--param ref=<full SHA>`.
|
|
91
95
|
- **Data.** The `samples` catalog already exists in every workspace, so nothing is downloaded or redistributed.
|
|
92
96
|
- **Credential.** The app needs a token for the warehouse and the LLM. labagent creates one with a 30-day lifetime (`--param token_days`), stores it
|
|
93
97
|
only as an app secret (via stdin, never on a command line, in state or in output), and `destroy` revokes it. If your workspace blocks
|
|
@@ -152,7 +152,7 @@ def run_pack(pack: Pack, action: str, name: str, given: Dict[str, Any], services
|
|
|
152
152
|
save_state(pack.id, name, ctx.state)
|
|
153
153
|
item["state"] = "done"
|
|
154
154
|
except PackError as e:
|
|
155
|
-
item.update(state="failed", error=str(e)[:
|
|
155
|
+
item.update(state="failed", error=str(e)[:600])
|
|
156
156
|
break
|
|
157
157
|
except Exception as e: # unexpected: class name only, never the message (could carry a token)
|
|
158
158
|
item.update(state="failed", error=type(e).__name__)
|
|
@@ -14,7 +14,10 @@ SECRET = re.compile(r"(dapi[0-9a-f]{20,}|eyJ[\w-]{20,}\.[\w-]{10,}\.[\w-]{10,})"
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
def redact(text: str, tail: int = 8) -> str:
|
|
17
|
-
|
|
17
|
+
lines = text.strip().splitlines()
|
|
18
|
+
# a newer CLI prints a "Your current $PATH prefers running CLI v0.x ..." notice before the real error: start at the error
|
|
19
|
+
start = next((i for i, l in enumerate(lines) if l.startswith("Error")), 0)
|
|
20
|
+
return SECRET.sub("<redacted>", "\n".join(lines[start:][:tail] if start else lines[-tail:]))[:1200]
|
|
18
21
|
|
|
19
22
|
|
|
20
23
|
class Dbx:
|
|
@@ -26,7 +26,7 @@ from ..gitsrc import clone_pinned
|
|
|
26
26
|
from ..databricks.models import CHAT_RE, EMBED_RE
|
|
27
27
|
|
|
28
28
|
REPO = "https://github.com/db-agent/db-agent"
|
|
29
|
-
PINNED = "
|
|
29
|
+
PINNED = "15150ab87b2d50ed8fee71408afbd2f6aba54a14" # reviewed commit; change it deliberately (see docs/packs.md)
|
|
30
30
|
SECRET_KEY = "token"
|
|
31
31
|
SMOKE_QUESTION = "How many customers are there?"
|
|
32
32
|
IGNORE = shutil.ignore_patterns("node_modules", "dist", ".env", ".env.*", "knowledge.json", "*.log", "__pycache__")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: labagent
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.1
|
|
4
4
|
Summary: Open-source CLI and AI agent to launch and tear down hands-on labs for RAG, LLM and Databricks, plus AWS and Terraform sandboxes.
|
|
5
5
|
Author: BeCloudReady
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -72,13 +72,13 @@ Dynamic: license-file
|
|
|
72
72
|
labagent builds a lab with one command and removes it with one more. Each lab is a **pack**: ordered, re-runnable steps. `launch` resumes after a failure. `destroy` removes only what the pack created.
|
|
73
73
|
|
|
74
74
|
```bash
|
|
75
|
-
pip install labagent
|
|
75
|
+
pip install labagent # Mac: brew install pipx && pipx ensurepath && pipx install labagent
|
|
76
76
|
labagent packs # list labs (add --json for a machine-readable catalog)
|
|
77
77
|
labagent launch <pack> --name demo --param k=v # build or resume
|
|
78
78
|
labagent destroy <pack> --name demo # remove what launch created
|
|
79
79
|
```
|
|
80
80
|
|
|
81
|
-
Extras: `labagent[rag]` (Databricks RAG), `[rag-local]` (laptop RAG), `[rag-lab]` (laptop RAG with JupyterLab), `[aml]`, `[modal]`. Python 3.9+. Add `--dry-run` to any launch to see the steps.
|
|
81
|
+
Extras: `labagent[rag]` (Databricks RAG), `[rag-local]` (laptop RAG), `[rag-lab]` (laptop RAG with JupyterLab), `[aml]`, `[modal]`. Python 3.9+. On a Mac, use pipx (above): plain `pip install` puts `labagent` in `~/Library/Python/3.X/bin`, which is not on your PATH. Add `--dry-run` to any launch to see the steps.
|
|
82
82
|
|
|
83
83
|
## Packs
|
|
84
84
|
|
|
@@ -86,7 +86,7 @@ Extras: `labagent[rag]` (Databricks RAG), `[rag-local]` (laptop RAG), `[rag-lab]
|
|
|
86
86
|
|---|---|---|
|
|
87
87
|
| `azure-labs` | Copy Azure VMs, disks and network from one resource group to another with snapshots, or snapshot a dead VM or disk. Source is read-only. An Azure Lab Services alternative. [Guide](docs/azure-labs.md) | Azure (needs `az login`) |
|
|
88
88
|
| `rag-sec-tutorial` | Nine notebooks: RAG on SEC 10-K filings with embeddings, pgvector, hybrid search, citations, an evaluation gate, a deployed app | Databricks Free Edition |
|
|
89
|
-
| `db-agent` | [db-agent](https://github.com/db-agent/db-agent) text-to-SQL app on Databricks Apps, pinned commit | Databricks Free Edition |
|
|
89
|
+
| `db-agent` | [db-agent](https://github.com/db-agent/db-agent) text-to-SQL app on Databricks Apps, pinned commit. [Which model, warehouse and schema it picks](docs/packs.md) | Databricks Free Edition |
|
|
90
90
|
| `dbx-lakehouse` | Medallion lakehouse (bronze, silver, gold) from real open data, with masks, a row filter, notebooks and exercises. [Guide](docs/dbx-lakehouse.md) | Databricks Free Edition, AWS, Azure |
|
|
91
91
|
| `dbx-workspace` | Premium Databricks workspace via Terraform. Plan only unless `apply=yes`. [Guide](docs/dbx-workspace.md) | AWS or Azure (costs money) |
|
|
92
92
|
| `aml` | Synthetic anti-money-laundering lab with an answer key: RAG for developers, Microsoft 365 Copilot for staff. [Guide](docs/aml.md) | Your machine |
|
|
@@ -159,3 +159,12 @@ def test_packs_json_never_contains_a_credential(capsys, home, monkeypatch):
|
|
|
159
159
|
monkeypatch.setenv("GROQ_API_KEY", "gsk_" + "a" * 40)
|
|
160
160
|
main(["packs", "--json"])
|
|
161
161
|
assert "gsk_" not in capsys.readouterr().out
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
def test_cli_error_skips_the_version_notice():
|
|
165
|
+
from labagent.packs.databricks.cli import redact
|
|
166
|
+
text = ("Your current $PATH prefers running CLI v0.18.0 at /x/databricks\n\nBecause both are installed...\n"
|
|
167
|
+
"Executing CLI v1.23.0...\n------------------------\nError: Failed to create app: limit of 3 apps reached")
|
|
168
|
+
out = redact(text)
|
|
169
|
+
assert out.startswith("Error: Failed to create app: limit of 3 apps reached")
|
|
170
|
+
assert "prefers" not in out
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{labagent-0.3.0 → labagent-0.3.1}/labagent/packs/dbx_lakehouse/sql/healthcare/04_governance.sql
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{labagent-0.3.0 → labagent-0.3.1}/labagent/packs/rag/tutorial/notebooks/05_answer_and_eval.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{labagent-0.3.0 → labagent-0.3.1}/labagent/terraform/databricks_aws/tests/workspace.tftest.hcl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{labagent-0.3.0 → labagent-0.3.1}/labagent/terraform/databricks_azure/tests/workspace.tftest.hcl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{labagent-0.3.0 → labagent-0.3.1}/labagent/terraform/state_backend/tests/bootstrap.tftest.hcl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|