fizzbuzz example
modified: index.html
This commit is contained in:
parent
97ab88d312
commit
a8f2995ff5
1 changed files with 2 additions and 2 deletions
|
|
@ -61,7 +61,7 @@ client = OpenAI(base_url="https://hermes.ai.unturf.com/v1", api_key="none")
|
|||
MODEL = "NousResearch/Hermes-3-Llama-3.1-8B"
|
||||
|
||||
# Define your messages
|
||||
messages = [{"role": "user", "content": "Hello, how can I use Hermes?"}]
|
||||
messages = [{"role": "user", "content": "Give a Python Fizzbuzz solution in one line of code?"}]
|
||||
|
||||
# Make the request
|
||||
response = client.chat.completions.create(
|
||||
|
|
@ -84,7 +84,7 @@ client = OpenAI(base_url="https://hermes.ai.unturf.com/v1", api_key="none")
|
|||
MODEL = "NousResearch/Hermes-3-Llama-3.1-8B"
|
||||
|
||||
# Define your messages
|
||||
messages = [{"role": "user", "content": "Hello, how can I use Hermes?"}]
|
||||
messages = [{"role": "user", "content": "Give a Python Fizzbuzz solution in one line of code?"}]
|
||||
|
||||
# Make the streaming request
|
||||
response = client.chat.completions.create(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue