nucliadb-models 6.5.0.post4502__py3-none-any.whl → 6.5.1.post4504__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.
nucliadb_models/search.py CHANGED
@@ -1033,6 +1033,10 @@ class ChatModel(BaseModel):
1033
1033
  default=True,
1034
1034
  description="If set to false, the prompt given as `user_prompt` will be used as is, without any formatting for question or context. If set to true, the prompt must contain the placeholders {question} and {context} to be replaced by the question and context respectively", # noqa: E501
1035
1035
  )
1036
+ seed: Optional[int] = Field(
1037
+ default=None,
1038
+ description="Seed use for the generative model for a deterministic output.",
1039
+ )
1036
1040
 
1037
1041
 
1038
1042
  class RephraseModel(BaseModel):
@@ -1623,6 +1627,11 @@ If empty, the default strategy is used, which simply adds the text of the matchi
1623
1627
  title="Generative model",
1624
1628
  description="The generative model to use for the chat endpoint. If not provided, the model configured for the Knowledge Box is used.", # noqa: E501
1625
1629
  )
1630
+ generative_model_seed: Optional[int] = Field(
1631
+ default=None,
1632
+ title="Seed for the generative model",
1633
+ description="The seed to use for the generative model for deterministic generation. Only supported by some models.",
1634
+ )
1626
1635
 
1627
1636
  max_tokens: Optional[Union[int, MaxTokens]] = Field(
1628
1637
  default=None,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nucliadb_models
3
- Version: 6.5.0.post4502
3
+ Version: 6.5.1.post4504
4
4
  Author-email: Nuclia <nucliadb@nuclia.com>
5
5
  License-Expression: Apache-2.0
6
6
  Project-URL: Homepage, https://nuclia.com
@@ -16,7 +16,7 @@ nucliadb_models/notifications.py,sha256=3w1HeX9F8nuA7WupHdpXIksX7d0bHO9ofmemYp4R
16
16
  nucliadb_models/processing.py,sha256=nhKuHQjqCdb9zJVkYGPTLub23tK9e_lwL5OCDVymZjY,719
17
17
  nucliadb_models/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
18
  nucliadb_models/resource.py,sha256=FkhwmbjoqQBGyKQIqa40WK2Vq3wtryZeIVWmJ4b-84g,9003
19
- nucliadb_models/search.py,sha256=Fp3NBytMbq4gA4o1ghhz3zU2r9BpGemLOVUCg2h-1fY,89216
19
+ nucliadb_models/search.py,sha256=hASQhuTXXqWqbq-A4wroviYL0JTf6WSTBOumLngpQbY,89612
20
20
  nucliadb_models/security.py,sha256=opxaDLfvk3aU0sjesK0jGrYLx5h4YCwlKKN0moYs_ig,1150
21
21
  nucliadb_models/synonyms.py,sha256=afbaVqSQSxGLwi2PusVaLSRpkOtA5AZmWOKd1f4nl2E,690
22
22
  nucliadb_models/text.py,sha256=kY2ub7AaGm-4vNaLX3Ju2VvRw-eKZ2LRdM9z7XCNaG0,2898
@@ -32,7 +32,7 @@ nucliadb_models/graph/responses.py,sha256=Sdq8OgFAL1YT-1lJyLLrkqcScvj7YTEqAUwQ-k
32
32
  nucliadb_models/internal/__init__.py,sha256=zG33bUz1rHFPtvqQPWn4rDwBJt3FJodGuQYD45quiQg,583
33
33
  nucliadb_models/internal/predict.py,sha256=Pnx6MmLfK65eExe1XnVxqmSlvMwdowewwks9BOEoqMw,2029
34
34
  nucliadb_models/internal/shards.py,sha256=__y1OZtWGiNcPQEWfSFOj8yw458WGi7mM4vZe0K-L1Y,1691
35
- nucliadb_models-6.5.0.post4502.dist-info/METADATA,sha256=4PY3E-YuMBFvqgm7lBJZIrskkRQ4Rz8lnrMlxnYEVog,776
36
- nucliadb_models-6.5.0.post4502.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
37
- nucliadb_models-6.5.0.post4502.dist-info/top_level.txt,sha256=UrY1I8oeovIRwkXLYplssTrxQdUjhSEFDFbnwaIV3tA,16
38
- nucliadb_models-6.5.0.post4502.dist-info/RECORD,,
35
+ nucliadb_models-6.5.1.post4504.dist-info/METADATA,sha256=mpPH9Mz0gFm1Ycddizvjz8V-662iUgnqK2V5AIP1DqE,776
36
+ nucliadb_models-6.5.1.post4504.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
37
+ nucliadb_models-6.5.1.post4504.dist-info/top_level.txt,sha256=UrY1I8oeovIRwkXLYplssTrxQdUjhSEFDFbnwaIV3tA,16
38
+ nucliadb_models-6.5.1.post4504.dist-info/RECORD,,