-
Notifications
You must be signed in to change notification settings - Fork 351
Data docs #1418
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
Data docs #1418
Conversation
montanalow
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
|
|
||
| ## Product | ||
|
|
||
| * [Cloud Database](product/cloud-database/README.md) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is Cloud as opposed to Vector section
|
|
||
| * [FAQs](resources/faqs.md) | ||
| * [Data Storage & Retrieval](resources/data-storage-and-retrieval/README.md) | ||
| * [Data Storage & Retrieval](resources/data-storage-and-retrieval/tabular-data.md) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a dup?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a dup, README.md is currently empty.
| # Getting Started | ||
|
|
||
| A PostgresML deployment consists of multiple components working in concert to provide a complete Machine Learning platform. We provide a fully managed solution in our cloud. | ||
| A PostgresML deployment consists of multiple components working in concert to provide a complete Machine Learning platform. We provide a fully managed solution in our cloud, and document a self-hosted installation in our docs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
documenting the self hosted version is confusing here. Are these docs for cloud users, or self hosted people?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both.
| * A web application to manage deployed models and host SQL notebooks | ||
| * PostgreSQL database, with `pgml`, `pgvector` and many other extensions installed, including backups, metrics, logs, replicas and high availability | ||
| * PgCat pooler to provide secure access and model load balancing across thousands of clients | ||
| * A web application to manage deployed models and write experiments in SQL notebooks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * A web application to manage deployed models and write experiments in SQL notebooks | |
| * A web application to manage deployed models and share experiments and analysis in SQL notebooks |
| You can connect to your database from any PostgresSQL-compatible client. PostgresML is intended to serve in the traditional role of an application database, along with it's extended role as an MLOps platform to make it easy to build and maintain AI applications together with your application data. | ||
|
|
||
| ## Application SDKs | ||
| ## SDK |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ## SDK | |
| ## Client SDKs |
We've waffled between singular and plural. If we want to change to singular, we'll need to update in several other places, including urls.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not going to write Client SDKs ever again, that wording is just wrong. SDK are only usable on the client by definition.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's going to be singular going forward.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New PRs should use the existing style guide, for code or copy. We should make that update globally in a separate PR to preserve consistency.
Dealing with the separate issue, many users frequently ask about the difference between the SDK and Extension, and how they interact. I think you're confused about the difference between and SDK and API as commonly used, but those terms are not always 100% consistently used in industry, so we need some additional education about how we're using them.
| We provide a client SDK for JavaScript, Python and Rust. The SDK manages connections to the Postgres database and makes it easy to construct efficient queries for AI use cases, like managing a document collection for RAG, or building a chatbot. All of the ML & AI still happenening inside the database, with centralized operations, hardware and dependency management. | ||
|
|
||
| These SDKs are under rapid development to add new features and use cases, but we release non breaking changes with minor version updates in accordance with SemVer. It's easy to install into your existing application. | ||
| The SDK are under rapid development to add new features and use cases, but we release non breaking changes with minor version updates in accordance with SemVer. It's easy to install into your existing application. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| The SDK are under rapid development to add new features and use cases, but we release non breaking changes with minor version updates in accordance with SemVer. It's easy to install into your existing application. | |
| The SDKs are under rapid development to add new features and use cases, but we release non breaking changes with minor version updates in accordance with SemVer. It's easy to install into your existing application. |
| {% endtab %} | ||
| {% endtabs %} | ||
|
|
||
| Our SDK comes with zero additional dependencies. The core of the SDK is written in Rust, and we provide language bindings and native packaging & distribution. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Our SDK comes with zero additional dependencies. The core of the SDK is written in Rust, and we provide language bindings and native packaging & distribution. | |
| Our SDK comes with zero additional dependencies, to provide the simplest and safest ML application deployment and maintenance possible. The core of the SDK is written in Rust, and we provide language bindings and native packaging & distribution. |
| ## SQL editors | ||
|
|
||
| Use any of these popular tools to execute SQL queries directly against the database: | ||
| If you need to write ad-hoc queries, you can use any of these popular tools to execute SQL queries directly on your database: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| If you need to write ad-hoc queries, you can use any of these popular tools to execute SQL queries directly on your database: | |
| If you need to write ad-hoc queries, or perform administrative functions, you can use any of these popular tools to execute SQL queries directly on your database: |
| ## Primary database | ||
|
|
||
| Data that changes infrequently can be easily imported into PostgresML using `COPY`. All you have to do is export your data as a CSV file, create a table in Postgres to store it, and import it using the command line. | ||
| If you're intention is to use PostgresML as your primary database, your job here is done. You can use the connection credentials provided and start building your application on top of in-database AI right away. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| If you're intention is to use PostgresML as your primary database, your job here is done. You can use the connection credentials provided and start building your application on top of in-database AI right away. | |
| If your intention is to use PostgresML as your primary database, your job here is done. You can use the connection credentials provided and start building your application on top of in-database AI right away. |
pgml-dashboard/src/utils/markdown.rs
Outdated
| if let NodeValue::Text(text) = &sibling.data.borrow().value { | ||
| let index = match header_count.get(text) { | ||
|
|
||
| println!("child: {:?}", sibling); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| println!("child: {:?}", sibling); |
| * [FAQs](resources/faqs.md) | ||
| * [Data Storage & Retrieval](resources/data-storage-and-retrieval/README.md) | ||
| * [Data Storage & Retrieval](resources/data-storage-and-retrieval/tabular-data.md) | ||
| * [Tabular data](resources/data-storage-and-retrieval/tabular-data.md) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * [Tabular data](resources/data-storage-and-retrieval/tabular-data.md) |
chillenberger
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
pgml-dashboard/src/utils/markdown.rs
Outdated
| if let NodeValue::Text(text) = &sibling.data.borrow().value { | ||
| let index = match header_count.get(text) { | ||
|
|
||
| println!("child: {:?}", sibling); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you want this println in here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not :) good catch
Features
@codemirror/lang-sqlto add support for Postgres-specific syntax..table-smby default instead of the ugly default bootstrap tables.Documentation