devika icon indicating copy to clipboard operation
devika copied to clipboard

Terminal/ASCII based browser

Open PlanetMacro opened this issue 1 year ago • 2 comments

Is your feature request related to a problem?

Using Search Engine APIs can be expensive and you need to create accounts and hence share data and become third party dependent.

Describe the solution you'd like

ASCII/Terminal based browser can be used for normal web browsing / search engines without APIs or screenshots. LLMs are usually good in extracting relevant data from ASCII based browsers. Implement a lightweight ASCII based browser like W3M, Links2 or eLinks and such and make the machine use that for web search.

PlanetMacro avatar Apr 14 '24 11:04 PlanetMacro

This is a great idea! Can anyone give me an outline of how to do this?

On Sun, Apr 14, 2024 at 7:33 AM Robert Paulson @.***> wrote:

Is your feature request related to a problem?

Using Search Engine APIs can be expensive and you need to create accounts and hence share data and become third party dependent. Describe the solution you'd like

ASCII/Terminal based browser can be used for normal web browsing / search engines without APIs. LLMs are usually good in extracting relevant data from ASCII based browsers. Implement a lightweight ASCII based browser like W3M, Links2 or eLinks and such and make the machine use that for web search.

— Reply to this email directly, view it on GitHub https://github.com/stitionai/devika/issues/440, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFACJ5XYT4GB7XJZCW5KZH3Y5JSR7AVCNFSM6AAAAABGGEIZZ2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2DEMJRGA2TGMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

cafeTechne avatar Apr 15 '24 02:04 cafeTechne

If you are willing to spend 20-30 $ you can utilize the large token window of Claude 3 and use https://github.com/mufeedvh/code2prompt to upload the entire code base into claude 3 opus. From experience, it will not be able to tell you exactly what to do, but it will very likely put your awareness to the right parts of the code without you needed to learn the full code base.

The biggest obstacle would be to find a way that the LLM agent can use the ascii browser to open links from the ascii browser. This should ultimately be necessary though, to actively crawl the web.

PlanetMacro avatar Apr 15 '24 10:04 PlanetMacro