Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Models in YAML Format #11

Open
bazooka720 opened this issue Jun 18, 2024 · 1 comment
Open

Models in YAML Format #11

bazooka720 opened this issue Jun 18, 2024 · 1 comment

Comments

@bazooka720
Copy link

Do you have plans to make the models in YAML format? Alternatively, leverage similar to cube.dev format (or other popular) for consistency?

@retro
Copy link
Contributor

retro commented Aug 13, 2024

@bazooka720 I've just noticed this issue, sorry for not replying sooner. When I've started developing the library, the idea was to provide a semantic layer as a library, with provided type safety. The initial API was very similar to the cube.dev format, but it has since diverged (in next-major branch), mainly because one of the main use cases (at least for us) is exposing the API to LLMs, so wherever it was possible, I've adjusted the API so the LLMs have easier time generating correct queries. So, API compatibility with cube.dev and similar tools is not one of the goals.

That being said, if you want to expose this over the API, I assume you don't care that much about the type safety as long as the final artifact has the same guarantees as the one built with the builder API. So, I'll leave this issue open, think about what would be the best way to approach it, and revisit later.

Thank you for reaching out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants