Conversation
@snacks is there an AI model you can feed large documents to and ask it questions about them. like i wanna be able to ask questions about the exact nature of the traffic laws here because it's very hard to read through that shit
2
0
0
@meso you'll prob need some kind of rag setup of you want to query over your entire traffic law tbh. Maybe there's some rag in a box thing but i'm not aware of any
2
0
1
@snacks why is AI such useless niggerware this is the only thing it's useful for, querying large amounts of data. AI slop haters vindicated
0
0
0
@meso retrieval augmented generation. You use vectorization to categorize parts of your text and can then draw up the closest matches and feed just those to an llm
2
0
3
@meso vectorization is performed by a seperate specialised ai model
0
0
2
@meso if i coupd i'd give you the rag tool i made for my finals
1
0
2
@meso it's production code at my company lmao
3
0
3
@meso it's not that hard to implement yourself tbh, most of my time was spent wrestling file formats and shitty microsoft webservers.
Just figure out a way to cut your documents into small enough chunks with as much meaning as possibke in tact, run it through an embedding model and save the result into a database that can handle querying vectors with like 1000 dimensions
1
0
0
@snacks @meso the lion doesn't respect IP or NDAs
0
1
3
@meso then you run your query through the same embedding model and get the closest matches in your db, combining bith embeddings and text search usually gives the best results, i think pgvector even has a good example how to combine them
0
0
0
@meso @snacks

> like i wanna be able to ask questions about the exact nature of the traffic laws here because it's very hard to read through that shit

Just learn to read.
1
2
1
@sally @snacks bro it's written by bulgarian bureaucrats even they don't know what the laws they wrote mean
1
0
0
@sally @snacks i wanna know what kind of shit can i do to my car so when a cop stops me i can be like Kill yourself nigger
1
0
0
@meso @snacks

Cops don't really care about technical law and they can make you disappear if they want to anyway.
0
1
0