unique_sdk 0.10.2__py3-none-any.whl → 0.10.3__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.

Potentially problematic release.


This version of unique_sdk might be problematic. Click here for more details.

@@ -19,6 +19,7 @@ class Search(APIResource["Search"]):
19
19
  page: NotRequired[Optional[int]]
20
20
  metaDataFilter: NotRequired[Optional[dict[str, Any]]]
21
21
  contentIds: NotRequired[Optional[list[str]]]
22
+ scoreThreshold: NotRequired[Optional[float]]
22
23
 
23
24
  id: str
24
25
  chunkId: str
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unique_sdk
3
- Version: 0.10.2
3
+ Version: 0.10.3
4
4
  Summary:
5
5
  License: MIT
6
6
  Author: Martin Fadler
@@ -672,6 +672,7 @@ These are the options are available for `searchType`:
672
672
  `language` Optional. The language specification for full text search.
673
673
  `reranker` Optional. The reranker service to be used for re-ranking the search results.
674
674
  `chatId` Optional, adds the documents uploaded in this chat to the scope of searched documents.
675
+ `scoreThreshold` Optional, sets the minimum similarity score for search results to be considered. Using 0 is recommended.
675
676
 
676
677
  ```python
677
678
  search = unique_sdk.Search.create(
@@ -686,6 +687,7 @@ search = unique_sdk.Search.create(
686
687
  reranker={"deploymentName": "my_deployment"},
687
688
  limit=20,
688
689
  page=1
690
+ scoreThreshold=0
689
691
  )
690
692
  ```
691
693
 
@@ -1336,6 +1338,9 @@ All notable changes to this project will be documented in this file.
1336
1338
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1337
1339
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
1338
1340
 
1341
+ ## [0.10.3] - 2025-08-05
1342
+ - Expose scoreThreshold param for search.
1343
+
1339
1344
  ## [0.10.2] - 2025-08-05
1340
1345
  - Add script to chat against file.
1341
1346
 
@@ -24,7 +24,7 @@ unique_sdk/api_resources/_integrated.py,sha256=l1vS8kJiSLie61mqDO3KI2MNmYwFydmCI
24
24
  unique_sdk/api_resources/_mcp.py,sha256=jBHf89LrjdYKoMeKJHyzKWih870VvXvGIl7hpf8dGIU,3353
25
25
  unique_sdk/api_resources/_message.py,sha256=gEDIzg3METZU2k7m69meAuf0IWmZxnYOjbBKPRMwPYE,7688
26
26
  unique_sdk/api_resources/_message_assessment.py,sha256=SSfx6eW7zb_GKe8cFJzCqW-t-_eWEXxKP5cnIb0DhIc,2276
27
- unique_sdk/api_resources/_search.py,sha256=pAVMXL2AdJNP5JG-7LlaU2Uw1152iUaMZ2YO7fHnNWc,1906
27
+ unique_sdk/api_resources/_search.py,sha256=GQItZKoGNOVZfkLLltBmsRZYBIreRKU0lGW8Kgpj1_Q,1959
28
28
  unique_sdk/api_resources/_search_string.py,sha256=4Idw6exgZdA8qksz9WkiA68k1hTU-7yFkgT_OLU_GkE,1662
29
29
  unique_sdk/api_resources/_short_term_memory.py,sha256=vPRN-Y0WPx74E6y-A3LocGc0TxJdzT-xGL66WzZwKRg,2820
30
30
  unique_sdk/api_resources/_space.py,sha256=9e-_3oBr_25JeRLF7GfaXnIPE33tZ19g0UWxPp_yR4k,4805
@@ -33,7 +33,7 @@ unique_sdk/utils/chat_in_space.py,sha256=nYmgQYhIxqQex_6zjdCfNuGnjoU14WkxUN6_zmS
33
33
  unique_sdk/utils/file_io.py,sha256=YY8B7VJcTLOPmCXByiOfNerXGlAtjCC5EVNmAbQJ3dQ,4306
34
34
  unique_sdk/utils/sources.py,sha256=wfboE-neMKa0Wuq9QzfAEFMkNLrIrmm0v-QF33sLo6k,4952
35
35
  unique_sdk/utils/token.py,sha256=AzKuAA1AwBtnvSFxGcsHLpxXr_wWE5Mj4jYBbOz2ljA,1740
36
- unique_sdk-0.10.2.dist-info/LICENSE,sha256=EJCWoHgrXVBUb47PnjeV4MFIEOR71MAdCOIgv61J-4k,1065
37
- unique_sdk-0.10.2.dist-info/METADATA,sha256=L2sOYupGkEPz5rw9qOtVc5nUtjUBu14pgtC-CpLH9Os,44785
38
- unique_sdk-0.10.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
39
- unique_sdk-0.10.2.dist-info/RECORD,,
36
+ unique_sdk-0.10.3.dist-info/LICENSE,sha256=EJCWoHgrXVBUb47PnjeV4MFIEOR71MAdCOIgv61J-4k,1065
37
+ unique_sdk-0.10.3.dist-info/METADATA,sha256=DLYcik4T5KW-YGa0sZmFv_6N2luJtB9IJ5jXKy3XfmA,44996
38
+ unique_sdk-0.10.3.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
39
+ unique_sdk-0.10.3.dist-info/RECORD,,