Open bmikaili opened 11 months ago
i don't understand your issue
Let us say below is my document:
This is a test document. It has some content that I already wrote.
And then, I want to generate text using this plugin, and use the existing content of the document to generate/inform the text generation, how do I do that?
Am I supposed to write a custom template for this?
It should work
Seconding this @haouarihk ! Had a hard time getting it to recognize context or content. I tried both:
analyze the {{content}} of the current note for style and tone analyze the {{context}} of the current note for style and tone
And received:
[!ai]+ AI
I apologize, but I don't have access to the content of any specific note or document. Without the actual text of the email you're referring to, I can't analyze its style and tone. If you'd like me to analyze an email's style and tone, you would need to provide the content of that email. Once you do that, I can examine aspects like:
- Formality level
- Friendliness or professionalism
- Directness or indirectness
- Use of jargon or technical language
- Emotional tone (positive, neutral, negative)
- Length and complexity of sentences
- Use of active or passive voice
- Any notable rhetorical devices Please provide the content of the email if you'd like me to perform this analysis.
==
My template settings > {{context}} Variable Template also include the {{content}}:
Title: {{title}}
Starred Blocks: {{starredBlocks}}
Content: {{content}}
{{tg_selection}}
==
Realized after reading https://github.com/nhaouari/obsidian-textgenerator-plugin/discussions/137 that all i had to do was NOT select the instruction analyze the {{context}} of the current note for style and tone when generating and instead enter down one line and have a blank line for the cursor then click generate and it works.
this critical piece of info about an empty line should be more obvious in the docs about generate text since it's not mentioned anywhere i could find: https://docs.text-gen.com/_notes/2-+Options/Commands/Generate+Text
Hey, I fail to understand how to use this with existing text in a note. I have some text like this:
And then when my cursor is here, I want to generate text and use above as context. But it does not recognize the text as context. Templates don't work either. What am I doing wrong? I looked at the docs but found nothing about context.