SlideShare a Scribd company logo
February 1, 2024
February 1, 2024
©2024 Hyland Software, Inc. and its affiliates. All rights reserved. All Hyland product names are registered or unregistered trademarks of Hyland Software, Inc. or its affiliates in the United States and other countries.
Using Generative AI and Content
Service Platforms together
FOSDEM’24
Angel Borroy
Developer Evangelist
Agenda
Content credentials
Generated with AI ∙ 25 January 2024 at 10:09 am
GenAI Stack
Docker GenAI
Components
ollama
• Local management of open source LLMs
• Catalog of preconfigured LLMs, such as Llama2 or Mistral
neo4j
• Graph and native vector search capabilities
• Ground LLMs for more precise GenAI predictions and outcomes
LangChain
• Communication between the LLM, your application, and the database
• Python framework for developing applications powered by LLMs
pull-model
Docker GenAI
Deployment https://github.com/docker/genai-stack
pull-model ollama neo4j
streamlit
LangChain
REST API
GPU
Docker GenAI https://ollama.ai/library
LLM
3B
7B
13B
13+B
2 GB
Size
4 GB
RAM
4 GB
Size
8 GB
RAM
8 GB
Size
16 GB
RAM
40+ GB
Size
64+ GB
RAM
phi
dolphin-phi
orca-mini
deepseek-coder
MIT License
MIT License
cc-by-nc-sa-4.0
Deepseek License Agreement
llama2
codellama
vicuna
mistral
mistral-openorca
llava
orca-mini
deepseek-coder
orca2
falcon
Llama2 Community License Agreement
Llama2 Community License Agreement
Llama2 Community License Agreement
Apache License 2.0
Apache License 2.0
Apache License 2.0
cc-by-nc-sa-4.0
Deepseek License Agreement
Microsoft Research License
Falcon TII License 1.0
llama2
codellama
vicuna
orca-mini
llava
orca2
Llama2 Community License Agreement
Llama2 Community License Agreement
Llama2 Community License Agreement
cc-by-nc-sa-4.0
Apache License 2.0
Microsoft Research License
llama2
codellama
mixtral
deepseek-coder
vicuna
falcon
Llama2 Community License Agreement
Llama2 Community License Agreement
Apache License 2.0
Deepseek License Agreement
Llama2 Community License Agreement
Falcon TII License 1.0
Docker GenAI Apache License 2.0
Ethical AI Rating
Mistral 7B
Is the software (both for inferencing and training) open source?
https://github.com/mistralai/mistral-src
Is the trained model freely available for self-hosting?
https://ollama.ai/library/mistral
Is the training data available and free to use?
No
Apache License 2.0
Docker GenAI Apache License 2.0
Ethical AI Rating
LlaVA with Visual Encoder
Is the software (both for inferencing and training) open source?
https://github.com/haotian-liu/LLaVA
Is the trained model freely available for self-hosting?
https://ollama.ai/library/llava
Is the training data available and free to use?
https://github.com/haotian-liu/LLaVA/blob/main/docs/Data.md
Apache License 2.0
Features
MacBook Pro 2021
Apple M1 Pro
32 GiB RAM
GPU
Document Centric Features
Classify
Data
Extraction
Redact
Text
Recognition
Content
Analysis
Prompt
Summarize
Describe
Translate
Automation
GenAI
AI
NLP
GENAI STACK
GenAI App
Python application that provides REST API endpoints
Document Loader
Split document into
smaller chunks
LLM Embeddings
Store in VectorDB
Embed and save
chunks
Create QA Chain
With the ability to
lookup Vector DB
LLM
Response
LLM=mistral
LLM_VISION=llava
SUMMARY_LANGUAGE=English
SUMMARY_SIZE=120
TAGS_NUMBER=3
Handle picture Response
GenAI REST API
curl --location 'http://localhost:8506/summary' --form 'file=@"./file.pdf"'
{
"summary": " The text discusses...",
"tags": " Golang, Merkle, Difficulty",
"model": "mistral"
}
curl --location 
'http://localhost:8506/classify?termList="Japanese,Spanish,Vietnamese"' 
--form 'file=./file.pdf"'
{
"term": " English",
"model": "mistral"
}
GenAI REST API
curl --location 
'http://localhost:8506/prompt?prompt="What is the name of the son?"' 
--form 'file=./file.pdf"'
{
"answer": "The name of the son is Musuko.",
"model": "mistral"
}
curl --location 'http://localhost:8506/describe' 
--form 'image=@"image.jpg"'
{
"description": "The image features a man standing confidently. He is wearing
glasses, a beanie hat, and a jacket.",
"model": "llava"
}
Integration
Integration with Content Service Platform
Deployment
https://github.com/aborroy/alfresco-genai
ALFRESCO GENAI STACK
Docker Network
model-repo model-share llm neo4j langchain
compose
compose
alfresco-ai-applier
alfresco-ai-listener
app
service
http://genai:8506/summary
http://genai:8506/classify
http://genai:8506/prompt
http://genai:8506/describe
http://alfresco:8080
tcp://activemq:61616
Content Service Platform Integration
alfresco-ai-listener REST API
ACTIVEMQ
Listen to ASPECT setting
Apache License 2.0
document.move(
document.parent.childByNamePath(
document.properties["genai:term"]
)
);
What Else?
Find your way
Docker AI/ML Hack-a-thon
• Readme AI
• Techdocs
• Docker Image Analyzer
• Docker Log Sentiment Analyzer
• GitChats AI
ollama alternatives
• https://gpt4all.io/index.html
• https://localai.io
• https://www.secondstate.io/run-llm
• https://huggingface.co/docs/hub/spaces-sdks-docker-first-demo
Thanks!

