File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 342342 "source" : [
343343 " import openai\n " ,
344344 " \n " ,
345- " _ , validated_response, *rest = guard(\n " ,
346- " openai.chat. completions.create,\n " ,
345+ " raw_llm_response , validated_response, *rest = guard(\n " ,
346+ " openai.completions.create,\n " ,
347347 " prompt_params={\" document\" : content[:6000]},\n " ,
348+ " model=\" gpt-3.5-turbo-instruct\" ,\n " ,
348349 " max_tokens=2048,\n " ,
349350 " temperature=0,\n " ,
350351 " )"
17301731 ],
17311732 "metadata" : {
17321733 "kernelspec" : {
1733- "display_name" : " tiff-env " ,
1734+ "display_name" : " Python 3 (ipykernel) " ,
17341735 "language" : " python" ,
17351736 "name" : " python3"
17361737 },
17441745 "name" : " python" ,
17451746 "nbconvert_exporter" : " python" ,
17461747 "pygments_lexer" : " ipython3" ,
1747- "version" : " 3.9.17 "
1748+ "version" : " 3.12.1 "
17481749 },
1749- "orig_nbformat" : 4 ,
17501750 "vscode" : {
17511751 "interpreter" : {
17521752 "hash" : " ef14f49bbc779f2fde64ca0552c2a99d578405052f5b73f61279551da311a8a1"
17531753 }
17541754 }
17551755 },
17561756 "nbformat" : 4 ,
1757- "nbformat_minor" : 2
1757+ "nbformat_minor" : 4
17581758}
You can’t perform that action at this time.
0 commit comments