Skip to content

Revise SQL example for encode_text function#7173

Merged
mpfuster merged 2 commits into
developfrom
kunliuedb-patch-1
May 18, 2026
Merged

Revise SQL example for encode_text function#7173
mpfuster merged 2 commits into
developfrom
kunliuedb-patch-1

Conversation

@kunliuedb
Copy link
Copy Markdown
Contributor

@kunliuedb kunliuedb commented May 13, 2026

Updated SQL example for aidb.encode_text function.

What Changed?

Update the sql as the given example returns an error with the No function matches the given name and argument types

edb_admin=# SELECT aidb.encode_text(
edb_admin(#     input   => 'What is pgvector?',
edb_admin(#     options => '{"model": "my_embedding_model"}'
edb_admin(# );
ERROR:  function aidb.encode_text(input => unknown, options => unknown) does not exist
LINE 1: SELECT aidb.encode_text(
               ^
HINT:  No function matches the given name and argument types. You might need to add explicit type casts.

@kunliuedb kunliuedb requested a review from a team as a code owner May 13, 2026 10:57
Copy link
Copy Markdown
Contributor

@nidhibhammar nidhibhammar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Shall I merge?

@nidhibhammar
Copy link
Copy Markdown
Contributor

LGTM. Shall I merge?

@kunliuedb Shall I merge this PR?

@mpfuster mpfuster added the deploy Add this label to a PR and it will automatically be deployed to netlify label May 18, 2026
@github-actions github-actions Bot temporarily deployed to deploy-preview May 18, 2026 08:01 Inactive
@mpfuster mpfuster force-pushed the kunliuedb-patch-1 branch from 74ebc33 to a25bebd Compare May 18, 2026 08:02
@mpfuster mpfuster merged commit d5da0e9 into develop May 18, 2026
7 checks passed
@mpfuster mpfuster deleted the kunliuedb-patch-1 branch May 18, 2026 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deploy Add this label to a PR and it will automatically be deployed to netlify oncall

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants