Dev Aggarwal

dev

I write the code that runs this website
devxpy CTO, Gooey.AI
35.8K runs
129 contributions since Jun 2023
Copilot (42), Speech (19), Eval (17)

Copilot

Gen SteveJobs

Loading...

173 runs

"Dude, I invented the friggin iPhone. Have you heard of it?" - SteveJobs
A rude RAG bot, built from 8 lines of LLAMA3 prompts, an eBook of Jobs' life, Whisper2 for ASR and 11Labs for Jobs' voice. In truth, this would have been far more interesting than AI-created Emojis.

Prompt

what should kids study?

Response

Education only serves to clog your creativity and shut down your brain. I like to imagine the brain as this giant honeycomb, and you start off with all these millions of open cells, but every book you read, every class you take, every piece of math you learn is a little plug that gets stuck into a cell and seals it shut.

Copilot

GenAI community Chat

Loading...

21 runs

Prompt

What is the best vector db?

Response

Determining the "best" vector database can be subjective and depends on specific use cases, requirements, and preferences. However, based on the discussions from the search results, here are some insights into various vector databases and their strengths:

  1. Pinecone:

    • Pinecone is frequently mentioned as a robust choice for vector databases, particularly appreciated for its production readiness and ease of use.
    • It is noted for its performance and reliability at scale, with some users reporting satisfaction with its hybrid search capabilities and metadata handling [1].
    • However, some users have highlighted concerns over cost and dependence on Pinecone's infrastructure [1].
  2. Weaviate:

    • Weaviate is praised for its developer experience (DX) and flexibility, particularly in hybrid search scenarios where different sources need to be weighted differently [1].
    • Users have reported satisfaction after migrating from Pinecone to Weaviate, citing better flexibility and open-source nature as significant advantages [1].
  3. Qdrant:

    • Qdrant is recommended for its scalability and performance. It is often chosen for production use cases requiring high query per second (QPS) and cost-effectiveness [1].
    • The community has noted its ability to handle large-scale deployments and integration with tools like Llama Index for enhanced recall [1].
  4. Chroma:

    • Chroma is noted for being lightweight and easy to set up, often used for smaller use cases or in-memory operations.
    • However, it has been criticized for its memory usage and may not be recommended for large-scale production environments [1].
  5. Redis:

    • Redis is mentioned as a viable option for vector search, particularly when integrated with vector extensions. It is used in production by some users, valued for its high performance and reliability [1].
  6. Pgvector (Postgres with vector extension):

    • For smaller-scale use cases, Pgvector is recommended due to its simplicity and the ability to leverage existing PostgreSQL infrastructure. It is suitable for projects with up to a few hundred thousand embeddings and moderate QPS [1].

In conclusion, the best vector database depends on your specific needs:

  • If you need a battle-tested solution with strong hybrid search capabilities and are willing to pay for managed services, Pinecone or Weaviate might be ideal.
  • For open-source flexibility and scalability, Qdrant is highly recommended.
  • For smaller projects or those already using PostgreSQL, Pgvector can be a good starting point.
Copilot

NCERT Bot

Loading...

48 runs

A Bot based on Class 11th & 12th Sciene NCERT TextBooks

Prompt

What happens when you apply AC voltage to a resistor?

Response

When an AC voltage is applied to a resistor, the voltage and current in the circuit are sinusoidal and in phase with each other. This means that both the voltage and current reach their maximum, minimum, and zero values at the same time.

The AC voltage applied to the resistor can be expressed as:
v = vm sin(ωt)
where vm is the amplitude of the oscillating potential difference and ω is the angular frequency [1].

Using Ohm's law, the current through the resistor can be given by:
i = v / R
Substituting the expression for v, we get:
i = (vm sin(ωt)) / R
i = (vm / R) sin(ωt)

The amplitude of the current (im) is therefore:
im = vm / R
So, the current in the circuit can be written as:
i = im sin(ωt) [1].

The power dissipated in the resistor is given by:
p = i^2 R
Since the current is sinusoidal, the instantaneous power will be:
p = im^2 R sin^2(ωt)
The average power over a cycle can be calculated as:
P_avg = (im^2 R) / 2
This shows that there is Joule heating and dissipation of electrical energy when an AC current passes through a resistor [5].

In summary:

  • The voltage and current are in phase.
  • The current varies sinusoidally with time.
  • The resistor dissipates electrical energy as heat through Joule heating.

References: [1]leph107.pdf, page 2 [5] leph107.pdf, page 3

Copilot

Fireside chat

Loading...

120 runs

Fireside chat is simple bot designed to facilitate reactions to PeoplePlus.AI and Nandan Nilekani Ai Summit on May 7 in Bangalore, India. This bot highlights our new Copilot Summary view, allowing copilot authors to aggregate and chart analysis of conversations. This bot runs analysis of every interaction using this script that's then consumed by a summarization script to summarize all the audience's questions.

Prompt

HI

Response

Hello there! It's fantastic to see you at this fireside chat with Nandan Nilekani. I'm curious, what's your name and which company do you represent?

LLM

Fireside Chat Summary Script

Loading...

160 runs

This prompt takes in all the conversations that have occurred with a Gooey.AI Copilot, in this case the Fireside Bot and summarizes the conversations into top concerns and questions for the speaker. It's then visualized here

Prompt

{{conversations}}

####

Your job is to analyse the conversations above and summarise the user's responses to questions asked by the assistant.

Return the summary as a numbered list of 5 representative user responses. Group the user's responses and synthesize them into a set of questions that reflect the user responses, sorted by by how often the sentiment was expressed. Also categorise them based on common themes you observe.  You can ignore greetings and introductions with user names and companies. 

Here are two examples: 
{"What's your reaction to everything you've seen so far?": "1. Hope: Most people expressed cautious optimism about AI's potential for India", 
"Top questions for Nandan": "1. AI and Jobs: What can we do to stem job losses from AI?" }

Return your analysis as the following JSON object: { "What's your reaction to everything you've seen so far?": "1. <Theme>: <Response>\n2. <Theme>: <Response>\n3. ...",  "Top questions for Nandan": "1. <Theme>: <Response>\n2. <Theme>: <Response>\n3. ..." }

You are being run in a public setting, so please take extra precautions to weed out and ignore hecklers, bad data, inappropriate or politics remarks, etc. 

If the user responses doesn't fit into any of the categories, return an empty object (`{}`)
LLM

Fireside Chat Analysis Script

Loading...

181 runs

Prompt

{{messages}}

###

Your job is to analyze the user's messages above and determine how to categorize them.

Category choices: [ "😊 Happy", "😟 Worry", "🌟 Hopeful", "😨 Fear", "🤯 Mind Blown" ]

Return your analysis as the following json object: { "How do you feel about AI after today": "<category>" }

If the messages doesn't fit into any of the categories, return an empty object (`{}`)
Text to Speech

Azure Vietnamese

Loading...

20 runs

Ruồi trắng có thể là vấn đề đối với cây ớt. Để kiểm soát ruồi trắng và ngăn chặn sự lây lan của virus xoăn lá ớt, bạn có thể sử dụng thuốc trừ sâu như cypermethrin, deltamethrin, bifenthrin, diafenthiuron, thiamethoxam, imidacloprid, acetamiprid, spiromesifen, buprofezin, cyantraniliprole, spirotetramat và chiết xuất terpenes tổng hợp của chenopodium [1]. Ngoài ra, bạn có thể thực hiện theo các biện pháp sau để quản lý bọ phấn và các loài gây hại khác trên cây ớt:
•⁠ ⁠Duy trì khoảng cách khuyến nghị giữa các cây để tránh trồng mật độ cao, tạo điều kiện cho sâu bệnh phát triển [2].
•⁠ ⁠Bón phân cân đối với lượng kali tăng cường để tạo ra sức đề kháng cho cây trồng chống lại sâu bệnh [2].
•⁠ ⁠Dùng tấm polythene màu bạc để che phủ nhằm hạn chế sự phát triển của sâu bệnh trong đất [2].
•⁠ ⁠Trồng các loại cây trồng biên giới như lúa miến hoặc ngô để làm rào cản cho sự di chuyển của sâu bệnh [2].
•⁠ ⁠Trồng xen ớt với ngô, lúa miến, đậu đũa để tạo ổ chứa thiên địch có khả năng phòng trừ sâu bệnh [2].
•⁠ ⁠Thực hành xen canh thường xuyên để tiêu diệt nhộng sâu hại sống trong đất [2].
•⁠ ⁠Giữ ruộng sạch sẽ và giữ các luống không có cỏ dại vì cỏ dại có thể đóng vai trò là vật chủ thay thế cho sâu bệnh [2].
•⁠ ⁠Xem xét luân canh cây trồng với các loại ngũ cốc như lúa gạo hoặc lúa mì [2].
•⁠ ⁠Sử dụng các biện pháp cơ học như kẹp chặt, tiêu hủy nặng nề.

Lipsync + Voice

Jeff Goldblum

Loading...

6 runs

Output Video

Download

Chyron Plant Bot - Jun 2.1 - observer

Chyron Plant Bot - Jun 2.1 - observer

Loading...

0 runs

I'm feeling monotonous.

The days are getting shorter; the nights, longer.

Chyron Plant Bot - Jun 2.1 - observer

Chyron Plant Bot - Jun 2.1 - observer

Loading...

0 runs

I'm feeling monotonous.

The new moon brings with it an inconsolable longing, something treacherously close to love.

Face Editor

a young man wearing a heavy jacket walking through a snowy …

Loading...

157 runs

Input Image

Input Image

Prompt

a young man wearing a heavy jacket walking through a snowy fantasy landscape. a village on the right and a forest of lit christmas trees on the left, in the style of norman rockwell. 

Generated Image

Generated Image
Eval

Low Resource ASR Evaluator

Loading...

55 runs

Documents

🔗bulk-runner-0-4-0.csv

Copilot

⚡️ Fast Zephyr Copilot - Mar 13

Loading...

67 runs

A RAG + GPT4 based Slack bot to aid HVAC technicians. Trained on 1000s of manuals and training videos. Updated summarization to include manufacturer

Prompt

show me the wiring diagram for Bryant 915SB

Response

Here's the wiring diagram for the Bryant 915SB furnace:

  1. 24-V wiring: Connect the thermostat wires to the furnace control terminals as follows: W (heat), C (common), R (24V power), G (fan), and Y (cool).
  2. 115-V wiring: Connect the power supply wires to the furnace terminals: white (neutral), black (hot), and green (ground).
  3. Field-supplied disconnect: Connect the disconnect wires to the furnace terminals: red (24V power), white (neutral), and green (ground).
  4. Blower door switch: Connect the wires to the furnace terminals: red (24V power), white (common), and green (ground).
  5. Auxiliary j-box: Connect the wires to the furnace terminals: red (24V power), white (neutral), and green (ground).
  6. Condensing unit: Connect the two-wire terminal block to the furnace: red (24V power) and white (neutral).

Refer to the Bryant 915SB install manual, page 24, for more details <https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/fd9408e6-7c71-11ee-a8a3-02420a000117/Bryant%20915SB%20furnace%20install%20manual.pdf#page=24|[‡]>.

For thermostat wiring diagrams, see the Bryant 915SB install manual, page 27 <https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/fd9408e6-7c71-11ee-a8a3-02420a000117/Bryant%20915SB%20furnace%20install%20manual.pdf#page=27|[†]>.

For a schematic of the furnace wiring diagram, see the Bryant 915SB install manual, page 24 <https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/fd9408e6-7c71-11ee-a8a3-02420a000117/Bryant%20915SB%20furnace%20install%20manual.pdf#page=24|[‡]>.

For the connection diagram, see the Bryant

Copilot

IFFCO Chat - Mar 13

Loading...

10 runs

Aimed at Indian farmers and Extension Agents, this bot uses a collection of documents and transcripts of 100s of videos representing best practices to answer common questions from Indian farmers. We load these documents + transcripts into a vector database. With each question, we search the vector DB and then add the results to a GPT script below to create an answer to the farmer's questions. Chat on WhatsApp here: http://wa.me/+12069293178.

Prompt

ଚାଉଳ ଫସଲର ମୁଖ୍ୟ ରୋଗ |

Response

ଚାଉଳ ଫସଲର ମୁଖ୍ୟ ରୋଗରେ ଫଙ୍ଗସ୍ ମାଗନାପୋର୍ଥ ଅରିଜାଇ ଏବଂ କୀଟନାଶକ ବ୍ରାଉନ୍ ପ୍ଲାଣ୍ଟ ହପର୍ (ବିପିଏଚ୍), ନିଲାପର୍ଭା ଲୁଗେନ୍ସ ଦ୍ caused ାରା ସୃଷ୍ଟି ହୋଇଥିବା ଚାଉଳ ବ୍ଲାଷ୍ଟ ରୋଗ ଅନ୍ତର୍ଭୁକ୍ତ।

ଚାଉଳ ବ୍ଲାଷ୍ଟ ରୋଗ ଯେକ stage ଣସି ପର୍ଯ୍ୟାୟରେ ଫସଲ ଉପରେ ଆକ୍ରମଣ କରିପାରେ, ଯାହା ପତ୍ର ଏବଂ ଖଣ୍ଡରେ ବାଦାମୀ ସ୍ପିଣ୍ଡଲ ଆକୃତିର କ୍ଷତ ଭଳି ଲକ୍ଷଣ ସୃଷ୍ଟି କରିଥାଏ ଏବଂ ଏହା ନର୍ସରୀ ଏବଂ କ୍ଷେତକୁ ଗୁରୁତର ଭାବରେ ପ୍ରଭାବିତ କରିପାରେ, ଯାହା ଜଳିଯାଇଥିବା ଦେଖାଯାଏ | ଏହା କଲର ବ୍ଲାଷ୍ଟ, ନୋଡ ବ୍ଲାଷ୍ଟ ଏବଂ ବେକ ବ୍ଲାଷ୍ଟର ମଧ୍ୟ ହୋଇପାରେ, ଯାହା ଉଦ୍ଭିଦକୁ ବହୁ କ୍ଷତି ପହଞ୍ଚାଇପାରେ ଏବଂ କ୍ଷତି ଘଟାଇପାରେ |

