Fixed README.md markdown errors.
This commit is contained in:
38
README.md
38
README.md
@@ -21,30 +21,30 @@ If you feel advanced, you can also change the request JSON sent to OpenAI and al
|
|||||||
To do that, go to the 'Advance Configuration' component in the configuration page. By default, the value is
|
To do that, go to the 'Advance Configuration' component in the configuration page. By default, the value is
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
openai: {
|
"openai": {
|
||||||
url: 'https://api.openai.com/v1/chat/completions',
|
"url": "https://api.openai.com/v1/chat/completions",
|
||||||
base: {
|
"base": {
|
||||||
n: 1,
|
"n": 1,
|
||||||
temperature: 0.5,
|
"temperature": 0.5,
|
||||||
model: 'gpt-3.5-turbo'
|
"model": "gpt-3.5-turbo"
|
||||||
},
|
},
|
||||||
Complete: {
|
"Complete": {
|
||||||
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 that 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"
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user