146 karma · joined Jun 23, 2020 (6y ago) · 124 submissions
comment 3y ago · link · parent
comment 3y ago · link · parent
A semantic data layer is an abstraction layer that sits between the raw data stored in databases and the applications or analytics tools that use this data. The purpose of this layer is to provide a consistent, business-friendly interface to data that might be stored in a variety of formats, tables, or systems. By doing so, the semantic data layer helps in simplifying complex data structures into more meaningful, understandable models. Key Features:
Unified View: It provides a unified view of data from multiple sources, making it easier for users to access and understand the data without having to know the underlying structure or complexity.
Data Governance: It can enforce business rules, security policies, and data quality measures, ensuring that data is consistent, compliant, and accessible only by authorized users.
Flexibility: A semantic layer is often designed to be flexible, allowing business users to adapt to changes in the data model without requiring changes to the applications themselves.
Query Simplification: The layer simplifies the process of querying data by providing a more user-friendly way of accessing and manipulating data, often through a drag-and-drop interface or other graphical tools.
Decoupling: It decouples application development from data source changes. When underlying data changes, you don't necessarily have to update all the applications that use it; you might only need to update the semantic layer.
Data Integration: It can integrate data from multiple sources, providing a single "source of truth" for business users and applications.
Purpose: Simplification: Make data more accessible and easier to understand for non-technical users.
Consistency: Ensure that everyone is working from the same definitions and business rules.
Efficiency: Reduce the time and complexity involved in generating reports, analytics, and other data-driven functions.
Data Quality: Help to enforce data quality and governance policies.
Security: Provide a mechanism for enforcing security rules on who can see or modify data.
Adaptability: Enable quicker adaptation to changes in business needs or data structures.
By providing a semantic data layer, organizations can ensure that their data is not only high-quality and secure but also that it can be easily used for making informed decisions. This is particularly valuable in today's data-driven business environment.comment 3y ago · link · parent
In Zillion* I added an experimental feature that uses OpenAI to form a report API call from natural language. Fine tuning (vs prompt tuning) this on the semantic model with gpt-3.5 would probably yield some notable improvement in abilities, as I view it as more of a toy feature at the moment.
comment 3y ago · link · parent
IMO a semantic layer makes it so easy to query that natural language querying is often not beneficial, even for business users. I take a hybrid approach of the semantic layer solving >95% of use cases and custom SQL as needed in backend processing.
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
Zillion uses networkx to create a graph of tables and relationships so it sounds like it's doing something similar.
Views are a nice guardrail but can also get in the way! I've experienced this frustration first hand (and seen it with my business users) when using tools that focus on such a premise. Guess it depends how complex your data model is and how quickly your business is evolving / adding to that model. In the move-fast-break-stuff phase of a company they can get annoying at least.
comment 3y ago · link · parent
It brings all data together, provides a consistent interface, and is way faster than writing SQL (though there will still be use cases for that). There is some up front cost to getting configured but it pays off in my case at least.
comment 3y ago · link · parent
My similar, much less polished project doesn't require you to specify joins ahead of time outside of optionally defining a tree-like table lineage: https://github.com/totalhack/zillion
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
It would be a way better use of money than renting for many people. But how do we get around the "trailer park" stigma? Maybe that's a pipe dream.
comment 3y ago · link · parent
Tangential trick: walk away more often, especially when in the more intense problem solving or architectural phases.
comment 3y ago · link · parent
Ubuntu has been great on it aside from some occasional heat issues while sleeping. Running 6.x kernel now and just hoping that disappears with one of these updates but it happens rarely anyway. Overall very happy with it. Keyboard is way better than my last MacBook pro too.
comment 3y ago · link · parent
Sprinkle in some custom widgets as needed and you can get pretty far (albeit not with optimal page speed performance).
comment 3y ago · link · parent
It's still relatively early days for this technology; if model research and processing power developments find an order of magnitude or two efficiency gain over the next decade maybe OpenAI's closed approach will no longer matter. Maybe that's wishful thinking though.
comment 3y ago · link · parent
Maybe if discord communities added AI chat agents trained on their docs and discord discussions you'd have less of an information black hole.