Skip to main content

Documentation Index

Fetch the complete documentation index at: https://www.getmaxim.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

View module source on GitHub

FeedbackDict

class FeedbackDict(TypedDict)
Feedback dict. This class provides functionality to manage feedback dictionaries.

Feedback

@deprecated(
    "This class will be removed in a future version. Use {} which is TypedDict."
)

@dataclass
class Feedback()
Feedback. This class represents a feedback event.

get_feedback_dict

def get_feedback_dict(
        feedback: Union[Feedback, FeedbackDict]) -> dict[str, Any]
Get the feedback dict. Arguments:
NameTypeDescription
feedbackUnion[Feedback, FeedbackDict]The feedback to get the dict from.
Returns: dict[str, Any]: The feedback dict.