estiens / caterpillar_rails

Caterpillar is a harm reduction chatbot that allows people to get information about substances using natural language through a variety of channels (SMS, messenger, slack, etc)
MIT License
22 stars 1 forks source link

use pwiki for dosage info if available #11

Closed estiens closed 7 years ago

estiens commented 7 years ago

This creates a separate model for detailed dosage info pulled from Psychonaut Wiki if available and uses the PWiki service to create them.

If detailed dosage information is available, it uses it, otherwise it uses the string from TripSit. In both cases, if there are any strong warnings associated with the substance, it is returned with the dosage information.

estiens commented 7 years ago

Merging now, will try to DRY up presenter code later