mirror of
https://github.com/bitsofchris/openaugi-obsidian-plugin.git
synced 2026-07-22 05:46:42 +00:00
remove temperature
This commit is contained in:
parent
b2c38579a7
commit
0a4a278ad7
1 changed files with 3 additions and 6 deletions
|
|
@ -134,8 +134,7 @@ export class OpenAIService {
|
|||
body: JSON.stringify({
|
||||
model: this.model,
|
||||
messages: [{ role: 'user', content: prompt }],
|
||||
temperature: 0.2,
|
||||
max_tokens: 32768,
|
||||
max_completion_tokens: 32768,
|
||||
response_format: {
|
||||
type: "json_schema",
|
||||
json_schema: {
|
||||
|
|
@ -287,8 +286,7 @@ export class OpenAIService {
|
|||
body: JSON.stringify({
|
||||
model: this.model,
|
||||
messages: [{ role: 'user', content: prompt }],
|
||||
temperature: 0.2,
|
||||
max_tokens: 32768,
|
||||
max_completion_tokens: 32768,
|
||||
response_format: {
|
||||
type: "json_schema",
|
||||
json_schema: {
|
||||
|
|
@ -454,8 +452,7 @@ Return a single markdown blog post, ready to publish.`;
|
|||
body: JSON.stringify({
|
||||
model: this.model,
|
||||
messages: [{ role: 'user', content: prompt }],
|
||||
temperature: 0.7, // Higher temperature for more creative output
|
||||
max_tokens: 32768
|
||||
max_completion_tokens: 32768
|
||||
})
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue