Update service-worker.js

This commit is contained in:
Achiya Elyasaf
2024-10-20 20:52:09 +03:00
committed by GitHub
parent 3a09eb1432
commit 42960a01a2

View File

@@ -11,7 +11,7 @@ const defaultConfigurations = {
max_tokens: 512, max_tokens: 512,
messages: [{ messages: [{
role: 'system', role: 'system',
content: 'You are an assistant in a Latex editor that continues the given text. No need to rewrite the given text.' content: 'You are an assistant in a Latex editor, usually used for writing academic papers. Continues the given text. No need to rewrite the given text.'
}] }]
}, },
Improve: { Improve: {
@@ -23,7 +23,7 @@ const defaultConfigurations = {
Ask: { Ask: {
messages: [{ messages: [{
role: 'system', role: 'system',
content: 'You are an assistant in a Latex editor. Answer questions without introduction/explanations.' content: 'You are an assistant in a Latex editor, usually used for writing academic papers. Address the given questions/request without introduction/explanations.'
}] }]
} }
} }