cocoindex 0.1.78__cp311-cp311-macosx_11_0_arm64.whl → 0.1.79__cp311-cp311-macosx_11_0_arm64.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.
Binary file
cocoindex/llm.py CHANGED
@@ -26,6 +26,16 @@ class VertexAiConfig:
26
26
  region: str | None = None
27
27
 
28
28
 
29
+ @dataclass
30
+ class OpenAiConfig:
31
+ """A specification for a OpenAI LLM."""
32
+
33
+ kind = "OpenAi"
34
+
35
+ org_id: str | None = None
36
+ project_id: str | None = None
37
+
38
+
29
39
  @dataclass
30
40
  class LlmSpec:
31
41
  """A specification for a LLM."""
@@ -33,4 +43,4 @@ class LlmSpec:
33
43
  api_type: LlmApiType
34
44
  model: str
35
45
  address: str | None = None
36
- api_config: VertexAiConfig | None = None
46
+ api_config: VertexAiConfig | OpenAiConfig | None = None
cocoindex/setting.py CHANGED
@@ -53,7 +53,7 @@ class GlobalExecutionOptions:
53
53
  """Global execution options."""
54
54
 
55
55
  # The maximum number of concurrent inflight requests, shared among all sources from all flows.
56
- source_max_inflight_rows: int | None = 256
56
+ source_max_inflight_rows: int | None = 1024
57
57
  source_max_inflight_bytes: int | None = None
58
58
 
59
59
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cocoindex
3
- Version: 0.1.78
3
+ Version: 0.1.79
4
4
  Requires-Dist: click>=8.1.8
5
5
  Requires-Dist: rich>=14.0.0
6
6
  Requires-Dist: python-dotenv>=1.1.0
@@ -1,9 +1,9 @@
1
- cocoindex-0.1.78.dist-info/METADATA,sha256=nnDzBVGk5BZqrwAIxbOJGO32-I5PdHswg5igu7WmNCM,11799
2
- cocoindex-0.1.78.dist-info/WHEEL,sha256=ZfdBJytWHFi2WZ1f_KKHwROhhQEId-N1oZJ4ZBt_MTs,104
3
- cocoindex-0.1.78.dist-info/entry_points.txt,sha256=_NretjYVzBdNTn7dK-zgwr7YfG2afz1u1uSE-5bZXF8,46
4
- cocoindex-0.1.78.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
1
+ cocoindex-0.1.79.dist-info/METADATA,sha256=1RyDQg5xjdf954JY3IBfZaAe5u6SQ2x-sDcPJDlSuPQ,11799
2
+ cocoindex-0.1.79.dist-info/WHEEL,sha256=FQD2wNSk7QdKfwuvlrA52DGgdDYb2Xq1PtLwlu6bv-w,104
3
+ cocoindex-0.1.79.dist-info/entry_points.txt,sha256=_NretjYVzBdNTn7dK-zgwr7YfG2afz1u1uSE-5bZXF8,46
4
+ cocoindex-0.1.79.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
5
5
  cocoindex/__init__.py,sha256=sLpSVO5Cotgn_82lawxvXnaqfa-qj33rytWBAe2MTtU,2201
6
- cocoindex/_engine.cpython-311-darwin.so,sha256=hN3WQ2S3dWP6unJ6x58ZxYBtsNsPPZxhW3liMUGgxWA,65150944
6
+ cocoindex/_engine.cpython-311-darwin.so,sha256=dy4JX1I8f_-4u4VOfVdCp-4kd9i_Pf7aonRhoIJBWws,65150848
7
7
  cocoindex/auth_registry.py,sha256=PE1-kVkcyC1G2C_V7b1kvYzeq73OFQehWKQP7ln7fJ8,1478
8
8
  cocoindex/cli.py,sha256=-gp639JSyQN6YjnhGqCakIzYoSSqXxQMbxbkcYGP0QY,22359
9
9
  cocoindex/convert.py,sha256=HodeDl1HVX8nnBH02lQKarw5i3xmkjB0nGj-DXt7Ifc,18284
@@ -11,11 +11,11 @@ cocoindex/flow.py,sha256=egKbBG2X9DjAqmcATcndyRhe9zMZHRd-YxKCpt9BsUg,36551
11
11
  cocoindex/functions.py,sha256=34sZWoS0zGnaKyooIODQgc6QEPZKiJoWhfb8jKIWwps,9528
12
12
  cocoindex/index.py,sha256=j93B9jEvvLXHtpzKWL88SY6wCGEoPgpsQhEGHlyYGFg,540
13
13
  cocoindex/lib.py,sha256=f--9dAYd84CZosbDZqNW0oGbBLsY3dXiUTR1VrfQ_QY,817
14
- cocoindex/llm.py,sha256=WxmWUbNcf9HOCM5xkbDeFs9lF67M3mr810B7deDDc-8,673
14
+ cocoindex/llm.py,sha256=Pv_cdnRngTLtuLU9AUmS8izIHhcKVnuBNolC33f9BDI,851
15
15
  cocoindex/op.py,sha256=EZ3QrDGJciYAxsqBeZOc3SstOL_34a6cke3WXWwz4-M,22538
16
16
  cocoindex/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
17
  cocoindex/runtime.py,sha256=povilB3HH3y1JF-yxKwU-pD8n2WnAqyQxIgvXXHNc60,1080
18
- cocoindex/setting.py,sha256=sGnpkZBAJ7AEm6zVEItGl6fMywgi4uBqZcYwhV19kio,5282
18
+ cocoindex/setting.py,sha256=n5ipJ_uMFZBh5-Ib_gyjOqS_XPXsQwTFVYEuSAnoscg,5283
19
19
  cocoindex/setup.py,sha256=7uIHKN4FOCuoidPXcKyGTrkqpkl9luL49-6UcnMxYzw,3068
20
20
  cocoindex/sources.py,sha256=69COA4qbZDipzGYfXv-WJSmicFkA509xIShRGDh6A0A,2083
21
21
  cocoindex/targets.py,sha256=Nfh_tpFd1goTnS_cxBjIs4j9zl3Z4Z1JomAQ1dl3Sic,2796
@@ -28,4 +28,4 @@ cocoindex/tests/test_validation.py,sha256=X6AQzVs-hVKIXcrHMEMQnhfUE8at7iXQnPq8nH
28
28
  cocoindex/typing.py,sha256=qQ0ANF3iuQDeSqipHgL2SDiiXL2reTMUN0aj4ve_T0w,13359
29
29
  cocoindex/utils.py,sha256=hUhX-XV6XGCtJSEIpBOuDv6VvqImwPlgBxztBTw7u0U,598
30
30
  cocoindex/validation.py,sha256=PZnJoby4sLbsmPv9fOjOQXuefjfZ7gmtsiTGU8SH-tc,3090
31
- cocoindex-0.1.78.dist-info/RECORD,,
31
+ cocoindex-0.1.79.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: maturin (1.9.2)
2
+ Generator: maturin (1.9.3)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp311-cp311-macosx_11_0_arm64