Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
anish-work authored Sep 13, 2024
1 parent ae09273 commit f92ae02
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ const config = {
mode: "popup" | "inline" | "fullscreen",
enableAudioMessage: true,
showSources: true,
enablePhotoUpload: true,
enableConversations: true,
branding: {
name: "Farmer.CHAT",
byLine: "By Digital Green",
Expand Down Expand Up @@ -89,6 +91,18 @@ Determines how the Gooey widget is displayed on your site:

A boolean to enable or disable recording and sending audio messages to the bot.

##### `enableConversations: boolean`

A boolean to enable or disable the user's conversation history.

- When enabled a "New Chat" button will be shown in top-right corner and in a left drawer, which will also list all the previous conversations.

- When disabled, a single conversation is maintained in the database for every session and all the messages will be pre-loaded in the state

##### `enablePhotoUpload: boolean;`

A boolean to enable or disable the photo upload button.

##### `showSources`

A boolean that dictates whether sources of information (if any) should be shown.
Expand Down

0 comments on commit f92ae02

Please sign in to comment.