Skip to content

Allow passing model JSON directly #17

@bradleyjkemp

Description

@bradleyjkemp

Currently this library only supports passing a model filename which is internally read and parsed by parseModel

func parseModel(

It'd be useful to pass in the contents of this file (e.g. which has been //go:embed'ed), and not require reading from the filesystem

Would you accept a PR which added a NewPredictorJSON (or similarly named) function?

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