Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Try Both and Choose Your Side: Chatbot Developm...
Search
Kardel Ruveyda
November 30, 2024
2
250
Try Both and Choose Your Side: Chatbot Development with .NET vs LangChain
What Is Our Goal?
LLM
RAG
LangChain
Bonus: LangGraph
.NET OpenAI API
Which One Would You Choose?
Kardel Ruveyda
November 30, 2024
Tweet
Share
More Decks by Kardel Ruveyda
See All by Kardel Ruveyda
C# + Semantic Kernel + OpenAI: Building Smarter AI Agents with MongoDB Atlas
kardelruveyda
0
93
Developer_Summit_25.pdf
kardelruveyda
0
52
Beyond UUIDs: Smarter Identifier Strategies for Modern Systems
kardelruveyda
0
71
Basitçe CI-CD Süreçleri
kardelruveyda
0
180
The official OpenAI library for .NET - .NET 9 DAY - DEVNOT
kardelruveyda
0
300
Yazılımda Kariyer
kardelruveyda
2
210
Git Fundamentals
kardelruveyda
1
79
Developer Summit-Unlocking AI Potential in .NET: Practical Applications of OpenAI API
kardelruveyda
1
16
Dynamic Workflow Management in Chatbots with LangGraph-DevMultiGroup
kardelruveyda
0
170
Featured
See All Featured
Mobile First: as difficult as doing things right
swwweet
225
10k
Agile that works and the tools we love
rasmusluckow
331
21k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
10
720
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.8k
Designing for Performance
lara
610
69k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Thoughts on Productivity
jonyablonski
73
5k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
196
69k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.7k
Music & Morning Musume
bryan
46
7k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Transcript
Try Both and Choose Your Side: Chatbot Development with .NET
vs LangChain Kardel Rüveyda ÇETİN
2023- YILDIZ TECHNICAL UNIVERSİTY Mathematical Engineering (Licentiate Degree) YILDIZ TECHNICAL
UNIVERSİTY Computer Engineering/IT (Master's Degree (Non-Thesis)) 2013-2018 2019-2020 YILDIZ TECHNICAL UNIVERSİTY Mathematical Engineering (Master's Degree (Thesis)) 2021-.. DOĞUŞ TEKNOLOJİ Software Support Asistant Specialist Software Asistant Specialist Software Specialist 2018-2021 KARİYER.NET Software Specialist Senior Software Specialist Expert Software Engineer Mavi (2016) Overtech (2017) INTERNSHIPS Junior Frontend Developer 2018 ICONEC WAVE X: @kardelanite in: kardelruveydacetin
What Is Our Goal? LLM RAG LangChain Bonus: LangGraph .NET
OpenAI API Which One Would You Choose? Agenda
What Is Our Goal?
LLM VS
RAG
LangChain level of difficulty
None
Project Structure
LangChain Necessary Installations python-dotenv pandas langchain langchain-core langchain-openai langchain- community
beautifulsoup4 faiss-cpu datasets streamlit
For Rag Document Preparation
Use VectorStore Chroma,Faiss etc. 1 2
Use VectorStore Chroma,Faiss etc. 3
Choose LLM
Prompt Engineering
Create Chain
D E M O
RESOURCES
Bonus: LangGraph level of difficulty
None
Project Structure
LangGraph Necessary Installations langchain==0.2.7 langgraph==0.1.8 langchainhub==0.1.20 langchain-community==0.2.7 tavily-python==0.3.4 langchain-chroma==0.1.2 python-dotenv==1.0.1
pytest==8.2.2 langchain-openai==0.1.16 altair<5 streamlit==1.37.0
CHAINS
Prepare data for ingestion
graph / ingestion.py 1
graph / ingestion.py 2
None
graph/chains/router.py
graph/chains/retrieval_grader.py
graph/chains/retrieval_grader.py
graph/chains/generation.py
graph/chains/generation.py
LangSmith Hub
graph/chains/hallucination_grader.py
graph/chains/hallucination_grader.py
graph/chains/answer_grader.py
graph/chains/answer_grader.py
Summary/nodes/GraphState
Summary/Graph Structure 1 2 get_graph().draw_mermaid_png (output_file_path="graph.png")
D E M O
RESOURCES
RESOURCES(Academic) Corrective Retrieval Augmented Generation Adaptive-RAG: Learning to Adapt Retrieval-
Augmented Large Language Models through Question Complexity Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection
.NET OpenAI API level of difficulty
START Welcome System Message (From Frontend) What does it mean
to cry in a dream? About Dream? DON’T ANSWER ANSWER DREAM MEANING YES NO
Project Structure
DreamController.cs
DreamInterpretationService.cs 1
DreamInterpretationService.cs 2
3 4 5
6
D E M O
RESOURCES
None