gllm-inference-binary 0.5.10b13__cp311-cp311-win_amd64.whl → 0.5.12__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.

@@ -10,14 +10,16 @@ from gllm_inference.schema import Attachment as Attachment, AttachmentType as At
10
10
  from langchain_core.tools import Tool as LangChainTool
11
11
  from typing import Any
12
12
 
13
- class _Key:
13
+ class Key:
14
14
  """Defines valid keys in LM invokers JSON schema."""
15
15
  ADDITIONAL_PROPERTIES: str
16
16
  ANY_OF: str
17
+ ARUN: str
17
18
  DATA_TYPE: str
18
19
  DATA_VALUE: str
19
20
  DEFAULT: str
20
21
  DESCRIPTION: str
22
+ FUNC: str
21
23
  FUNCTION: str
22
24
  META: str
23
25
  NAME: str
@@ -27,7 +29,7 @@ class _Key:
27
29
  TITLE: str
28
30
  TYPE: str
29
31
 
30
- class _InputType:
32
+ class InputType:
31
33
  """Defines valid input types in LM invokers JSON schema."""
32
34
  NULL: str
33
35
 
@@ -52,7 +52,7 @@ class OpenAICompatibleLMInvoker(BaseLMInvoker):
52
52
  ```
53
53
 
54
54
  Input types:
55
- The `OpenAICompatibleLMInvoker` supports the following input types: text, audio, and image.
55
+ The `OpenAICompatibleLMInvoker` supports the following input types: text, audio, document, and image.
56
56
  Non-text inputs can be passed as an `Attachment` object with the `user` role.
57
57
 
58
58
  Usage example:
@@ -9,6 +9,9 @@ class Key:
9
9
  DEFS: str
10
10
  DESCRIPTION: str
11
11
  EFFORT: str
12
+ FILE: str
13
+ FILE_DATA: str
14
+ FILENAME: str
12
15
  FINISH_REASON: str
13
16
  FORMAT: str
14
17
  FUNCTION: str
@@ -40,6 +43,7 @@ class Key:
40
43
 
41
44
  class InputType:
42
45
  """Defines valid input types in OpenAI compatible models."""
46
+ FILE: str
43
47
  FUNCTION: str
44
48
  IMAGE_URL: str
45
49
  INPUT_AUDIO: str
Binary file
gllm_inference.pyi CHANGED
@@ -92,6 +92,7 @@ import gllm_inference.schema.MessageRole
92
92
  import langchain_core.language_models
93
93
  import langchain_core.messages
94
94
  import litellm
95
+ import inspect
95
96
  import time
96
97
  import jsonschema
97
98
  import langchain_core.utils
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: gllm-inference-binary
3
- Version: 0.5.10b13
3
+ Version: 0.5.12
4
4
  Summary: A library containing components related to model inferences in Gen AI applications.
5
5
  Author: Henry Wicaksono
6
6
  Author-email: henry.wicaksono@gdplabs.id
@@ -38,8 +38,8 @@ gllm_inference/lm_invoker/datasaur_lm_invoker.pyi,sha256=c4H3TOz0LIhWjokCCdQ4asi
38
38
  gllm_inference/lm_invoker/google_lm_invoker.pyi,sha256=I3plg_oVuTl0hiShFBmCYPclP4gWbzU61xUSgon24Ew,17102
39
39
  gllm_inference/lm_invoker/langchain_lm_invoker.pyi,sha256=bBGOxJfjnzOtDR4kH4PuCiOCKEPu8rTqzZodTXCHQ2k,13522
40
40
  gllm_inference/lm_invoker/litellm_lm_invoker.pyi,sha256=HHwW7i8ryXHI23JZQwscyva6aPmPOB13Muhf7gaaMUM,13376
41
- gllm_inference/lm_invoker/lm_invoker.pyi,sha256=YNJ0Sh_BOl1WbC69xvuxWM75qyByXJSXAYWSwtQ84cc,7960
42
- gllm_inference/lm_invoker/openai_compatible_lm_invoker.pyi,sha256=U9dolHJT1pDsiiyrdpSAAdcBkil4_qeG_3BKfygq8GM,15193
41
+ gllm_inference/lm_invoker/lm_invoker.pyi,sha256=YjMqbJymd_5U8MOulGXxJDSWSoEx4CebwlWnwt4Wyc4,7988
42
+ gllm_inference/lm_invoker/openai_compatible_lm_invoker.pyi,sha256=JemahodhaUsC2gsI7YSxnW4X3uX1cU4YCFdIvdWWY88,15203
43
43
  gllm_inference/lm_invoker/openai_lm_invoker.pyi,sha256=SEHWAwpT8KmIQukurXtXOU2xyU2rp_HtM2SARsBF3dU,19892
44
44
  gllm_inference/lm_invoker/schema/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
45
45
  gllm_inference/lm_invoker/schema/anthropic.pyi,sha256=lGJ7xYLchdtv6003Is4GcaKiGdbmIOAzQsaldKG0Aww,1041
@@ -48,7 +48,7 @@ gllm_inference/lm_invoker/schema/datasaur.pyi,sha256=GLv6XAwKtWyRrX6EsbEufYjkPff
48
48
  gllm_inference/lm_invoker/schema/google.pyi,sha256=elXHrUMS46pbTsulk7hBXVVFcT022iD-_U_I590xeV8,529
49
49
  gllm_inference/lm_invoker/schema/langchain.pyi,sha256=uEG0DSD0z4L_rDMkBm-TtUy5oTyEHEEJWiLsYvFf1sw,431
50
50
  gllm_inference/lm_invoker/schema/openai.pyi,sha256=Cxp5QMkF6lspcVUgCNZR1qDK43Fj6OoEdOiQ1x5arsQ,1992
51
- gllm_inference/lm_invoker/schema/openai_compatible.pyi,sha256=FnRfc3CiqY-y6WmZqi2OhxOnNrZENBEXCmk2WPADkBQ,1157
51
+ gllm_inference/lm_invoker/schema/openai_compatible.pyi,sha256=fVLRIrOvLJjhY7qPUgC3HRFoOFa7XimWLjr2EOo5qmQ,1226
52
52
  gllm_inference/model/__init__.pyi,sha256=JKQB0wVSVYD-_tdRkG7N_oEVAKGCcoBw0BUOUMLieFo,602
53
53
  gllm_inference/model/em/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
54
54
  gllm_inference/model/em/google_em.pyi,sha256=c53H-KNdNOK9ppPLyOSkmCA890eF5FsMd05upkPIzF0,487
@@ -90,8 +90,8 @@ gllm_inference/utils/__init__.pyi,sha256=RBTWDu1TDPpTd17fixcPYFv2L_vp4-IAOX0Isxg
90
90
  gllm_inference/utils/langchain.pyi,sha256=4AwFiVAO0ZpdgmqeC4Pb5NJwBt8vVr0MSUqLeCdTscc,1194
91
91
  gllm_inference/utils/validation.pyi,sha256=-RdMmb8afH7F7q4Ao7x6FbwaDfxUHn3hA3WiOgzB-3s,397
92
92
  gllm_inference.build/.gitignore,sha256=aEiIwOuxfzdCmLZe4oB1JsBmCUxwG8x-u-HBCV9JT8E,1
93
- gllm_inference.cp311-win_amd64.pyd,sha256=FjM5JL0sBXC5xjFZ8g8-FJZ5OntuEZAstA8ggro0sSk,2732032
94
- gllm_inference.pyi,sha256=fsNCXXsB4E8WhP477yGq_QOJAfOyoZA4G2PfAMBav5Y,3324
95
- gllm_inference_binary-0.5.10b13.dist-info/METADATA,sha256=IyS2K3UVI8tMAXBpVFK5fWEgnvxaGFu9_Cl5HDdckhE,4535
96
- gllm_inference_binary-0.5.10b13.dist-info/WHEEL,sha256=-FZBVKyKauScY3vLa8vJR6hBCpAJfFykw2MOwlNKr1g,98
97
- gllm_inference_binary-0.5.10b13.dist-info/RECORD,,
93
+ gllm_inference.cp311-win_amd64.pyd,sha256=_qas3F4JhgIJYDD5h0pPKM0WYmmOrLuF-dG6T1qJ8es,2734592
94
+ gllm_inference.pyi,sha256=HKpIBBH4eG78VMFJinhhYVwVhZdE6DNA-viLpA7HIw4,3339
95
+ gllm_inference_binary-0.5.12.dist-info/METADATA,sha256=9B_Z5J3mbp5q_5wO_Xu3VX6w5HSnrI8wfoSckKH9CqA,4532
96
+ gllm_inference_binary-0.5.12.dist-info/WHEEL,sha256=-FZBVKyKauScY3vLa8vJR6hBCpAJfFykw2MOwlNKr1g,98
97
+ gllm_inference_binary-0.5.12.dist-info/RECORD,,