ragbits-core 1.4.0.dev202601261217__py3-none-any.whl → 1.4.0.dev202601300258__py3-none-any.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.
- ragbits/core/llms/base.py +3 -0
- {ragbits_core-1.4.0.dev202601261217.dist-info → ragbits_core-1.4.0.dev202601300258.dist-info}/METADATA +1 -1
- {ragbits_core-1.4.0.dev202601261217.dist-info → ragbits_core-1.4.0.dev202601300258.dist-info}/RECORD +4 -4
- {ragbits_core-1.4.0.dev202601261217.dist-info → ragbits_core-1.4.0.dev202601300258.dist-info}/WHEEL +0 -0
ragbits/core/llms/base.py
CHANGED
|
@@ -244,6 +244,9 @@ class LLMResultStreaming(AsyncIterator[T]):
|
|
|
244
244
|
self.metadata: LLMResponseWithMetadata = item
|
|
245
245
|
if item.usage:
|
|
246
246
|
self.usage += item.usage
|
|
247
|
+
# Exhaust generator to let trace context managers close properly
|
|
248
|
+
async for _ in self._generator:
|
|
249
|
+
pass
|
|
247
250
|
raise StopAsyncIteration
|
|
248
251
|
case Usage():
|
|
249
252
|
self.usage += item
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ragbits-core
|
|
3
|
-
Version: 1.4.0.
|
|
3
|
+
Version: 1.4.0.dev202601300258
|
|
4
4
|
Summary: Building blocks for rapid development of GenAI applications
|
|
5
5
|
Project-URL: Homepage, https://github.com/deepsense-ai/ragbits
|
|
6
6
|
Project-URL: Bug Reports, https://github.com/deepsense-ai/ragbits/issues
|
{ragbits_core-1.4.0.dev202601261217.dist-info → ragbits_core-1.4.0.dev202601300258.dist-info}/RECORD
RENAMED
|
@@ -29,7 +29,7 @@ ragbits/core/embeddings/sparse/bag_of_tokens.py,sha256=j-NqGOwoec4ZK_hrYoX5BuTTv
|
|
|
29
29
|
ragbits/core/embeddings/sparse/base.py,sha256=MWrYTX3cc7ubAxAIi8pU6Lt2iRxuhVbOIJncAiTE5GA,1534
|
|
30
30
|
ragbits/core/embeddings/sparse/fastembed.py,sha256=CGZaIV4HF9JwHPi_9w099c9s4CNGV7rSuYULQChFlEk,3429
|
|
31
31
|
ragbits/core/llms/__init__.py,sha256=-XI2zHa-xt3EoQbgqMud_GCVZxBCQXGDMY62AAOOAGA,229
|
|
32
|
-
ragbits/core/llms/base.py,sha256=
|
|
32
|
+
ragbits/core/llms/base.py,sha256=sjdA96Izke3gdXM7fDf1JGaJXZ3-LsWALyEAFiiq3Sk,28461
|
|
33
33
|
ragbits/core/llms/exceptions.py,sha256=NpYYAhCMifHNDFWQpshjF9in_KCEmo6qlswPJca9ykc,2301
|
|
34
34
|
ragbits/core/llms/factory.py,sha256=T-heeY_7Llp5bOl6u9ycKK8ZwFnUE1ry4Q4X-O68hEQ,1506
|
|
35
35
|
ragbits/core/llms/litellm.py,sha256=KxsmL2gEvRaSrMuDCRYF4tBLOfLnxuzjy2PCElgl6x0,26272
|
|
@@ -74,6 +74,6 @@ ragbits/core/vector_stores/in_memory.py,sha256=igxIYmTSXOijYFsPolo5sbYzSgLBwF5Lt
|
|
|
74
74
|
ragbits/core/vector_stores/pgvector.py,sha256=_XPPfOsxiWkk6-ISLbrLRXw5sjcXizEA2Q_-YlqU7DQ,19944
|
|
75
75
|
ragbits/core/vector_stores/qdrant.py,sha256=7M41efCtD5dkJeWtPY8P62zdM6F6IDU72mlxlwTg6Zk,12817
|
|
76
76
|
ragbits/core/vector_stores/weaviate.py,sha256=Xfa9tDEEILuD7EMhk2vWPC_fewJqe1YXaNtPxnD59Ys,18989
|
|
77
|
-
ragbits_core-1.4.0.
|
|
78
|
-
ragbits_core-1.4.0.
|
|
79
|
-
ragbits_core-1.4.0.
|
|
77
|
+
ragbits_core-1.4.0.dev202601300258.dist-info/METADATA,sha256=n_vLtoagMx3GipdBgDVKHEBGOPhYMSv6LKQdlxhqtsg,5193
|
|
78
|
+
ragbits_core-1.4.0.dev202601300258.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
79
|
+
ragbits_core-1.4.0.dev202601300258.dist-info/RECORD,,
|
{ragbits_core-1.4.0.dev202601261217.dist-info → ragbits_core-1.4.0.dev202601300258.dist-info}/WHEEL
RENAMED
|
File without changes
|