Skip to content

Commit

Permalink
Version 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
synw committed Nov 18, 2023
1 parent 4b94f9b commit 1f7f5b6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "modprompt",
"version": "0.1.2",
"version": "0.2.0",
"description": "Prompt templates for language models",
"license": "MIT",
"scripts": {
Expand Down
7 changes: 7 additions & 0 deletions src/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,13 @@ const templates: Record<string, LmTemplate> = {
"user": 1
},
},
"openchat": {
"id": "openchat",
"name": "OpenChat",
"user": "GPT4 User: {prompt}<|end_of_turn|>",
"assistant": "GPT4 Assistant:",
"stop": ["<|end_of_turn|>"]
},
"human_response": {
"id": "human_response",
"name": "Human response",
Expand Down

0 comments on commit 1f7f5b6

Please sign in to comment.