Skip to content

drivers_config

DriversConfig

Bases: BaseDriversConfig

Source code in griptape/configs/drivers/drivers_config.py
@define
class DriversConfig(BaseDriversConfig):
    @lazy_property()
    def prompt_driver(self) -> BasePromptDriver:
        return DummyPromptDriver()

    @lazy_property()
    def image_generation_driver(self) -> BaseImageGenerationDriver:
        return DummyImageGenerationDriver()

    @lazy_property()
    def image_query_driver(self) -> BaseImageQueryDriver:
        return DummyImageQueryDriver()

    @lazy_property()
    def embedding_driver(self) -> BaseEmbeddingDriver:
        return DummyEmbeddingDriver()

    @lazy_property()
    def vector_store_driver(self) -> BaseVectorStoreDriver:
        return DummyVectorStoreDriver(embedding_driver=self.embedding_driver)

    @lazy_property()
    def conversation_memory_driver(self) -> BaseConversationMemoryDriver:
        return LocalConversationMemoryDriver()

    @lazy_property()
    def text_to_speech_driver(self) -> BaseTextToSpeechDriver:
        return DummyTextToSpeechDriver()

    @lazy_property()
    def audio_transcription_driver(self) -> BaseAudioTranscriptionDriver:
        return DummyAudioTranscriptionDriver()

audio_transcription_driver()

Source code in griptape/configs/drivers/drivers_config.py
@lazy_property()
def audio_transcription_driver(self) -> BaseAudioTranscriptionDriver:
    return DummyAudioTranscriptionDriver()

conversation_memory_driver()

Source code in griptape/configs/drivers/drivers_config.py
@lazy_property()
def conversation_memory_driver(self) -> BaseConversationMemoryDriver:
    return LocalConversationMemoryDriver()

embedding_driver()

Source code in griptape/configs/drivers/drivers_config.py
@lazy_property()
def embedding_driver(self) -> BaseEmbeddingDriver:
    return DummyEmbeddingDriver()

image_generation_driver()

Source code in griptape/configs/drivers/drivers_config.py
@lazy_property()
def image_generation_driver(self) -> BaseImageGenerationDriver:
    return DummyImageGenerationDriver()

image_query_driver()

Source code in griptape/configs/drivers/drivers_config.py
@lazy_property()
def image_query_driver(self) -> BaseImageQueryDriver:
    return DummyImageQueryDriver()

prompt_driver()

Source code in griptape/configs/drivers/drivers_config.py
@lazy_property()
def prompt_driver(self) -> BasePromptDriver:
    return DummyPromptDriver()

text_to_speech_driver()

Source code in griptape/configs/drivers/drivers_config.py
@lazy_property()
def text_to_speech_driver(self) -> BaseTextToSpeechDriver:
    return DummyTextToSpeechDriver()

vector_store_driver()

Source code in griptape/configs/drivers/drivers_config.py
@lazy_property()
def vector_store_driver(self) -> BaseVectorStoreDriver:
    return DummyVectorStoreDriver(embedding_driver=self.embedding_driver)