- Update version to 0.5.0 in all components - Regenerate OpenAPI spec and client SDKs - Python packages: hindsight-api, hindsight-dev, hindsight-all, hindsight-embed - Python client: hindsight-clients/python - TypeScript client: hindsight-clients/typescript - Rust CLI: hindsight-cli - Control Plane: hindsight-control-plane - Helm chart - Create documentation version-0.5
38 lines
702 B
Python
38 lines
702 B
Python
# coding: utf-8
|
|
|
|
"""
|
|
Hindsight HTTP API
|
|
|
|
HTTP API for Hindsight
|
|
|
|
The version of the OpenAPI document: 0.5.0
|
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
|
|
Do not edit the class manually.
|
|
""" # noqa: E501
|
|
|
|
|
|
from __future__ import annotations
|
|
import json
|
|
from enum import Enum
|
|
from typing_extensions import Self
|
|
|
|
|
|
class Budget(str, Enum):
|
|
"""
|
|
Budget levels for recall/reflect operations.
|
|
"""
|
|
|
|
"""
|
|
allowed enum values
|
|
"""
|
|
LOW = 'low'
|
|
MID = 'mid'
|
|
HIGH = 'high'
|
|
|
|
@classmethod
|
|
def from_json(cls, json_str: str) -> Self:
|
|
"""Create an instance of Budget from a JSON string"""
|
|
return cls(json.loads(json_str))
|
|
|
|
|