versitile ooo
This commit is contained in:
@@ -16,10 +16,10 @@ if len(sys.argv) < 2:
|
|||||||
system_message = sys.argv[1]
|
system_message = sys.argv[1]
|
||||||
input_text = sys.stdin.read()
|
input_text = sys.stdin.read()
|
||||||
try:
|
try:
|
||||||
response = ollama.chat(model='llama3.1:8b', messages=[
|
response = ollama.chat(model='gemma3:4b', messages=[
|
||||||
{
|
{
|
||||||
'role': 'system',
|
'role': 'system',
|
||||||
'content': "You are a text transformer. Follow the folling instruction:\n\n" + system_message + "\n\nOnly output the transformed text. Do not add any addidional conversation around the output. Just the result.",
|
'content': system_message,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'role': 'user',
|
'role': 'user',
|
||||||
|
|||||||
Reference in New Issue
Block a user