summaryrefslogtreecommitdiff
path: root/llm/causal.go
diff options
context:
space:
mode:
Diffstat (limited to 'llm/causal.go')
-rw-r--r--llm/causal.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/llm/causal.go b/llm/causal.go
new file mode 100644
index 0000000..296a744
--- /dev/null
+++ b/llm/causal.go
@@ -0,0 +1,5 @@
+package llm
+
+type Causal interface {
+ Generate(prompt []int64, steps int64, logits *[][]float32) ([]int64, error)
+}