---
title: "Discussion on \"How to Create a Shell Script to Query LLM with Local File Using Kotlin and LangChain4j\" | Hashnode"
description: "Discussion on \"How to Create a Shell Script to Query LLM with Local File Using Kotlin and LangChain4j\". Introduction\n\nOpenAI'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 ..."
url: "https://hashnode.com/posts/how-to-create-a-shell-script-to-query-llm-with-local-file-using-kotlin-and-langchain4j/66646e11a7a4fdf44c7b7dd1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Create a Shell Script to Query LLM with Local File Using Kotlin and LangChain4j](https://jsonobject.com/how-to-create-a-shell-script-to-query-llm-with-local-file-using-kotlin-and-langchain4j?utm_source=hashnode&utm_medium=feed)

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 ...

Jun 8, 2024 · 4 min read · jsonobject.com  
Updated Oct 8, 2024  
Read the article

-   [#llm](https://hashnode.com/tag/llm)
-   [#langchain4j](https://hashnode.com/tag/langchain4j)
-   [#openai](https://hashnode.com/tag/openai)
-   [#kotlin](https://hashnode.com/tag/kotlin)

## Written by

[Taehyeong Lee](https://hashnode.com/@jsonobject)

@jsonobject · Seoul, Korea

  
[View profile](https://hashnode.com/@jsonobject)

Simple is best

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
