Skip to content

armgit / dspy

Public Imported from GitHub
0

DSPy: The framework for programming—not prompting—language models

Python

Fix curl example

detaos9ed7ec4245bf
diff --git a/dsp/modules/hf_server.py b/dsp/modules/hf_server.py
index 23dc997a6..83d7728a5 100644
--- a/dsp/modules/hf_server.py
+++ b/dsp/modules/hf_server.py
@@ -2,7 +2,7 @@
# python -m dsp.modules.hf_server --port 4242 --model "google/flan-t5-base"
# To Query:
-# curl -d '{"query":"What is the answer to life, the universe, and everything?"}' \
+# curl -d '{"prompt":"What is the answer to life, the universe, and everything?"}' \
# -X POST "http://0.0.0.0:4242" \
# -H 'Content-Type: application/json'