Skip to content

Commit f7facc2

Browse files
Explain custom prompts
1 parent 1745504 commit f7facc2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ the_username_for_the_user = "True"
111111
```
112112
In case the above is not provides, the app will default to not enabling deleting content and their vector embeddings.
113113
### Step 7
114+
You have the option of defining a default prompt in `/customizations/prompt`. The convention here is to create a markdown file called `<username>.txt`.
115+
In case no prompt is provided, the app uses `default.txt` and the app will default to using the 'Short results' prompt.
116+
In case you provide a custom prompt for the user, the app will default to using that on startup.
117+
### Step 8
114118
Start up the app and pre-load relevant PDF and Text files so that the app has content that can be used as context for the questions/prompts in the next step. All this data will be loaded into a user specific collection in Astra DB defined by `<username>`.
115119

116120

0 commit comments

Comments
 (0)