(sap) fix after bot review

This commit is contained in:
Vasilisa Parshikova 2026-03-11 22:19:23 +04:00
parent 32bdc30174
commit a179728f18
2 changed files with 3 additions and 3 deletions

View file

@ -621,7 +621,7 @@ response = completion(model="sap/gpt-4o",
masking=masking_config)
print(response.choices[0].message.content)
###Data masking module also available for embedding
# Data masking module also available for embedding
response = embedding(model="sap/text-embedding-3-small",
input=mock_cv,
masking=masking_config)

View file

@ -284,7 +284,7 @@ class DPIMethodConstant(BaseModel):
"""
Replaces the entity with the specified value followed by an incrementing number
"""
method: str = "constant"
method: Literal["constant"] = "constant"
value: str
@ -292,7 +292,7 @@ class DPIMethodFabricatedData(BaseModel):
"""
Replaces the entity with a randomly generated value appropriate to its type.
"""
method: str = "fabricated_data"
method: Literal["fabricated_data"] = "fabricated_data"
class DPICustomEntity(BaseModel):