Giter VIP home page Giter VIP logo

Comments (2)

shantanuSakpal avatar shantanuSakpal commented on July 28, 2024

hey, this is an interesting idea that i would like to work on. I have a few doubts,
you said "...could easily limit my chat in Obsidian to that specific file." -- what do you mean by "that file", do you mean the file that i uploaded or the file/note i am currently editing in obsidian
i think, having option of limiting the conversation to the file i am currently editing in obsidian would be a good option, as obsidian has the feature to drag and drop files in the editor, so if its possible then we can use that to extract text and do further operations on extracted text. this might save storage

Problem: currently web version supports pdf and images, but obsidian supports more types of files,
Solution: thought i am yet to see how exactly the file summaize function of khoj works, but it seems to only extract visible text from the doc/image, like tesseract, so i assume it should work on any file with text in it.

problem: however when the user switches the note, the context for khoj will also change
solution: we can store the extracted text , so that we can work with that untill user uses /summarize again in new note

from khoj.

sabaimran avatar sabaimran commented on July 28, 2024

Hey @shantanuSakpal , glad you're excited about it!

you said "...could easily limit my chat in Obsidian to that specific file." -- what do you mean by "that file", do you mean the file that i uploaded or the file/note i am currently editing in obsidian

Your intuition is correct, I was imagining it'd be useful to limit context to the file you're currently editing.

To store the context, as you're suggesting, one potential remedy is that a call to /summarize would keep that metadata in the chat history, but it would have to be limited to that chat then.

When a file is indexed by Khoj, it extracts & stores all the text. The summaries are generated based on a file's raw text.

from khoj.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.