ch07 fixes (#204)

* updated .gitginore for ch07

* fixed extract_response()
This commit is contained in:
Daniel Kleine
2024-06-11 00:31:13 +02:00
committed by GitHub
parent 888ce71796
commit da9f64215a
2 changed files with 5 additions and 1 deletions

View File

@@ -1283,7 +1283,7 @@
},
"outputs": [],
"source": [
"def extract_response(response_text):\n",
"def extract_response(response):\n",
" return response[response.find(\"\\n### Response\")+len(\"\\n### Response:\")+1:]"
]
},