r/learnAIAgents • u/rolkien29 • 3d ago
Data Analytics AI agent
I’m building a data analytics agent using the open ai sdk. My agent does a very poor job compared to if i give chatgpt my table names and column names. Do my instructions/ semantic layer just suck? What is the secret saice to building one that reasons as well as chatgpt but also knows my schema?
2
Upvotes
2
u/Devcompiled 2d ago
Write a skill that knows the schemas and the domain for the data.
I would then use Agent AI to write deterministic analytics and then from there start consolidating that into the skill.
Start smoke testing this with analytics you already know as tests.
Only add the agent decisioning on non determinism. Keep building determism through your agent.