Skip to content

Support logit_bias to make a word more or less likely to generate #19

@gitcommitshow

Description

@gitcommitshow

This could be useful to ban offesnsive words or encourage some words to set the tone (e.g. understand, resolve, etc.)

Ref: https://help.openai.com/en/articles/5247780-using-logit-bias-to-alter-token-probability-with-the-openai-api

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