You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"os.environ[\"OPENAI_API_KEY\"] = '' # specify your key here"
42
+
]
43
+
},
44
+
{
45
+
"cell_type": "code",
46
+
"source": [
47
+
"pip install pywhyllm"
48
+
],
49
+
"metadata": {
50
+
"collapsed": true,
51
+
"id": "83sxVcP97xlH"
52
+
},
53
+
"execution_count": null,
54
+
"outputs": []
55
+
},
56
+
{
57
+
"cell_type": "markdown",
58
+
"source": [
59
+
"Here we introduce the AugmentedModelSuggester class. Creating an instance of it enables the chosen LLM to utilize Retrieval Augmented Generation (RAG) to determine causality. It currently does this by searching the CauseNet dataset for a relevant causal pair and augmenting the LLM with the corresponding evidence/information stored in the dataset.\n",
60
+
"\n",
61
+
"CauseNet is a large-scale knowledge base of causal relations extracted from the web, created by Heindorf et al. (2020). CauseNet is available at [causenet.org](https://causenet.org) and is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0)."
"AugmentedModelSuggester can suggest the pairwise relationship given two variables. If a relevant causal pair is found in CauseNet, the LLM is augmented with the aforementioned information in CauseNet. If not found, by default, the LLM will rely on its own knowledge."
0 commit comments