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 2405230 commit b8ff062Copy full SHA for b8ff062
examples/llm/README.md
@@ -1,3 +1,3 @@
1
-# Spin python Hello World
+# Spin python llm
2
3
-A simple example showcasing the return of a simple response to a request in the Spin Python SDK.
+A simple example showcasing the return of a simple LLM inferencing request with the Spin Python SDK.
examples/llm/app.py
@@ -3,7 +3,7 @@
4
5
def handle_request(request):
6
- prompt="You are a smart bot. What is a smart bots favorite joke?"
+ prompt="You are a stand up comedy writer. Tell me a joke."
7
result=llm_infer("llama2-chat", prompt)
8
return Response(200,
9
{"content-type": "text/plain"},
0 commit comments