cocoindex 0.1.78__cp312-cp312-win_amd64.whl → 0.1.79__cp312-cp312-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.
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=p4kka8JhCaUQDNCh5cKiBdHSlABWoRS9xhLZIWKIUPg,12012
2
- cocoindex-0.1.78.dist-info/WHEEL,sha256=UoHC5NvzY0geoE2r8Mxbl5fR5fYT9OeSzrhPCIC4-kQ,96
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=HrhfyXIkWY2tGFK11kg7vPCqhgh5DcxleloqdhrpyMY,11558
1
+ cocoindex-0.1.79.dist-info/METADATA,sha256=ss5ptw9gqKRYSf8CuJbBpoePFFtstCjY8WJFxsUNNRs,12012
2
+ cocoindex-0.1.79.dist-info/WHEEL,sha256=HF3aUMilrtO42xS_fBzOVaPE8OtiNjP_RotLatII7HM,96
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=HrhfyXIkWY2tGFK11kg7vPCqhgh5DcxleloqdhrpyMY,11558
5
5
  cocoindex/__init__.py,sha256=5zwuS_X-n7QAE5uBSufqXp77OW8KVVD8E5t_6koDLRc,2293
6
- cocoindex/_engine.cp312-win_amd64.pyd,sha256=W3wb8-azF8DpfINLMEGYBRG5UaoirJr7ScjA229uPhc,70312960
6
+ cocoindex/_engine.cp312-win_amd64.pyd,sha256=eW29jCX3ak6yg2X-ms9bgFjP1nTl5qXC5nakBuYJmjE,70320128
7
7
  cocoindex/auth_registry.py,sha256=Qq1IVZb-7K4luRrQSDlOPbISnGEZ4kIDsrCU8H2ARw0,1529
8
8
  cocoindex/cli.py,sha256=zjZv7EH-ZLoO1-3Ua2U7Yt3n2A_T7pN2NCuv7FB8WA0,23097
9
9
  cocoindex/convert.py,sha256=HVnnfanWxEeSiPq8SBrk9Tf6vXFHgD8LtBE-Umi5LcU,18793
@@ -11,11 +11,11 @@ cocoindex/flow.py,sha256=sZRe3wqwvZWPCdqtfNURCkPGCh3OMMeX6H1DX8NbhjM,37734
11
11
  cocoindex/functions.py,sha256=mKOYe-XozuOykrsmFE1cNLZjO2PlXiD6UfFEEHmuGT8,9826
12
12
  cocoindex/index.py,sha256=GrqTm1rLwICQ8hadtNvJAxVg7GWMvtMmFcbiNtNzmP0,569
13
13
  cocoindex/lib.py,sha256=cZosix4nwROvod4QJOwCzrm6U1CVy_wKMMk7sDDG_Z0,849
14
- cocoindex/llm.py,sha256=TDUyTxW7ooFmpA_jDNezABhReXksOXN8F8zY9aiuNTw,709
14
+ cocoindex/llm.py,sha256=JM5EPup7FZojynCI0rg4gnMBYmdPZpaHJbVBz3f7BAI,897
15
15
  cocoindex/op.py,sha256=NF6zonvcsFbjjOG1iEG9_cKIHGyj6X3MqGxenWJSOOY,23183
16
16
  cocoindex/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
17
  cocoindex/runtime.py,sha256=6mE-jR1Kh5c4GETDvBgwjXZq69TK5rh1qNpaseRDZnw,1117
18
- cocoindex/setting.py,sha256=4OZTXmJn0xsks_ySYmGzCn5atci2E_WU-2slhaQKJj4,5463
18
+ cocoindex/setting.py,sha256=048VfKRly9TzLElJlL01tUxySGtRbsc9m68yIHvMzMU,5464
19
19
  cocoindex/setup.py,sha256=KbJvmeFu0NbeoH-5iDmHZP86f26HIId8kHmGUNZAePI,3160
20
20
  cocoindex/sources.py,sha256=DEEfJGrz0eG9dFF-sjn7ddbebHfqPpbyN5KXYagbZ50,2152
21
21
  cocoindex/targets.py,sha256=7FfG9kuEf5KTXtLwXMFaPFIut3PsIbpb3XIEjjeF7Bg,2931
@@ -28,4 +28,4 @@ cocoindex/tests/test_validation.py,sha256=I4wr8lAMAjmy5xgG5N_OJKveXt8XIa96MsQTXh
28
28
  cocoindex/typing.py,sha256=gMNJIpGGe-SiXlihDQ-Dw2YdebQvOyG-bWovR-veO6g,13817
29
29
  cocoindex/utils.py,sha256=U3W39zD2uZpXX8v84tJD7sRmbC5ar3z_ljAP1cJrYXI,618
30
30
  cocoindex/validation.py,sha256=4ZjsW-SZT8X_TEEhEE6QG6D-8Oq_TkPAhTqP0mdFYSE,3194
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: cp312-cp312-win_amd64