Skip to content

(R) Tidy up data_source plugin API #110

@cpsievert

Description

@cpsievert

The current setup for implementing new data sources in R is a bit of a mess. As an implementer, you have to know a lot of details about internals (e.g., create_data_source() needs to create an object of class querychat_data_source?)

For ease of maintenance, we should consider following a similar class-based/interface/protocol pattern that the Python package has. This would be a breaking change that gets rid of create_system_prompt(), create_data_source(), execute_query(), etc., in favor of just one base class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions