llm-graph-builder
llm-graph-builder copied to clipboard
For Every API Form data is used
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 []