Skip to content

How do I add a system prompt when initializing a chat? #11

@angelhodar

Description

@angelhodar

In the new v0.chats.init() function, I dont know how can I add some system instructions for guidelines about how the code should be implemented. Maybe just adding the prompt as a file with a name like "instructions.md" would be enough? Even if this works, I think having a system parameter like in the v0.chats.create() is the best option

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