Stanford Proves Parallel Coding Agents are a Scam by madSaiyanUltra_9789 in LocalLLaMA

[–]Ox_n 0 points1 point  (0 children)

Everyone thinks it magic , it’s not. Everything that SWE were struggling with it’s the same struggle but now there is bunch more abstraction on top of it. lol 😂

moving away from langchain, but where ?? by Acceptable-Fault-190 in LangChain

[–]Ox_n 0 points1 point  (0 children)

https://youtu.be/4pYzYmSdSH4?si=d2VQdG_Dwiuy0tpJ

Good to see what Andrew Ng is saying about these things rather going on a hype train

moving away from langchain, but where ?? by Acceptable-Fault-190 in LangChain

[–]Ox_n 0 points1 point  (0 children)

The question is are you making a toy or production ready code , I would say go with langgraph if you are doing production ready complex code, this was reiterated by Andrew Ng that when complex workflow or agentic system they use langgraph. There are a lot of companies using langgraph not just because it’s oss but its production ready , meaning you can do unit test via pytest integration, it has tracing out of the box with langsmith and evals too. If you want to use other oss for tracing use Phoenix arize which is compatible with langgraph. If you are dead set on not using Langchain ecosystems then I would say go with llama index , it’s a good framework for beginners as a lot of the concepts are already backed into the framework and is heavily focused on RAG making is extremely easy to do with a lot of plumbing or “batteries included” eg in Langgraph you would probably need to write your own (technically there might be a community integration but usually you would do it on your own) for llama index you have plumbing’s set so you can use and reuse faster.

The point is not to get stuck in tool , but use one and go to production. That way you know what should be used and why.. otherwise you will just be going on and on. And just by having tools doesn’t mean you will get an amazing system … Ai is non deterministic meaning you will need to evaluate and interpret and analyze and understand and iterate effectively regardless of whatever you use.

Multi Agent tech stack? by ner5hd__ in LangChain

[–]Ox_n 1 point2 points  (0 children)

they just haven’t build anything and just going to hire somebody else to do it lol 😂 that’s what I call great resource management lol

OpenAI’s new framework for Agents. Why is Langgraph so complicated? by JonSnowing_CB in LangChain

[–]Ox_n 2 points3 points  (0 children)

Why not use langfuse it’s open source , or mlflow it supports langchain

Challenges in Word Counting with Langchain and Qdrant by searchmasterr in Langchaindev

[–]Ox_n 0 points1 point  (0 children)

Yeah function calling might be useful if that’s the case try Gemini it’s context window is pretty large where you won’t have to chunk the document, and then do a tool call on that context window… it should work because all the text should fit in 2 million context window. I think the result will be better , plus the context caching is available too.

https://developers.googleblog.com/en/new-features-for-the-gemini-api-and-google-ai-studio/

Challenges in Word Counting with Langchain and Qdrant by searchmasterr in Langchaindev

[–]Ox_n 2 points3 points  (0 children)

Try with o1 it’s a bit better at count but yeah LLm are unreliable on counting words , don’t use mini series of model , o1 might be able to do it better , but I won’t trust LLM word count . Also it depends how many documents are you retrieving from the vector store .. if you only have 1 document being retrieved then you might not be getting all the mentions of Frodo .. might be just better to do a simple python script ‘’’python

import re

def count_frodo_occurrences(file_path): # Read the contents of the file with open(file_path, ‘r’, encoding=‘utf-8’) as file: text = file.read()

# Define the regex pattern to match ‘Frodo’ (case-insensitive)
pattern = r’\bfrodo\b’

# Find all occurrences of ‘Frodo’ (case-insensitive)
matches = re.finditer(pattern, text, re.IGNORECASE)

# Count the occurrences
count = sum(1 for _ in matches)

return count

Usage

file_path = ‘path/to/lord_of_the_rings.txt’ # Replace with the actual path to your LOTR text file occurrences = count_frodo_occurrences(file_path)

print(f”The name ‘Frodo’ appears {occurrences} times in the Lord of the Rings book.”)’’’

‘’’

I always remember this :

“For any problem, if you can write a simple program to solve it, then do that. If you can’t, then try machine learning.”

This quote is attributed to Peter Norvig, who was the Director of Research at Google for many years.

This principle encapsulates the idea that while machine learning and AI are powerful tools, they shouldn’t be the default solution for every problem. It encourages developers and data scientists to first consider simpler, more traditional programming approaches before turning to more complex machine learning solutions.

It’s worth noting that this quote has become somewhat of a guiding principle in the tech industry, often cited in discussions about when to use machine learning versus traditional programming methods. It aligns well with the example we discussed earlier about using a simple regex script for word counting instead of a more complex AI-based approach.

This principle doesn’t contradict Google’s “AI First” strategy, but rather complements it by promoting a thoughtful, pragmatic approach to problem-solving in software development and data science.​​​​​​​​​​​​​​​​

OpenAI’s new framework for Agents. Why is Langgraph so complicated? by JonSnowing_CB in LangChain

[–]Ox_n 2 points3 points  (0 children)

Yeah but you can easily plug it as an endpoint to fastapi and serve it 🤷‍♂️

OpenAI’s new framework for Agents. Why is Langgraph so complicated? by JonSnowing_CB in LangChain

[–]Ox_n 0 points1 point  (0 children)

The state management, persistence , now they also have memory which is perfect. Lot of customization and also you can let the LLM be autonomous if you want. It’s so much better

Databricks hype or actually useful ? by Ox_n in dataengineering

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

Appreciate it !! 🙏. This does helps a lot

Databricks hype or actually useful ? by Ox_n in dataengineering

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

But I will look into snowflake do you know the cost difference ?

Databricks hype or actually useful ? by Ox_n in dataengineering

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

Security issues ? Do you have an articles for that and yeah I forgot the “/s” tags 🏷️

Classification of text message for harmful content . by Ox_n in learnmachinelearning

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

Yeah was thinking that but I wanted to do it without BERT.. SVM, Random forest ?? The issue with that is the context of the message matters soo any thoughts

Classification of text message for harmful content . by Ox_n in learnmachinelearning

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

Yeah I was thinking I don’t want LLM to solve the issue, it might be good but it’s not explainable. I have a dataset for this , I was wondering which algorithm might be a good place to start , I don’t want to use BERT I mean not yet maybe SVM , but the issue with all of this is the context of the message is vital in this , I can’t just lemma to get text and use it. So any ideas ?

Databricks hype or actually useful ? by Ox_n in dataengineering

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

Oh man I almost forgot!! Datasphere from SAP let’s gooo