cocoindex 0.1.52__cp311-cp311-win_amd64.whl → 0.1.54__cp311-cp311-win_amd64.whl
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/_engine.cp311-win_amd64.pyd +0 -0
- cocoindex/cli.py +6 -6
- cocoindex/convert.py +93 -46
- cocoindex/flow.py +3 -2
- cocoindex/functions.py +10 -0
- cocoindex/llm.py +3 -0
- cocoindex/tests/__init__.py +0 -1
- cocoindex/tests/test_convert.py +289 -58
- cocoindex/tests/test_typing.py +115 -77
- cocoindex/typing.py +76 -64
- {cocoindex-0.1.52.dist-info → cocoindex-0.1.54.dist-info}/METADATA +11 -10
- cocoindex-0.1.54.dist-info/RECORD +28 -0
- cocoindex-0.1.52.dist-info/RECORD +0 -28
- {cocoindex-0.1.52.dist-info → cocoindex-0.1.54.dist-info}/WHEEL +0 -0
- {cocoindex-0.1.52.dist-info → cocoindex-0.1.54.dist-info}/entry_points.txt +0 -0
- {cocoindex-0.1.52.dist-info → cocoindex-0.1.54.dist-info}/licenses/LICENSE +0 -0
@@ -1,12 +1,13 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: cocoindex
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.54
|
4
4
|
Requires-Dist: sentence-transformers>=3.3.1
|
5
5
|
Requires-Dist: click>=8.1.8
|
6
6
|
Requires-Dist: rich>=14.0.0
|
7
7
|
Requires-Dist: python-dotenv>=1.1.0
|
8
8
|
Requires-Dist: pytest ; extra == 'test'
|
9
9
|
Requires-Dist: ruff ; extra == 'dev'
|
10
|
+
Requires-Dist: pre-commit ; extra == 'dev'
|
10
11
|
Provides-Extra: test
|
11
12
|
Provides-Extra: dev
|
12
13
|
License-File: LICENSE
|
@@ -51,10 +52,10 @@ Unlike a workflow orchestration framework where data is usually opaque, in CocoI
|
|
51
52
|
|
52
53
|
```python
|
53
54
|
# import
|
54
|
-
data['content'] = flow_builder.add_source(...)
|
55
|
+
data['content'] = flow_builder.add_source(...)
|
55
56
|
|
56
57
|
# transform
|
57
|
-
data['out'] = data['content']
|
58
|
+
data['out'] = data['content']
|
58
59
|
.transform(...)
|
59
60
|
.transform(...)
|
60
61
|
|
@@ -75,17 +76,17 @@ As a data framework, CocoIndex takes it to the next level on data freshness. **I
|
|
75
76
|
The frameworks takes care of
|
76
77
|
- Change data capture.
|
77
78
|
- Figure out what exactly needs to be updated, and only updating that without having to recompute everything.
|
78
|
-
|
79
|
+
|
79
80
|
This makes it fast to reflect any source updates to the target store. If you have concerns with surfacing stale data to AI agents and are spending lots of efforts working on infra piece to optimize the latency, the framework actually handles it for you.
|
80
81
|
|
81
82
|
|
82
83
|
## Quick Start:
|
83
|
-
If you're new to CocoIndex, we recommend checking out
|
84
|
+
If you're new to CocoIndex, we recommend checking out
|
84
85
|
- 📖 [Documentation](https://cocoindex.io/docs)
|
85
86
|
- ⚡ [Quick Start Guide](https://cocoindex.io/docs/getting_started/quickstart)
|
86
|
-
- 🎬 [Quick Start Video Tutorial](https://youtu.be/gv5R8nOXsWU?si=9ioeKYkMEnYevTXT)
|
87
|
+
- 🎬 [Quick Start Video Tutorial](https://youtu.be/gv5R8nOXsWU?si=9ioeKYkMEnYevTXT)
|
87
88
|
|
88
|
-
### Setup
|
89
|
+
### Setup
|
89
90
|
|
90
91
|
1. Install CocoIndex Python library
|
91
92
|
|
@@ -155,8 +156,8 @@ It defines an index flow like this:
|
|
155
156
|
| [Google Drive Text Embedding](examples/gdrive_text_embedding) | Index text documents from Google Drive |
|
156
157
|
| [Docs to Knowledge Graph](examples/docs_to_knowledge_graph) | Extract relationships from Markdown documents and build a knowledge graph |
|
157
158
|
| [Embeddings to Qdrant](examples/text_embedding_qdrant) | Index documents in a Qdrant collection for semantic search |
|
158
|
-
| [FastAPI Server with Docker](examples/fastapi_server_docker) | Run the semantic search server in a Dockerized FastAPI setup |
|
159
|
-
| [Product Recommendation](examples/product_recommendation) | Build real-time product recommendations with LLM and graph database|
|
159
|
+
| [FastAPI Server with Docker](examples/fastapi_server_docker) | Run the semantic search server in a Dockerized FastAPI setup |
|
160
|
+
| [Product Recommendation](examples/product_recommendation) | Build real-time product recommendations with LLM and graph database|
|
160
161
|
| [Image Search with Vision API](examples/image_search) | Generates detailed captions for images using a vision model, embeds them, enables live-updating semantic search via FastAPI and served on a React frontend|
|
161
162
|
|
162
163
|
More coming and stay tuned 👀!
|
@@ -178,7 +179,7 @@ Join our community here:
|
|
178
179
|
- 📜 [Read our blog posts](https://cocoindex.io/blogs/)
|
179
180
|
|
180
181
|
## Support us:
|
181
|
-
We are constantly improving, and more features and examples are coming soon. If you love this project, please drop us a star ⭐ at GitHub repo [](https://github.com/cocoindex-io/cocoindex) to stay tuned and help us grow.
|
182
|
+
We are constantly improving, and more features and examples are coming soon. If you love this project, please drop us a star ⭐ at GitHub repo [](https://github.com/cocoindex-io/cocoindex) to stay tuned and help us grow.
|
182
183
|
|
183
184
|
## License
|
184
185
|
CocoIndex is Apache 2.0 licensed.
|
@@ -0,0 +1,28 @@
|
|
1
|
+
cocoindex-0.1.54.dist-info/METADATA,sha256=TRr4DnJhpbRQl8L4jiDknou6GIzG8mqor7n8bUsHRqw,10072
|
2
|
+
cocoindex-0.1.54.dist-info/WHEEL,sha256=s0dDfj2AxxVsNT4qxjje5WVH9nG_gFfyCM_ZRxv6bRM,96
|
3
|
+
cocoindex-0.1.54.dist-info/entry_points.txt,sha256=_NretjYVzBdNTn7dK-zgwr7YfG2afz1u1uSE-5bZXF8,46
|
4
|
+
cocoindex-0.1.54.dist-info/licenses/LICENSE,sha256=HrhfyXIkWY2tGFK11kg7vPCqhgh5DcxleloqdhrpyMY,11558
|
5
|
+
cocoindex/__init__.py,sha256=0cJBLw3MQX7MeuurZ49TV96zdKkSCva9atqxJZG0U2M,1853
|
6
|
+
cocoindex/_engine.cp311-win_amd64.pyd,sha256=heZNcDQIkPUzYqfVy6woMwQvRauBUn9Igrdl7dKq9bI,61539840
|
7
|
+
cocoindex/auth_registry.py,sha256=LojDKoX0ccO-G3bboFMlAti50_t5GK9BS0ouPJZfyUs,745
|
8
|
+
cocoindex/cli.py,sha256=wA0e-4cHaESp3K5b8R0xVS4Ic7svJh07CsSalgbpwOE,18798
|
9
|
+
cocoindex/convert.py,sha256=uRnb4U0PEg6HE8iCm4PSqoo1YwsxrGUro2leN1Sv1cs,10676
|
10
|
+
cocoindex/flow.py,sha256=H54uyDSrJ-akBrzv3Y-ncr2hCbSeg55FZ9tp_Wmt3Gs,30992
|
11
|
+
cocoindex/functions.py,sha256=1P8UhXlSS59zmBS0L7ltK0Elbo9VKw_T1M_O_ASGnWQ,2710
|
12
|
+
cocoindex/index.py,sha256=GrqTm1rLwICQ8hadtNvJAxVg7GWMvtMmFcbiNtNzmP0,569
|
13
|
+
cocoindex/lib.py,sha256=o2UGq3eWsZbK5nusZEU7Y0R6NTbT0i03G2ye8N6ATNg,3015
|
14
|
+
cocoindex/llm.py,sha256=zc-5o6qWo8KBXa6a533jbmad5QoSBtJL9b7bj9SFehY,453
|
15
|
+
cocoindex/op.py,sha256=Jk1KfRNBY4TEsbbhWHB5pEzNcMo_2T-FQR1Y75OUVhU,12143
|
16
|
+
cocoindex/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
17
|
+
cocoindex/runtime.py,sha256=saKEZntVwUVQNASRhiO9bHRVIFmQccemq2f9mo4mo1A,1090
|
18
|
+
cocoindex/setting.py,sha256=dRNdX-rPBn321zGx6GGoSMggS4F2879A6EBLOUbX8R4,3717
|
19
|
+
cocoindex/setup.py,sha256=nqJAEGQH-5yTulEy3aCAa9khbuiaqD81ZZUdeM3K_lo,799
|
20
|
+
cocoindex/sources.py,sha256=4hxsntuyClp_jKH4oZbx3iE3UM4P2bZTpWy28dqdyFY,1375
|
21
|
+
cocoindex/targets.py,sha256=7FfG9kuEf5KTXtLwXMFaPFIut3PsIbpb3XIEjjeF7Bg,2931
|
22
|
+
cocoindex/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
23
|
+
cocoindex/tests/test_convert.py,sha256=IAeURbm9C5GUNn50OyhRwfjEdZjkPG6crwEvqEapJ_o,37219
|
24
|
+
cocoindex/tests/test_optional_database.py,sha256=dnzmTgaJf37D3q8fQsjP5UDER6FYETaUokDnFBMLtIk,8755
|
25
|
+
cocoindex/tests/test_typing.py,sha256=6W2NQmyTj4LMuWegV5m4NVP2clVNrUa5eD28_3nwzjs,15300
|
26
|
+
cocoindex/typing.py,sha256=T5BsXOArgXK4yoDSh9Fo-dzXGYYgsnRhLVOH1Z_42Ig,12985
|
27
|
+
cocoindex/utils.py,sha256=U3W39zD2uZpXX8v84tJD7sRmbC5ar3z_ljAP1cJrYXI,618
|
28
|
+
cocoindex-0.1.54.dist-info/RECORD,,
|
@@ -1,28 +0,0 @@
|
|
1
|
-
cocoindex-0.1.52.dist-info/METADATA,sha256=w1y1PEmcaZ6TQ9zqEPUmEkONXE55pMJRLK_5q5fPI6c,10039
|
2
|
-
cocoindex-0.1.52.dist-info/WHEEL,sha256=s0dDfj2AxxVsNT4qxjje5WVH9nG_gFfyCM_ZRxv6bRM,96
|
3
|
-
cocoindex-0.1.52.dist-info/entry_points.txt,sha256=_NretjYVzBdNTn7dK-zgwr7YfG2afz1u1uSE-5bZXF8,46
|
4
|
-
cocoindex-0.1.52.dist-info/licenses/LICENSE,sha256=HrhfyXIkWY2tGFK11kg7vPCqhgh5DcxleloqdhrpyMY,11558
|
5
|
-
cocoindex/__init__.py,sha256=0cJBLw3MQX7MeuurZ49TV96zdKkSCva9atqxJZG0U2M,1853
|
6
|
-
cocoindex/_engine.cp311-win_amd64.pyd,sha256=aymIwk3rQfqt3IMqcoJ-oVlwNWZ0xZ5X8ZMKCvXJDkU,61372928
|
7
|
-
cocoindex/auth_registry.py,sha256=LojDKoX0ccO-G3bboFMlAti50_t5GK9BS0ouPJZfyUs,745
|
8
|
-
cocoindex/cli.py,sha256=G69aDjYiT6wWJIG2l-VQAslfdxVE_OmkWQzZdR3KXiw,18798
|
9
|
-
cocoindex/convert.py,sha256=3OInFkmwi8RxdyAJsCLEdMa8tmmnX0Q1I0JFsInXDLo,9037
|
10
|
-
cocoindex/flow.py,sha256=Dt6lzzhZgnnNbFOZ0smeDy6SlBCBofneoCBZ-T3rtIg,30983
|
11
|
-
cocoindex/functions.py,sha256=3l7POrvuk5DVIwGUgCODAi-JNFJ1_WLTOg6Yn-uZ0IE,2471
|
12
|
-
cocoindex/index.py,sha256=GrqTm1rLwICQ8hadtNvJAxVg7GWMvtMmFcbiNtNzmP0,569
|
13
|
-
cocoindex/lib.py,sha256=o2UGq3eWsZbK5nusZEU7Y0R6NTbT0i03G2ye8N6ATNg,3015
|
14
|
-
cocoindex/llm.py,sha256=sI46pXpTmOLOBOBpqCB2pnwDHz4PdVyEPBKZuIxObpU,372
|
15
|
-
cocoindex/op.py,sha256=Jk1KfRNBY4TEsbbhWHB5pEzNcMo_2T-FQR1Y75OUVhU,12143
|
16
|
-
cocoindex/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
17
|
-
cocoindex/runtime.py,sha256=saKEZntVwUVQNASRhiO9bHRVIFmQccemq2f9mo4mo1A,1090
|
18
|
-
cocoindex/setting.py,sha256=dRNdX-rPBn321zGx6GGoSMggS4F2879A6EBLOUbX8R4,3717
|
19
|
-
cocoindex/setup.py,sha256=nqJAEGQH-5yTulEy3aCAa9khbuiaqD81ZZUdeM3K_lo,799
|
20
|
-
cocoindex/sources.py,sha256=4hxsntuyClp_jKH4oZbx3iE3UM4P2bZTpWy28dqdyFY,1375
|
21
|
-
cocoindex/targets.py,sha256=7FfG9kuEf5KTXtLwXMFaPFIut3PsIbpb3XIEjjeF7Bg,2931
|
22
|
-
cocoindex/tests/__init__.py,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
23
|
-
cocoindex/tests/test_convert.py,sha256=tIOFqF2LzHvW7v5Ny-JWAUhzvpskDOedHKmOTrQpEUw,29774
|
24
|
-
cocoindex/tests/test_optional_database.py,sha256=dnzmTgaJf37D3q8fQsjP5UDER6FYETaUokDnFBMLtIk,8755
|
25
|
-
cocoindex/tests/test_typing.py,sha256=9Fc_GALPinF9PdVlaO1_fFLi12dc7cNaV8XJma0f-2s,12818
|
26
|
-
cocoindex/typing.py,sha256=geA2nOq_frf9NGB_XpNDOHTviAitRbgYH5OWQ59VOgQ,12780
|
27
|
-
cocoindex/utils.py,sha256=U3W39zD2uZpXX8v84tJD7sRmbC5ar3z_ljAP1cJrYXI,618
|
28
|
-
cocoindex-0.1.52.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|