Editing
Portal:Artificial Intelligence
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Local models, Ollama, vLLM, and OpenAI-compatible APIs === Modern AI work increasingly includes local or self-hosted models. Perl can participate through HTTP-based interfaces to model servers such as Ollama, LM Studio, llama.cpp servers, SGLang, and vLLM. These systems often expose OpenAI-compatible or provider-compatible APIs, which means Perl can use ordinary HTTP and JSON libraries or higher-level CPAN modules. Langertha’s Ollama engine documentation describes Ollama as a way to run large language models locally and notes support for chat, embeddings, streaming, MCP tool calling, and an OpenAI-compatible API.<ref>MetaCPAN, “Langertha::Engine::Ollama,” https://metacpan.org/pod/Langertha::Engine::Ollama, accessed July 3, 2026.</ref> Langertha’s vLLM engine documentation describes vLLM as a high-throughput inference engine for large language models that exposes an OpenAI-compatible API.<ref>MetaCPAN, “Langertha::Engine::vLLM,” https://metacpan.org/pod/Langertha::Engine::vLLM, accessed July 3, 2026.</ref> This matters for Perl because local model support gives Perl programs an AI path that does not always require sending data to a commercial API. For organizations with privacy, cost, latency, or offline requirements, a Perl script or service can call a model running on local hardware and integrate the result into existing Perl workflows.
Summary:
Please note that all contributions to Perl Guilds - Getting Medieval with Perl may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Perl Guilds - Getting Medieval with Perl:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Tools
What links here
Related changes
Page information