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

Commit7573cbf

Browse files
authored
Add migration and bump extension version (#1459)
1 parentf10607a commit7573cbf

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

‎pgml-extension/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name ="pgml"
3-
version ="2.8.4"
3+
version ="2.8.5"
44
edition ="2021"
55

66
[lib]
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
-- pgml::api::embed
2+
CREATE OR REPLACEFUNCTIONpgml."embed"(
3+
"transformer"TEXT,/* &str*/
4+
"inputs"TEXT[],/* alloc::vec::Vec<&str>*/
5+
"kwargs" jsonb DEFAULT'{}'/* pgrx::datum::json::JsonB*/
6+
) RETURNS SETOFreal[]/* alloc::vec::Vec<f32>*/
7+
IMMUTABLE STRICT PARALLEL SAFE
8+
LANGUAGE c/* Rust*/
9+
AS'MODULE_PATHNAME','embed_batch_wrapper';

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp