-
Notifications
You must be signed in to change notification settings - Fork 1
/
test_database_assistant_page.yaml
81 lines (81 loc) · 2.6 KB
/
test_database_assistant_page.yaml
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
interactions:
- request:
body: '{"max_tokens": 1024, "messages": [{"role": "user", "content": "The table
schema is:\nCREATE TABLE foo (id integer primary key, name text)"}, {"role":
"assistant", "content": "Ask questions to generate SQL"}, {"role": "user", "content":
"How many rows in the sqlite_master table?"}, {"role": "assistant", "content":
"select count(*) from sqlite_master\n-- Count rows in the sqlite_master table"},
{"role": "user", "content": "Show me all the data in the foo table"}, {"role":
"assistant", "content": "select"}], "model": "claude-3-haiku-20240307", "system":
"You answer questions by generating SQL queries using SQLite schema syntax.\nAlways
start with -- SQL comments explaining what you are about to do.\nNo yapping.
Output SQL with extensive SQL comments and nothing else.\nOr output SQL in a
sql tagged fenced markdown code block.\nReturn only one SQL SELECT query."}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
anthropic-version:
- '2023-06-01'
connection:
- keep-alive
content-length:
- '870'
content-type:
- application/json
host:
- api.anthropic.com
user-agent:
- AsyncAnthropic/Python 0.25.2
x-stainless-arch:
- arm64
x-stainless-async:
- async:asyncio
x-stainless-lang:
- python
x-stainless-os:
- MacOS
x-stainless-package-version:
- 0.25.2
x-stainless-runtime:
- CPython
x-stainless-runtime-version:
- 3.10.10
method: POST
uri: https://api.anthropic.com/v1/messages
response:
body:
string: !!binary |
H4sIAAAAAAAAA1SOy2rDMBBFf0XcZZHBiRMC+oFCyMJtdn1gVHucOJZHrjQiDcb/Xpy2i64uHA6X
M6FrYDDEU5Wvytvh8akI27a87i/l3j6/8PHQQ0NuIy0WxWhPBI3g3QJsjF0UywKNwTfkYFA7mxrK
iuxsuz5l63y9yYt8B40ofqwifSbimmA4OaeR7o9mQsdjkkp8TxxhVputhk/yj+1mjdqzEAvM6/SX
JfS1BNzHQD2oNvhBtd6/cZapIzmqRVnnVPDXqCw3qvYuDRx/RDnTIiuxH44wv/+GBrLRMwyIm0pS
YMzfAAAA//8DANhA6bQtAQAA
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 875704994c7a67f9-SJC
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Tue, 16 Apr 2024 20:45:15 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
request-id:
- req_01KDY28fjzAA9d615XULxyjW
via:
- 1.1 google
x-cloud-trace-context:
- c5f2822f3aa36f6cc77d4241a215077a
status:
code: 200
message: OK
version: 1