Collin Dutter
Collin Dutter
Great point @shhlife. Though `ChatDriver` doesn't feel AI-ey enough, and `ModelDriver` feels too broad. We may have Drivers for non-chat models. > Every time I talk to people about Griptape...
Adding a relatively simple method to `EventBus` and we can do: ```python def publish_and_wait(self, event: BaseEvent, response_event_type: type[T]) -> T: future = Future() def on_event(event: BaseEvent) -> None: future.set_result(event) EventBus.add_event_listener(EventListener(on_event=on_event,...
Same pattern applied to a decorator for blocking Tool uses. ```python import logging import random from collections.abc import Callable from functools import wraps from typing import Any from attrs import...
Maybe same issue as https://github.com/assistant-ui/assistant-ui/issues/2587#issuecomment-3494387975?
Once Loaders are Driver-based, this library would fit great into `JsonParser.parse`.
Unfortunately it's hard to generalize because we're not entirely consistent. For example: ``` from griptape.drivers import OpenAiChatPromptDriver ``` Should really map to: ``` from griptape.drivers.prompt.openai_chat import OpenAiChatPromptDriver ``` This is...
@dylanholmes do you have any idea for how we might generalize this?
Docs seem to be failing because of weird indention on the docstrings. Can you make them consistent with other docstrings?
Are you able to provide a fully reproducible example? With this example, I run into #1155 first: ```python from griptape.tasks import PromptTask prompt_task = PromptTask( "Respond to the user's following...