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!
=== Retrieval, embeddings, and AI data pipelines === Many modern AI applications use retrieval-augmented generation, or RAG. In a RAG system, documents are split into chunks, embedded into vectors, stored in a search system or vector database, retrieved by similarity, and then supplied to an LLM as context. Perl is well suited to the non-glamorous but essential parts of this workflow: * crawling directories and websites; * extracting text from files; * cleaning OCR output; * normalizing encodings; * splitting documents into chunks; * storing metadata in SQLite, PostgreSQL, MySQL, or MariaDB; * calling embedding APIs; * loading vectors into a vector store; * generating citations or source links; * producing audit logs; * testing and validating outputs. Perl does not need to be the model to be valuable in AI. In many systems, the model is only one component. The surrounding data pipeline, retrieval layer, monitoring, and integration code are equally important.
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