Skip to content

Incorrect Documentation for using YAML Template Settings #275

@davidve0206

Description

@davidve0206

All sections of the prompt's documentation that refer to using YAML prompt templates include the following line of code:

prompt_template_config = PromptTemplateConfig.from_yaml(yaml_content)

Nevertheless, the method does not exist in PromptTemplateConfig.

It seems like the expected method for managing prompts is the use of JSON files and a separate template, at least from the examples, but this is not shown or explained anywhere in the documentation.

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