More Related Content

Similar to Using Generative AI and Content Service Platforms together (20)

PDF
Blazingly Fast GenAI App Development using Spring AI
Juarez Junior
 
PDF
Unlocking the Future of AI_ Top 5 Open-Source LLMs for 2024.pdf
GPU SERVER
 
PDF
Optimizing Large Language Models with vLLM and Related Tools.pdf
Tamanna
 
PPTX
introduction Azure OpenAI by Usama wahab khan
Usama Wahab Khan Cloud, Data and AI
 
PDF
Open LLMs: Viable for Production or Low-Quality Toy?
M Waleed Kadous
 
PDF
Elyra - a set of AI-centric extensions to JupyterLab Notebooks.
Luciano Resende
 
PPTX
Generative AI in CSharp with Semantic Kernel.pptx
Alon Fliess
 
PDF
Quick Overview of the Top 9 Popular LLMs.pdf
SOFTTECHHUB
 
PDF
"Chat with your private data using Llama3 and LLPhant in PHP", Enrico Zimuel
Fwdays
 
PDF
Blending AI in Enterprise Architecture.pdf
Calvin Hendryx-Parker
 
PDF
Large Language Models, Data & APIs - Integrating Generative AI Power into you...
NETUserGroupBern
 
PDF
All in AI: LLM Landscape & RAG in 2024 with Mark Ryan (Google) & Jerry Liu (L...
Daniel Zivkovic
 
PPTX
Open Source vs Closed Source LLMs. Pros and Cons
Springs
 
PDF
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
GetInData
 
PDF
TCFPro24 Building Real-Time Generative AI Pipelines
Timothy Spann
 
PDF
generative-ai-fundamentals and Large language models
AdventureWorld5
 
PDF
GenAi LLMs Zero to Hero: Mastering GenAI
ShakeelAhmed286165
 
PDF
OpenAI’s Next AI Agent is a Self-Testing Software Engineer that Hired Itself ...
derrickjswork
 
PDF
Supercharge Your AI Development with Local LLMs
Francesco Corti
 
PDF
LLM-based Multi-Agent Systems to Replace Traditional Software
Ivo Andreev
 
Blazingly Fast GenAI App Development using Spring AI
Juarez Junior
 
Unlocking the Future of AI_ Top 5 Open-Source LLMs for 2024.pdf
GPU SERVER
 
Optimizing Large Language Models with vLLM and Related Tools.pdf
Tamanna
 
introduction Azure OpenAI by Usama wahab khan
Usama Wahab Khan Cloud, Data and AI
 
Open LLMs: Viable for Production or Low-Quality Toy?
M Waleed Kadous
 
Elyra - a set of AI-centric extensions to JupyterLab Notebooks.
Luciano Resende
 
Generative AI in CSharp with Semantic Kernel.pptx
Alon Fliess
 
Quick Overview of the Top 9 Popular LLMs.pdf
SOFTTECHHUB
 
"Chat with your private data using Llama3 and LLPhant in PHP", Enrico Zimuel
Fwdays
 
Blending AI in Enterprise Architecture.pdf
Calvin Hendryx-Parker
 
Large Language Models, Data & APIs - Integrating Generative AI Power into you...
NETUserGroupBern
 
All in AI: LLM Landscape & RAG in 2024 with Mark Ryan (Google) & Jerry Liu (L...
Daniel Zivkovic
 
Open Source vs Closed Source LLMs. Pros and Cons
Springs
 
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
GetInData
 
TCFPro24 Building Real-Time Generative AI Pipelines
Timothy Spann
 
generative-ai-fundamentals and Large language models
AdventureWorld5
 
GenAi LLMs Zero to Hero: Mastering GenAI
ShakeelAhmed286165
 
OpenAI’s Next AI Agent is a Self-Testing Software Engineer that Hired Itself ...
derrickjswork
 
Supercharge Your AI Development with Local LLMs
Francesco Corti
 
LLM-based Multi-Agent Systems to Replace Traditional Software
Ivo Andreev
 

More from Angel Borroy López (20)

PDF
Alfresco and the Model Context Protocol (MCP)
Angel Borroy López
 
PDF
Alfresco AI Webinar, creating a RAG system from scratch
Angel Borroy López
 
PDF
Alfresco TechQuest 2024 - Alfresco Container-based Installation and Configura...
Angel Borroy López
 
PDF
Transitioning from Customized Solr to Out-of-the-Box OpenSearch
Angel Borroy López
 
PDF
Alfresco integration with OpenSearch - OpenSearchCon 2024 Europe
Angel Borroy López
 
PDF
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Angel Borroy López
 
PDF
La Guía Definitiva para una Actualización Exitosa a Alfresco 23.1
Angel Borroy López
 
PDF
Docker Init with Templates for Alfresco
Angel Borroy López
 
PDF
Before & After Docker Init
Angel Borroy López
 
PDF
Alfresco Transform Services 4.0.0
Angel Borroy López
 
PDF
How to migrate from Alfresco Search Services to Alfresco SearchEnterprise
Angel Borroy López
 
PDF
Using Podman with Alfresco
Angel Borroy López
 
PDF
CSP: Evolución de servicios de código abierto en un mundo Cloud Native
Angel Borroy López
 
PDF
Alfresco Embedded Activiti Engine
Angel Borroy López
 
PDF
Alfresco Transform Core 3.0.0
Angel Borroy López
 
PDF
Collaborative Editing Tools for Alfresco
Angel Borroy López
 
PDF
Desarrollando una Extensión para Docker
Angel Borroy López
 
PDF
DockerCon 2022 Spanish Room-ONBOARDING.pdf
Angel Borroy López
 
PDF
Deploying Containerised Open-Source CSP Platforms
Angel Borroy López
 
PDF
Introduction to AWS
Angel Borroy López
 
Alfresco and the Model Context Protocol (MCP)
Angel Borroy López
 
Alfresco AI Webinar, creating a RAG system from scratch
Angel Borroy López
 
Alfresco TechQuest 2024 - Alfresco Container-based Installation and Configura...
Angel Borroy López
 
Transitioning from Customized Solr to Out-of-the-Box OpenSearch
Angel Borroy López
 
Alfresco integration with OpenSearch - OpenSearchCon 2024 Europe
Angel Borroy López
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Angel Borroy López
 
La Guía Definitiva para una Actualización Exitosa a Alfresco 23.1
Angel Borroy López
 
Docker Init with Templates for Alfresco
Angel Borroy López
 
Before & After Docker Init
Angel Borroy López
 
Alfresco Transform Services 4.0.0
Angel Borroy López
 
How to migrate from Alfresco Search Services to Alfresco SearchEnterprise
Angel Borroy López
 
Using Podman with Alfresco
Angel Borroy López
 
CSP: Evolución de servicios de código abierto en un mundo Cloud Native
Angel Borroy López
 
Alfresco Embedded Activiti Engine
Angel Borroy López
 
Alfresco Transform Core 3.0.0
Angel Borroy López
 
Collaborative Editing Tools for Alfresco
Angel Borroy López
 
Desarrollando una Extensión para Docker
Angel Borroy López
 
DockerCon 2022 Spanish Room-ONBOARDING.pdf
Angel Borroy López
 
Deploying Containerised Open-Source CSP Platforms
Angel Borroy López
 
Introduction to AWS
Angel Borroy López
 
Ad

Recently uploaded (20)

PDF
Everything you need to know about pricing & licensing Microsoft 365 Copilot f...
Q-Advise
 
PDF
IObit Driver Booster Pro 12.4.0.585 Crack Free Download
henryc1122g
 
PPTX
Get Started with Maestro: Agent, Robot, and Human in Action – Session 5 of 5
klpathrudu
 
PDF
Dipole Tech Innovations – Global IT Solutions for Business Growth
dipoletechi3
 
PPTX
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
PDF
NSF Converter Simplified: From Complexity to Clarity
Johnsena Crook
 
PDF
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
PDF
ERP Consulting Services and Solutions by Contetra Pvt Ltd
jayjani123
 
PPTX
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
PPTX
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 
PDF
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
PPTX
Customise Your Correlation Table in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PPTX
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
PDF
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
PDF
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
PDF
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
PDF
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
Everything you need to know about pricing & licensing Microsoft 365 Copilot f...
Q-Advise
 
IObit Driver Booster Pro 12.4.0.585 Crack Free Download
henryc1122g
 
Get Started with Maestro: Agent, Robot, and Human in Action – Session 5 of 5
klpathrudu
 
Dipole Tech Innovations – Global IT Solutions for Business Growth
dipoletechi3
 
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
NSF Converter Simplified: From Complexity to Clarity
Johnsena Crook
 
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
ERP Consulting Services and Solutions by Contetra Pvt Ltd
jayjani123
 
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
Customise Your Correlation Table in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
Ad

Using Generative AI and Content Service Platforms together

  • 1. February 1, 2024 February 1, 2024 ©2024 Hyland Software, Inc. and its affiliates. All rights reserved. All Hyland product names are registered or unregistered trademarks of Hyland Software, Inc. or its affiliates in the United States and other countries. Using Generative AI and Content Service Platforms together FOSDEM’24 Angel Borroy Developer Evangelist
  • 2. Agenda Content credentials Generated with AI ∙ 25 January 2024 at 10:09 am
  • 4. Docker GenAI Components ollama • Local management of open source LLMs • Catalog of preconfigured LLMs, such as Llama2 or Mistral neo4j • Graph and native vector search capabilities • Ground LLMs for more precise GenAI predictions and outcomes LangChain • Communication between the LLM, your application, and the database • Python framework for developing applications powered by LLMs
  • 6. Docker GenAI https://ollama.ai/library LLM 3B 7B 13B 13+B 2 GB Size 4 GB RAM 4 GB Size 8 GB RAM 8 GB Size 16 GB RAM 40+ GB Size 64+ GB RAM phi dolphin-phi orca-mini deepseek-coder MIT License MIT License cc-by-nc-sa-4.0 Deepseek License Agreement llama2 codellama vicuna mistral mistral-openorca llava orca-mini deepseek-coder orca2 falcon Llama2 Community License Agreement Llama2 Community License Agreement Llama2 Community License Agreement Apache License 2.0 Apache License 2.0 Apache License 2.0 cc-by-nc-sa-4.0 Deepseek License Agreement Microsoft Research License Falcon TII License 1.0 llama2 codellama vicuna orca-mini llava orca2 Llama2 Community License Agreement Llama2 Community License Agreement Llama2 Community License Agreement cc-by-nc-sa-4.0 Apache License 2.0 Microsoft Research License llama2 codellama mixtral deepseek-coder vicuna falcon Llama2 Community License Agreement Llama2 Community License Agreement Apache License 2.0 Deepseek License Agreement Llama2 Community License Agreement Falcon TII License 1.0
  • 7. Docker GenAI Apache License 2.0 Ethical AI Rating Mistral 7B Is the software (both for inferencing and training) open source? https://github.com/mistralai/mistral-src Is the trained model freely available for self-hosting? https://ollama.ai/library/mistral Is the training data available and free to use? No Apache License 2.0
  • 8. Docker GenAI Apache License 2.0 Ethical AI Rating LlaVA with Visual Encoder Is the software (both for inferencing and training) open source? https://github.com/haotian-liu/LLaVA Is the trained model freely available for self-hosting? https://ollama.ai/library/llava Is the training data available and free to use? https://github.com/haotian-liu/LLaVA/blob/main/docs/Data.md Apache License 2.0
  • 9. Features MacBook Pro 2021 Apple M1 Pro 32 GiB RAM GPU
  • 11. GENAI STACK GenAI App Python application that provides REST API endpoints Document Loader Split document into smaller chunks LLM Embeddings Store in VectorDB Embed and save chunks Create QA Chain With the ability to lookup Vector DB LLM Response LLM=mistral LLM_VISION=llava SUMMARY_LANGUAGE=English SUMMARY_SIZE=120 TAGS_NUMBER=3 Handle picture Response
  • 12. GenAI REST API curl --location 'http://localhost:8506/summary' --form 'file=@"./file.pdf"' { "summary": " The text discusses...", "tags": " Golang, Merkle, Difficulty", "model": "mistral" } curl --location 'http://localhost:8506/classify?termList="Japanese,Spanish,Vietnamese"' --form 'file=./file.pdf"' { "term": " English", "model": "mistral" }
  • 13. GenAI REST API curl --location 'http://localhost:8506/prompt?prompt="What is the name of the son?"' --form 'file=./file.pdf"' { "answer": "The name of the son is Musuko.", "model": "mistral" } curl --location 'http://localhost:8506/describe' --form 'image=@"image.jpg"' { "description": "The image features a man standing confidently. He is wearing glasses, a beanie hat, and a jacket.", "model": "llava" }
  • 15. Integration with Content Service Platform Deployment https://github.com/aborroy/alfresco-genai ALFRESCO GENAI STACK Docker Network model-repo model-share llm neo4j langchain compose compose alfresco-ai-applier alfresco-ai-listener app service http://genai:8506/summary http://genai:8506/classify http://genai:8506/prompt http://genai:8506/describe http://alfresco:8080 tcp://activemq:61616
  • 16. Content Service Platform Integration alfresco-ai-listener REST API ACTIVEMQ Listen to ASPECT setting Apache License 2.0 document.move( document.parent.childByNamePath( document.properties["genai:term"] ) );
  • 18. Find your way Docker AI/ML Hack-a-thon • Readme AI • Techdocs • Docker Image Analyzer • Docker Log Sentiment Analyzer • GitChats AI ollama alternatives • https://gpt4all.io/index.html • https://localai.io • https://www.secondstate.io/run-llm • https://huggingface.co/docs/hub/spaces-sdks-docker-first-demo