@Antoine2F PDF data is "not" structured in table format.
Thanks for the suggestion on Apply to Each .
Question 1 : Now am getting below error . Does this mean I will have to split the text into may be like 1500 characters and call "Create text with GPT on Azure OpenAI service" for every 1500 characters or so ( number 1500 is just an example am using ) ?
{"operationStatus":"Error","error":{"type":"Error","code":"InvalidPredictionInput","message":"Error during call to Azure OpenAI Completions API. Invalid prompt input. This model's maximum context length is 4097 tokens, however you requested 4105 tokens (563 in your prompt; 3542 for the completion). Please reduce your prompt; or completion length..","properties":{"BackendErrorCode":"InvalidInferenceInput","DependencyHttpStatusCode":"400"},"innerErrors":[{"scope":"Generic","target":null,"code":"TooManyInputTokens","type":"Error","properties":{"MlIssueCode":"TooManyInputTokens"}}]},"predictionId":null}
Question 2 : How to append the output of "Create text with GPT on Azure OpenAI service" into a table or Array and finally write the data to excel ?
Each time the out put of Create text with GPT on Azure OpenAI service will be as below
| PAGENO | HOLDER | OPERNO | ORDERNO | WELL | LEGALDESC | COUNTY | PERSONNAME |
| 1 | MS CORPORATION CO LP | 20751 | 562345 | FORD BRONCO | 200-M-400N | EDDY | JAMESON ANTONY,SPRINKLER SUBWAY |
| 2 | JUNIPER CORP | 30000 | 538621 |JERMIA 3450 | 14-12N-10W IM | KINGFISHER | NLS PEARSON, EDWARD SUMMIT |