Frequently Asked Questions

Revision as of 16:40, 9 April 2024 by Waghanna (talk | contribs)
How to set openFDA query options
Queries to the openFDA APIs are made up of search parameters.

Each parameter follows this syntax: field:term. Note that there is a colon : between the field to search, and the term to search for.

Search parameters are combined with an AND criteria

Keyword search terms will match any field

For phrase matches, use double quotation marks " " around the words. For example, "multiple+myeloma"

To group several terms together, use parentheses ( ).

For example, patient.drug.medicinalproduct:(cetirizine+OR+loratadine+OR+diphenhydramine). To join terms as in a boolean AND, use the term +AND+. For example, (patient.drug.medicinalproduct:(cetirizine+OR+loratadine+OR+diphenhydramine))+AND+serious:2 requires that any of the drug names match and that the field serious also match.

How to define effective AI prompts for analysis
Specify objectives clearly for targeted insights.

Use natural language for intuitive interactions.

Consider context for relevant prompts.

Offer guidance within prompts for effective queries.

Iterate prompts for continuous improvement.

Use ChatGPT or Gemini to optimize prompt structure.