Providing Context to an AI in Effect Typescript
What is the best way to provide context to an AI? Let's say it asks for a tool call, for example a list of messages, and I know it will benefit from having available a mapping between
message.userId and a list of those users. How do I provide such context? I have been checking AiInput.make('the context here as text', {role: AiRole.model}), but that seems to be just plain text. Is there an easy way to provide it as a more structured data?