Update service-worker.js

This commit is contained in:
Achiya Elyasaf
2024-10-20 20:49:51 +03:00
committed by GitHub
parent 32b11efa1a
commit 261a34484c

View File

@@ -11,19 +11,19 @@ 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 that continues the given text. No need to rewrite the given text.'
}] }]
}, },
Improve: { Improve: {
messages: [{ messages: [{
role: 'system', role: 'system',
content: 'You are an assistant in a Latex editor that improves the given text' content: 'You are an assistant in a Latex editor, usually used for writing academic papers. Style and improves the given text.'
}] }]
}, },
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. Answer questions without introduction/explanations.'
}] }]
} }
} }