Skip to content

use System, Human and AI patterns for prompts roles for OpenAI chat models #16

@lgabs

Description

@lgabs

Right now, we're building the full prompt directly, combining a system message with context and user message. That's ok for other models, but for OpenAI chat models there is a a better practice for (which is more organized and should lead to better responses) these patterns for each role (reference from langchain).

We should be using this pattern for chains using gpt.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions