Skip to content

XaiFileSearchOptions

Namespace: Vercel.AI.Xai

public sealed class XaiFileSearchOptions

Arguments of String). Maps to fileSearchArgsSchema.

Inheritance: object

View source

XaiFileSearchOptions(IReadOnlyList<string>)

Section titled “XaiFileSearchOptions(IReadOnlyList<string>)”
public XaiFileSearchOptions(IReadOnlyList<string> vectorStoreIds)

Creates the arguments.

Parameters

Name Type Description
vectorStoreIds IReadOnlyList<string>

View source

public double? MaxNumResults { get; init; }

Maximum number of results to return.

Value: double?

View source

public IReadOnlyList<string> VectorStoreIds { get; }

Vector store (collection) ids to search.

Value: IReadOnlyList<string>

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product