We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a744798 commit d33f767Copy full SHA for d33f767
docs/examples/rag/mellea_pdf.py
@@ -0,0 +1,15 @@
1
+import mellea
2
+from mellea.stdlib.docs.richdocument import RichDocument
3
+
4
+m = mellea.start_session()
5
6
+doc = RichDocument.from_document_file(
7
+ "https://www.fs.usda.gov/foresthealth/docs/fidls/FIDL-78-ArmillariaRootDisease.pdf"
8
+)
9
10
+print(
11
+ m.instruct(
12
+ "Determine whether the mellea fungus only feeds on dead or weakened trees, thereby improving forest health",
13
+ grounding_context={"usfs": doc},
14
+ ).value
15
0 commit comments