File tree Expand file tree Collapse file tree
adminforth/documentation/docs/tutorial/08-Plugins Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -203,6 +203,13 @@ import CompletionAdapterOpenAIChatGPT from '@adminforth/completion-adapter-open-
203203plugins : [
204204 ...
205205 new AdminForthAgent ({
206+ // optional, can be used to suggest example prompts in the UI
207+ // placeholderMessages: async ({ adminUser, httpExtra }) => {
208+ // return [
209+ // 'What is a cars count in SQLite',
210+ // 'Build average car price by days chart in SQLite',
211+ // ];
212+ // },
206213 modes: [
207214 {
208215 name: ' Balanced' ,
Original file line number Diff line number Diff line change @@ -193,6 +193,12 @@ export default {
193193 } ,
194194 } ) ,
195195 new AdminForthAgent ( {
196+ placeholderMessages : async ( { adminUser, httpExtra } ) => {
197+ return [
198+ "What is a cars count in SQLite" ,
199+ "Build average car price by days chart in SQLite" ,
200+ ]
201+ } ,
196202 modes : [
197203 {
198204 name : 'Balanced' ,
You can’t perform that action at this time.
0 commit comments