Skip to content

@lancedb/lancedb β€’ Docs


@lancedb/lancedb / MakeArrowTableOptions

Class: MakeArrowTableOptions

Options to control the makeArrowTable call.

Constructors

new MakeArrowTableOptions()

new MakeArrowTableOptions(values?): MakeArrowTableOptions

Parameters

Returns

MakeArrowTableOptions

Properties

dictionaryEncodeStrings

dictionaryEncodeStrings: boolean = false;

If true then string columns will be encoded with dictionary encoding

Set this to true if your string columns tend to repeat the same values often. For more precise control use the schema property to specify the data type for individual columns.

If schema is provided then this property is ignored.


embeddingFunction?

optional embeddingFunction: EmbeddingFunctionConfig;

embeddings?

optional embeddings: EmbeddingFunction<unknown, FunctionOptions>;

schema?

optional schema: SchemaLike;

vectorColumns

vectorColumns: Record<string, VectorColumnOptions>;