gllm-inference-binary 0.4.55__cp311-cp311-win_amd64.whl → 0.4.56__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.
Potentially problematic release.
This version of gllm-inference-binary might be problematic. Click here for more details.
- gllm_inference/lm_invoker/datasaur_lm_invoker.pyi +6 -1
- gllm_inference/lm_invoker/litellm_lm_invoker.pyi +4 -1
- gllm_inference/lm_invoker/schema/datasaur.pyi +8 -0
- gllm_inference.cp311-win_amd64.pyd +0 -0
- {gllm_inference_binary-0.4.55.dist-info → gllm_inference_binary-0.4.56.dist-info}/METADATA +1 -1
- {gllm_inference_binary-0.4.55.dist-info → gllm_inference_binary-0.4.56.dist-info}/RECORD +7 -6
- {gllm_inference_binary-0.4.55.dist-info → gllm_inference_binary-0.4.56.dist-info}/WHEEL +0 -0
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
2
|
from gllm_core.event import EventEmitter as EventEmitter
|
|
3
3
|
from gllm_core.utils.retry import RetryConfig as RetryConfig
|
|
4
|
+
from gllm_inference.constants import ALL_EXTENSIONS as ALL_EXTENSIONS, DOCUMENT_MIME_TYPES as DOCUMENT_MIME_TYPES
|
|
4
5
|
from gllm_inference.lm_invoker.openai_compatible_lm_invoker import OpenAICompatibleLMInvoker as OpenAICompatibleLMInvoker
|
|
5
|
-
from gllm_inference.schema import
|
|
6
|
+
from gllm_inference.lm_invoker.schema.datasaur import InputType as InputType, Key as Key
|
|
7
|
+
from gllm_inference.schema import Attachment as Attachment, AttachmentType as AttachmentType, LMOutput as LMOutput, ModelId as ModelId, ModelProvider as ModelProvider, MultimodalPrompt as MultimodalPrompt, ResponseSchema as ResponseSchema, ToolCall as ToolCall, ToolResult as ToolResult
|
|
6
8
|
from langchain_core.tools import Tool as Tool
|
|
7
9
|
from typing import Any
|
|
8
10
|
|
|
11
|
+
VALID_EXTENSIONS_MAP: Incomplete
|
|
12
|
+
|
|
9
13
|
class DatasaurLMInvoker(OpenAICompatibleLMInvoker):
|
|
10
14
|
'''A language model invoker to interact with Datasaur LLM Projects Deployment API.
|
|
11
15
|
|
|
@@ -32,6 +36,7 @@ class DatasaurLMInvoker(OpenAICompatibleLMInvoker):
|
|
|
32
36
|
1. Text.
|
|
33
37
|
2. Audio, with extensions depending on the language model\'s capabilities.
|
|
34
38
|
3. Image, with extensions depending on the language model\'s capabilities.
|
|
39
|
+
4. Document, with extensions depending on the language model\'s capabilities.
|
|
35
40
|
Non-text inputs must be of valid file extensions and can be passed as an `Attachment` object.
|
|
36
41
|
|
|
37
42
|
Non-text inputs can only be passed with the `user` role.
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
2
|
from gllm_core.event import EventEmitter as EventEmitter
|
|
3
3
|
from gllm_core.utils.retry import RetryConfig as RetryConfig
|
|
4
|
+
from gllm_inference.constants import ALL_EXTENSIONS as ALL_EXTENSIONS
|
|
4
5
|
from gllm_inference.lm_invoker.openai_compatible_lm_invoker import OpenAICompatibleLMInvoker as OpenAICompatibleLMInvoker
|
|
5
|
-
from gllm_inference.schema import ModelId as ModelId, ModelProvider as ModelProvider, MultimodalOutput as MultimodalOutput, ResponseSchema as ResponseSchema
|
|
6
|
+
from gllm_inference.schema import AttachmentType as AttachmentType, ModelId as ModelId, ModelProvider as ModelProvider, MultimodalOutput as MultimodalOutput, ResponseSchema as ResponseSchema
|
|
6
7
|
from langchain_core.tools import Tool as Tool
|
|
7
8
|
from typing import Any
|
|
8
9
|
|
|
10
|
+
VALID_EXTENSIONS_MAP: Incomplete
|
|
11
|
+
|
|
9
12
|
class LiteLLMLMInvoker(OpenAICompatibleLMInvoker):
|
|
10
13
|
'''A language model invoker to interact with language models using LiteLLM.
|
|
11
14
|
|
|
Binary file
|
|
@@ -36,18 +36,19 @@ gllm_inference/lm_invoker/__init__.pyi,sha256=wGT8tJ5kPO2xEERxiT-Jv8tj9sHiGCuS93
|
|
|
36
36
|
gllm_inference/lm_invoker/anthropic_lm_invoker.pyi,sha256=381s9JhhudTEmIy67JLDHE2QjYoINV-Nrz4aG1I6m1Y,16959
|
|
37
37
|
gllm_inference/lm_invoker/azure_openai_lm_invoker.pyi,sha256=qVtQ_yDty92yuUpS8NFoNCs-DUfvAgLY7hv1UL5lHyc,15638
|
|
38
38
|
gllm_inference/lm_invoker/bedrock_lm_invoker.pyi,sha256=HqHKW7aa8A7GluEEnvjLS1kiYnJ5OJDk9pw284pNacI,12963
|
|
39
|
-
gllm_inference/lm_invoker/datasaur_lm_invoker.pyi,sha256=
|
|
39
|
+
gllm_inference/lm_invoker/datasaur_lm_invoker.pyi,sha256=TLCnURHgUUJEqNq1QomTqMobhjVE9ZwuK0cFxGg150M,9620
|
|
40
40
|
gllm_inference/lm_invoker/google_generativeai_lm_invoker.pyi,sha256=HmqsQWOqY4gNGovzsgSv_mWDoCFG-HRmawJ3yO4HRCE,3950
|
|
41
41
|
gllm_inference/lm_invoker/google_lm_invoker.pyi,sha256=3cqotnLyoPD94bWmYGSGPjKuoiAe_f7vV9uzzNwkS2s,17858
|
|
42
42
|
gllm_inference/lm_invoker/google_vertexai_lm_invoker.pyi,sha256=ZbLPTMIcaPHa-n86RXdnjQsNvFe_rH0OeCtCJIXBIu8,4325
|
|
43
43
|
gllm_inference/lm_invoker/langchain_lm_invoker.pyi,sha256=qBdM00PXboVTJFWpJAY9Q5AL4Epleaa5YhVpnuGVgaE,14583
|
|
44
|
-
gllm_inference/lm_invoker/litellm_lm_invoker.pyi,sha256=
|
|
44
|
+
gllm_inference/lm_invoker/litellm_lm_invoker.pyi,sha256=6im6Gxf6KTMufGixg6QTatWH49Xu3xMqpPesM_-4rVA,11108
|
|
45
45
|
gllm_inference/lm_invoker/lm_invoker.pyi,sha256=iXRR7ynYuJw1eRYdgfYWcDIJ21CXhK-WrKETveCSp_c,8115
|
|
46
46
|
gllm_inference/lm_invoker/openai_compatible_lm_invoker.pyi,sha256=878KijA-lTADeghHFEnNzUymXyvJ_uVIrmNtYiPbzrg,13464
|
|
47
47
|
gllm_inference/lm_invoker/openai_lm_invoker.pyi,sha256=iiHh5obnEjJ7cq_qDGqKmxH2on9_swEktaI6krqE5HE,20523
|
|
48
48
|
gllm_inference/lm_invoker/schema/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
49
49
|
gllm_inference/lm_invoker/schema/anthropic.pyi,sha256=MJHHyqMGQgj9tURyewuVlmxHxiAzU9qzmJEiK5IUoWw,1020
|
|
50
50
|
gllm_inference/lm_invoker/schema/bedrock.pyi,sha256=H3attoGWhBA725W4FpXw7Mty46N9jHKjw9PT-0lMEJs,975
|
|
51
|
+
gllm_inference/lm_invoker/schema/datasaur.pyi,sha256=T9PPX_7JijUgm87eIJOkrO01DzZc4JC5_I3lSriguC0,168
|
|
51
52
|
gllm_inference/lm_invoker/schema/google.pyi,sha256=AJQsFGKzowXfpSvorSco90aWXqgw9N0M8fInn_JN-X4,464
|
|
52
53
|
gllm_inference/lm_invoker/schema/langchain.pyi,sha256=qYiQvzUw0xZa4ii-qyRCFTuIY7j0MREY6QgV1_DfkGk,391
|
|
53
54
|
gllm_inference/lm_invoker/schema/openai.pyi,sha256=CNkIGljwRyQYx0krONX1ik9hwBiN45t9vBk-ZY45rP4,1989
|
|
@@ -97,8 +98,8 @@ gllm_inference/utils/openai_multimodal_lm_helper.pyi,sha256=oolyuXA5S9Njft6E15Th
|
|
|
97
98
|
gllm_inference/utils/retry.pyi,sha256=gEHkFUmzX8CCkvFrXPYhFuoZ_iq0a210TBiRU88ZHbA,80
|
|
98
99
|
gllm_inference/utils/utils.pyi,sha256=N1fum4TLEsIYsdnK8y6fVxDDF5WT_MnLP9FSJUsjcGQ,6159
|
|
99
100
|
gllm_inference.build/.gitignore,sha256=aEiIwOuxfzdCmLZe4oB1JsBmCUxwG8x-u-HBCV9JT8E,1
|
|
100
|
-
gllm_inference.cp311-win_amd64.pyd,sha256=
|
|
101
|
+
gllm_inference.cp311-win_amd64.pyd,sha256=rg96FztNtHI1d4zxFcNCjTPzo1RN96cMLcKZZtO2XSg,3403776
|
|
101
102
|
gllm_inference.pyi,sha256=RXY-iU4LtaxXcr06kRZpT9i9hRw_C65c51U-PAHH6go,4985
|
|
102
|
-
gllm_inference_binary-0.4.
|
|
103
|
-
gllm_inference_binary-0.4.
|
|
104
|
-
gllm_inference_binary-0.4.
|
|
103
|
+
gllm_inference_binary-0.4.56.dist-info/METADATA,sha256=3YCUKrCoTN-LYD8t9XOXXYX_YTTHLjS4PnUHupxSsOQ,4917
|
|
104
|
+
gllm_inference_binary-0.4.56.dist-info/WHEEL,sha256=-FZBVKyKauScY3vLa8vJR6hBCpAJfFykw2MOwlNKr1g,98
|
|
105
|
+
gllm_inference_binary-0.4.56.dist-info/RECORD,,
|
|
File without changes
|