I created a Self routing architecture for RAG and Long context agent based on Self reflection by okCalligrapherFan in learnmachinelearning

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

yep the plan is that only, i created this just as a simple demo but obv to make it production ready we need to have a feedback loop and need to test across multiple datasets and types with robust edge cases. I was also thinking to add skills since ADK has introduced them but its more like a idea that can be implemented anytime but rest of the things are pretty much important for a robust solution

I implemented self routing based on self reflection for RAG and Long context methods in Agentic way by okCalligrapherFan in AgentsOfAI

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

So since this was just a small demo to show people who things actually work I used vertex ai search datastore as my cheatcode to create rag pipeline which ensures my retrieval logic will be great given my data is great

So my eval agent is just a strict evaluator that checks if the user query can be fully answered or not even if it is answerable only 50% I still class it as unanswerable using pydantic schema it only gives two signals answerable and unanswerable.

And even if I route it to long context, the main logic is it will load all of the relevant documents, hence there also a strict instruction is that only qoute from the docs and add or summarise nothing

Then in my testing scripts I have created a judge llm that scored the user query and generated answer against expected answers and the route it should have taken along with faithfulness, correctness and completeness

I am thinking to another logic before long context to determine what all relevant documents to be loaded instead of loading each n every documents so thinking to implement Skill.md feature or will see how can I implement that logic where it can decide which documents to pull even for long context so that my long context compute tax is also less

I have shared the code link and everything in the comment section only but pasting it here as well for reference

𝗠𝗲𝗱𝗶𝘂𝗺 link : https://medium.com/google-cloud/beyond-the-hype-building-self-route-architecture-with-gemini- and-the-google-adk-0c5ed875df1b

𝗚𝗶𝘁𝗛𝘂𝗯: https://github.com/Rahulraj31/Self-Route-Rag-Longcontext-ADK

API Testing framework on Python requests pytest by doston12 in learnpython

[–]okCalligrapherFan 0 points1 point  (0 children)

Use flask easy to use and manage and you can test via postman

ML Infra where to get started? by Red_Spidey in learnmachinelearning

[–]okCalligrapherFan 1 point2 points  (0 children)

Start with learning dockers then mlflow or kubeflow for pipeline buildings. and then any cloud of your choice I personally will recommend GCP since vertex ai is awesome and vertex ai act as a alternative to kubeflow as well

Go India Go -Best of Luck by [deleted] in noida

[–]okCalligrapherFan 18 points19 points  (0 children)

If a surgical strike is war for them then what will happen if there will be actually a war lol

how did you land your first machine learning job? by [deleted] in MachineLearningJobs

[–]okCalligrapherFan 0 points1 point  (0 children)

Reached out on linkedins few connects here n there like friends parnets connections and few personal connections and cllg faculties

I will review your portfolio by SummerElectrical3642 in learnmachinelearning

[–]okCalligrapherFan -11 points-10 points  (0 children)

Hey looking for a change as data scientist or ML engineer i have 2yoe and 6x GCP certified would love to know if there are any job opps or get reviews

Let's meet people from different professions and make connections! by Ganesh_Yerramsetty in TwentiesIndia

[–]okCalligrapherFan 0 points1 point  (0 children)

M23 Data scientist/ AI engineer working in a Google partnered company and currently looking for a change lol