nlmatics / llmsherpa

Developer APIs to Accelerate LLM Projects
https://www.nlmatics.com
MIT License
1.15k stars 113 forks source link

Converting request data structure to json explicitly #40

Open machallboyd opened 6 months ago

machallboyd commented 6 months ago

Fix for https://github.com/nlmatics/llmsherpa/issues/39, explicitly converting the python data structure to json, which should handle the None/null discrepancy.

ansukla commented 5 months ago

@machallboyd I looked at issue #39 and the problem there appers to be in parsing the response, but your PR is changing the request code. Please help me understand your changes better.