human
Convert a String representation of a Dictionary to a dictionary?
assistant
Here is some code to build a dict of key:value pairs from a string representation of a dict, `{'muffin' : 'lolz', 'foo' : 'kitty'}`

ast.literal_eval("{'muffin' : 'lolz', 'foo' : 'kitty'}")

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.