diff --git a/examples/demo_analysis.ipynb b/examples/demo_analysis.ipynb index 8e08035..0043a26 100644 --- a/examples/demo_analysis.ipynb +++ b/examples/demo_analysis.ipynb @@ -193,7 +193,7 @@ { "data": { "text/plain": [ - "'52a70985-2aa3-4b87-a0ed-3f93c9f793cd'" + "'94e09ba1-ed0d-4427-889e-014afb57dbeb'" ] }, "execution_count": null, @@ -253,10 +253,7 @@ }, "highlights": { "properties": { - "analyticalSkills": { - "type": "integer" - }, - "communicationSkills": { + "abilityToManageMultiTasks": { "type": "integer" }, "deadlinesFocused": { @@ -265,16 +262,16 @@ "detailOriented": { "type": "integer" }, - "managementSkills": { + "excellentCommunicationSkills": { "type": "integer" }, - "multiTaskingAbility": { + "goodAnalyticalSkills": { "type": "integer" }, - "presentationSkills": { + "quickLearner": { "type": "integer" }, - "quickLearner": { + "strongManagementSkills": { "type": "integer" }, "teamOriented": { @@ -343,6 +340,54 @@ "JSON(extraction_schema.data_schema)" ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "8f441d9a-6254-492c-89a8-53edcc1505cf", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "{'type': 'object',\n", + " 'properties': {'Accountant': {'type': 'object',\n", + " 'properties': {'skills': {'type': 'string'},\n", + " 'summary': {'type': 'object',\n", + " 'properties': {'location': {'type': 'string'},\n", + " 'yearsOfExperience': {'type': 'integer'}}},\n", + " 'education': {'type': 'object',\n", + " 'properties': {'degree': {'type': 'string'},\n", + " 'honors': {'type': 'string'},\n", + " 'institution': {'type': 'string'},\n", + " 'fieldOfStudy': {'type': 'string'},\n", + " 'graduationYear': {'type': 'integer'}}},\n", + " 'experience': {'type': 'string'},\n", + " 'highlights': {'type': 'object',\n", + " 'properties': {'quickLearner': {'type': 'integer'},\n", + " 'teamOriented': {'type': 'integer'},\n", + " 'detailOriented': {'type': 'integer'},\n", + " 'deadlinesFocused': {'type': 'integer'},\n", + " 'goodAnalyticalSkills': {'type': 'integer'},\n", + " 'strongManagementSkills': {'type': 'integer'},\n", + " 'abilityToManageMultiTasks': {'type': 'integer'},\n", + " 'excellentCommunicationSkills': {'type': 'integer'}}},\n", + " 'technicalSkills': {'type': 'object',\n", + " 'properties': {'pdfSoftware': {'type': 'string'},\n", + " 'taxSoftware': {'type': 'string'},\n", + " 'microsoftOffice': {'type': 'string'},\n", + " 'operatingSystems': {'type': 'string'},\n", + " 'accountingSoftware': {'type': 'string'}}}}}}}" + ] + }, + "execution_count": null, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "extraction_schema.data_schema" + ] + }, { "cell_type": "markdown", "id": "d0eff355-7cbb-4d49-8881-27120f737498", @@ -512,7 +557,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Updated at 2024-07-24 19:20:02.615311+00:00\n" + "Updated at 2024-07-25 17:31:31.695033+00:00\n" ] } ], @@ -520,6 +565,53 @@ "print(\"Updated at\", update_response.updated_at)" ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "3de90f80-2937-418c-a0cb-389b69037cb0", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "{'type': 'object',\n", + " 'properties': {'Accountant': {'type': 'object',\n", + " 'properties': {'summary': {'type': 'object',\n", + " 'properties': {'location': {'type': 'string'},\n", + " 'yearsOfExperience': {'type': 'integer'}}},\n", + " 'education': {'type': 'object',\n", + " 'properties': {'degree': {'type': 'string'},\n", + " 'honors': {'type': 'string'},\n", + " 'institution': {'type': 'string'},\n", + " 'fieldOfStudy': {'type': 'string'},\n", + " 'graduationYear': {'type': 'integer'}}},\n", + " 'experience': {'type': 'string'},\n", + " 'highlights': {'type': 'object',\n", + " 'properties': {'quickLearner': {'type': 'integer'},\n", + " 'teamOriented': {'type': 'integer'},\n", + " 'detailOriented': {'type': 'integer'},\n", + " 'deadlinesFocused': {'type': 'integer'},\n", + " 'goodAnalyticalSkills': {'type': 'integer'},\n", + " 'strongManagementSkills': {'type': 'integer'},\n", + " 'abilityToManageMultiTasks': {'type': 'integer'},\n", + " 'excellentCommunicationSkills': {'type': 'integer'}}},\n", + " 'technicalSkills': {'type': 'object',\n", + " 'properties': {'pdfSoftware': {'type': 'string'},\n", + " 'taxSoftware': {'type': 'string'},\n", + " 'microsoftOffice': {'type': 'string'},\n", + " 'operatingSystems': {'type': 'string'},\n", + " 'accountingSoftware': {'type': 'string'}}}}}}}" + ] + }, + "execution_count": null, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "update_response.data_schema" + ] + }, { "cell_type": "markdown", "id": "0eb551c5-d179-4551-9c92-11fd0c2f23ee",