module RubyLLM::FileStore::Factory

Builds the stores RubyLLM ships, so attaching one needs no class names. RubyLLM.file_store returns it.

chat.with_file_store(RubyLLM.file_store.memory)
chat.with_file_store(RubyLLM.file_store.directory("tmp/work"))
chat_record.with_file_store(RubyLLM.file_store.active_storage(chat_record, owner: user))
config.file_converters["image/*"] = RubyLLM.file_store.converter.ocr

For a store of your own, subclass FileStore.