Skip to content

Revise SQL example for encode_text function#7173

Open
kunliuedb wants to merge 2 commits into
developfrom
kunliuedb-patch-1
Open

Revise SQL example for encode_text function#7173
kunliuedb wants to merge 2 commits into
developfrom
kunliuedb-patch-1

Conversation

@kunliuedb
Copy link
Copy Markdown
Contributor

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.

Updated SQL example for aidb.encode_text function.
@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants