r/ChatGPTCoding • • Mar 16 '24

Discussion Is anyone else obsessed with this shit?

I can't stop using LLMs to make stupid little programs that make my life easier:

  • Daily I have to go through 80 tabs of information for my job. Currently building a dashboard tied to mysql that is scraping these pages into JSON and outputting on a simple dashboard: https://imgur.com/HG3YBIo

  • I run Home Assistant as home automation software instead of troubleshooting yaml or debugging scripts I can simply have an LLM do it for me. "Write me a home assistant automation that turns off the bedroom light at 5pm but only if the lux on Kitchen_Sensor is > 20"

  • I find recipes and send them to an LLM. "Make me a grocery list sorted by categories based on the recipe." Might as well turn it into a python script.

  • Dump a bunch of financial data into it: Analyze the finances of my business.

134 Upvotes

52 comments sorted by

24

u/Severin_Suveren Mar 16 '24

DO NOT use LLMs for financial analyzis. I did this large-scale, by implementing both technical and fundamental metrics retrieval, sent it all to an LLM with clear instructions on how to do the analyzis.

Individual parts of the analyzis seemed correct in its descriptions, but when aggregating all the individual parts into data for the final verdict, it seemed clear that no matter which LLM or LLM API I used, the individual metrics were considered correctly, but never the final verdict.

This was not clear at all when running once per stock, but became undeniable when I ran tests and ran the analyzis on a single stock, 10+ times in a row. All results were different. It seemed totally random what it ended on tbh.

Best model I tried with this analyzis tool was GPT-4. Haven't tried it with Claude 3 Opus yet. Could be it is better at aggregating financial information,

4

u/MFpisces23 Mar 16 '24

There is massive performance degradation with existing models. Only Gemini 1.5 has completely solved this. Claude 3 is limited to 200k tokens, which simply isn't enough for in-depth analysis.

3

u/AI_is_the_rake Mar 16 '24

How do we get access to Gemini 1.5

5

u/Reason_He_Wins_Again Mar 16 '24

Gemini 1.5 Pro comes with a standard 128,000 token context window. But starting today, a limited group of developers and enterprise customers can try it with a context window of up to 1 million tokens via AI Studio and Vertex AI in private preview.

1

u/Reason_He_Wins_Again Mar 16 '24

For P&L they work fine. I was able to gain some good insights.

Good to know though because I was considering using a LLM to write hummingbird liquidity scripts.

3

u/Severin_Suveren Mar 16 '24

My suspicion is that it was able to correctly contextualize an opinion when it could look at datapoints directly and decide if they were good or bad, but then when it had to take multiple groups of datapoints, and then consider each group and their relations to each other, it seems we hit the "intellect limit" of the model or something

Fuck it, I think I'll have to find the script again and test it with C3O. Could be it's able to do a better job. I've actually created a fully automated workflow from collecting price data and metrics to performing the analyzis to lastly having built a full FIXAPI integration for automating the entry and exits of stock positions based on the results of the analyzis.

If I can get this to work, then it is able to enter potentially 40-80 positions at a time based on the performed analyzis, while I can define my own set of rules for when to exit these positions

2

u/Reason_He_Wins_Again Mar 16 '24

Fuck it, I think I'll have to find the script again and test it with C3O. Could be it's able to do a better job. I've actually created a fully automated workflow from collecting price data and metrics to performing the analyzis to lastly having built a full FIXAPI integration for automating the entry and exits of stock positions based on the results of the analyzis.

What level is it doing the analysis at? Chart data? Company news? disclosures? All?

itd be interesting to tie the analysis to an rss feed of company news

2

u/MichaelFrowning Mar 16 '24

Really interested in hearing your experience with Opus. I have found it able to do so much better with complex analysis of things like PDFs with massive tables and illustrations. Simple things like providing accurate metrics from embedded tables used to trip up other llms and Claude 2. Opus nails it.

1

u/AI_is_the_rake Mar 16 '24

I haven’t had time to implement it but I would like to see how far LLMs could be pushed if you have them write their own validation tests first and then write the code that does the analysis and if the code fails try a few more times to fix the issue before giving up.  Kind of like the autoGPT idea but with tighter quality controls, smaller functions that do only one thing etc. iteration that builds a tiny library from the ground up with verification steps along the way. 

This would be different than how a lot of people want to use chatGPT. The goal would be to create a code library to solve a large problem instead of just trusting the LLM to solve the problem magically. 

→ More replies (2)

1

u/MercurialMadnessMan Mar 16 '24

Could you have turned the temperature to zero?

17

u/paradite Mar 16 '24

Yes. I used LLM to make an app to automate writing code: 

https://prompt.16x.engineer/

7

u/Reason_He_Wins_Again Mar 16 '24

Yeah we all did :P

0

u/1Neokortex1 Mar 16 '24

This looks impressive!

Is this similar to Devin A.I?

