Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Summarize or use existing text #229

Open
bmikaili opened this issue Dec 23, 2023 · 3 comments
Open

Summarize or use existing text #229

bmikaili opened this issue Dec 23, 2023 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@bmikaili
Copy link

Hey, I fail to understand how to use this with existing text in a note. I have some text like this:

Commodo veniam cupidatat exercitation in cupidatat. Cupidatat cupidatat consequat elit amet ullamco non ipsum ex tempor mollit excepteur aute laboris sunt. Ullamco ut id aute nulla veniam labore ex eu est quis sit pariatur. Aliqua commodo consequat ex pariatur nisi laborum magna reprehenderit voluptate nulla ut. Reprehenderit aliquip enim labore sint consectetur ea. Nostrud cupidatat id adipisicing cillum velit ad enim ex non nisi sint enim non eu. Eu enim amet ullamco sunt et eiusmod. Laboris aliqua labore cupidatat deserunt exercitation cupidatat amet qui labore sunt.

Cillum sint cillum in eu non commodo ullamco pariatur. Ut non excepteur minim laboris cillum sint enim nulla nulla dolor do consequat amet nisi aute. Do magna reprehenderit labore do Lorem occaecat proident ex ipsum irure mollit. Ullamco nulla sit aute amet eiusmod et adipisicing minim dolore ad.

Exercitation aliquip nostrud in consequat magna officia id exercitation officia ullamco. Consectetur pariatur tempor aliquip. Sunt minim fugiat labore sunt esse do consequat pariatur ullamco minim ad velit incididunt Lorem. Labore sit adipisicing ut deserunt enim sit nulla in cillum ut minim. Magna nulla aute id ad id minim consequat anim. Deserunt fugiat nostrud sunt laborum sint cupidatat. Tempor anim do do adipisicing eu ad dolore irure pariatur consectetur.

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.

@haouarihk
Copy link
Collaborator

i don't understand your issue

@bmikaili
Copy link
Author

bmikaili commented Jan 3, 2024

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?

  • Do I select the text and run the generate text command? Doesn't work for me
  • Just place the cursor after my existing text and run the generate text command? Doesn't work for me

Am I supposed to write a custom template for this?

@haouarihk
Copy link
Collaborator

It should work

  • How do you validate its working
  • whats the version of the plugin you are using
  • whats the LLM provider you are using, if with custom config. Please provide the changes.
  • have you read about understanding context in the docs

@haouarihk haouarihk added the help wanted Extra attention is needed label Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants