JJoeven

Exercises / llm

Parse a JSON action

parse_action(text) json.loads and returns obj['action'] if it is get_job or finish, else None. Print parse of a valid object and of prose.

Live Pythonpython
Output
Run to execute this in your browser. Nothing is sent to a server.