JinkunLiu commented on issue #476:
URL: https://github.com/apache/flink-agents/issues/476#issuecomment-4730240455

   Yeah, I know what you're worried about. @wenjin272
   
    What about adding a new container to `Event`, parallel to attributes?
   
     Like this:
   ```python
   class Event(BaseModel, extra="allow"):
   """
       attributes : Dict[str, Any]
           Key-value metadata for the event, kept inline on the wire.
       attachments : Dict[str, Any]
           Key-value data passed across actions, transparently offloaded to the
           agent's sensory memory as a ``MemoryRef`` and resolved back to the 
real
           value before the consuming action runs.
   """
       attributes: Dict[str, Any] = Field(default_factory=dict)
       attachments: Dict[str, Any] = Field(default_factory=dict)
   ```
   
   The value in `attachments` can be offloaded and resolved automatically. WDYT?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to