File size: 281 Bytes
85cfc99
 
c6b7c35
 
85cfc99
 
 
c6b7c35
 
85cfc99
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
from pydantic import BaseModel
from typing import Optional, Any, List

class PrivacyAction(BaseModel):
    method: str
    endpoint: str
    payload: Optional[dict] = None

class PrivacyObservation(BaseModel):
    status_code: int
    response_data: Any
    current_task_goal: str