I would like to share a little project I’ve been working on called LLMAccess. It’s a simple Julia package designed to simplify interactions with various Large Language Model (LLM) APIs by wrapping around their existing REST endpoints.
LLMAccess aims to provide a straightforward and unified interface for working with large language models provided by OpenAI, Anthropic, Google, Ollama, Mistral, OpenRouter, and Groq into your Julia scripts.
I cleaned up the code a bit. Now the package will pick default LLM provider and default model for a provider according to the following environment variables —
Btw. I’m the author of a similar package PromptingTools.jl – I’ve been thinking that maybe I should carve out some primitives (core types), so we can standardize the ecosystem. Any thoughts on that?
I think that would be good practice in software design. But to be honest, there is no intrinsic reason to use Julia for accessing an LLM. I am just doing this because I happen to know Julia quite well. So for me, as a hobby project, I would rather keep it as simple as possible and only add features that I myself find useful, and not try to organize things.