cocoindex 0.1.45__tar.gz → 0.1.46__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.45 → cocoindex-0.1.46}/.github/workflows/docs.yml +6 -20
- {cocoindex-0.1.45 → cocoindex-0.1.46}/Cargo.lock +1 -1
- {cocoindex-0.1.45 → cocoindex-0.1.46}/Cargo.toml +1 -1
- {cocoindex-0.1.45 → cocoindex-0.1.46}/PKG-INFO +1 -1
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/docs/core/flow_def.mdx +1 -1
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/docs/ops/functions.md +11 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/docs/ops/sources.md +1 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/docs/ops/storages.md +31 -3
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/docusaurus.config.ts +5 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/package.json +4 -4
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/yarn.lock +1477 -1712
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/amazon_s3_embedding/main.py +45 -22
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/code_embedding/main.py +2 -1
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/image_search/README.md +2 -1
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/ops/functions/split_recursively.rs +320 -104
- {cocoindex-0.1.45 → cocoindex-0.1.46}/.cargo/config.toml +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/.env.lib_debug +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/.github/ISSUE_TEMPLATE//360/237/220/233-bug-report.md" +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/.github/ISSUE_TEMPLATE//360/237/222/241-feature-request.md" +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/.github/scripts/update_version.sh +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/.github/workflows/CI.yml +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/.github/workflows/_test.yml +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/.github/workflows/release.yml +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/.gitignore +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/.vscode/settings.json +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/CODE_OF_CONDUCT.md +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/CONTRIBUTING.md +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/LICENSE +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/README.md +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/dev/neo4j.yaml +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/dev/postgres.yaml +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/.gitignore +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/README.md +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/docs/about/community.md +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/docs/about/contributing.md +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/docs/ai/llm.mdx +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/docs/core/basics.md +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/docs/core/cli.mdx +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/docs/core/custom_function.mdx +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/docs/core/data_example.svg +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/docs/core/data_types.mdx +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/docs/core/flow_example.svg +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/docs/core/flow_methods.mdx +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/docs/core/settings.mdx +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/docs/getting_started/installation.md +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/docs/getting_started/markdown_files.zip +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/docs/getting_started/overview.md +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/docs/getting_started/quickstart.md +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/docs/query.mdx +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/sidebars.ts +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/src/components/HomepageFeatures/index.tsx +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/src/components/HomepageFeatures/styles.module.css +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/src/css/custom.css +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/src/theme/Root.js +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/static/.nojekyll +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/static/img/docusaurus.png +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/static/img/favicon.ico +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/static/img/icon.svg +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/static/robots.txt +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/docs/tsconfig.json +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/amazon_s3_embedding/.env.example +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/amazon_s3_embedding/.gitignore +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/amazon_s3_embedding/README.md +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/amazon_s3_embedding/pyproject.toml +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/code_embedding/.env +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/code_embedding/README.md +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/code_embedding/pyproject.toml +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/docs_to_knowledge_graph/.env +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/docs_to_knowledge_graph/README.md +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/docs_to_knowledge_graph/main.py +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/docs_to_knowledge_graph/pyproject.toml +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/fastapi_server_docker/.dockerignore +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/fastapi_server_docker/.env +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/fastapi_server_docker/README.md +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/fastapi_server_docker/compose.yaml +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/fastapi_server_docker/dockerfile +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/fastapi_server_docker/files/1810.04805v2.md +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/fastapi_server_docker/main.py +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/fastapi_server_docker/requirements.txt +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/gdrive_text_embedding/.env.example +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/gdrive_text_embedding/.gitignore +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/gdrive_text_embedding/README.md +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/gdrive_text_embedding/main.py +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/gdrive_text_embedding/pyproject.toml +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/image_search/.env +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/image_search/frontend/.gitignore +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/image_search/frontend/index.html +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/image_search/frontend/package-lock.json +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/image_search/frontend/package.json +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/image_search/frontend/src/App.jsx +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/image_search/frontend/src/main.jsx +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/image_search/frontend/src/style.css +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/image_search/frontend/vite.config.js +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/image_search/img/cat1.jpeg +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/image_search/img/dog1.jpeg +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/image_search/img/elephant1.jpg +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/image_search/img/giraffe.jpg +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/image_search/main.py +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/image_search/pyproject.toml +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/image_search/requirements.txt +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/manuals_llm_extraction/.env +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/manuals_llm_extraction/README.md +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/manuals_llm_extraction/main.py +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/manuals_llm_extraction/manuals/array.pdf +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/manuals_llm_extraction/manuals/base64.pdf +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/manuals_llm_extraction/manuals/copy.pdf +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/manuals_llm_extraction/manuals/glob.pdf +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/manuals_llm_extraction/pyproject.toml +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/pdf_embedding/.env +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/pdf_embedding/README.md +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/pdf_embedding/main.py +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/pdf_embedding/pdf_files/1706.03762v7.pdf +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/pdf_embedding/pdf_files/1810.04805v2.pdf +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/pdf_embedding/pdf_files/rfc8259.pdf +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/pdf_embedding/pyproject.toml +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/product_recommendation/.env +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/product_recommendation/README.md +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/product_recommendation/img/cocoinsight.png +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/product_recommendation/img/neo4j.png +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/product_recommendation/main.py +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/product_recommendation/products/p1.json +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/product_recommendation/products/p2.json +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/product_recommendation/products/p3.json +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/product_recommendation/products/p4.json +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/product_recommendation/products/p5.json +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/product_recommendation/products/p6.json +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/product_recommendation/products/p7.json +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/product_recommendation/products/p8.json +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/product_recommendation/products/p9.json +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/product_recommendation/pyproject.toml +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/text_embedding/.env +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/text_embedding/README.md +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/text_embedding/Text_Embedding.ipynb +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/text_embedding/main.py +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/text_embedding/markdown_files/1706.03762v7.md +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/text_embedding/markdown_files/1810.04805v2.md +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/text_embedding/markdown_files/rfc8259.md +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/text_embedding/pyproject.toml +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/text_embedding_qdrant/.env +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/text_embedding_qdrant/README.md +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/text_embedding_qdrant/main.py +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/text_embedding_qdrant/markdown_files/rfc8259.md +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/examples/text_embedding_qdrant/pyproject.toml +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/pyproject.toml +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/python/cocoindex/__init__.py +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/python/cocoindex/auth_registry.py +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/python/cocoindex/cli.py +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/python/cocoindex/convert.py +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/python/cocoindex/flow.py +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/python/cocoindex/functions.py +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/python/cocoindex/index.py +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/python/cocoindex/lib.py +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/python/cocoindex/llm.py +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/python/cocoindex/op.py +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/python/cocoindex/py.typed +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/python/cocoindex/query.py +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/python/cocoindex/runtime.py +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/python/cocoindex/setting.py +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/python/cocoindex/setup.py +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/python/cocoindex/sources.py +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/python/cocoindex/storages.py +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/python/cocoindex/tests/__init__.py +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/python/cocoindex/tests/test_convert.py +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/python/cocoindex/typing.py +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/python/cocoindex/utils.py +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/ruff.toml +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/base/duration.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/base/field_attrs.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/base/json_schema.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/base/mod.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/base/schema.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/base/spec.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/base/value.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/builder/analyzed_flow.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/builder/analyzer.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/builder/flow_builder.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/builder/mod.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/builder/plan.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/execution/db_tracking.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/execution/db_tracking_setup.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/execution/dumper.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/execution/evaluator.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/execution/indexing_status.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/execution/live_updater.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/execution/memoization.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/execution/mod.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/execution/query.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/execution/row_indexer.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/execution/source_indexer.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/execution/stats.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/lib.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/lib_context.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/llm/anthropic.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/llm/gemini.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/llm/mod.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/llm/ollama.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/llm/openai.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/ops/factory_bases.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/ops/functions/extract_by_llm.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/ops/functions/mod.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/ops/functions/parse_json.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/ops/interface.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/ops/mod.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/ops/py_factory.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/ops/registration.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/ops/registry.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/ops/sdk.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/ops/sources/amazon_s3.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/ops/sources/google_drive.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/ops/sources/local_file.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/ops/sources/mod.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/ops/storages/kuzu.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/ops/storages/mod.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/ops/storages/neo4j.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/ops/storages/postgres.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/ops/storages/qdrant.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/ops/storages/shared/mod.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/ops/storages/shared/property_graph.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/ops/storages/shared/table_columns.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/prelude.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/py/convert.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/py/mod.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/server.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/service/error.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/service/flows.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/service/mod.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/service/search.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/settings.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/setup/auth_registry.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/setup/components.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/setup/db_metadata.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/setup/driver.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/setup/mod.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/setup/states.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/utils/db.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/utils/fingerprint.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/utils/immutable.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/utils/mod.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/utils/retryable.rs +0 -0
- {cocoindex-0.1.45 → cocoindex-0.1.46}/src/utils/yaml_ser.rs +0 -0
@@ -22,22 +22,15 @@ jobs:
|
|
22
22
|
runs-on: ubuntu-latest
|
23
23
|
steps:
|
24
24
|
- uses: actions/checkout@v4
|
25
|
-
with:
|
26
|
-
fetch-depth: 0
|
27
|
-
sparse-checkout: docs
|
28
|
-
path: src-staging
|
29
|
-
- name: Move docs
|
30
|
-
run: |
|
31
|
-
shopt -s dotglob
|
32
|
-
mv src-staging/docs/* .
|
33
25
|
- uses: actions/setup-node@v4
|
34
26
|
with:
|
35
27
|
node-version: 18
|
36
28
|
cache: yarn
|
29
|
+
cache-dependency-path: docs/yarn.lock
|
37
30
|
- name: Install dependencies
|
38
|
-
run: yarn install --frozen-lockfile
|
31
|
+
run: yarn --cwd docs install --frozen-lockfile
|
39
32
|
- name: Test build website
|
40
|
-
run: yarn build
|
33
|
+
run: yarn --cwd docs build
|
41
34
|
|
42
35
|
deploy-precheck:
|
43
36
|
if: ${{ github.event_name != 'pull_request' }}
|
@@ -59,18 +52,11 @@ jobs:
|
|
59
52
|
environment: docs-release
|
60
53
|
steps:
|
61
54
|
- uses: actions/checkout@v4
|
62
|
-
with:
|
63
|
-
fetch-depth: 0
|
64
|
-
sparse-checkout: docs
|
65
|
-
path: src-staging
|
66
|
-
- name: Move docs
|
67
|
-
run: |
|
68
|
-
shopt -s dotglob
|
69
|
-
mv src-staging/docs/* .
|
70
55
|
- uses: actions/setup-node@v4
|
71
56
|
with:
|
72
57
|
node-version: 18
|
73
58
|
cache: yarn
|
59
|
+
cache-dependency-path: docs/yarn.lock
|
74
60
|
- uses: webfactory/ssh-agent@v0.5.0
|
75
61
|
with:
|
76
62
|
ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }}
|
@@ -84,5 +70,5 @@ jobs:
|
|
84
70
|
export COCOINDEX_DOCS_ALGOLIA_API_KEY=${{ vars.COCOINDEX_DOCS_ALGOLIA_API_KEY }}
|
85
71
|
git config --global user.email "${{ vars.COCOINDEX_DOCS_DEPLOY_USER_EMAIL }}"
|
86
72
|
git config --global user.name "${{ vars.COCOINDEX_DOCS_DEPLOY_USER_NAME }}"
|
87
|
-
yarn install --frozen-lockfile
|
88
|
-
yarn deploy
|
73
|
+
yarn --cwd docs install --frozen-lockfile
|
74
|
+
yarn --cwd docs deploy
|
@@ -348,7 +348,7 @@ It will use `Staging__doc_embeddings` as the collection name if the current app
|
|
348
348
|
Most time a target storage is created by calling `export()` method on a collector, and this `export()` call comes with configurations needed for the target storage, e.g. options for storage indexes.
|
349
349
|
Occasionally, you may need to specify some configurations for target storage out of the context of any specific data collector.
|
350
350
|
|
351
|
-
For example, for graph database targets like `Neo4j`, you may have a data collector to export data to
|
351
|
+
For example, for graph database targets like `Neo4j` and `Kuzu`, you may have a data collector to export data to relationships, which will create nodes referenced by various relationships in turn.
|
352
352
|
These nodes don't directly come from any specific data collector (consider relationships from different data collectors may share the same nodes).
|
353
353
|
To specify configurations for these nodes, you can *declare* spec for related node labels.
|
354
354
|
|
@@ -26,6 +26,17 @@ Input data:
|
|
26
26
|
|
27
27
|
* `text` (type: `str`, required): The text to split.
|
28
28
|
* `chunk_size` (type: `int`, required): The maximum size of each chunk, in bytes.
|
29
|
+
* `min_chunk_size` (type: `int`, optional): The minimum size of each chunk, in bytes. If not provided, default to `chunk_size / 2`.
|
30
|
+
|
31
|
+
:::note
|
32
|
+
|
33
|
+
`SplitRecursively` will do its best to make the output chunks sized between `min_chunk_size` and `chunk_size`.
|
34
|
+
However, it's possible that some chunks are smaller than `min_chunk_size` or larger than `chunk_size` in rare cases, e.g. too short input text, or non-splittable large text.
|
35
|
+
|
36
|
+
Please avoid setting `min_chunk_size` to a value too close to `chunk_size`, to leave more rooms for the function to plan the optimal chunking.
|
37
|
+
|
38
|
+
:::
|
39
|
+
|
29
40
|
* `chunk_overlap` (type: `int`, optional): The maximum overlap size between adjacent chunks, in bytes.
|
30
41
|
* `language` (type: `str`, optional): The language of the document.
|
31
42
|
Can be a langauge name (e.g. `Python`, `Javascript`, `Markdown`) or a file extension (e.g. `.py`, `.js`, `.md`).
|
@@ -391,6 +391,12 @@ graph TD
|
|
391
391
|
classDef node font-size:8pt,text-align:left,stroke-width:2;
|
392
392
|
```
|
393
393
|
|
394
|
+
#### Examples
|
395
|
+
|
396
|
+
You can find end-to-end examples fitting into any of supported property graphs in the following directories:
|
397
|
+
* [examples/docs_to_knowledge_graph](https://github.com/cocoindex-io/cocoindex/tree/main/examples/docs_to_knowledge_graph)
|
398
|
+
* [examples/product_recommendation](https://github.com/cocoindex-io/cocoindex/tree/main/examples/product_recommendation)
|
399
|
+
|
394
400
|
### Neo4j
|
395
401
|
|
396
402
|
If you don't have a Neo4j database, you can start a Neo4j database using our docker compose config:
|
@@ -407,14 +413,14 @@ Please read and agree the license before starting the instance.
|
|
407
413
|
|
408
414
|
:::
|
409
415
|
|
410
|
-
The `Neo4j`
|
416
|
+
The `Neo4j` target spec takes the following fields:
|
411
417
|
|
412
418
|
* `connection` (type: [auth reference](../core/flow_def#auth-registry) to `Neo4jConnectionSpec`): The connection to the Neo4j database. `Neo4jConnectionSpec` has the following fields:
|
413
419
|
* `url` (type: `str`): The URI of the Neo4j database to use as the internal storage, e.g. `bolt://localhost:7687`.
|
414
420
|
* `user` (type: `str`): Username for the Neo4j database.
|
415
421
|
* `password` (type: `str`): Password for the Neo4j database.
|
416
422
|
* `db` (type: `str`, optional): The name of the Neo4j database to use as the internal storage, e.g. `neo4j`.
|
417
|
-
* `mapping` (type: `
|
423
|
+
* `mapping` (type: `Nodes | Relationships`): The mapping from collected row to nodes or relationships of the graph. For either [nodes to export](#nodes-to-export) or [relationships to export](#relationships-to-export).
|
418
424
|
|
419
425
|
Neo4j also provides a declaration spec `Neo4jDeclaration`, to configure indexing options for nodes only referenced by relationships. It has the following fields:
|
420
426
|
|
@@ -424,4 +430,26 @@ Neo4j also provides a declaration spec `Neo4jDeclaration`, to configure indexing
|
|
424
430
|
* `primary_key_fields` (required)
|
425
431
|
* `vector_indexes` (optional)
|
426
432
|
|
427
|
-
|
433
|
+
### Kuzu
|
434
|
+
|
435
|
+
CocoIndex supports talking to Kuzu through its [API server](https://github.com/kuzudb/api-server).
|
436
|
+
You can bring up a Kuzu API server locally by running:
|
437
|
+
|
438
|
+
```bash
|
439
|
+
KUZU_DB_DIR=$HOME/.kuzudb
|
440
|
+
KUZU_PORT=8123
|
441
|
+
docker run -d --name kuzu -p ${KUZU_PORT}:8000 -v ${KUZU_DB_DIR}:/database kuzudb/api-server:latest
|
442
|
+
```
|
443
|
+
|
444
|
+
The `Kuzu` target spec takes the following fields:
|
445
|
+
|
446
|
+
* `connection` (type: [auth reference](../core/flow_def#auth-registry) to `KuzuConnectionSpec`): The connection to the Kuzu database. `KuzuConnectionSpec` has the following fields:
|
447
|
+
* `api_server_url` (type: `str`): The URL of the Kuzu API server, e.g. `http://localhost:8123`.
|
448
|
+
* `mapping` (type: `Nodes | Relationships`): The mapping from collected row to nodes or relationships of the graph. For either [nodes to export](#nodes-to-export) or [relationships to export](#relationships-to-export).
|
449
|
+
|
450
|
+
Kuzu also provides a declaration spec `KuzuDeclaration`, to configure indexing options for nodes only referenced by relationships. It has the following fields:
|
451
|
+
|
452
|
+
* `connection` (type: auth reference to `KuzuConnectionSpec`)
|
453
|
+
* Fields for [nodes to declare](#declare-extra-node-labels), including
|
454
|
+
* `nodes_label` (required)
|
455
|
+
* `primary_key_fields` (required)
|
@@ -86,6 +86,11 @@ const config: Config = {
|
|
86
86
|
// Replace with your project's social card
|
87
87
|
image: 'img/social-card.jpg',
|
88
88
|
metadata: [{ name: 'description', content: 'Official documentation for CocoIndex - Learn how to use CocoIndex to build robust data indexing pipelines for AI applications. Comprehensive guides, API references, and best practices for implementing efficient data processing workflows.' }],
|
89
|
+
colorMode: {
|
90
|
+
defaultMode: 'light',
|
91
|
+
disableSwitch: false,
|
92
|
+
respectPrefersColorScheme: true,
|
93
|
+
},
|
89
94
|
navbar: {
|
90
95
|
title: 'CocoIndex',
|
91
96
|
logo: {
|
@@ -15,10 +15,10 @@
|
|
15
15
|
"typecheck": "tsc"
|
16
16
|
},
|
17
17
|
"dependencies": {
|
18
|
-
"@docusaurus/core": "3.
|
19
|
-
"@docusaurus/plugin-client-redirects": "^3.
|
20
|
-
"@docusaurus/preset-classic": "3.
|
21
|
-
"@docusaurus/theme-mermaid": "^3.
|
18
|
+
"@docusaurus/core": "^3.8.0",
|
19
|
+
"@docusaurus/plugin-client-redirects": "^3.8.0",
|
20
|
+
"@docusaurus/preset-classic": "^3.8.0",
|
21
|
+
"@docusaurus/theme-mermaid": "^3.8.0",
|
22
22
|
"@mdx-js/react": "^3.0.0",
|
23
23
|
"clsx": "^2.0.0",
|
24
24
|
"mixpanel-browser": "^2.59.0",
|