Create an Infino table
infino_create_tableCreate typed tables with full-text BM25 indexes and optional vector embeddings, enabling keyword, semantic, and hybrid search over stored data.
Instructions
Create a table from a {column: type} descriptor. Full-text (BM25) indexes go on the columns named in 'fts' (default: every large_utf8 column; the index requires that type). With vector: true the server adds an 'embedding' column sized to its embedder and a cosine vector index on it, so semantic and hybrid search work and rows added without a vector are embedded from their text. Every column is required in every row you add, so declare only columns you will always fill. Give every table a stable key column of type utf8 so rows can be replaced or removed later by predicate (e.g. key = 'doc-1'); keep utf8 for ids and short labels and large_utf8 for the text to search, so the searches infer the right column.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fts | No | Columns to full-text index. Default: every large_utf8 column. Must be large_utf8. | |
| table | Yes | Table name. | |
| vector | No | Add an 'embedding' vector column sized to the server's embedder, with a cosine index. Default false. | |
| columns | Yes | Columns as {name: type}. large_utf8 for text to search; utf8 for a key, ids, and short labels. |