deployment.bff.app.v1.models.text_and_image module#

class deployment.bff.app.v1.models.text_and_image.NowTextImageIndexRequestModel(**data)[source]#

Bases: deployment.bff.app.v1.models.helper.BaseIndexRequestModel

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

texts: Optional[List[str]]#
images: Optional[List[str]]#
class deployment.bff.app.v1.models.text_and_image.NowTextImageSearchRequestModel(**data)[source]#

Bases: deployment.bff.app.v1.models.helper.BaseSearchRequestModel

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

image: Optional[str]#
text: Optional[str]#
class deployment.bff.app.v1.models.text_and_image.NowTextImageResponseModel(**data)[source]#

Bases: deployment.bff.app.v1.models.helper.BaseSearchResponseModel

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

text: Optional[str]#
blob: Optional[str]#