Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created March 27, 2023 21:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjoerntx/1851fd627a4c6eaf8e4afbc45cd60f4e to your computer and use it in GitHub Desktop.
Save bjoerntx/1851fd627a4c6eaf8e4afbc45cd60f4e to your computer and use it in GitHub Desktop.
public class Constants {
public static string OPENAI_MODEL = "text-davinci-003";
public static string OPENAI_API_KEY = "";
public static readonly Dictionary<string, string> Prompts = new Dictionary<string, string>() {
{ "formal", "Return the text after the colon in a more professional way and provide the results as plain text: " },
{ "informal", "Return the text after the colon in an informal way and provide the results as plain text: " },
{ "optimistic", "Return the text after the colon in an optimistic way and provide the results as plain text: " },
{ "encouraging", "Return the text after the colon that encourages the reader and provide the results as plain text: " },
{ "expand", "Add more details to increase content length to the text after the colon and provide the results as plain text: " },
{ "shorten", "Shorten the text after the colon and provide the results as plain text: " }
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment