How to Create a Shell Script to Query LLM with Local File Using Kotlin and LangChain4j
Introduction
OpenAI's GPT-4o model currently supports text and image data through the Chat Completions API but does not support binary files. By converting files such as PDF, EPUB, DOCX, PPTX, and XLSX to text, you can perform productive tasks with ...
jsonobject.com4 min read