Description
In order to support serialization/deserialization of full LLM responses into DB we need to support Union in types properly:
It should also support nullable:
value: Union[str, int] | None
The union and Optional #1791 need to use similar approach. If needed Optional approach might be changed.
Version Info
Description
In order to support serialization/deserialization of full LLM responses into DB we need to support Union in types properly:
It should also support nullable:
The union and Optional #1791 need to use similar approach. If needed Optional approach might be changed.
Version Info