deepgram.clients.common.v1.enums

 1# Copyright 2024 Deepgram SDK contributors. All Rights Reserved.
 2# Use of this source code is governed by a MIT license that can be found in the LICENSE file.
 3# SPDX-License-Identifier: MIT
 4
 5from aenum import StrEnum
 6
 7# Constants mapping to events from the Deepgram API
 8
 9
10class Sentiment(StrEnum):
11    """
12    Sentiment values.
13    """
14
15    UNKNOWN: str = ""
16    NEGATIVE: str = "negative"
17    NEUTRAL: str = "neutral"
18    POSITIVE: str = "positive"
class Sentiment(aenum._enum.StrEnum):
11class Sentiment(StrEnum):
12    """
13    Sentiment values.
14    """
15
16    UNKNOWN: str = ""
17    NEGATIVE: str = "negative"
18    NEUTRAL: str = "neutral"
19    POSITIVE: str = "positive"

Sentiment values.

UNKNOWN: str = <Sentiment.UNKNOWN: ''>
NEGATIVE: str = <Sentiment.NEGATIVE: 'negative'>
NEUTRAL: str = <Sentiment.NEUTRAL: 'neutral'>
POSITIVE: str = <Sentiment.POSITIVE: 'positive'>