mirror of
https://github.com/kennethreitz/instructor.git
synced 2026-06-05 22:50:18 +00:00
bump
This commit is contained in:
@@ -675,7 +675,33 @@
|
||||
"cell_type": "code",
|
||||
"execution_count": 27,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"{\n",
|
||||
" \"queries\": [\n",
|
||||
" {\n",
|
||||
" \"query\": \"Today's events\",\n",
|
||||
" \"keywords\": [\n",
|
||||
" \"today\",\n",
|
||||
" \"events\",\n",
|
||||
" \"calendar\"\n",
|
||||
" ],\n",
|
||||
" \"email\": \"jason@work.com\",\n",
|
||||
" \"source\": \"calendar\",\n",
|
||||
" \"date_range\": {\n",
|
||||
" \"chain_of_thought\": \"Since the user is asking about today's events, we should look for events scheduled for the current day, which is 2023-12-22. We don't need an end date as the user is only interested in today's events.\",\n",
|
||||
" \"start\": \"2023-12-22\",\n",
|
||||
" \"end\": \"2023-12-22\"\n",
|
||||
" }\n",
|
||||
" }\n",
|
||||
" ]\n",
|
||||
"}\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"retrival = client.chat.completions.create(\n",
|
||||
" model=\"gpt-3.5-turbo\",\n",
|
||||
|
||||
Reference in New Issue
Block a user