cocoindex 0.1.64__tar.gz → 0.1.65__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.
- {cocoindex-0.1.64 → cocoindex-0.1.65}/Cargo.lock +97 -71
- {cocoindex-0.1.64 → cocoindex-0.1.65}/Cargo.toml +2 -2
- {cocoindex-0.1.64 → cocoindex-0.1.65}/PKG-INFO +1 -1
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/docs/core/flow_def.mdx +50 -39
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/docs/core/flow_methods.mdx +18 -1
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/docs/core/settings.mdx +9 -8
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/yarn.lock +742 -730
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/paper_metadata/main.py +35 -37
- {cocoindex-0.1.64 → cocoindex-0.1.65}/python/cocoindex/__init__.py +3 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/python/cocoindex/flow.py +29 -9
- {cocoindex-0.1.64 → cocoindex-0.1.65}/python/cocoindex/setting.py +8 -8
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/base/spec.rs +9 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/builder/analyzer.rs +11 -18
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/builder/plan.rs +1 -1
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/execution/source_indexer.rs +67 -38
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/lib_context.rs +13 -3
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/llm/anthropic.rs +21 -20
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/llm/gemini.rs +10 -14
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/llm/ollama.rs +10 -6
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/llm/voyage.rs +11 -8
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/ops/functions/embed_text.rs +55 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/ops/functions/extract_by_llm.rs +94 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/ops/functions/mod.rs +3 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/ops/functions/parse_json.rs +43 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/ops/functions/split_recursively.rs +61 -0
- cocoindex-0.1.65/src/ops/functions/test_utils.rs +73 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/py/mod.rs +9 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/service/error.rs +2 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/settings.rs +2 -2
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/utils/concur_control.rs +72 -5
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/utils/retryable.rs +13 -1
- {cocoindex-0.1.64 → cocoindex-0.1.65}/.cargo/config.toml +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/.env.lib_debug +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/.github/ISSUE_TEMPLATE//360/237/220/233-bug-report.md" +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/.github/ISSUE_TEMPLATE//360/237/222/241-feature-request.md" +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/.github/scripts/update_version.sh +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/.github/workflows/CI.yml +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/.github/workflows/_doc_release.yml +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/.github/workflows/_test.yml +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/.github/workflows/docs.yml +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/.github/workflows/format.yml +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/.github/workflows/release.yml +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/.gitignore +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/.pre-commit-config.yaml +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/CODE_OF_CONDUCT.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/CONTRIBUTING.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/LICENSE +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/README.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/dev/neo4j.yaml +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/dev/postgres.yaml +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/.gitignore +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/README.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/docs/about/community.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/docs/about/contributing.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/docs/ai/llm.mdx +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/docs/core/basics.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/docs/core/cli.mdx +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/docs/core/custom_function.mdx +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/docs/core/data_example.svg +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/docs/core/data_types.mdx +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/docs/core/flow_example.svg +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/docs/getting_started/installation.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/docs/getting_started/markdown_files.zip +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/docs/getting_started/overview.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/docs/getting_started/quickstart.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/docs/ops/functions.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/docs/ops/sources.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/docs/ops/targets.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/docs/query.mdx +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/docusaurus.config.ts +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/package.json +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/sidebars.ts +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/src/components/HomepageFeatures/index.tsx +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/src/components/HomepageFeatures/styles.module.css +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/src/css/custom.css +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/src/theme/Root.js +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/static/.nojekyll +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/static/img/docusaurus.png +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/static/img/favicon.ico +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/static/img/icon.svg +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/static/img/incremental-etl.gif +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/static/robots.txt +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/docs/tsconfig.json +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/amazon_s3_embedding/.env.example +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/amazon_s3_embedding/.gitignore +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/amazon_s3_embedding/README.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/amazon_s3_embedding/main.py +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/amazon_s3_embedding/pyproject.toml +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/code_embedding/.env +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/code_embedding/README.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/code_embedding/main.py +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/code_embedding/pyproject.toml +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/docs_to_knowledge_graph/.env +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/docs_to_knowledge_graph/README.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/docs_to_knowledge_graph/main.py +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/docs_to_knowledge_graph/pyproject.toml +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/fastapi_server_docker/.dockerignore +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/fastapi_server_docker/.env +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/fastapi_server_docker/README.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/fastapi_server_docker/compose.yaml +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/fastapi_server_docker/dockerfile +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/fastapi_server_docker/files/1810.04805v2.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/fastapi_server_docker/main.py +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/fastapi_server_docker/requirements.txt +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/gdrive_text_embedding/.env.example +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/gdrive_text_embedding/.gitignore +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/gdrive_text_embedding/README.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/gdrive_text_embedding/main.py +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/gdrive_text_embedding/pyproject.toml +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/image_search/.env +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/image_search/README.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/image_search/frontend/.gitignore +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/image_search/frontend/index.html +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/image_search/frontend/package-lock.json +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/image_search/frontend/package.json +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/image_search/frontend/src/App.jsx +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/image_search/frontend/src/main.jsx +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/image_search/frontend/src/style.css +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/image_search/frontend/vite.config.js +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/image_search/img/cat1.jpeg +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/image_search/img/dog1.jpeg +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/image_search/img/elephant1.jpg +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/image_search/img/giraffe.jpg +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/image_search/main.py +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/image_search/pyproject.toml +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/manuals_llm_extraction/.env +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/manuals_llm_extraction/README.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/manuals_llm_extraction/main.py +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/manuals_llm_extraction/manuals/array.pdf +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/manuals_llm_extraction/manuals/base64.pdf +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/manuals_llm_extraction/manuals/copy.pdf +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/manuals_llm_extraction/manuals/glob.pdf +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/manuals_llm_extraction/pyproject.toml +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/paper_metadata/.env.example +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/paper_metadata/.gitignore +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/paper_metadata/README.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/paper_metadata/papers/1706.03762v7.pdf +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/paper_metadata/papers/1810.04805v2.pdf +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/paper_metadata/papers/2502.06786v3.pdf +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/paper_metadata/papers/2502.20346v1.pdf +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/paper_metadata/pyproject.toml +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/patient_intake_extraction/.env.example +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/patient_intake_extraction/README.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/patient_intake_extraction/data/README.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/patient_intake_extraction/data/patient_forms/Patient_Intake_Form_David_Artificial.docx +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/patient_intake_extraction/data/patient_forms/Patient_Intake_Form_Emily_Artificial.pdf +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/patient_intake_extraction/data/patient_forms/Patient_Intake_Form_Joe_Artificial.pdf +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/patient_intake_extraction/data/patient_forms/Patient_Intake_From_Jane_Artificial.docx +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/patient_intake_extraction/main.py +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/patient_intake_extraction/pyproject.toml +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/pdf_embedding/.env +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/pdf_embedding/README.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/pdf_embedding/main.py +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/pdf_embedding/pdf_files/1706.03762v7.pdf +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/pdf_embedding/pdf_files/1810.04805v2.pdf +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/pdf_embedding/pdf_files/rfc8259.pdf +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/pdf_embedding/pyproject.toml +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/product_recommendation/.env +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/product_recommendation/README.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/product_recommendation/img/cocoinsight.png +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/product_recommendation/img/neo4j.png +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/product_recommendation/main.py +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/product_recommendation/products/p1.json +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/product_recommendation/products/p2.json +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/product_recommendation/products/p3.json +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/product_recommendation/products/p4.json +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/product_recommendation/products/p5.json +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/product_recommendation/products/p6.json +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/product_recommendation/products/p7.json +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/product_recommendation/products/p8.json +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/product_recommendation/products/p9.json +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/product_recommendation/pyproject.toml +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/text_embedding/.env +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/text_embedding/README.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/text_embedding/Text_Embedding.ipynb +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/text_embedding/main.py +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/text_embedding/markdown_files/1706.03762v7.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/text_embedding/markdown_files/1810.04805v2.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/text_embedding/markdown_files/rfc8259.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/text_embedding/pyproject.toml +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/text_embedding_qdrant/.env +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/text_embedding_qdrant/README.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/text_embedding_qdrant/main.py +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/text_embedding_qdrant/markdown_files/rfc8259.md +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/examples/text_embedding_qdrant/pyproject.toml +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/pyproject.toml +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/python/cocoindex/auth_registry.py +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/python/cocoindex/cli.py +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/python/cocoindex/convert.py +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/python/cocoindex/functions.py +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/python/cocoindex/index.py +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/python/cocoindex/lib.py +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/python/cocoindex/llm.py +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/python/cocoindex/op.py +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/python/cocoindex/py.typed +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/python/cocoindex/runtime.py +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/python/cocoindex/setup.py +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/python/cocoindex/sources.py +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/python/cocoindex/targets.py +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/python/cocoindex/tests/__init__.py +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/python/cocoindex/tests/test_convert.py +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/python/cocoindex/tests/test_optional_database.py +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/python/cocoindex/tests/test_typing.py +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/python/cocoindex/typing.py +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/python/cocoindex/utils.py +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/ruff.toml +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/base/duration.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/base/field_attrs.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/base/json_schema.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/base/mod.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/base/schema.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/base/value.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/builder/analyzed_flow.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/builder/exec_ctx.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/builder/flow_builder.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/builder/mod.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/execution/db_tracking.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/execution/db_tracking_setup.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/execution/dumper.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/execution/evaluator.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/execution/indexing_status.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/execution/live_updater.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/execution/memoization.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/execution/mod.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/execution/row_indexer.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/execution/stats.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/lib.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/llm/litellm.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/llm/mod.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/llm/openai.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/llm/openrouter.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/llm/vllm.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/ops/factory_bases.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/ops/interface.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/ops/mod.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/ops/py_factory.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/ops/registration.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/ops/registry.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/ops/sdk.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/ops/sources/amazon_s3.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/ops/sources/google_drive.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/ops/sources/local_file.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/ops/sources/mod.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/ops/targets/kuzu.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/ops/targets/mod.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/ops/targets/neo4j.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/ops/targets/postgres.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/ops/targets/qdrant.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/ops/targets/shared/mod.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/ops/targets/shared/property_graph.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/ops/targets/shared/table_columns.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/prelude.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/py/convert.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/server.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/service/flows.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/service/mod.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/setup/auth_registry.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/setup/components.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/setup/db_metadata.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/setup/driver.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/setup/mod.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/setup/states.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/utils/db.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/utils/fingerprint.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/utils/immutable.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/utils/mod.rs +0 -0
- {cocoindex-0.1.64 → cocoindex-0.1.65}/src/utils/yaml_ser.rs +0 -0
@@ -214,9 +214,9 @@ checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
|
|
214
214
|
|
215
215
|
[[package]]
|
216
216
|
name = "aws-config"
|
217
|
-
version = "1.8.
|
217
|
+
version = "1.8.1"
|
218
218
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
219
|
-
checksum = "
|
219
|
+
checksum = "c18d005c70d2b9c0c1ea8876c039db0ec7fb71164d25c73ccea21bf41fd02171"
|
220
220
|
dependencies = [
|
221
221
|
"aws-credential-types",
|
222
222
|
"aws-runtime",
|
@@ -256,9 +256,9 @@ dependencies = [
|
|
256
256
|
|
257
257
|
[[package]]
|
258
258
|
name = "aws-lc-rs"
|
259
|
-
version = "1.13.
|
259
|
+
version = "1.13.2"
|
260
260
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
261
|
-
checksum = "
|
261
|
+
checksum = "08b5d4e069cbc868041a64bd68dc8cb39a0d79585cd6c5a24caa8c2d622121be"
|
262
262
|
dependencies = [
|
263
263
|
"aws-lc-sys",
|
264
264
|
"zeroize",
|
@@ -266,9 +266,9 @@ dependencies = [
|
|
266
266
|
|
267
267
|
[[package]]
|
268
268
|
name = "aws-lc-sys"
|
269
|
-
version = "0.
|
269
|
+
version = "0.30.0"
|
270
270
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
271
|
-
checksum = "
|
271
|
+
checksum = "dbfd150b5dbdb988bcc8fb1fe787eb6b7ee6180ca24da683b61ea5405f3d43ff"
|
272
272
|
dependencies = [
|
273
273
|
"bindgen",
|
274
274
|
"cc",
|
@@ -304,9 +304,9 @@ dependencies = [
|
|
304
304
|
|
305
305
|
[[package]]
|
306
306
|
name = "aws-sdk-s3"
|
307
|
-
version = "1.
|
307
|
+
version = "1.96.0"
|
308
308
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
309
|
-
checksum = "
|
309
|
+
checksum = "6e25d24de44b34dcdd5182ac4e4c6f07bcec2661c505acef94c0d293b65505fe"
|
310
310
|
dependencies = [
|
311
311
|
"aws-credential-types",
|
312
312
|
"aws-runtime",
|
@@ -338,9 +338,9 @@ dependencies = [
|
|
338
338
|
|
339
339
|
[[package]]
|
340
340
|
name = "aws-sdk-sqs"
|
341
|
-
version = "1.
|
341
|
+
version = "1.74.0"
|
342
342
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
343
|
-
checksum = "
|
343
|
+
checksum = "256b8f7caffe3240a543f60409be9bba23038ceef5933da63e09d89197fc2333"
|
344
344
|
dependencies = [
|
345
345
|
"aws-credential-types",
|
346
346
|
"aws-runtime",
|
@@ -360,9 +360,9 @@ dependencies = [
|
|
360
360
|
|
361
361
|
[[package]]
|
362
362
|
name = "aws-sdk-sso"
|
363
|
-
version = "1.
|
363
|
+
version = "1.74.0"
|
364
364
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
365
|
-
checksum = "
|
365
|
+
checksum = "e0a69de9c1b9272da2872af60c7402683e7f45c06267735b4332deacb203239b"
|
366
366
|
dependencies = [
|
367
367
|
"aws-credential-types",
|
368
368
|
"aws-runtime",
|
@@ -382,9 +382,9 @@ dependencies = [
|
|
382
382
|
|
383
383
|
[[package]]
|
384
384
|
name = "aws-sdk-ssooidc"
|
385
|
-
version = "1.
|
385
|
+
version = "1.75.0"
|
386
386
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
387
|
-
checksum = "
|
387
|
+
checksum = "f0b161d836fac72bdd5ac1a4cd1cdc38ab888c7af26cfd95f661be4409505e63"
|
388
388
|
dependencies = [
|
389
389
|
"aws-credential-types",
|
390
390
|
"aws-runtime",
|
@@ -404,9 +404,9 @@ dependencies = [
|
|
404
404
|
|
405
405
|
[[package]]
|
406
406
|
name = "aws-sdk-sts"
|
407
|
-
version = "1.
|
407
|
+
version = "1.76.0"
|
408
408
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
409
|
-
checksum = "
|
409
|
+
checksum = "cb1cd79a3412751a341a28e2cd0d6fa4345241976da427b075a0c0cd5409f886"
|
410
410
|
dependencies = [
|
411
411
|
"aws-credential-types",
|
412
412
|
"aws-runtime",
|
@@ -466,9 +466,9 @@ dependencies = [
|
|
466
466
|
|
467
467
|
[[package]]
|
468
468
|
name = "aws-smithy-checksums"
|
469
|
-
version = "0.63.
|
469
|
+
version = "0.63.4"
|
470
470
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
471
|
-
checksum = "
|
471
|
+
checksum = "244f00666380d35c1c76b90f7b88a11935d11b84076ac22a4c014ea0939627af"
|
472
472
|
dependencies = [
|
473
473
|
"aws-smithy-http",
|
474
474
|
"aws-smithy-types",
|
@@ -518,15 +518,15 @@ dependencies = [
|
|
518
518
|
|
519
519
|
[[package]]
|
520
520
|
name = "aws-smithy-http-client"
|
521
|
-
version = "1.0.
|
521
|
+
version = "1.0.6"
|
522
522
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
523
|
-
checksum = "
|
523
|
+
checksum = "f108f1ca850f3feef3009bdcc977be201bca9a91058864d9de0684e64514bee0"
|
524
524
|
dependencies = [
|
525
525
|
"aws-smithy-async",
|
526
526
|
"aws-smithy-runtime-api",
|
527
527
|
"aws-smithy-types",
|
528
528
|
"h2 0.3.26",
|
529
|
-
"h2 0.4.
|
529
|
+
"h2 0.4.11",
|
530
530
|
"http 0.2.12",
|
531
531
|
"http 1.3.1",
|
532
532
|
"http-body 0.4.6",
|
@@ -537,7 +537,7 @@ dependencies = [
|
|
537
537
|
"hyper-util",
|
538
538
|
"pin-project-lite",
|
539
539
|
"rustls 0.21.12",
|
540
|
-
"rustls 0.23.
|
540
|
+
"rustls 0.23.29",
|
541
541
|
"rustls-native-certs 0.8.1",
|
542
542
|
"rustls-pki-types",
|
543
543
|
"tokio",
|
@@ -575,9 +575,9 @@ dependencies = [
|
|
575
575
|
|
576
576
|
[[package]]
|
577
577
|
name = "aws-smithy-runtime"
|
578
|
-
version = "1.8.
|
578
|
+
version = "1.8.4"
|
579
579
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
580
|
-
checksum = "
|
580
|
+
checksum = "c3aaec682eb189e43c8a19c3dab2fe54590ad5f2cc2d26ab27608a20f2acf81c"
|
581
581
|
dependencies = [
|
582
582
|
"aws-smithy-async",
|
583
583
|
"aws-smithy-http",
|
@@ -599,9 +599,9 @@ dependencies = [
|
|
599
599
|
|
600
600
|
[[package]]
|
601
601
|
name = "aws-smithy-runtime-api"
|
602
|
-
version = "1.8.
|
602
|
+
version = "1.8.3"
|
603
603
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
604
|
-
checksum = "
|
604
|
+
checksum = "9852b9226cb60b78ce9369022c0df678af1cac231c882d5da97a0c4e03be6e67"
|
605
605
|
dependencies = [
|
606
606
|
"aws-smithy-async",
|
607
607
|
"aws-smithy-types",
|
@@ -914,9 +914,9 @@ dependencies = [
|
|
914
914
|
|
915
915
|
[[package]]
|
916
916
|
name = "bumpalo"
|
917
|
-
version = "3.
|
917
|
+
version = "3.19.0"
|
918
918
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
919
|
-
checksum = "
|
919
|
+
checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43"
|
920
920
|
|
921
921
|
[[package]]
|
922
922
|
name = "byteorder"
|
@@ -945,9 +945,9 @@ dependencies = [
|
|
945
945
|
|
946
946
|
[[package]]
|
947
947
|
name = "cc"
|
948
|
-
version = "1.2.
|
948
|
+
version = "1.2.29"
|
949
949
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
950
|
-
checksum = "
|
950
|
+
checksum = "5c1599538de2394445747c8cf7935946e3cc27e9625f889d979bfb2aaf569362"
|
951
951
|
dependencies = [
|
952
952
|
"jobserver",
|
953
953
|
"libc",
|
@@ -1045,7 +1045,7 @@ dependencies = [
|
|
1045
1045
|
|
1046
1046
|
[[package]]
|
1047
1047
|
name = "cocoindex"
|
1048
|
-
version = "0.1.
|
1048
|
+
version = "0.1.65"
|
1049
1049
|
dependencies = [
|
1050
1050
|
"anyhow",
|
1051
1051
|
"async-openai",
|
@@ -1072,7 +1072,7 @@ dependencies = [
|
|
1072
1072
|
"hyper-rustls 0.27.7",
|
1073
1073
|
"hyper-util",
|
1074
1074
|
"indenter",
|
1075
|
-
"indexmap 2.
|
1075
|
+
"indexmap 2.10.0",
|
1076
1076
|
"indoc",
|
1077
1077
|
"infer",
|
1078
1078
|
"itertools 0.14.0",
|
@@ -1090,7 +1090,7 @@ dependencies = [
|
|
1090
1090
|
"rand 0.9.1",
|
1091
1091
|
"regex",
|
1092
1092
|
"reqwest",
|
1093
|
-
"rustls 0.23.
|
1093
|
+
"rustls 0.23.29",
|
1094
1094
|
"schemars 0.8.22",
|
1095
1095
|
"serde",
|
1096
1096
|
"serde_json",
|
@@ -1311,9 +1311,9 @@ checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
|
|
1311
1311
|
|
1312
1312
|
[[package]]
|
1313
1313
|
name = "crunchy"
|
1314
|
-
version = "0.2.
|
1314
|
+
version = "0.2.4"
|
1315
1315
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1316
|
-
checksum = "
|
1316
|
+
checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5"
|
1317
1317
|
|
1318
1318
|
[[package]]
|
1319
1319
|
name = "crypto-bigint"
|
@@ -1955,7 +1955,7 @@ dependencies = [
|
|
1955
1955
|
"futures-sink",
|
1956
1956
|
"futures-util",
|
1957
1957
|
"http 0.2.12",
|
1958
|
-
"indexmap 2.
|
1958
|
+
"indexmap 2.10.0",
|
1959
1959
|
"slab",
|
1960
1960
|
"tokio",
|
1961
1961
|
"tokio-util",
|
@@ -1964,9 +1964,9 @@ dependencies = [
|
|
1964
1964
|
|
1965
1965
|
[[package]]
|
1966
1966
|
name = "h2"
|
1967
|
-
version = "0.4.
|
1967
|
+
version = "0.4.11"
|
1968
1968
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1969
|
-
checksum = "
|
1969
|
+
checksum = "17da50a276f1e01e0ba6c029e47b7100754904ee8a278f886546e98575380785"
|
1970
1970
|
dependencies = [
|
1971
1971
|
"atomic-waker",
|
1972
1972
|
"bytes",
|
@@ -1974,7 +1974,7 @@ dependencies = [
|
|
1974
1974
|
"futures-core",
|
1975
1975
|
"futures-sink",
|
1976
1976
|
"http 1.3.1",
|
1977
|
-
"indexmap 2.
|
1977
|
+
"indexmap 2.10.0",
|
1978
1978
|
"slab",
|
1979
1979
|
"tokio",
|
1980
1980
|
"tokio-util",
|
@@ -2172,7 +2172,7 @@ dependencies = [
|
|
2172
2172
|
"bytes",
|
2173
2173
|
"futures-channel",
|
2174
2174
|
"futures-util",
|
2175
|
-
"h2 0.4.
|
2175
|
+
"h2 0.4.11",
|
2176
2176
|
"http 1.3.1",
|
2177
2177
|
"http-body 1.0.1",
|
2178
2178
|
"httparse",
|
@@ -2210,7 +2210,7 @@ dependencies = [
|
|
2210
2210
|
"hyper 1.6.0",
|
2211
2211
|
"hyper-util",
|
2212
2212
|
"log",
|
2213
|
-
"rustls 0.23.
|
2213
|
+
"rustls 0.23.29",
|
2214
2214
|
"rustls-native-certs 0.8.1",
|
2215
2215
|
"rustls-pki-types",
|
2216
2216
|
"tokio",
|
@@ -2234,9 +2234,9 @@ dependencies = [
|
|
2234
2234
|
|
2235
2235
|
[[package]]
|
2236
2236
|
name = "hyper-util"
|
2237
|
-
version = "0.1.
|
2237
|
+
version = "0.1.15"
|
2238
2238
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2239
|
-
checksum = "
|
2239
|
+
checksum = "7f66d5bd4c6f02bf0542fad85d626775bab9258cf795a4256dcaf3161114d1df"
|
2240
2240
|
dependencies = [
|
2241
2241
|
"base64 0.22.1",
|
2242
2242
|
"bytes",
|
@@ -2412,9 +2412,9 @@ dependencies = [
|
|
2412
2412
|
|
2413
2413
|
[[package]]
|
2414
2414
|
name = "indexmap"
|
2415
|
-
version = "2.
|
2415
|
+
version = "2.10.0"
|
2416
2416
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2417
|
-
checksum = "
|
2417
|
+
checksum = "fe4cd85333e22411419a0bcae1297d25e58c9443848b11dc6a86fefe8c78a661"
|
2418
2418
|
dependencies = [
|
2419
2419
|
"equivalent",
|
2420
2420
|
"hashbrown 0.15.4",
|
@@ -2445,6 +2445,17 @@ dependencies = [
|
|
2445
2445
|
"cfg-if",
|
2446
2446
|
]
|
2447
2447
|
|
2448
|
+
[[package]]
|
2449
|
+
name = "io-uring"
|
2450
|
+
version = "0.7.8"
|
2451
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2452
|
+
checksum = "b86e202f00093dcba4275d4636b93ef9dd75d025ae560d2521b45ea28ab49013"
|
2453
|
+
dependencies = [
|
2454
|
+
"bitflags",
|
2455
|
+
"cfg-if",
|
2456
|
+
"libc",
|
2457
|
+
]
|
2458
|
+
|
2448
2459
|
[[package]]
|
2449
2460
|
name = "ipnet"
|
2450
2461
|
version = "2.11.0"
|
@@ -3403,7 +3414,7 @@ dependencies = [
|
|
3403
3414
|
"quinn-proto",
|
3404
3415
|
"quinn-udp",
|
3405
3416
|
"rustc-hash 2.1.1",
|
3406
|
-
"rustls 0.23.
|
3417
|
+
"rustls 0.23.29",
|
3407
3418
|
"socket2",
|
3408
3419
|
"thiserror 2.0.12",
|
3409
3420
|
"tokio",
|
@@ -3423,7 +3434,7 @@ dependencies = [
|
|
3423
3434
|
"rand 0.9.1",
|
3424
3435
|
"ring",
|
3425
3436
|
"rustc-hash 2.1.1",
|
3426
|
-
"rustls 0.23.
|
3437
|
+
"rustls 0.23.29",
|
3427
3438
|
"rustls-pki-types",
|
3428
3439
|
"slab",
|
3429
3440
|
"thiserror 2.0.12",
|
@@ -3592,15 +3603,15 @@ checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
|
|
3592
3603
|
|
3593
3604
|
[[package]]
|
3594
3605
|
name = "reqwest"
|
3595
|
-
version = "0.12.
|
3606
|
+
version = "0.12.22"
|
3596
3607
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
3597
|
-
checksum = "
|
3608
|
+
checksum = "cbc931937e6ca3a06e3b6c0aa7841849b160a90351d6ab467a8b9b9959767531"
|
3598
3609
|
dependencies = [
|
3599
3610
|
"base64 0.22.1",
|
3600
3611
|
"bytes",
|
3601
3612
|
"futures-core",
|
3602
3613
|
"futures-util",
|
3603
|
-
"h2 0.4.
|
3614
|
+
"h2 0.4.11",
|
3604
3615
|
"http 1.3.1",
|
3605
3616
|
"http-body 1.0.1",
|
3606
3617
|
"http-body-util",
|
@@ -3613,7 +3624,7 @@ dependencies = [
|
|
3613
3624
|
"percent-encoding",
|
3614
3625
|
"pin-project-lite",
|
3615
3626
|
"quinn",
|
3616
|
-
"rustls 0.23.
|
3627
|
+
"rustls 0.23.29",
|
3617
3628
|
"rustls-native-certs 0.8.1",
|
3618
3629
|
"rustls-pki-types",
|
3619
3630
|
"serde",
|
@@ -3777,16 +3788,16 @@ dependencies = [
|
|
3777
3788
|
|
3778
3789
|
[[package]]
|
3779
3790
|
name = "rustls"
|
3780
|
-
version = "0.23.
|
3791
|
+
version = "0.23.29"
|
3781
3792
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
3782
|
-
checksum = "
|
3793
|
+
checksum = "2491382039b29b9b11ff08b76ff6c97cf287671dbb74f0be44bda389fffe9bd1"
|
3783
3794
|
dependencies = [
|
3784
3795
|
"aws-lc-rs",
|
3785
3796
|
"log",
|
3786
3797
|
"once_cell",
|
3787
3798
|
"ring",
|
3788
3799
|
"rustls-pki-types",
|
3789
|
-
"rustls-webpki 0.103.
|
3800
|
+
"rustls-webpki 0.103.4",
|
3790
3801
|
"subtle",
|
3791
3802
|
"zeroize",
|
3792
3803
|
]
|
@@ -3868,9 +3879,9 @@ dependencies = [
|
|
3868
3879
|
|
3869
3880
|
[[package]]
|
3870
3881
|
name = "rustls-webpki"
|
3871
|
-
version = "0.103.
|
3882
|
+
version = "0.103.4"
|
3872
3883
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
3873
|
-
checksum = "
|
3884
|
+
checksum = "0a17884ae0c1b773f1ccd2bd4a8c72f16da897310a98b0e84bf349ad5ead92fc"
|
3874
3885
|
dependencies = [
|
3875
3886
|
"aws-lc-rs",
|
3876
3887
|
"ring",
|
@@ -3923,6 +3934,18 @@ dependencies = [
|
|
3923
3934
|
"serde_json",
|
3924
3935
|
]
|
3925
3936
|
|
3937
|
+
[[package]]
|
3938
|
+
name = "schemars"
|
3939
|
+
version = "1.0.4"
|
3940
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
3941
|
+
checksum = "82d20c4491bc164fa2f6c5d44565947a52ad80b9505d8e36f8d54c27c739fcd0"
|
3942
|
+
dependencies = [
|
3943
|
+
"dyn-clone",
|
3944
|
+
"ref-cast",
|
3945
|
+
"serde",
|
3946
|
+
"serde_json",
|
3947
|
+
]
|
3948
|
+
|
3926
3949
|
[[package]]
|
3927
3950
|
name = "schemars_derive"
|
3928
3951
|
version = "0.8.22"
|
@@ -4061,7 +4084,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4061
4084
|
checksum = "9d2de91cf02bbc07cde38891769ccd5d4f073d22a40683aa4bc7a95781aaa2c4"
|
4062
4085
|
dependencies = [
|
4063
4086
|
"form_urlencoded",
|
4064
|
-
"indexmap 2.
|
4087
|
+
"indexmap 2.10.0",
|
4065
4088
|
"itoa",
|
4066
4089
|
"ryu",
|
4067
4090
|
"serde",
|
@@ -4073,7 +4096,7 @@ version = "1.0.140"
|
|
4073
4096
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
4074
4097
|
checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373"
|
4075
4098
|
dependencies = [
|
4076
|
-
"indexmap 2.
|
4099
|
+
"indexmap 2.10.0",
|
4077
4100
|
"itoa",
|
4078
4101
|
"memchr",
|
4079
4102
|
"ryu",
|
@@ -4113,16 +4136,17 @@ dependencies = [
|
|
4113
4136
|
|
4114
4137
|
[[package]]
|
4115
4138
|
name = "serde_with"
|
4116
|
-
version = "3.
|
4139
|
+
version = "3.14.0"
|
4117
4140
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
4118
|
-
checksum = "
|
4141
|
+
checksum = "f2c45cd61fefa9db6f254525d46e392b852e0e61d9a1fd36e5bd183450a556d5"
|
4119
4142
|
dependencies = [
|
4120
4143
|
"base64 0.22.1",
|
4121
4144
|
"chrono",
|
4122
4145
|
"hex",
|
4123
4146
|
"indexmap 1.9.3",
|
4124
|
-
"indexmap 2.
|
4147
|
+
"indexmap 2.10.0",
|
4125
4148
|
"schemars 0.9.0",
|
4149
|
+
"schemars 1.0.4",
|
4126
4150
|
"serde",
|
4127
4151
|
"serde_derive",
|
4128
4152
|
"serde_json",
|
@@ -4132,9 +4156,9 @@ dependencies = [
|
|
4132
4156
|
|
4133
4157
|
[[package]]
|
4134
4158
|
name = "serde_with_macros"
|
4135
|
-
version = "3.
|
4159
|
+
version = "3.14.0"
|
4136
4160
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
4137
|
-
checksum = "
|
4161
|
+
checksum = "de90945e6565ce0d9a25098082ed4ee4002e047cb59892c318d66821e14bb30f"
|
4138
4162
|
dependencies = [
|
4139
4163
|
"darling",
|
4140
4164
|
"proc-macro2",
|
@@ -4291,7 +4315,7 @@ dependencies = [
|
|
4291
4315
|
"futures-util",
|
4292
4316
|
"hashbrown 0.15.4",
|
4293
4317
|
"hashlink 0.10.0",
|
4294
|
-
"indexmap 2.
|
4318
|
+
"indexmap 2.10.0",
|
4295
4319
|
"log",
|
4296
4320
|
"memchr",
|
4297
4321
|
"once_cell",
|
@@ -4647,17 +4671,19 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
|
|
4647
4671
|
|
4648
4672
|
[[package]]
|
4649
4673
|
name = "tokio"
|
4650
|
-
version = "1.
|
4674
|
+
version = "1.46.1"
|
4651
4675
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
4652
|
-
checksum = "
|
4676
|
+
checksum = "0cc3a2344dafbe23a245241fe8b09735b521110d30fcefbbd5feb1797ca35d17"
|
4653
4677
|
dependencies = [
|
4654
4678
|
"backtrace",
|
4655
4679
|
"bytes",
|
4680
|
+
"io-uring",
|
4656
4681
|
"libc",
|
4657
4682
|
"mio",
|
4658
4683
|
"parking_lot",
|
4659
4684
|
"pin-project-lite",
|
4660
4685
|
"signal-hook-registry",
|
4686
|
+
"slab",
|
4661
4687
|
"socket2",
|
4662
4688
|
"tokio-macros",
|
4663
4689
|
"tracing",
|
@@ -4691,7 +4717,7 @@ version = "0.26.2"
|
|
4691
4717
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
4692
4718
|
checksum = "8e727b36a1a0e8b74c376ac2211e40c2c8af09fb4013c60d910495810f008e9b"
|
4693
4719
|
dependencies = [
|
4694
|
-
"rustls 0.23.
|
4720
|
+
"rustls 0.23.29",
|
4695
4721
|
"tokio",
|
4696
4722
|
]
|
4697
4723
|
|
@@ -4746,7 +4772,7 @@ version = "0.22.27"
|
|
4746
4772
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
4747
4773
|
checksum = "41fe8c660ae4257887cf66394862d21dbca4a6ddd26f04a3560410406a2f819a"
|
4748
4774
|
dependencies = [
|
4749
|
-
"indexmap 2.
|
4775
|
+
"indexmap 2.10.0",
|
4750
4776
|
"serde",
|
4751
4777
|
"serde_spanned",
|
4752
4778
|
"toml_datetime",
|
@@ -4772,7 +4798,7 @@ dependencies = [
|
|
4772
4798
|
"base64 0.22.1",
|
4773
4799
|
"bytes",
|
4774
4800
|
"flate2",
|
4775
|
-
"h2 0.4.
|
4801
|
+
"h2 0.4.11",
|
4776
4802
|
"http 1.3.1",
|
4777
4803
|
"http-body 1.0.1",
|
4778
4804
|
"http-body-util",
|
@@ -5834,7 +5860,7 @@ dependencies = [
|
|
5834
5860
|
"hyper-util",
|
5835
5861
|
"log",
|
5836
5862
|
"percent-encoding",
|
5837
|
-
"rustls 0.23.
|
5863
|
+
"rustls 0.23.29",
|
5838
5864
|
"rustls-pemfile 2.2.0",
|
5839
5865
|
"seahash",
|
5840
5866
|
"serde",
|
@@ -5859,7 +5885,7 @@ dependencies = [
|
|
5859
5885
|
"hyper-util",
|
5860
5886
|
"log",
|
5861
5887
|
"percent-encoding",
|
5862
|
-
"rustls 0.23.
|
5888
|
+
"rustls 0.23.29",
|
5863
5889
|
"rustls-pemfile 2.2.0",
|
5864
5890
|
"seahash",
|
5865
5891
|
"serde",
|
@@ -2,9 +2,9 @@
|
|
2
2
|
name = "cocoindex"
|
3
3
|
# Version used for local development is always higher than others to take precedence.
|
4
4
|
# Will be overridden for specific release versions.
|
5
|
-
version = "0.1.
|
5
|
+
version = "0.1.65"
|
6
6
|
edition = "2024"
|
7
|
-
rust-version = "1.
|
7
|
+
rust-version = "1.88"
|
8
8
|
|
9
9
|
[profile.release]
|
10
10
|
codegen-units = 1
|
@@ -40,12 +40,28 @@ def demo_flow_def(flow_builder: cocoindex.FlowBuilder, data_scope: cocoindex.Dat
|
|
40
40
|
...
|
41
41
|
|
42
42
|
# Add the flow definition to the flow registry.
|
43
|
-
demo_flow = cocoindex.
|
43
|
+
demo_flow = cocoindex.add_flow_def("DemoFlow", demo_flow_def)
|
44
44
|
```
|
45
45
|
|
46
46
|
In both cases, `demo_flow` will be an object with `cocoindex.Flow` class type.
|
47
47
|
See [Flow Running](/docs/core/flow_methods) for more details on it.
|
48
48
|
|
49
|
+
Sometimes you no longer want to keep states of the flow in memory. We provide a `cocoindex.remove_flow()` method for this purpose:
|
50
|
+
|
51
|
+
```python
|
52
|
+
cocoindex.remove_flow(demo_flow)
|
53
|
+
```
|
54
|
+
|
55
|
+
After it's called, `demo_flow` becomes an invalid object, and you should not call any methods of it.
|
56
|
+
|
57
|
+
:::note
|
58
|
+
|
59
|
+
This only removes states of the flow from the current process, and it won't affect the persistent states.
|
60
|
+
|
61
|
+
If you w
|
62
|
+
|
63
|
+
:::
|
64
|
+
|
49
65
|
</TabItem>
|
50
66
|
</Tabs>
|
51
67
|
|
@@ -151,25 +167,6 @@ If nothing changed during the last refresh cycle, only list operations will be p
|
|
151
167
|
|
152
168
|
:::
|
153
169
|
|
154
|
-
#### Concurrency control
|
155
|
-
|
156
|
-
You can pass the following arguments to `add_source()` to control the concurrency of the source operation:
|
157
|
-
|
158
|
-
* `max_inflight_rows`: the maximum number of concurrent inflight requests for the source operation.
|
159
|
-
* `max_inflight_bytes`: the maximum number of concurrent inflight bytes for the source operation.
|
160
|
-
|
161
|
-
For example:
|
162
|
-
|
163
|
-
```py
|
164
|
-
@cocoindex.flow_def(name="DemoFlow")
|
165
|
-
def demo_flow(flow_builder: cocoindex.FlowBuilder, data_scope: cocoindex.DataScope):
|
166
|
-
data_scope["documents"] = flow_builder.add_source(
|
167
|
-
DemoSourceSpec(...), max_inflight_rows=10, max_inflight_bytes=100*1024*1024)
|
168
|
-
......
|
169
|
-
```
|
170
|
-
|
171
|
-
The default value can be specified by [`DefaultExecutionOptions`](/docs/core/settings#defaultexecutionoptions) or corresponding [environment variable](/docs/core/settings#list-of-environment-variables).
|
172
|
-
|
173
170
|
### Transform
|
174
171
|
|
175
172
|
`transform()` method transforms the data slice by a function, which creates another data slice.
|
@@ -195,7 +192,7 @@ def demo_flow(flow_builder: cocoindex.FlowBuilder, data_scope: cocoindex.DataSco
|
|
195
192
|
</TabItem>
|
196
193
|
</Tabs>
|
197
194
|
|
198
|
-
### For
|
195
|
+
### For-each-row
|
199
196
|
|
200
197
|
If the data slice has [table type](/docs/core/data_types#table-types), you can call `row()` method to obtain a child scope representing each row, to apply operations on each row.
|
201
198
|
|
@@ -214,24 +211,6 @@ def demo_flow(flow_builder: cocoindex.FlowBuilder, data_scope: cocoindex.DataSco
|
|
214
211
|
</TabItem>
|
215
212
|
</Tabs>
|
216
213
|
|
217
|
-
#### Concurrency control
|
218
|
-
|
219
|
-
You can pass the following arguments to `row()` to control the concurrency of the for-each operation:
|
220
|
-
|
221
|
-
* `max_inflight_rows`: the maximum number of concurrent inflight requests for the for-each operation.
|
222
|
-
* `max_inflight_bytes`: the maximum number of concurrent inflight bytes for the for-each operation.
|
223
|
-
We only take the number of bytes from this row before this for-each operation into account.
|
224
|
-
|
225
|
-
For example:
|
226
|
-
|
227
|
-
```python
|
228
|
-
@cocoindex.flow_def(name="DemoFlow")
|
229
|
-
def demo_flow(flow_builder: cocoindex.FlowBuilder, data_scope: cocoindex.DataScope):
|
230
|
-
...
|
231
|
-
with data_scope["table1"].row(max_inflight_rows=10, max_inflight_bytes=10*1024*1024) as table1_row:
|
232
|
-
# Children operations
|
233
|
-
table1_row["field2"] = table1_row["field1"].transform(DemoFunctionSpec(...))
|
234
|
-
```
|
235
214
|
|
236
215
|
### Get a sub field
|
237
216
|
|
@@ -380,6 +359,38 @@ doc_embeddings.export(
|
|
380
359
|
|
381
360
|
It will use `Staging__doc_embeddings` as the collection name if the current app namespace is `Staging`, and use `doc_embeddings` if the app namespace is empty.
|
382
361
|
|
362
|
+
### Control Processing Concurrency
|
363
|
+
|
364
|
+
You can control the concurrency of the processing by setting the following options:
|
365
|
+
|
366
|
+
* `max_inflight_rows`: the maximum number of concurrent inflight requests for the processing.
|
367
|
+
* `max_inflight_bytes`: the maximum number of concurrent inflight bytes for the processing.
|
368
|
+
|
369
|
+
These options can be passed in to the following APIs:
|
370
|
+
|
371
|
+
* [`FlowBuilder.add_source()`](#import-from-source): The options above control the processing concurrency of multiple rows from a source. New rows will not be loaded in memory if it'll be over the limit.
|
372
|
+
|
373
|
+
Besides, global limits on overall processing concurrency of all sources from all flows can be specified by [`GlobalExecutionOptions`](/docs/core/settings#globalexecutionoptions) or corresponding [environment variables](/docs/core/settings#list-of-environment-variables).
|
374
|
+
If both global and per-source limits are specified, both need to be satisfied to admit additional source rows.
|
375
|
+
|
376
|
+
* [`DataSlice.row()`](#for-each-row): The options above provides a finer-grained control, to limit the processing concurrency of multiple rows within a table at any level.
|
377
|
+
|
378
|
+
`max_inflight_bytes` only counts the number of bytes already existing in the current row before any further processing.
|
379
|
+
|
380
|
+
For example:
|
381
|
+
|
382
|
+
```py
|
383
|
+
@cocoindex.flow_def(name="DemoFlow")
|
384
|
+
def demo_flow(flow_builder: cocoindex.FlowBuilder, data_scope: cocoindex.DataScope):
|
385
|
+
data_scope["documents"] = flow_builder.add_source(
|
386
|
+
DemoSourceSpec(...), max_inflight_rows=10, max_inflight_bytes=100*1024*1024)
|
387
|
+
|
388
|
+
with data_scope["documents"].row() as doc:
|
389
|
+
doc["chunks"] = doc["content"].transform(SplitRecursively(...))
|
390
|
+
with doc["chunks"].row(max_inflight_rows=100) as chunk:
|
391
|
+
......
|
392
|
+
```
|
393
|
+
|
383
394
|
### Target Declarations
|
384
395
|
|
385
396
|
Most time a target is created by calling `export()` method on a collector, and this `export()` call comes with configurations needed for the target, e.g. options for storage indexes.
|