Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AnomalyExplainer

Build Status

Environment Variables

This package leverages the IOM_newsAPI_query package and as such will need a news api key (ENV["NEWSAPIKEY"]="SecretKey").

This package also uses the openAI API and will need a key (ENV["OPENAI_API_KEY"]="AnotherSecret")

Example

using AnomalyExplainer
using Dates

ENV["NEWSAPIKEY"]="SecretKey"
ENV["OPENAI_API_KEY"]="AnotherSecret"

explain_anomaly("There has been a recent spike in google share price. Does this article mention anything that could have affected the shock price of google? Begin the answer with a 'Yes' or a 'no'.", ["google"], (today()-Day(3), today()))

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages