bramses / chatgpt-md

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

Is it possible to submit only the selected content to GPT, rather than the entire document? #90

Closed Mingzefei closed 1 year ago

Mingzefei commented 1 year ago

I think this feature is very important, especially when there is a lot of content in a document.

It might have already been implemented, but I haven't found it.

DeceptiveScorpion commented 1 year ago

@Mingzefei yes, this is possible.

To do this:

  1. You will need to disabled "Stream"
  2. Restart the plugin (disable and enabled) in the community plugins area.

image

lukemt commented 1 year ago

IMO If you disable streaming it just means that you get the responses slower, meaning: after the response has finished processing you get the whole response at once (but this takes longer)

but the requested feature is actually implemented in some way @Mingzefei you can see the discussion here: #50 and even more extensively here: #44

Mingzefei commented 1 year ago

@lukemt Yes, the content you mentioned is what I want. I will close this issue and join the discussion. Thank you!

Mingzefei commented 1 year ago

By the way, if someone wants to interact conveniently with selected content and GPT, you can refer to this project. It may not be as comprehensive as this project, but it could be the easiest way to meet the requirements of this issue. If you have a similar situation as mine, you might want to give this project a try.