Peer-Programming in Modern OCaml with ChatGPT and Gemini
A developer documents their experience integrating LLMs like ChatGPT and Gemini into their OCaml development workflow while building a YouTube video summarization tool. The project involved creating OCaml bindings for Vosk speech recognition and Ollama, implementing HTTP connection pooling for cohttp-eio, and learning modern OCaml 5 features like Eio. Key insights include the importance of prompt engineering skills, LLMs' tendency to hallucinate non-existent functions, their limitations with newer libraries like Eio, and the value of editor integration for AI-assisted coding.