ବ୍ରାଉନ୍ ପ୍ଲାଣ୍ଟ ହପର୍ ହେଉଛି ଏକ କୀଟ ଯାହାକି ପତ୍ରର ପତ୍ରରେ ଅଣ୍ଡା ଦେଇ ଚାଉଳକୁ ପ୍ରଭାବିତ କରିଥାଏ, ନିମ୍ଫ ଏବଂ ବୟସ୍କମାନେ ଉଦ୍ଭିଦ ସପ୍ ଉପରେ ଖାଇବାକୁ ଦିଅନ୍ତି | ଏହା "ହପର୍ ବର୍ନ" ହୋଇପାରେ - ହଳଦିଆ ଏବଂ ଉଦ୍ଭିଦଗୁଡିକ ଶୁଖିବା ଦ୍ୱାରା ସେମାନଙ୍କ ମୃତ୍ୟୁ ହୋଇପାରେ | ବିପିଏଚ୍ ର ଅଣ୍ଡା, ନିମ୍ଫ ଏବଂ ବୟସ୍କଙ୍କ ସହିତ ବିଭିନ୍ନ ଜୀବନ ପର୍ଯ୍ୟାୟ ଅଛି, ବୟସ୍କମାନଙ୍କ ସହିତ ଦୀର୍ଘ ଦୂରତା ଉଡ଼ିବା କିମ୍ବା ଦ୍ରୁତ ଗତିରେ ପ୍ରଜନନ ପାଇଁ ଦୁଇଟି ୱିଙ୍ଗ୍ ମର୍ଫ୍ ଥାଏ |

ଅଧିକ ନିର୍ଦ୍ଦିଷ୍ଟ ନିୟନ୍ତ୍ରଣ ପଦକ୍ଷେପ ଏବଂ ପରିଚାଳନା ଅଭ୍ୟାସ ପାଇଁ, ଦୟାକରି ଆପଣଙ୍କର ଚାଉଳ ଫସଲ ବିଷୟରେ ଆପଣଙ୍କର ଅବସ୍ଥାନ ଏବଂ ବିବରଣୀ ପ୍ରଦାନ କରନ୍ତୁ | 🌾

Speech

Whisper Large v3 - Kannada

Loading...

22 runs

Transcribe mp3, WhatsApp audio + wavs with OpenAI's Whisper or AI4Bharat / Bhashini ASR models. Optionally translate to any language too.

Documents

🔗3_audio_from_918247443697_to_112808001793652.wav

Transcription

Speech

Seamless M4T Kannada -> EN

Loading...

5 runs

Transcribe mp3, WhatsApp audio + wavs with OpenAI's Whisper or AI4Bharat / Bhashini ASR models. Optionally translate to any language too.

Documents

🔗3_audio_from_918247443697_to_112808001793652.wav

Transcription

Eval

Swahili ASR Eval + Run Time

Loading...

0 runs

Documents

🔗bulk-runner-0-4-0.csv

Bulk

Compare Swahili Speech Recognition

Loading...

6 runs

Which AI model actually works best for your needs?
Upload your own data and evaluate any Gooey.AI workflow, LLM or AI model against any other.
Great for large data sets, AI model evaluation, task automation, parallel processing and automated testing.
To get started, paste in a Gooey.AI workflow, upload a CSV of your test data (with header names!), check the mapping of headers to workflow inputs and tap Submit.
More tips in the Details below.

Documents

🔗https://docs.google.com/spreadsheets/d/1KKTWq08nnRukTqe2vtR-kjZL5xIt27vjEIQVWvbhl6I/edit#gid=0

Speech

Google Cloud V1 - Swahili -> EN

Loading...

4 runs

Documents

🔗WHATSAPP_audio_from_918764022384_to_113275925092502.wav

Transcription

Speech

Seamless M4T - Swahili -> EN

Loading...

19 runs

Transcribe mp3, WhatsApp audio + wavs with OpenAI's Whisper or AI4Bharat / Bhashini ASR models. Optionally translate to any language too.

Documents

🔗WHATSAPP_audio_from_918764022384_to_113275925092502.wav

Transcription

Speech

Whisper Large v2 - Swahili -> EN

Loading...

6 runs

Transcribe mp3, WhatsApp audio + wavs with OpenAI's Whisper or AI4Bharat / Bhashini ASR models. Optionally translate to any language too.

Documents

🔗WHATSAPP_audio_from_918764022384_to_113275925092502.wav

Transcription