DuckDB
更新日:2025.10.13
作成日:2025.10.13
DuckDBを利用してできそうなこと
- CosenseのJSONファイルを読み込み、ベクトル検索対応する
- Cosense MCPのデータベースとする
たとえば、JSONファイルを読み込み、 データベース化するならどうするか
クラインごとにベクトル化するのがよいと思ったけど、「#単語」だけのケースがあり、検索クエリとの一致度をみるうまくヒットしない。
Dot commands
- .open closes the current database file and opens a new one.
- .read allows reading SQL files to execute from within the CLI.
- .tables lists the currently available tables and views.
- .timer on/off toggles SQL timing output.
- .mode controls output formats.
- .exit, .quit or ctrl-d exit the CLI.