ตัวอย่าง Prompt #2

ตัวอย่าง Prompt technique ที่ทดสอบใช้งานร่วมกับ Eidy API

โดยเพิ่มเติมทั้งหมด 8 prompts

  1. General Compliance Check

  2. Verification of Medidcal Records

  3. Expense Accuracy Assessment

  4. Fraud Detection Investigation

  5. Documentation completeness

  6. Service Provision Verification

  7. Signature and Approval Verification

  8. Consistency Check

Prompt technique

General Compliance Check

import requests
import json
URL = 'https://api.eidy.cloud/v1/chat/completions'
EIDY_API_KEY = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'

headers = {'content-type': 'application/json', 'Authorization': 'Bearer '+ EIDY_API_KEY}
message = [{
    'role': 'user',
    'content': """
    Review the expense claims submitted by healthcare providers to ensure they comply with the 2019 NHSO guidelines. Verify that all required documentation is complete and accurately reflects the services provided.
    ==================
    Provider: XYZ Clinic
    Service Date: January 15, 2019
    Claim Amount: 5,000 THB
    Documents Submitted: Patient record, service log, expense claim form, approval letter
    ==================
    """
}]
data = {
"messages" : message,
"model" : 'eidy',
"max_tokens" : 1024,
"temperature" : 0.1,
"stream" : False
}
res = requests.post(URL, headers=headers ,data=json.dumps(data))

response


Verification of Medical Records

response


Expense Accuracy Assessment

response


Fraud Detection Investigation

response


Documentation Completeness

response


Service Provision Verification

response


Signature and Approval Verification

response


Consistancy Check

response

Last updated