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

Chat, AI API and Embedding not working #30

Closed
SyntecDTx opened this issue May 18, 2024 · 3 comments
Closed

Chat, AI API and Embedding not working #30

SyntecDTx opened this issue May 18, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@SyntecDTx
Copy link

Bug report

Describe the bug

The Amount of ebbendings in the documents_section is never full. It Varies from 4 to 15 rows who have a vector embbeding. Others are NULL. Also the Chat is not working. I can type in the Questions, but only see the dots moving for 1-3 Seconds/ 1/2 animation rotations.

Moreover, when I use the new "const model = new Supabase.ai.Session('gte-small');" I get 0 vector embeddings. With the old one I atleast got some ...

Would be nice if you can help me out.

Bildschirm­foto 2024-05-18 um 19 01 00 Bildschirm­foto 2024-05-18 um 19 01 19
@SyntecDTx SyntecDTx added the bug Something isn't working label May 18, 2024
@gregnr
Copy link
Collaborator

gregnr commented May 18, 2024

Hey @SyntecDTx,

  • The partial NULL embeddings is most likely caused by this previous CPU limit issue. This issue was solved using the new Supabase.ai.Session() API.

  • If Supabase.ai.Session() doesn't work, try checking which version of the edge runtime you are running:

    npx supabase services

    You will need to be on at least version v1.40.4, but the latest version is recommended.

    If you're below that version, upgrade your supabase CLI:

    npm i -D supabase

    You can read more info here.

Let me know if this helps!

@SyntecDTx
Copy link
Author

Thank you for your Answere. I checked the version. I am currently on v1.49 so this should be fine. In the attached Image you can see the Terminal Problem. Also it is ounderlined in curly red :(

Bildschirm­foto 2024-05-19 um 01 16 30

@SyntecDTx
Copy link
Author

Hi, i just followed your steps of the linked ressource. Thank you very much. stopping superbase seems to be working! Thank you :)

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

No branches or pull requests

2 participants