Manas Agarwal

12 posts

Manas Agarwal

Manas Agarwal

@hereismanas

Engineering, @promptql

Bangalore, IN Katılım Aralık 2021
46 Takip Edilen39 Takipçiler
Manas Agarwal retweetledi
Rajoshi
Rajoshi@rajoshighosh·
Meet PromptQL: Multiplayer AI workspace for your team --> outputs a shared wiki. Shared context builds as you work; exactly how @karpathy describes it. Teach a concept once--> the system learns --> everyone benefits. We've been using it internally and it's been a game-changer for keeping up with AI-speed work. promptql.io
GIF
Andrej Karpathy@karpathy

LLM Knowledge Bases Something I'm finding very useful recently: using LLMs to build personal knowledge bases for various topics of research interest. In this way, a large fraction of my recent token throughput is going less into manipulating code, and more into manipulating knowledge (stored as markdown and images). The latest LLMs are quite good at it. So: Data ingest: I index source documents (articles, papers, repos, datasets, images, etc.) into a raw/ directory, then I use an LLM to incrementally "compile" a wiki, which is just a collection of .md files in a directory structure. The wiki includes summaries of all the data in raw/, backlinks, and then it categorizes data into concepts, writes articles for them, and links them all. To convert web articles into .md files I like to use the Obsidian Web Clipper extension, and then I also use a hotkey to download all the related images to local so that my LLM can easily reference them. IDE: I use Obsidian as the IDE "frontend" where I can view the raw data, the the compiled wiki, and the derived visualizations. Important to note that the LLM writes and maintains all of the data of the wiki, I rarely touch it directly. I've played with a few Obsidian plugins to render and view data in other ways (e.g. Marp for slides). Q&A: Where things get interesting is that once your wiki is big enough (e.g. mine on some recent research is ~100 articles and ~400K words), you can ask your LLM agent all kinds of complex questions against the wiki, and it will go off, research the answers, etc. I thought I had to reach for fancy RAG, but the LLM has been pretty good about auto-maintaining index files and brief summaries of all the documents and it reads all the important related data fairly easily at this ~small scale. Output: Instead of getting answers in text/terminal, I like to have it render markdown files for me, or slide shows (Marp format), or matplotlib images, all of which I then view again in Obsidian. You can imagine many other visual output formats depending on the query. Often, I end up "filing" the outputs back into the wiki to enhance it for further queries. So my own explorations and queries always "add up" in the knowledge base. Linting: I've run some LLM "health checks" over the wiki to e.g. find inconsistent data, impute missing data (with web searchers), find interesting connections for new article candidates, etc., to incrementally clean up the wiki and enhance its overall data integrity. The LLMs are quite good at suggesting further questions to ask and look into. Extra tools: I find myself developing additional tools to process the data, e.g. I vibe coded a small and naive search engine over the wiki, which I both use directly (in a web ui), but more often I want to hand it off to an LLM via CLI as a tool for larger queries. Further explorations: As the repo grows, the natural desire is to also think about synthetic data generation + finetuning to have your LLM "know" the data in its weights instead of just context windows. TLDR: raw data from a given number of sources is collected, then compiled by an LLM into a .md wiki, then operated on by various CLIs by the LLM to do Q&A and to incrementally enhance the wiki, and all of it viewable in Obsidian. You rarely ever write or edit the wiki manually, it's the domain of the LLM. I think there is room here for an incredible new product instead of a hacky collection of scripts.

English
0
7
14
1.6K
Manas Agarwal retweetledi
Santiago
Santiago@svpino·
Models with a long context window will never kill RAG applications. Companies have data everywhere: structured databases, local files, spreadsheets, no-sql databases, cloud documents, etc. You can't just take it all and give it to a model, so we'll always need a way to find the relevant context before we answer a question. But I do believe RAG will change dramatically from what we do today. I can't say more right now because I need a bit more time to digest this, but I'll post more about this on Monday. It's cool. I promise!
English
21
18
244
48.6K
Manas Agarwal retweetledi
Ashwini ☯
Ashwini ☯@AshwiniGaddagi·
@Navimumpolice, @KarnatakaCops, @GKforKPSC @CyberHelplineToday I experienced a cybercrime where I was falsely accused of several serious illegal things using my private information and threatening me. Although I didn’t lose any money nor shared any bank details, I am deeply concerned about the misuse of my personal data, including my Aadhar number and current address that they already have. I am the second victim in my network facing this, and I would like to formally lodge a complaint. They contacted me via these ids - 0087010784264 and - The Skype ID used was MCCDEPT7035@gov.in (now changed to MCCDEPT7173@gov.in), and they claimed to be from the Mumbai Cyber Crime Department. I have attached screenshots. Please advise on next steps. More on the below threads for awareness to readers, if it helps. 1/9
Ashwini ☯ tweet mediaAshwini ☯ tweet media
English
1
11
7
1.5K
Manas Agarwal retweetledi
Tanmai Gopal
Tanmai Gopal@tanmaigo·
The way we build our backends is SO not ready for the future. AI agents need direct access to the domain models and the core business methods. The way we've been building APIs is for "dumb clients", with API endpoints that each contain a lot of business logic. Dumb clients need smart endpoints need dumb pipes to data. (ref: microservices). Smart clients need no endpoints need smart pipes to data. 20 years of the way we build our backends, and the investments we've made, will have to completely change. It's like if invested $10M in upgrading all your office infrastructure to use wired ethernet in 2005 and then iphone/ipad dropped in the next 2 years and you were like....oh shit.
Garry Tan@garrytan

We see this happening now at YC. The next two years will happen very fast. Eric Schmidt is right about this exponentialview.co/p/eric-schmidt…

English
11
22
180
47.9K
Mohit Kinra
Mohit Kinra@kinraww·
this is 10x better than tres leches
Mohit Kinra tweet media
English
14
3
221
46.8K
Manas Agarwal
Manas Agarwal@hereismanas·
@cnakazawa Great to see your setup. Relay has been severely underutilised for frontend state management. @hasura has recently started dog-fooding Relay in our own UI products, and it helping different teams be fast and work independently while manipulating related data structures.
English
0
0
3
135
Christoph Nakazawa
Christoph Nakazawa@cnakazawa·
Every time I work with Prisma, graphql-pothos, GraphQL and Relay my productivity goes up by 5x while staying fully typesafe.
English
6
2
68
11.1K
Manas Agarwal retweetledi
PromptQL
PromptQL@PromptQL·
The Hasura ChatGPT bot - Pod42 🤖 - is ready for public use 🎊 Pod42 is a bot that answers Hasura questions! It uses the GPT AI model, trained on resources such as the Hasura docs, learn courses, and recent blog posts. 🔮 You can now ask Pod42 questions in our Discord server ⌨️
PromptQL tweet media
English
3
13
50
11.3K
Manas Agarwal
Manas Agarwal@hereismanas·
Here's an excuse to leave your work early and join us at Hasura's Koramangala office. A bit of networking, pizza and of course GraphQL.
PromptQL@PromptQL

Come and chat with @tanmaigo on 3rd Nov at our office in Bangalore! He'll give a talk about all things Hasura. Afterwards, he'll stick around to chat with folks during the networking session. Register here ➡️ meetup.com/hasura-user-gr…

English
0
0
5
0
Manas Agarwal retweetledi
Tanmai Gopal
Tanmai Gopal@tanmaigo·
We recently added a streaming GraphQL API to @HasuraHQ to allow clients to easily consume data from Postgres as a realtime stream. Here’s a thread on how we’re working on making this the easiest possible way of consuming a stream on the client 🧵
Tanmai Gopal tweet media
English
4
13
67
0
Mohit Kinra
Mohit Kinra@kinraww·
are there any tools that convert figma files to react components?
English
6
0
6
0