|
|
|
@ -145,7 +145,7 @@
|
|
|
|
|
"source": [
|
|
|
|
|
"def call_and_clean(text: str, model: str = \"gpt-4-turbo-preview\") -> dict:\n",
|
|
|
|
|
" \"\"\"\n",
|
|
|
|
|
" Parse and clean ticket text data utilizing a predefined tool to get item numbers and dimensions.\n",
|
|
|
|
|
" Use OpenAI function tool to extract order item id and dimensions with their units from user tickets.\n",
|
|
|
|
|
"\n",
|
|
|
|
|
" Args:\n",
|
|
|
|
|
" text (str): The text that you want to parse and clean.\n",
|
|
|
|
|