1

u/hal009 Mar 17 '24

Absolutely not

1

u/cporter202 Mar 17 '24

Oh totally, I get where you're coming from. There's something about it that just grabs you, right? Wish snapping my fingers could make it simple, but where's the fun in that? 😂

→ More replies (1)

19

u/jawanda Mar 16 '24

Yes. Yes I am.

5

u/gassedup333 Mar 16 '24

Crypto coding didn't interest me.

Three js coding didn't interest me.

Animations didn't interest me.

But AI coding is very interesting, there are so many possibilities with this tool.

9

u/ChatWindow Mar 16 '24

I literally can’t stop using them, building with them, and learning about them either. It’s pretty much become a hobby and passion at this point

4

u/BoredHobbes Mar 16 '24

yes i woke up this morning with an idea to scrap my state lotto tickets and find the best lotto ticket to buy

1

u/get-process Mar 16 '24

How

5

u/BoredHobbes Mar 16 '24

the code:https://drive.google.com/file/d/18r41K7km5LqKYRK8uudB0BJBjK8MZKTO/view?usp=sharing

the Illinois data i use/scraped:https://www.illinoislottery.com/about-the-games/unpaid-instant-games-prizes

this is for Illinois they share the total number of tickets available for each prize and the number still available ( unclaimed ) i download that data then i have different methods to find the best ticket to buy:

this i one method, i made different ones. this prints out 4 different methods

1st just looks for the ones that have all the jackpot tickets still unsold

2nd print out looks for tickets that have the highest already sold tickets of the lower value tickets but the jackpot/2nd prize tickets have the highest available still

3rd Ticket with the highest percentage of claimed prizes (just info)

4th Ticket with the highest claim percentage and highest unclaimed jackpot

i keep toying around with different ways, first method usually selects the ones that just got released so i starting thinking of different ways.

3

u/TanguayX Mar 16 '24

Not yet, but this is what I WANT to do. Setting one of these up is above my skill level right now. Any tips as to where to get started?

8

u/Droi Mar 16 '24

Ask the AI bro.

7

u/TanguayX Mar 16 '24

Oh…yeah. Talk about a failure of imagination

1

u/speciallight Mar 16 '24

How? ChatGPT? Wrapper? Context? API?

→ More replies (1)

2

u/seigezunt Mar 16 '24

I want to be able to go all of these

2

u/Effective_Vanilla_32 Mar 16 '24

i financial plan with chat, asking it to give me a csv to give dividends for next 20 years with reinvestment, for 1M principal.

2

u/[deleted] Mar 17 '24

I have used it to make one-off Javascript scripts to quickly scrape, extract some data and format it when the accuracy just needs to be like 90% correct.

2

u/matmoeb Mar 17 '24

Could you describe more about your recipe LLM? I’m a private chef who spends many hours per week transcribing recipes and shopping lists.

2

u/enhoel Mar 17 '24

Just tell it what you want it to do. If you find a recipe online, copy it paste it into ChatGPT, and then tell it what you want from it. Tell it that you want a shopping list. Tell it that you want a shopping list with categories. Tell it that you want to double the recipe size. It's a large language model - it understands your language. Tell it to do whatever you want with the recipe and it'll do it right the first time or if it doesn't just keep telling it to change things until it gets it right.

1

u/eerilyweird Mar 17 '24

Yes and one thing I can say is I’ve learned a lot of web dev stuff in the last year. And yet things are typically quite challenging to get to a level of true usefulness.

1

u/neoreeps Mar 17 '24

I use it to answer leetcode problems. My bot answers hard problems in about 30s and when the answer isn't completely right it resolved the issue itself. It's a super fun new "game" I found.

1

u/punkouter23 Mar 17 '24

it makes coding fun again.. My biggest problem is getting started and it tells me what to do but I am also learning

1

u/Downtown-Lime5504 Mar 17 '24

Yes my brother

1

u/yesspleasee Mar 16 '24

LOVE LLMs and GenAI coding, exact same sentiments, I can't stop.

I made it easier to read long text documents by converting PDFs to mindmaps, check it out: https://pdfmindmap.fly.dev/

1

u/neoreeps Mar 17 '24

That's a great idea.

1

u/[deleted] Mar 16 '24

[removed] — view removed comment

1

u/AutoModerator Mar 16 '24

Sorry, your submission has been removed due to inadequate account karma.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/[deleted] Mar 17 '24

[removed] — view removed comment

1

u/AutoModerator Mar 17 '24

Sorry, your submission has been removed due to inadequate account karma.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/[deleted] Mar 17 '24

[removed] — view removed comment

1

u/AutoModerator Mar 17 '24

Sorry, your submission has been removed due to inadequate account karma.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/[deleted] Mar 17 '24

[removed] — view removed comment

1

u/AutoModerator Mar 17 '24

Sorry, your submission has been removed due to inadequate account karma.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.