Closed flaviabeo closed 4 months ago
Can you assign this one to me?
seed will be solved by https://github.com/foundation-model-stack/fms-guardrails-orchestrator/issues/74#issuecomment-2166612166 because the bug is that it is calling TGIS with GREEDY
.
@pmcjr will fix this
seed
solved by https://github.com/foundation-model-stack/fms-guardrails-orchestrator/issues/74#issuecomment-2166612166 and warnings
actually behaving as expected.
Closing issue.
Describe the bug
When running functional tests, calling the
/api/v1/task/classification-with-text-generation
end point through:Platform
Please provide details about the environment you are using, including the following:
us.icr.io/cil15-shared-registry/fms-orchestr8:latest
Expected behavior
The previous response at v1.0 was:
Containing the
seed
andwarnings
fields, even when not populated. Seed needs to be populated when the request goes through the guardrails, and it's expected to have the same value as thetext_gen_parameters
sent in the request payload.Observed behavior
The actual response is:
Additional context
When no HAP or PII is found, the warning will be empty, but in the v1.0 the field was returned anyway. So the assertions regarding the fields containing within the response will break. Maybe think if it is mandatory to be at the response?