feat: ✨ Working PoC of the Dungeon Masters Vault
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
import dspy
|
||||
|
||||
|
||||
class ingestionSignature(dspy.Signature):
|
||||
"""You are going to be given dungeon masters notes, on session plans, recaps, npcs, players.
|
||||
You must summarize these document in one sentence
|
||||
You must summarize these document in one sentence
|
||||
and extract as many relevant tags aspossible as a JSON list:
|
||||
{{'synopsis': '...', 'tags': [...]}}\n\nDocument:\n{content}"
|
||||
/no_think
|
||||
@@ -18,6 +19,4 @@ class IngestionAgent(dspy.Module):
|
||||
def __init__(self):
|
||||
"""Initialize the Oracle with available expert tools."""
|
||||
# self.tools = []
|
||||
self.ingest = dspy.Predict(
|
||||
signature=ingestionSignature
|
||||
)
|
||||
self.ingest = dspy.Predict(signature=ingestionSignature)
|
||||
|
||||
Reference in New Issue
Block a user