Udostępnij za pośrednictwem


SummaryContext Klasa

Kontekst podsumowania.

Nowość w wersji 2023-04-01: Model SummaryContext .

Dziedziczenie
azure.ai.textanalytics._dict_mixin.DictMixin
SummaryContext

Konstruktor

SummaryContext(**kwargs: Any)

Metody

get
has_key
items
keys
update
values

get

get(key: str, default: Any | None = None) -> Any

Parametry

key
Wymagane
default
wartość domyślna: None

has_key

has_key(k: str) -> bool

Parametry

k
Wymagane

items

items() -> Iterable[Tuple[str, Any]]

keys

keys() -> Iterable[str]

update

update(*args: Any, **kwargs: Any) -> None

values

values() -> Iterable[Any]

Atrybuty

length

Długość kontekstu. Użycie różnych wartości "string_index_type" może mieć wpływ na zwracaną długość. Wymagane.

length: int

offset

Pozycja początkowa kontekstu. Użycie różnych wartości "string_index_type" może mieć wpływ na zwrócone przesunięcie. Wymagane.

offset: int