Slide 1

Slide 1 text

LLMs in der Praxis: Top Patterns & Lösungen für Integration in Ihre Anwendungen Christian Weyer | Co-Founder & CTO | Thinktecture AG | [email protected]

Slide 2

Slide 2 text

LLMs in der Praxis Top Patterns & Lösungen für Integration in Ihre Anwendungen Our journey 2 Lightweight RAG Structured Output / Tool Calling AI models for your software Semantic Routing Observability

Slide 3

Slide 3 text

LLMs in der Praxis Top Patterns & Lösungen für Integration in Ihre Anwendungen AI MODELS FOR YOUR SOFTWARE 3

Slide 4

Slide 4 text

Language Models understand and generate semantically rich human language, transforming it into text or structured data for both humans and machines. ⚠ Non-deterministic: same input can lead to different outputs. Embedding Models capture semantic meaning by encoding human language into numerical vector representations, facilitating understanding, comparison, and retrieval for both humans and machines. ✅ Deterministic: same input always results in the same embedding. LLMs in der Praxis Top Patterns & Lösungen für Integration in Ihre Anwendungen 4 🫱 🫲

Slide 5

Slide 5 text

§ Language & embedding models part of end-to-end architectures § Embedding models can be run locally § Optimized for CPU § Language models still hard to run locally § High GPU power § High VRAM § High memory bandwidth LLMs in der Praxis Top Patterns & Lösungen für Integration in Ihre Anwendungen API-based AI model integrations 5

Slide 6

Slide 6 text

LLMs in der Praxis Top Patterns & Lösungen für Integration in Ihre Anwendungen Classical applications & UIs 6 API-based data Document-based data

Slide 7

Slide 7 text

LLMs in der Praxis Top Patterns & Lösungen für Integration in Ihre Anwendungen Language-enabled “UIs” – Talk-to-TT 7

Slide 8

Slide 8 text

LLMs in der Praxis Top Patterns & Lösungen für Integration in Ihre Anwendungen 8 C4 system context diagram § Various tech stacks § Docker-based distributed system

Slide 9

Slide 9 text

LLMs in der Praxis Top Patterns & Lösungen für Integration in Ihre Anwendungen PATTERN LIGHTWEIGHT RAG [RETRIEVAL-AUGMENTED GENERATION] 9

Slide 10

Slide 10 text

LLMs in der Praxis Top Patterns & Lösungen für Integration in Ihre Anwendungen “Talk to your Data” Cleanup & Split Text Embedding Question Text Embedding Save Query Relevant Results Question Answ er w / sources LLM Embedding Model Embedding Model 💡 Indexing / Embedding Question Answering .md, .docx, .pdf etc. “Lorem ipsum…?” 💡 Vector DB 10

Slide 11

Slide 11 text

LLMs in der Praxis Top Patterns & Lösungen für Integration in Ihre Anwendungen PATTERN STRUCTURED OUTPUT 11

Slide 12

Slide 12 text

§ Integration is being standardized with MCP LLMs in der Praxis Top Patterns & Lösungen für Integration in Ihre Anwendungen Structured data from unstructured input For calling APIs / tools 12 “OK, when is my colleague CW available for a two- days workshop?” System Prompt (with employee data) + Schema / Function Calling (for structured output) (Internal) Web API Availability business logic

Slide 13

Slide 13 text

LLMs in der Praxis Top Patterns & Lösungen für Integration in Ihre Anwendungen PATTERN SEMANTIC ROUTING 13

Slide 14

Slide 14 text

LLMs in der Praxis Top Patterns & Lösungen für Integration in Ihre Anwendungen Semantics-based decisions for user interactions Guarding (e.g. prompt injection) Routing (selecting correct target) “Lorem ipsum…?” Target RAG Target API Call Target … something else … Fine-tuned Language Model Embedding Model 14

Slide 15

Slide 15 text

LLMs in der Praxis Top Patterns & Lösungen für Integration in Ihre Anwendungen PATTERN / SOLUTION OBSERVABILITY 15

Slide 16

Slide 16 text

LLMs in der Praxis Top Patterns & Lösungen für Integration in Ihre Anwendungen Things can get… overwhelming 16

Slide 17

Slide 17 text

LLMs in der Praxis Top Patterns & Lösungen für Integration in Ihre Anwendungen End-to-end tracing 17

Slide 18

Slide 18 text

LLMs in der Praxis Top Patterns & Lösungen für Integration in Ihre Anwendungen 18 AI solutions are 10% AI and 100% software engineering. 18

Slide 19

Slide 19 text

LLMs in der Praxis Top Patterns & Lösungen für Integration in Ihre Anwendungen YOUR journey 19 AI Models for your software Lightweight RAG Semantic Routing Observability Structured Output / Tool Calling

Slide 20

Slide 20 text

Thank you! Christian Weyer https://thinktecture.com/christian-weyer [email protected] 20

Slide 21

Slide 21 text

§ Technology catalyst § AI-powered solutions § Pragmatic end-to-end architectures § Microsoft MVP for AI § Google GDE for Web AI § [email protected] § https://www.thinktecture.com LLMs in der Praxis Top Patterns & Lösungen für Integration in Ihre Anwendungen Christian Weyer Co-Founder & CTO @ Thinktecture AG 21