Results of 1 - 3 of about 3 for embedding (0.001 sec.)
- Embedding DuckDB 11477
- CLI Client The Command Line Interface (CLI) client is intended for interactive use cases and not for embedding. As a result, it has more features that could be abused by a malicious actor. For example, the CLI client has the .sh feature tha
...ient and not in any other DuckDB clients. .sh ls Tip Calling DuckDB's CLI client via shell commands is not recommended for embedding DuckDB. It is recommended to use one of the client libraries, e.g., Python , R , Java , etc.... - https://man.mtool.work/duckdb/2.0/operations_manual/securing_duckdb/embedding_du...
- FROM and JOIN Clauses 9468
- The FROM clause specifies the source of the data on which the remainder of the query should operate. Logically, the FROM clause is where the query starts execution. The FROM clause can contain a single table, a combination of multiple table
...to a similarity or distance measure. This turns top-k similarity search into a join clause, which is handy for vector and embedding workloads. The join is written as NEAREST ⟨k⟩ BY SIMILARITY ⟨expression⟩ (higher is closer) or NEAREST ⟨k⟩ BY DISTANCE ⟨ex...SELECT q.user_id, t.product_id FROM users q INNER JOIN products t APPROX NEAREST 2 BY SIMILARITY array_cosine_similarity(q.embedding, t.embedding); Nearest joins can be combined with the regular join types, for example LEFT JOIN : SELECT q.user_id, t.prod...uct_id FROM users q LEFT JOIN products t NEAREST 1 BY DISTANCE array_distance(q.embedding, t.embedding); Self-Joins DuckDB allows self-joins for all types of joins. Note that tables need to be aliased, using the... - https://man.mtool.work/duckdb/2.0/sql/query_syntax/from.html
- Securing DuckDB 6938
- DuckDB is a powerful analytical database engine. It can read and write files, access the network, load extensions, and use system resources. Like any powerful tool, these capabilities require appropriate configuration when working with sens
...epends on your use case, environment, and threat model. If you plan to embed DuckDB in your application, also consult the "Embedding DuckDB" page. Untrusted Input Untrusted SQL Input Warning Treat SQL in DuckDB like code in Bash or Python. Do not execute... - https://man.mtool.work/duckdb/2.0/operations_manual/securing_duckdb/overview.htm...
PREV
1
NEXT
DuckDB 2.0 Documentation / man.mtool.work