Publication dateMar 9, 2022
 Confidentiality public  Public 
 
Smart json transformer
 TASK 
Typing name :  TASK.gws_core.SmartJsonTransformer Brick :  gws_core Json transformer that uses AI  (OpenAI).
This task uses openAI API to generate python code that transforms a json.
This code is then automatically executed to apply transformation on the input json.
The structure of the json is transfered to OpenAI, not the json itself.
This is useful when you want to transform a json in a way that is not trivial.
 login
Input
JSON Dict
 Resource that holds a JSON dict 
logout
Output
JSON Dict
 Resource that holds a JSON dict 
Generated code
 Modified generated code that can be used in a python agent directly. 
settings
Configuration
Type : open_ai_chat_param Technical bricks to reuse or customize
Have you developed a brick?
 Share it to accelerate projects for the entire community.