Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse error when using vector_chunks function #38

Open
PhilippSalvisberg opened this issue Jul 1, 2024 · 0 comments
Open

Parse error when using vector_chunks function #38

PhilippSalvisberg opened this issue Jul 1, 2024 · 0 comments
Assignees
Labels
23.4 bug Something isn't working

Comments

@PhilippSalvisberg
Copy link
Collaborator

The following statement is based on an example from https://docs.oracle.com/en/database/oracle/oracle-database/23/vecse/generate-and-use-embeddings-end-end-search.html:

SELECT d.id id,
       row_number() over (partition by d.id order by d.id) chunk_id,
       vc.chunk_offset chunk_offset,
       vc.chunk_length chunk_length, 
       vc.chunk_text chunk,
       vector_embedding(doc_model using vc.chunk_text as data) vector
  FROM documentation_tab d,
       vector_chunks(d.text by words max 100 overlap 10 split RECURSIVELY) vc;

it produces a parser error due to the vector_chunks function which uses non-standard parameters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
23.4 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants