cocoindex 0.1.78__cp312-cp312-manylinux_2_28_x86_64.whl → 0.1.79__cp312-cp312-manylinux_2_28_x86_64.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.cpython-312-x86_64-linux-gnu.so +0 -0
- cocoindex/llm.py +11 -1
- cocoindex/setting.py +1 -1
- {cocoindex-0.1.78.dist-info → cocoindex-0.1.79.dist-info}/METADATA +1 -1
- {cocoindex-0.1.78.dist-info → cocoindex-0.1.79.dist-info}/RECORD +8 -8
- {cocoindex-0.1.78.dist-info → cocoindex-0.1.79.dist-info}/WHEEL +1 -1
- {cocoindex-0.1.78.dist-info → cocoindex-0.1.79.dist-info}/entry_points.txt +0 -0
- {cocoindex-0.1.78.dist-info → cocoindex-0.1.79.dist-info}/licenses/LICENSE +0 -0
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 =
|
56
|
+
source_max_inflight_rows: int | None = 1024
|
57
57
|
source_max_inflight_bytes: int | None = None
|
58
58
|
|
59
59
|
|
@@ -1,9 +1,9 @@
|
|
1
|
-
cocoindex-0.1.
|
2
|
-
cocoindex-0.1.
|
3
|
-
cocoindex-0.1.
|
4
|
-
cocoindex-0.1.
|
1
|
+
cocoindex-0.1.79.dist-info/METADATA,sha256=1RyDQg5xjdf954JY3IBfZaAe5u6SQ2x-sDcPJDlSuPQ,11799
|
2
|
+
cocoindex-0.1.79.dist-info/WHEEL,sha256=agcEWikPie1qUk10ElUHI4WcN5vs5MjhJbp7oethB0A,108
|
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-312-x86_64-linux-gnu.so,sha256=
|
6
|
+
cocoindex/_engine.cpython-312-x86_64-linux-gnu.so,sha256=wOmweA_mrr2KX_41KXrVfwbCLS9rcGoYP2tJ1Esx3vE,71022048
|
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=
|
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=
|
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.
|
31
|
+
cocoindex-0.1.79.dist-info/RECORD,,
|
File without changes
|
File without changes
|