Skip to content

WebFetchDefuddleOptions

Namespace: Vercel.AI.WebFetch

public sealed class WebFetchDefuddleOptions

Options for the HTML content extractor. Options that control the output format, logging, or network access are set by the tool. Maps to WebFetchDefuddleOptions.

Inheritance: object

View source

public string? ContentSelector { get; set; }

CSS selector of the element that holds the main content. By default the extractor picks it.

Value: string

View source

public bool RemoveHiddenElements { get; set; }

Remove elements that are hidden from view. Defaults to true.

Value: bool

View source

public bool RemoveImages { get; set; }

Remove images from the result. Defaults to false.

Value: bool

View source

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