How to pass base64 content from input file to OCI LLLM models
Summary:
Is there a way to pass base64-encoded file contents from an invoice PDF and extract information in JSON format?
Content (please ensure you mask any confidential information):
Hello OCI AI Experts,
We are working on REST APIs to pass encoded file contents in the request body to Cohere and Llama LLM models within OCI Chat.
In our web application, users upload invoice input files. Based on this input file, we convert the file into base64-encoded contents. We need to pass this encoded file content and generate output in JSON format. Essentially, we aim to extract the following information from an invoice:
Tagged:
0