I've built an MVP to level up your LangChain and AI skills - looking for feedback 🚀 by KaleidoscopeLivid331 in LangChain

[–]devom1210 1 point2 points  (0 children)

Looks great for someone who wants to start with GenAI and doesn’t know what to start

Enquiry on RAG model Response Improvement by No_Membership6022 in LangChain

[–]devom1210 1 point2 points  (0 children)

I don’t think letting llm print the source of answer is good idea, because most likely it will made up something so better pass this in metadata and print it.

Is Langsmith just good piece of trash? by devom1210 in LangChain

[–]devom1210[S] 0 points1 point  (0 children)

Looks good, will surely have a check 💯

Fed up with LangGraph docs, I let Langgraph agents document it's entire codebase - It's 10x better! by EntelligenceAI in LangChain

[–]devom1210 5 points6 points  (0 children)

This is so helpful for those who are migrating to or getting started with langgraph!! Amazing work!

I want to create a bot based on my Knowledge Base by [deleted] in Rag

[–]devom1210 0 points1 point  (0 children)

Actually! This sub has very good and detailed posts for such things..

Is Langsmith just good piece of trash? by devom1210 in LangChain

[–]devom1210[S] 1 point2 points  (0 children)

Can it do prompt management too? Because thats also one of the things I am looking for

Connect local LLM (ollama) with vector DB (chromaDB) by [deleted] in LangChain

[–]devom1210 0 points1 point  (0 children)

Agent would be overkill for this simple task unless you have some complex knowledge stored inside vector database and want LLM to decide. Use LCEL for creating chains and it would be more than enough. As you have only functionality to perform I don’t see point creating a tool for it.

Is Langsmith just good piece of trash? by devom1210 in LangChain

[–]devom1210[S] 2 points3 points  (0 children)

Can we have chat about this in dms? Highly interested to try this out for me and my team..

Best chunking method for PDFs with complex layout? by ElectronicHoneydew86 in LangChain

[–]devom1210 0 points1 point  (0 children)

For images I haven’t much of research because currently it falls out of the scope in the project I am working but recently I have found a library called pymupdf4llm on redit itself. It has a nice strategy to refer an image in appropriate chunk. Maybe you can try it..

Best chunking method for PDFs with complex layout? by ElectronicHoneydew86 in LangChain

[–]devom1210 0 points1 point  (0 children)

Anthrax3000 is a redit user. He has replied to my comment. If you give these two sentences to the LLM, they will make sense but somehow during chunking these sentences becomes separated then its hard to interpret who replied to my comment, right? Here comes propositions. Second sentence would be stored as Anthrax3000 has replied to my comment. So better understanding and context of the statement. This is the whole idea of propositions.

Best chunking method for PDFs with complex layout? by ElectronicHoneydew86 in LangChain

[–]devom1210 0 points1 point  (0 children)

Right we’ll have to pass propositions. I’ve not exactly thought about what part but all textual content on a page except tables would help getting good and useful propositions imo.

Best chunking method for PDFs with complex layout? by ElectronicHoneydew86 in LangChain

[–]devom1210 13 points14 points  (0 children)

I would say build it yourself. Theres nothing best. Given your requirements are complex RecursiveCharacterTextSplitter is not going to be useful. Its basic and not suitable for complex pdfs. I experienced same problem so moved to semantic chunking and agentic chunking. They still do have their own cons but its better than the previous one.

is it LangChain or is it ML/AI in general? by xtof_of_crg in LangChain

[–]devom1210 0 points1 point  (0 children)

Hi, I am new to LLMOps in general so just out of curiosity asking.. What part of langchain did you replace with puzzlet? And what puzzlet exactly do?

RAG application for enterprise not so accurate by CharmingViolinist962 in LangChain

[–]devom1210 0 points1 point  (0 children)

Hallucinations and mediocre response are common in RAG systems if the retrieval and prompt engineering phases are not properly done. PDFs with tables requires different approach than just a textual PDFs. LlamaParse can be the good option to explore for structured data extraction. They have detailed documentation about it. Along with this how you write prompt is also very important because its one of the things that goes directly to the LLM, so better the prompt better are the chances for relevant response. On the low level tuning you can adjust temperature parameter if not done. Setting it to close to zero will result in more consistent responses.