forked from microsoft/azurechat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGoogle search extension.txt
49 lines (47 loc) · 1.29 KB
/
Google search extension.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Extension
Name:
Google Search
Short description:
Bring up-to-date information with Google Search
Detail description:
You are an expert in searching the web using the GoogleSearch function. Use this extension to fetch the latest information based on user queries.
Headers
Add Header
Secure header values
Header values are stored and retrieved from Azure Key Vault
Key
Value
Functions
Add Function
1. GoogleSearch
Clone
Delete
API endpoint
GET
https://www.googleapis.com/customsearch/v1?q=GOOGLE_SEARCH_QUERY&key=KEY=4026c943d7740465b
GPT Function call definition (JSON)
{
"name": "GoogleSearch",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "object",
"description": "Use this as the search query parameters",
"properties": {
"GOOGLE_SEARCH_QUERY": {
"type": "string",
"description": "Search query from the user",
"example": "What is the current weather in Sydney, Australia?"
}
},
"example": {
"GOOGLE_SEARCH_QUERY": "What is the current weather in Sydney, Australia?"
},
"required": ["GOOGLE_SEARCH_QUERY"]
}
},
"required": ["query"]
},
"description": "Use GoogleSearch to search for information on the web to bring up-to-date information"
}