Update user/dev document
Update dev/user document
Add get_perplexity function and update typos in user/dev doc