Hello, back from my long sleep.
As of today the docs shows a way to create a HNSW using SQL import and java, but nothing else.
I gave a try with :
CREATE INDEX embedding_index ON EMBEDDING(vector)
ENGINE HNSW WITH {
"dimensions": 1024,
"distanceFunction": "Cosine"
}
but it fails with
{
"error": "Error on transaction commit",
"detail": "CREATE INDEX embedding_index ON EMBEDDING(vector) ENGINE HNSW WITH { \"dimensions\": 1024, \"distanceFunction\": \"Cosine\" }",
"exception": "com.arcadedb.exception.CommandSQLParsingException"
}
What am I supposed to do to create an index in SQL ?
Thanks
not going to lie, i shoved the whole documentation and arcadedb to google gemini and told him to find me a way to create a vector, that's what it came up with
Hello, back from my long sleep.
As of today the docs shows a way to create a HNSW using SQL import and java, but nothing else.
I gave a try with :
but it fails with
{ "error": "Error on transaction commit", "detail": "CREATE INDEX embedding_index ON EMBEDDING(vector) ENGINE HNSW WITH { \"dimensions\": 1024, \"distanceFunction\": \"Cosine\" }", "exception": "com.arcadedb.exception.CommandSQLParsingException" }What am I supposed to do to create an index in SQL ?
Thanks
not going to lie, i shoved the whole documentation and arcadedb to google gemini and told him to find me a way to create a vector, that's what it came up with