Skip to content
Open
Changes from all commits
Commits
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
5 changes: 1 addition & 4 deletions product_docs/docs/aidb/7/sql-functions/encode-decode.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ AIDB provides a set of SQL functions for performing AI inference directly in que
Encodes a single text string into a vector using a registered embedding model.

```sql
SELECT aidb.encode_text(
input => 'What is pgvector?',
options => '{"model": "my_embedder"}'
);
SELECT aidb.encode_text('my_embedder','What is pgvector?');

__OUTPUT__
encode_text
Expand Down
Loading