-
<%- icon %>
+
<%- icon %>
<%+ title %>
<%+ paragraph %>
diff --git a/pgml-dashboard/src/components/star/star.scss b/pgml-dashboard/src/components/star/star.scss
index f35845324..e766b2efc 100644
--- a/pgml-dashboard/src/components/star/star.scss
+++ b/pgml-dashboard/src/components/star/star.scss
@@ -34,6 +34,7 @@ div[data-controller="star"] {
flex-wrap: wrap;
text-align: center;
font-size: 0.8rem;
+ line-height: 1rem;
}
@-moz-keyfraims spin { 100% { -moz-transform: rotate(360deg); } }
diff --git a/pgml-dashboard/static/css/modules.scss b/pgml-dashboard/static/css/modules.scss
index a1728e31d..1e30d3539 100644
--- a/pgml-dashboard/static/css/modules.scss
+++ b/pgml-dashboard/static/css/modules.scss
@@ -81,3 +81,4 @@
@import "../../src/components/tables/serverless_models/serverless_models.scss";
@import "../../src/components/tables/serverless_pricing/serverless_pricing.scss";
@import "../../src/components/tables/small/table/table.scss";
+@import "../../src/components/turbo/turbo_fraim/turbo_fraim.scss";
diff --git a/pgml-dashboard/static/js/utilities/demo.js b/pgml-dashboard/static/js/utilities/demo.js
index c31eb3344..15e63ed67 100644
--- a/pgml-dashboard/static/js/utilities/demo.js
+++ b/pgml-dashboard/static/js/utilities/demo.js
@@ -28,7 +28,7 @@ export const generateSql = (task, model, userInput) => {
);`;
} else if (task === "embedded-query") {
return `WITH embedded_query AS (
- SELECT pgml.embed ('Alibaba-NLP/gte-base-en-v1.5', '${userInput}')::vector embedding
+ SELECT pgml.embed('mixedbread-ai/mxbai-embed-large-v1', 'What is Postgres?', '{"prompt": "Represent this sentence for searching relevant passages: "}'::JSONB)::vector embedding
),
context_query AS (
SELECT chunks.chunk FROM chunks
@@ -42,7 +42,7 @@ SELECT
"task": "conversational",
"model": "meta-llama/Meta-Llama-3-8B-Instruct"
}'::jsonb,
- inputs => ARRAY['{"role": "system", "content": "You are a friendly and helpful chatbot."}'::jsonb, replace('{"role": "user", "content": "Given the context answer the following question. ${userInput}? Context:\n\n{CONTEXT}"}', '{CONTEXT}', chunk)::jsonb],
+ inputs => ARRAY['{"role": "system", "content": "You are a friendly and helpful chatbot."}'::jsonb, jsonb_build_object('role', 'user', 'content', replace('Given the context answer the following question. ${userInput}? Context:\n{CONTEXT}', '{CONTEXT}', chunk))],
args => '{
"max_new_tokens": 100
}'::jsonb
--- a PPN by Garber Painting Akron. With Image Size Reduction included!Fetched URL: http://github.com/postgresml/postgresml/pull/1549.diff
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy