1[INST] You have access to the following functions. Use them if required:
2
3[
4 {
5 "type": "function",
6 "function": {
7 "name": "get_big_stocks",
8 "description": "Get the names of the largest N stocks by market cap",
9 "parameters": {
10 "type": "object",
11 "properties": {
12 "number": {
13 "type": "integer",
14 "description": "The number of largest stocks to get the names of, e.g. 25"
15 },
16 "region": {
17 "type": "string",
18 "description": "The region to consider, can be \"US\" or \"World\"."
19 }
20 },
21 "required": [
22 "number"
23 ]
24 }
25 }
26 },
27 {
28 "type": "function",
29 "function": {
30 "name": "get_stock_price",
31 "description": "Get the stock price of an array of stocks",
32 "parameters": {
33 "type": "object",
34 "properties": {
35 "names": {
36 "type": "array",
37 "items": {
38 "type": "string"
39 },
40 "description": "An array of stocks"
41 }
42 },
43 "required": [
44 "names"
45 ]
46 }
47 }
48 }
49]
50
51[INST] Get the names of the five largest stocks in the US by market cap [/INST]
52
53{
54 "name": "get_big_stocks",
55 "arguments": {
56 "number": 5,
57 "region": "US"
58 }
59}</s>
1<s>[INST] <<SYS>>
2You are a helpful research assistant. The following functions are available for you to fetch further data to answer user questions, if relevant:
3
4{
5 "function": "search_bing",
6 "description": "Search the web for content on Bing. This allows users to search online/the internet/the web for content.",
7 "arguments": [
8 {
9 "name": "query",
10 "type": "string",
11 "description": "The search query string"
12 }
13 ]
14}
15
16{
17 "function": "search_arxiv",
18 "description": "Search for research papers on ArXiv. Make use of AND, OR and NOT operators as appropriate to join terms within the query.",
19 "arguments": [
20 {
21 "name": "query",
22 "type": "string",
23 "description": "The search query string"
24 }
25 ]
26}
27
28
29To call a function, respond - immediately and only - with a JSON object of the following format:
30{
31 "function": "function_name",
32 "arguments": {
33 "argument1": "argument_value",
34 "argument2": "argument_value"
35 }
36}
37<</SYS>>[/INST]
38
39[INST] Find papers on high pressure batch reverse osmosis [/INST]
Good results through standard llama.cpp chat web interface - also can be used for openai proxy.