-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3685 from CityOfBoston/master
(production) AI Search, config sync, event display time
- Loading branch information
Showing
210 changed files
with
12,813 additions
and
529 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
_core: | ||
default_config_hash: cufENE0oxs6iqDK4ygjKRjgR7TljgtrB1U-O03lBmgY | ||
engines: | ||
bing: '1' | ||
google: '1' | ||
google: google | ||
custom_urls: '' | ||
minimum_lifetime: 21600 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
config/default/block.block.bos_theme_aienabledsearchbutton.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
uuid: 7cb0ed9c-1a5d-4a8e-b644-4ba29e006c28 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- bos_search | ||
- system | ||
theme: | ||
- bos_theme | ||
id: bos_theme_aienabledsearchbutton | ||
theme: bos_theme | ||
region: content | ||
weight: -2 | ||
provider: null | ||
plugin: Ai-enabled-search-button | ||
settings: | ||
id: Ai-enabled-search-button | ||
label: 'Beta Search' | ||
label_display: '0' | ||
provider: bos_search | ||
search_button_title: 'Try AI Search' | ||
search_button_css: '' | ||
aisearch_config_preset: vertex_search | ||
aisearch_config_display: '1' | ||
aisearch_config_searchpage: /search-beta-page | ||
search_block_text: 'Through our AI search, you can quickly find semantic answers to your questions related to Office of Economic Opportunity and Inclusion services.' | ||
visibility: | ||
request_path: | ||
id: request_path | ||
negate: false | ||
pages: /ai-search |
31 changes: 31 additions & 0 deletions
31
config/default/block.block.bos_theme_aienabledsearchbutton_2.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
uuid: 9f83fc29-e8dc-40c9-bba5-799b507f8d90 | ||
langcode: en | ||
status: false | ||
dependencies: | ||
module: | ||
- bos_search | ||
- system | ||
theme: | ||
- bos_theme | ||
id: bos_theme_aienabledsearchbutton_2 | ||
theme: bos_theme | ||
region: content | ||
weight: -1 | ||
provider: null | ||
plugin: Ai-enabled-search-button | ||
settings: | ||
id: Ai-enabled-search-button | ||
label: 'Modal Search Button' | ||
label_display: visible | ||
provider: bos_search | ||
search_button_title: 'Search Modal' | ||
search_button_css: '' | ||
aisearch_config_preset: vertex_conversation | ||
aisearch_config_display: '0' | ||
aisearch_config_searchpage: '' | ||
search_block_text: '' | ||
visibility: | ||
request_path: | ||
id: request_path | ||
negate: false | ||
pages: /ai-search |
27 changes: 27 additions & 0 deletions
27
config/default/block.block.bos_theme_aienabledsearchform.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
uuid: 838600a1-c35e-4157-b1a9-30b2fa5ad3ca | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- bos_search | ||
- system | ||
theme: | ||
- bos_theme | ||
id: bos_theme_aienabledsearchform | ||
theme: bos_theme | ||
region: content | ||
weight: 0 | ||
provider: null | ||
plugin: Ai-enabled-search-form | ||
settings: | ||
id: Ai-enabled-search-form | ||
label: 'AI Enabled Search Form' | ||
label_display: '0' | ||
provider: bos_search | ||
search_form_title: null | ||
aisearch_config_preset: vertex_search | ||
visibility: | ||
request_path: | ||
id: request_path | ||
negate: false | ||
pages: /search-beta-page |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
base: '[]' | ||
summarizer: '{"spam":"UHJvdmlkZSBhIHByb2JhYmlsaXR5IHRoYXQgdGhpcyBlbWFpbCB0ZXh0IGlzIHNwYW0u","rollcall":"UHJvdmlkZSBhIHNob3J0IHRleHQgdGl0bGUgZm9yIHRoZSBmb2xsb3dpbmcgdGV4dCwgd2hpY2ggaXMgYSB2b3RpbmcgcmVjb3JkIG9mIGEgQ2l0eSBDb3VuY2lsIG1lZXRpbmcuIE9ubHkgdGhlIHRpdGxlIGlzIHJlcXVpcmVkLiBEbyBub3QgaW5jbHVkZSBtYXJrZG93biBmb3JtYXR0aW5nLg=="}' | ||
rewriter: '[]' | ||
search: '[]' | ||
search: '{"aiSearch":"R2l2ZW4gdGhlIGNvbnZlcnNhdGlvbiBiZXR3ZWVuIGEgdXNlciBhbmQgYSBoZWxwZnVsIGFzc2lzdGFudCBhbmQgc29tZSBzZWFyY2ggcmVzdWx0cywgY3JlYXRlIGEgZmluYWwgYW5zd2VyIGZvciB0aGUgYXNzaXN0YW50LiBUaGUgYW5zd2VyIHNob3VsZCB1c2UgYWxsIHJlbGV2YW50IGluZm9ybWF0aW9uIGZyb20gdGhlIHNlYXJjaCByZXN1bHRzLCBub3QgaW50cm9kdWNlIGFueSBhZGRpdGlvbmFsIGluZm9ybWF0aW9uLCBhbmQgdXNlIGV4YWN0bHkgdGhlIHNhbWUgd29yZHMgYXMgdGhlIHNlYXJjaCByZXN1bHRzIHdoZW4gcG9zc2libGUuIFRoZSBhc3Npc3RhbnQncyBhbnN3ZXIgc2hvdWxkIGJlIG5vIG1vcmUgdGhhbiAyMCBzZW50ZW5jZXMuIFRoZSB1c2VyIGlzIGEgbWVtYmVyIG9mIHRoZSBnZW5lcmFsIHB1YmxpYyB3aG8gZG9lc24ndCBoYXZlIGluLWRlcHRoIGtub3dsZWRnZSBvZiB0aGUgc3ViamVjdCBtYXR0ZXIuIFRoZSBhc3Npc3RhbnQgc2hvdWxkIGF2b2lkIHVzaW5nIHNwZWNpYWxpemVkIGtub3dsZWRnZSwgYW5kIGluc3RlYWQgYW5zd2VyIGluIGEgbm9uLXRlY2huaWNhbCBtYW5uZXIgdGhhdCBhbnlvbmUgY2FuIHVuZGVyc3RhbmQu"}' | ||
translation: '[]' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
presets: | ||
vertex_conversation: | ||
name: 'Vertex Conversation' | ||
aimodel: 'Vertex Conversation' | ||
model_tuning: | ||
prompt: default | ||
safe_search: '1' | ||
semantic_chunks: null | ||
searchform: | ||
theme: concierge | ||
disclaimer: | ||
enabled: '1' | ||
show_once: '1' | ||
text: 'We are trying something new! This is an experimental search that displays business-related results and information leveraging generative artificial intelligence (AI). Since this is a test site, there is a chance that some answers will be incomplete or inaccurate. Please double check answers using the provided links.' | ||
modal_titlebartitle: '' | ||
welcome: | ||
body_title: 'What are you looking for?' | ||
body_text: 'Our AI-generated search provides answers to your business and Economic Opportunity and Inclusion questions leveraging Google’s Vertex AI. As this is an experiment, some answers may be incorrect. You will be able to provide direct feedback below each response. If you have any questions about our work, please email <a href="mailto:[email protected]">[email protected]</a>.' | ||
cards: | ||
enabled: '1' | ||
card_1: 'How do I get a food truck permit?' | ||
card_2: 'How do I become a vendor with the City of Boston?' | ||
card_3: 'How can I learn about funding opportunities?' | ||
searchbar: | ||
search_text: 'How can we help you?' | ||
search_note: "Responses may occasionally produce inaccurate or incomplete content. Validate answers on\_Boston.gov" | ||
allow_reset: null | ||
audio_search_input: null | ||
results: | ||
waiting_text: 'Scanning boston.gov for information ...' | ||
result_count: '5' | ||
summary: '1' | ||
no_result_text: '' | ||
citations: '1' | ||
searchresults: '1' | ||
feedback: '1' | ||
pid: vertex_conversation | ||
metadata: null | ||
pid: vertex_conversation | ||
vertex_search: | ||
name: 'Vertex Search' | ||
aimodel: 'Vertex Conversation' | ||
model_tuning: | ||
prompt: aiSearch | ||
safe_search: '1' | ||
semantic_chunks: null | ||
searchform: | ||
theme: concierge | ||
disclaimer: | ||
enabled: '1' | ||
text: 'We are trying something new! This is an experimental search that displays business-related results and information leveraging generative artificial intelligence (AI). Since this is a test site, there is a chance that some answers will be incomplete or inaccurate. Please double check answers using the provided links.' | ||
show_once: null | ||
modal_titlebartitle: '' | ||
welcome: | ||
body_title: 'What are you looking for?' | ||
body_text: 'Our AI-generated search provides answers to your business and Economic Opportunity and Inclusion questions leveraging Google’s Vertex AI. As this is an experiment, some answers may be incorrect. You will be able to provide direct feedback below each response. If you have any questions about our work, please email <a href="mailto:[email protected]">[email protected]</a>.' | ||
cards: | ||
enabled: '1' | ||
card_1: 'How do I get a food truck permit?' | ||
card_2: 'How do I become a vendor with the City of Boston?' | ||
card_3: 'How can I learn about funding opportunities?' | ||
searchbar: | ||
allow_reset: '1' | ||
search_text: 'How can we help you?' | ||
search_note: "Responses may occasionally produce inaccurate or incomplete content. Validate answers on\_Boston.gov" | ||
audio_search_input: null | ||
results: | ||
waiting_text: 'Scanning boston.gov for information ...' | ||
result_count: '5' | ||
summary: '1' | ||
no_result_text: 'No results were <a href="#">found</a>. No results were <a href="#">found</a>. No results were <a href="#">found</a>. No results were <a href="#">found</a>. No results were <a href="#">found</a>. No results were <a href="#">found</a>. No results were <a href="#">found</a>. No results were <a href="#">found</a>. No results were <a href="#">found</a>. No results were <a href="#">found</a>. No results were <a href="#">found</a>. No results were <a href="#">found</a>. ' | ||
citations: '1' | ||
searchresults: '1' | ||
feedback: '1' | ||
pid: vertex_search | ||
metadata: null | ||
pid: vertex_search |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.