Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Python & JavaScript CLI#1201

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
SilasMarvin merged 9 commits intomasterfromlevkk-python-cli
Dec 2, 2023
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
278 changes: 269 additions & 9 deletionspgml-sdks/pgml/Cargo.lock
View file
Open in desktop

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletionpgml-sdks/pgml/Cargo.toml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
[package]
name = "pgml"
version = "0.9.6"
version = "0.10.0"
edition = "2021"
authors = ["PosgresML <team@postgresml.org>"]
homepage = "https://postgresml.org/"
Expand DownExpand Up@@ -38,6 +38,11 @@ serde = "1.0.181"
futures = "0.3.28"
walkdir = "2.4.0"
lopdf = { version = "0.31.0", features = ["nom_parser"] }
clap = { version = "4", features = ["derive"]}
is-terminal = "0.4"
colored = "2"
ctrlc = "3"
inquire = "0.6"

[features]
default = []
Expand Down
3 changes: 3 additions & 0 deletionspgml-sdks/pgml/javascript-cli/index.js
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env node
const pgml = require("pgml");
pgml.cli().then(() => {});
32 changes: 32 additions & 0 deletionspgml-sdks/pgml/javascript-cli/package-lock.json
View file
Open in desktop

Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.

27 changes: 27 additions & 0 deletionspgml-sdks/pgml/javascript-cli/package.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
{
"name": "pgml-cli",
"version": "0.10.0",
"description": "CLI for PostgresML, the GPU-powered AI application database.",
"keywords": [
"postgres",
"machine learning",
"vector databases",
"embeddings"
],
"bin": {
"pgml": "index.js"
},
"author": {
"name": "PostgresML",
"email": "team@postgresml.org",
"url": "https://postgresml.org"
},
"repository": {
"type": "git",
"url": "https://github.com/postgresml/postgresml"
},
"license": "MIT",
"dependencies": {
"pgml": "0.10.0"
}
}
4 changes: 2 additions & 2 deletionspgml-sdks/pgml/javascript/package-lock.json
View file
Open in desktop

Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.

2 changes: 1 addition & 1 deletionpgml-sdks/pgml/pyproject.toml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,7 +5,7 @@ build-backend = "maturin"
[project]
name = "pgml"
requires-python = ">=3.7"
version = "0.9.6"
version = "0.10.0"
description = "Python SDK is designed to facilitate the development of scalable vector search applications on PostgreSQL databases."
authors = [
{name = "PostgresML", email = "team@postgresml.org"},
Expand Down
7 changes: 7 additions & 0 deletionspgml-sdks/pgml/python/pgml/__main__.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
import asyncio
from pgml import cli

async def main():
await cli()

asyncio.run(main())
2 changes: 1 addition & 1 deletionpgml-sdks/pgml/src/builtins.rs
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -101,7 +101,7 @@ mod tests {
let query = "SELECT * from pgml.collections";
let results = builtins.query(query).fetch_all().await?;
assert!(results.as_array().is_some());
Ok(())
Ok(())
}

#[sqlx::test]
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp