diff --git a/.gitignore b/.gitignore index ba57b28..d0e26af 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ cache/ context.db context.db-shm context.db-wal +data.ms \ No newline at end of file diff --git a/database/db.go b/database/db.go index 53c4200..85b6383 100644 --- a/database/db.go +++ b/database/db.go @@ -9,7 +9,7 @@ import ( "zombiezen.com/go/sqlite/sqlitex" ) -const dbLocation = "./context.db" +const dbLocation = "./context.db" // TODO: put this in either a config or automatically place in the appData folder var schema = sqlitemigration.Schema{ // Each element of the Migrations slice is applied in sequence. When you diff --git a/meilisearch.exe b/meilisearch.exe new file mode 100644 index 0000000..6a3892e Binary files /dev/null and b/meilisearch.exe differ diff --git a/prompts/summarize.tmpl b/prompts/summarize.tmpl index ebc279c..9ea6145 100644 --- a/prompts/summarize.tmpl +++ b/prompts/summarize.tmpl @@ -1,5 +1,5 @@ Your job is to summarize a history of previous messages in a conversation between an AI persona and a human. -The conversation you are given is a from a fixed context window and may not be complete. +The conversation you are given is from a fixed context window and may not be complete. Messages sent by the AI are marked with the 'assistant' role. The AI 'assistant' can also make calls to functions, whose outputs can be seen in messages with the 'function' role. Things the AI says in the message content are considered inner monologue and are not seen by the user.