HN user

ajhai

980 karma

Hi, I'm Ajay

email: ajay [at] trypromptly [dot] com

twitter: @ajhai

Building https://trypromptly.com and https://makerdojo.io

Posts112
Comments103
View on HN
langrocks.com 1y ago

Langrocks: Open-Source Toolchain with Computer Access and Browser for LLM Agents

ajhai
2pts0
github.com 1y ago

Show HN: Langrocks – tools like computer access, browser etc., for LLM agents

ajhai
3pts0
docs.trypromptly.com 2y ago

Build No-Code Generative AI Apps with Ollama, Llama3 and LLMStack

ajhai
4pts0
trypromptly.com 2y ago

Show HN: Compare Groq and Llama-3-70B with GPT-4 Turbo

ajhai
7pts0
docs.trypromptly.com 2y ago

Realtime Avatars with Retrieval Augmented Generation

ajhai
1pts0
www.youtube.com 2y ago

Realtime Avatars with RAG [video]

ajhai
1pts1
llmstack.ai 2y ago

Realtime Avatars with Retrieval Augmented Generation

ajhai
3pts0
www.theverge.com 2y ago

Meta is putting AI chatbots everywhere

ajhai
2pts2
llmstack.ai 2y ago

Retrieval Augmented Generation (Rag): What, Why and How?

ajhai
4pts0
github.com 2y ago

Show HN: LLMStack – Self-Hosted, Low-Code Platform to Build AI Experiences

ajhai
7pts2
llmstack.ai 2y ago

Build and Run LLM Apps Locally with LocalAI and LLMStack

ajhai
3pts0
github.com 2y ago

Show HN: LLMStack – Low-Code Platform for Building LLM Apps with LocalAI Support

ajhai
7pts0
trypromptly.com 3y ago

Promptly: No-Code Platform for Generative AI Apps and Chatbots

ajhai
1pts0
trypromptly.com 3y ago

Short story generator with illustration (GPT 3.5 and DALL-E)

ajhai
2pts0
trypromptly.com 3y ago

Show HN: No-Code Platform to Build Generative AI Apps and Chatbots

ajhai
5pts2
trypromptly.com 3y ago

Show HN: No-Code Platform to Build Generative AI Apps and Chatbots

ajhai
5pts0
trypromptly.com 3y ago

Show HN: Promptly – Prompt Management Platform for LLM Apps

ajhai
15pts0
www.washingtonpost.com 5y ago

Trump issues executive orders against ByteDance and WeChat

ajhai
18pts1
techcrunch.com 6y ago

India seeks new regulator for nonpersonal data

ajhai
1pts0
techcrunch.com 6y ago

Coursera makes its first acquisition, Rhyme Softworks, to power Coursera Labs

ajhai
1pts0
techcrunch.com 8y ago

Google debuts Tez, a mobile payments app for India

ajhai
111pts96
www.nytimes.com 10y ago

New Jersey University Was Fake, but Visa Fraud Arrests Are Real

ajhai
2pts0
officialandroid.blogspot.in 12y ago

Find your lost phone with Android Device Manager

ajhai
3pts0
blog.rockmelt.com 12y ago

Rockmelt Browser Retirement - July 31, 2013

ajhai
4pts1
www.kit.edu 13y ago

New World Record in Wireless Data Transmission

ajhai
1pts0
news.discovery.com 13y ago

Wi-Fi Network Breaks Speed Record - 40GBps over a distance of about .6 of a mile

ajhai
1pts0
play.google.com 13y ago

Google Play content policies have been updated

ajhai
2pts0
www.avc.com 13y ago

Don't Let A Good Crisis Go To Waste

ajhai
3pts0
www.inquisitr.com 13y ago

WhatsApp Could Be Google’s Next $1 Billion Acquisition

ajhai
2pts0
en.wikipedia.org 13y ago

Moon illusion

ajhai
9pts5

It is inference latency most of the time. These VLA models take in an image + state + text and spit out a set of joint angle deltas.

Depending on the model being used, we may get just one set of joint angle deltas or a series of them. In order to be able to complete a task, it will need to capture images from the cameras, current joint angles and send them to the model along with the task text to get the joint angle changes we will need to apply. Once the joint angles are updated, we will need to check if the task is complete (this can come from the model too). We run this loop till the task is complete.

Combine this with the motion planning that has to happen to make sure the joint angles we are getting do not result in colliding with the surroundings and are safe, results in overall slowness.

Building a wheeled robot with arms to help automate household chores - https://x.com/ajhai/status/1891933005729747096

I have been working with LLMs and VLMs to automate browser based workflows among other things for the last couple of years. Given how good the vision models have gotten lately, the perception problem is solved to level where it opens up a lot of possibilities. Manipulation is not generally solved yet but there is a lot of activity in the field and there are promising approaches to solve (OpenVLA, π0). Given these, I'm trying to build an affordable robot that can help around with household chores using language and vision models. Idea is to ship capable enough hardware that can do a few things really well with the currently available models and keep upgrading the AI stack as manipulation models get better over time.

Llama 3.1 2 years ago

I've tested Q4 on M1 and it works though the quality may not likely be the same as you'd expect as others have pointed out on the issue.

Llama 3.1 2 years ago

You can already run these models locally with Ollama (ollama run llama3.1:latest) along with at places like huggingface, groq etc.

If you want a playground to test this model locally or want to quickly build some applications with it, you can try LLMStack (https://github.com/trypromptly/LLMStack). I wrote last week about how to configure and use Ollama with LLMStack at https://docs.trypromptly.com/guides/using-llama3-with-ollama.

Disclaimer: I'm the maintainer of LLMStack

You can actually do this with LLMStack (https://github.com/trypromptly/LLMStack) quite easily in a no-code way. Put together a guide to use LLMStack with Ollama last week - https://docs.trypromptly.com/guides/using-llama3-with-ollama for using local models. It lets you load all your files as a datasource and then build a RAG app over it.

For now it still uses openai for embeddings generation by default and we are updating that in the next couple of releases to be able to use a local model for embedding generation before writing to a vector db.

Disclosure: I'm the maintainer of LLMStack project

Mixtral 8x22B 2 years ago

Sorry missed this. It was hidden behind login before. It should now be reachable.

We have recently added support to query data from SingleStore to our agent framework, LLMStack (https://github.com/trypromptly/LLMStack). Out of the box performance performance when prompting with just the table schemas is pretty good with GPT-4.

The more domain specific knowledge needed for queries, the harder it has gotten in general. We've had good success `teaching` the model different concepts in relation to the dataset and giving it example questions and queries greatly improved performance.

https://github.com/trypromptly/LLMStack - started working on this as a wrapper over OpenAI's endpoints for another product and it gradually became this.

Another project I worked on for my own use was a network isolated, lightweight video monitoring system. Around 5 years ago, I was looking to install a camera in our living room. I couldn't find anything I trusted that worked completely offline without some companion app pinging their servers. So I bought a basic IP camera on Amazon that supports rtsp and a raspberry pi. Created a fenced wifi network and added the camera to it.

Had an FFmpeg process read camera stream on demand and write to local buffers. Wrote a simple python server to listen for incoming connections on a different interface and stream the video on API requests. Then built an android app that talks to the python server to stream video on demand.

Also installed motion (https://github.com/Motion-Project/motion) on raspberry pi to detect motion in the video and store those snippets to local storage. With motion running, the adapter I was using wasn't delivering enough power resulting in storage occasionally unmounting and raspberry pi restarting taking the camera system offline. With motion detection disabled, the entire setup ran reliably for many years.

This will hopefully improve the startup times for FFmpeg when streaming from virtual display buffers. We use FFmpeg in LLMStack (low-code framework to build and run LLM agents) to stream browser video. We use playwright to automate browser interactions and provide that as tool to the LLM. When this tool is invoked, we stream the video of these browser interactions with FFmpeg by streaming the virtual display buffer the browser is using.

There is a noticeable delay booting up this pipeline for each tool invoke right now. We are working on putting in some optimizations but improvements in FFmpeg will definitely help. https://github.com/trypromptly/LLMStack is the project repo for the curious.

Django 5.0 3 years ago

I've been using Django as my main choice for web projects for over ten years. The reason I like it so much is because it comes with a lot of built-in features that one needs to ship web projects to production. For example, I was first attracted to Django because of its admin interface and its straightforward views and templating system.

Over the years, Django has kept up with changes in web development. An example of this is when database migrations, which used to be a separate project, were integrated into Django itself. The Django community is also strong with great ecosystem projects like DRF for APIs, Django Channels for real-time features, and social-auth for social sign-ins.

My recent use of Django is in (https://github.com/trypromptly/LLMStack). We use Django Channels for WebSocket support, DRF for APIs, and ReactJS for the frontend.

Kudos to the team for a very detailed notebook going into things like pipeline evaluation wrt performance and costs etc. Even if we ignore the framework specific bits, it is a great guide to follow when building RAG systems in production.

We have been building RAG systems in production for a few months and have been tinkering with different strategies to get the most performance out of these pipelines. As others have pointed out, vector database may not be the right strategy for every problem. Similarly there are things like lost in the middle problems (https://arxiv.org/abs/2307.03172) that one may have to deal with. We put together our learnings building and optimizing these pipelines in a post at https://llmstack.ai/blog/retrieval-augmented-generation.

https://github.com/trypromptly/LLMStack is a low-code platform we open-sourced recently that ships these RAG pipelines out of the box with some app templates if anyone wants to try them out.

There are a lot of things that goes on in production to scale any service to handle that level of requests. But Django as a web framework is good at what it does. It comes in with most things that one needs to put web apps in production.

We recently open-sourced an LLM apps platform (https://github.com/trypromptly/LLMStack) that is entirely built with django as backend (drf for APIs, channels for websockets and reactjs for frontend).

Django has been my go to framework for any new web project I start for more than a decade. Its batteries-included approach meant that one could go pretty far with just Django alone. Included admin interface and the views/templating setup was what first drew me to the project.

Django project itself has kept pace with recent developments in web development. I still remember migrations being an external project, getting merged in and the transition that followed. Ecosystem is pretty powerful too with projects like drf, channels, social-auth etc., covering most things we need to run in production.

https://github.com/trypromptly/LLMStack is a recent project I built entirely with Django. It uses django channels for websockets, drf for API and reactjs for the frontend.

Retool AI 3 years ago

Would you mind expanding why it was tough to get started with Retool?

We are building https://github.com/trypromptly/LLMStack, a low-code platform to build LLM apps with a goal of making it easy for non-tech people to leverage LLMs in their workflows. Would love to learn about your experience with retool and incorporate some of that feedback into LLMStack.

Retool AI 3 years ago

Most of the use cases we are seeing LLMs unlock look trivial in isolation when looked at it from content generation point of view but become super powerful when mixed into workflows. This is evident from all the startups we are seeing lately in this space and LLM integrations into existing products like Zapier, Hubspot and now Retool AI.

Granted these are still early days for LLMs, but it looks they are primarily going to revolutionize how knowledge work is done at a scale similar to what computers have done. There are exciting projects coming out every week putting LLMs into the workflows of more and more knowledge workers. open-interpreter is the recent of the bunch.

Similar to other workflow automation projects in this space, we started building LLMStack (https://github.com/trypromptly/LLMStack) with a goal of scaling knowledge work pieplines. Exciting times ahead!

Retool AI 3 years ago

Not directly imo. Zapier focus is still on workflow automation and retool is on internal tools. This directly competes with a bunch of startups that recently launched including an open-source project we put out a few weeks back (https://github.com/trypromptly/LLMStack)

Congrats on shipping. Looks pretty great! A few years ago I was chatting with a friend of mine about a similar idea. I remember there were a lot of discussions around content moderation and biased nature of comments section of certain news websites around that time. The idea was to come up with a decentralized way to maintain comments indexed by the urls and anyone with a certain chrome extension can participate in these comments section completely unmoderated by the site owners.

Eventually there ought to be some community moderation but the goal was to keep it unbiased. If your project takes off, first thing you will have to deal with is going to be spam.

Teaching with AI 3 years ago

Building quizzes, tests, and lesson plans from curriculum materials

Example prompts that OpenAI shared here are a great start. However I think these use-cases are better served as micro apps built on top of these prompts. For example, a teacher will keep coming back to use this prompt with same/similar set of responses most of the year. On top of that, enriching the context with additional information pulled from local sources will quickly become a need.

ChatGPT's custom instructions will help with not having to repeat prompts but the interface falls short when it comes to repeat narrow use cases. This is where imo LLM apps shine. A simple app built with langchain or some low-code platforms and providing local data from a vector store can be super powerful.

We recently open-sourced LLMStack (https://github.com/trypromptly/LLMStack), a platform that allows users to build these micro apps to automate their workflows. Our goal is to make these workflows sharable so someone can download a yaml file for this prompt and chain and start using it in their job.

ChatGPT Enterprise 3 years ago

The only way I can think of is to provide a comprehensive list of everything the tool was trained on.

There are some startups working in the space that essentially plan to do something like this. https://www.konfer.ai/aritificial-intelligence-trust-managem... is one I know of that is trying to solve this. They enable these foundation model providers to maintain an inventory of training sources so they can easily deal with coming regulations etc.