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

Added OpenSourceAI and conversational support in the extension#1206

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 22 commits intomasterfromsilas-open-source-ai-better-rebase
Dec 1, 2023
Merged
Changes from1 commit
Commits
Show all changes
22 commits
Select commitHold shift + click to select a range
3ff2f07
Added OpenSourceAI and conversational support in the extension
SilasMarvinNov 22, 2023
1ca5dc8
Clean up errors and guard rails around conversational api
SilasMarvinNov 22, 2023
b6b7ec6
Not great, pivoting to better solution after talking with Santi
SilasMarvinNov 28, 2023
be4788a
Working conversational everything
SilasMarvinNov 28, 2023
719fdc5
Fixed typo
SilasMarvinNov 28, 2023
23ef2a3
Working non streaming open source ai replacement
SilasMarvinNov 28, 2023
dedf434
Remove outdated comment
SilasMarvinNov 28, 2023
f3d8e1f
Working OpenSourceAI with both sync and async options
SilasMarvinNov 29, 2023
2969c89
Cleaned up and tested well
SilasMarvinNov 29, 2023
3b26743
Completely removed the GPTQ pipeline as it is no longer necessary
SilasMarvinNov 29, 2023
cf1afc6
Removed unnecessary python imports
SilasMarvinNov 29, 2023
accd159
Removed universal debugger output
SilasMarvinNov 30, 2023
e5eccec
Finalized models in SDK for open source ai
SilasMarvinDec 1, 2023
95e1e9a
Updated to work with hugging face tokens
SilasMarvinDec 1, 2023
c80817b
Finalized models in SDK for open source ai
SilasMarvinDec 1, 2023
9a3ca91
Removed unnecessary comment
SilasMarvinDec 1, 2023
4eb88f8
Put back the GGML pipeline and removed the GPTQ pipeline earlier comm…
SilasMarvinDec 1, 2023
93e7ffb
Changed some error messages
SilasMarvinDec 1, 2023
73ee33a
Added migration for 2.8.1
SilasMarvinDec 1, 2023
0201880
Working migration file
SilasMarvinDec 1, 2023
47c18d6
Really working migration file
SilasMarvinDec 1, 2023
fb3f7f7
Bumped version
SilasMarvinDec 1, 2023
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
PrevPrevious commit
NextNext commit
Added migration for 2.8.1
  • Loading branch information
@SilasMarvin
SilasMarvin committedDec 1, 2023
commit73ee33ab2770f39e624eef80f527f9e8ddc4484c
65 changes: 65 additions & 0 deletionspgml-extension/sql/pgml--2.8.0--2.8.1.sql
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
-- pgml::api::transform_conversational_json
CREATE OR REPLACE FUNCTION pgml."transform"(
"task" jsonb, /* pgrx::datum::json::JsonB */
"args" jsonb DEFAULT '{}', /* pgrx::datum::json::JsonB */
"inputs" jsonb[] DEFAULT 'ARRAY[]::JSONB[]', /* Vec<pgrx::datum::json::JsonB> */
"cache" bool DEFAULT false /* bool */
) RETURNS jsonb /* alloc::string::String */
IMMUTABLE STRICT PARALLEL SAFE
LANGUAGE c /* Rust */
AS 'MODULE_PATHNAME', 'transform_conversational_json_wrapper';

-- pgml::api::transform_conversational_string
CREATE OR REPLACE FUNCTION pgml."transform"(
"task" TEXT, /* alloc::string::String */
"args" jsonb DEFAULT '{}', /* pgrx::datum::json::JsonB */
"inputs" jsonb[] DEFAULT 'ARRAY[]::JSONB[]', /* Vec<pgrx::datum::json::JsonB> */
"cache" bool DEFAULT false /* bool */
) RETURNS jsonb /* alloc::string::String */
IMMUTABLE STRICT PARALLEL SAFE
LANGUAGE c /* Rust */
AS 'MODULE_PATHNAME', 'transform_conversational_string_wrapper';

-- pgml::api::transform_stream
CREATE OR REPLACE FUNCTION pgml."transform_stream"(
"task" TEXT, /* alloc::string::String */
"args" jsonb DEFAULT '{}', /* pgrx::datum::json::JsonB */
"input" TEXT DEFAULT '', /* &str */
"cache" bool DEFAULT false /* bool */
) RETURNS SETOF jsonb /* pgrx::datum::json::JsonB */
IMMUTABLE STRICT PARALLEL SAFE
LANGUAGE c /* Rust */
AS 'MODULE_PATHNAME', 'transform_stream_string_wrapper_wrapper';

-- pgml::api::transform_stream
CREATE OR REPLACE FUNCTION pgml."transform_stream"(
"task" jsonb, /* pgrx::datum::json::JsonB */
"args" jsonb DEFAULT '{}', /* pgrx::datum::json::JsonB */
"input" TEXT DEFAULT '', /* &str */
"cache" bool DEFAULT false /* bool */
) RETURNS SETOF jsonb /* pgrx::datum::json::JsonB */
IMMUTABLE STRICT PARALLEL SAFE
LANGUAGE c /* Rust */
AS 'MODULE_PATHNAME', 'transform_stream_json_wrapper_wrapper';

-- pgml::api::transform_stream_conversational_json
CREATE OR REPLACE FUNCTION pgml."transform_stream"(
"task" TEXT, /* alloc::string::String */
"args" jsonb DEFAULT '{}', /* pgrx::datum::json::JsonB */
"inputs" jsonb[] DEFAULT 'ARRAY[]::JSONB[]', /* Vec<pgrx::datum::json::JsonB> */
"cache" bool DEFAULT false /* bool */
) RETURNS SETOF jsonb /* pgrx::datum::json::JsonB */
IMMUTABLE STRICT PARALLEL SAFE
LANGUAGE c /* Rust */
AS 'MODULE_PATHNAME', 'transform_stream_conversational_string_wrapper';

-- pgml::api::transform_stream_conversational_string
CREATE OR REPLACE FUNCTION pgml."transform_stream"(
"task" jsonb, /* pgrx::datum::json::JsonB */
"args" jsonb DEFAULT '{}', /* pgrx::datum::json::JsonB */
"inputs" jsonb[] DEFAULT 'ARRAY[]::JSONB[]', /* Vec<pgrx::datum::json::JsonB> */
"cache" bool DEFAULT false /* bool */
) RETURNS SETOF jsonb /* pgrx::datum::json::JsonB */
IMMUTABLE STRICT PARALLEL SAFE
LANGUAGE c /* Rust */
AS 'MODULE_PATHNAME', 'transform_stream_coversational_json_wrapper';

[8]ページ先頭

©2009-2025 Movatter.jp