eigyo-mfg / form-engine-old

0 stars 0 forks source link

(174件、全体の24.1%)補正前×の原因調査、対処 #5

Open nishim opened 10 months ago

nishim commented 10 months ago
nishim commented 10 months ago

MAPPING_ERRORはモデルをgpt-4-1106-previewからgpt-4に変えたのが主因ですかね、、

nishim commented 10 months ago

inputResult件数

  23 
 413 COMPLETE
  16 ERROR
  17 EXIST_RECAPTCHA
   2 FILL_FORM_ERROR
  27 FORM_NOT_FOUND
 224 MAPPING_ERROR
   3 NOT_SUBMIT_FOR_DEBUG
  41 SUBMIT_SELECTOR_NOT_FOUND

confirmResult件数

  23 
  54 ERROR
 457 NONE
 232 SUCCESS
const {db} = require('./services/firebase');

db.collectionGroup('submissions').get().then((querySnapshot) => {
  querySnapshot.forEach((doc) => {
    const data = doc.data();
    console.log(JSON.stringify({
      id: doc.id,
      formId: data.formId,
      inputResult: data.inputResult,
      confirmResult: data.confirmResult,
      state: data.state,
      errorMessage: data.errorMessage,
    }));
  });
});
nishim commented 10 months ago

Azureならgpt-4-32k使える? https://learn.microsoft.com/ja-jp/azure/ai-services/openai/concepts/models