Thanks to visit codestin.com
Credit goes to github.com

Skip to content

["execute_function() got an unexpected keyword argument 'call_id'"] #10

@lunan0320

Description

@lunan0320

Could you please help me with this issue?


chatbot (to user_proxy):

***** Suggested function call: python *****
Arguments:
{
"cell": "from datetime import datetime\n# Get the date 1 year ago\ndate = Calendar('-1 year')\n\n# Load the admissions database and filter for patient 9474\nadmissions_db = LoadDB('admissions')\nfiltered_admissions_db = FilterDB(admissions_db, 'SUBJECT_ID=9474')\nhadm_id_list = GetValue(filtered_admissions_db, 'HADM_ID, list')\n\n# Load the diagnoses_icd database and filter for records within the last year\ndiagnoses_icd_db = LoadDB('diagnoses_icd')\nfound_diagnosis = False\nfor hadm_id in hadm_id_list:\n filtered_diagnoses_icd_db = FilterDB(diagnoses_icd_db, 'HADM_ID={}||CHARTTIME>={}'.format(hadm_id, date))\n if len(filtered_diagnoses_icd_db) > 0:\n found_diagnosis = True\n break\n\nanswer = 1 if found_diagnosis else 0"
}



["execute_function() got an unexpected keyword argument 'call_id'"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions