llm-graph-builder icon indicating copy to clipboard operation
llm-graph-builder copied to clipboard

For Every API Form data is used

Open kartikpersistent opened this issue 11 months ago • 1 comments

We can use normal JSON format instead of form data if we use form data we need perform extra parsing to convert that to JSON which hinders the performance

Ex:

       context_list = [str(item).strip() for item in json.loads(context)] if context else []
       answer_list = [str(item).strip() for item in json.loads(answer)] if answer else []
       mode_list = [str(item).strip() for item in json.loads(mode)] if mode else [] 

kartikpersistent avatar Dec 20 '24 09:12 kartikpersistent