Skip to content

Add built-in key-value store tools to persist data locally between gptscript invocations #12

Open
@njhale

Description

@njhale

Description

Add built-in tools that can store and retrieve arbitrary key-value pairs to/from disk on my local machine.

Motivation

If I want a tool to be able to reference info from a previous run of gptscript, the tool needs to persist that data somewhere. Today, I believe the onus of how and where to store and retrieve that data is placed on the tool author; e.g. I write another custom tool that writes to a specific file in some arbitrary format. Having a first class way to store key-value pairs would (probably) help me avoid rewriting such a tool every time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestproposalAn enhancement or documentation proposal

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions