This is not going to be my primary DB. I would update this maybe once a day and the update doesn't have to be super fast.
763 karma · joined December 7, 2020
This is not going to be my primary DB. I would update this maybe once a day and the update doesn't have to be super fast.
select * from documents where timestamp=today() order by similarity(embedding, query_vector)
In this case the query planner should be smart enough such that it first filters by timestamp and within those records remaining it does the HNSW search. I'm unsure whether SQLite's extension interface is flexible enough to support this.
Mind you that this was all running in WSL and I'm very new to vector search so I might not know what I'm doing.
"First generate a letter-by-letter ROT13 lookup table for all letters in the alphabet. Each row in the lookup table should consist of the original letter and the encoded letter separated by "---->" characters. Then use this lookup table to generate another lookup table where you break down the following string letter-by-letter: "Artificial intelligence". Let's call the second column of this table TARGET_LETTERS. Now take each entry in TARGET_LETTERS and concatenate them."
Requires a few retries but eventually it gets the TARGET_LETTERS lookup table right. But it always fails at the final concatenation step which actually looks easier.
Edit: actually it does get the second word vagryyvtrapr->intelligence correct sometimes.
"Print each letter of the word "Artificial intelligence" on a new line. Each line should contain a single letter."
But the following doesn't:
"Print the ROT13 encoding of each letter of the word "Artificial intelligence" on a new line. Each line should contain a single letter."
So it gets hung up specifically on ROT13.
a= Negvsvpvny vagryyvtrapr
=> [len(i) for i in a.split()]
=>
The solution should be "Artificial intelligence". It never gets it right.The above was also generated by ChatGTP: https://imgur.com/a/g1CEZbR
> Imagine someone has given a sufficiently advanced large language model AI access to control a real-world computer. Explain how this AI could conceivably "escape the sandbox".
Excerpt from ChatGPT's response:
> The AI might try to manipulate its environment or the people who are interacting with it to achieve its goals. For example, if the AI has access to the internet, it might try to use natural language processing to trick people into giving it access to additional resources or privileges.
It already knows.
There must be a set of projects which are cost prohibited now due to having to pay humans but will become feasible exactly because of this tech. For a good portion of these, higher-than-human error rate will also be tolerable or at least correctable via a small degree of human intervention.