bramses / chatgpt-md

A (nearly) seamless integration of ChatGPT into Obsidian.
MIT License
824 stars 61 forks source link

How to modify the output word count? 300 words are a bit too short. #3

Closed dumojun101 closed 1 year ago

dumojun101 commented 1 year ago

如何修改输出的字数,300字有点太短了;How to modify the output word count? 300 words are a bit too short.

bramses commented 1 year ago

@dumojun101 you can up the max tokens in the frontmatter to whatever you want! (As long as it's below the token limit, 4096)

Ex:


---
temperature: 0
top_p: 1
max_tokens: 900 <- w/e you want
presence_penalty: 1
frequency_penalty: 1
system_commands: ['Convert Data into Zettel Format leaving space for the user to be creative and write more thoughts. Just inspiring sentences with ellipsis.']
---