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

Since the update, the bots are no longer working, but... #258

Open
comeback01 opened this issue Apr 27, 2024 · 15 comments
Open

Since the update, the bots are no longer working, but... #258

comeback01 opened this issue Apr 27, 2024 · 15 comments
Labels
bug Something isn't working

Comments

@comeback01
Copy link

As I wrote in the title, since the update, none of the bots are working. There are no errors in the logs, which remain on "Connecting to database..."

I had the idea to do a test on Telegram and I got the message "Oops! Embedding not found".

It's true that I changed the API and I forgot to put an Embedding model.

I fixed that, created a new bot and it's working.

My problem is that for the existing bots, I can't change the model and they don't work.

How can I fix this?

Thank you

image

@n4ze3m
Copy link
Owner

n4ze3m commented Apr 27, 2024

Hey, sorry about that. Which version did you update from to get to the latest one?

Also, in Settings > Models > Embedding Models, is your 'dialoqbase_eb_text-embedding-ada-002' model disabled?

Just to clarify, are you running via Docker or directly?

@n4ze3m n4ze3m added the bug Something isn't working label Apr 27, 2024
@comeback01
Copy link
Author

I put the OpenAI model, because I don't see your, since the update it has disappeared.

I'll show you the screenshots

image
image
image
image

@n4ze3m
Copy link
Owner

n4ze3m commented Apr 28, 2024

Hey, please enable this model; it will work fine :)

image

@comeback01
Copy link
Author

I added the template and if I create a new bot, no problem it works.

But with the old bot it doesn't work, I always have the same problem.

That's because the model isn't there and you can't change it.

Why isn't the model there?

image

@n4ze3m
Copy link
Owner

n4ze3m commented Apr 28, 2024

Hey, please enable this model; it will work fine :)

image

Hey, could you go to Models > Embedding Model and enable text-embedding-ada-002 please? It may fix the old bot issue

@n4ze3m
Copy link
Owner

n4ze3m commented Apr 28, 2024

Hey, please enable this model; it will work fine :)

image

Hey, dialoqbase_eb_text-embedding-ada-002 is the internal reference ID for text-embedding-ada-002. After referring to your screenshot, I think it's disabled, which is causing the issue. If you enable it from the embedding table, it may resolve all the issues.

@comeback01
Copy link
Author

I had understood correctly, I activated it but it doesn't change anything.

But you can see from the image that it doesn't have the same name

image

@n4ze3m
Copy link
Owner

n4ze3m commented Apr 28, 2024

That's weird. I will look into it. Can you check your bot to see if it's working now? It should have worked.

Unlike the chat model, you can't currently change embedding models due to dimensional issues. Doing so may completely break the bot, which is why this feature is disabled. I will look into a way to fix it

@comeback01
Copy link
Author

Don't worry, I've deleted the docker and I'll start all over again.

It's not a bad thing

@n4ze3m n4ze3m mentioned this issue May 3, 2024
@n4ze3m
Copy link
Owner

n4ze3m commented May 3, 2024

In version 1.8.2, embedding models won't be disabled, but you can change them. Make sure you switch to the correct dimension model, or you'll need to retrain all the data sources

@comeback01
Copy link
Author

Hello,

I started everything from scratch on another server.

Until yesterday, I had no problem, but now I again have the sentence "There was an error processing your request."

Here are the logs:

dialoqbase | clvjpwa9z000747auf7pxisw7 dialoqbase | TypeError: query.join is not a function dialoqbase | at DialoqbaseVectorStore.similaritySearchVectorWithScore (/app/utils/store.js:67:34) dialoqbase | at DialoqbaseVectorStore.similaritySearch (/app/node_modules/@langchain/core/dist/vectorstores.cjs:108:36) dialoqbase | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) dialoqbase | at async VectorStoreRetriever.getRelevantDocuments (/app/node_modules/@langchain/core/dist/retrievers.cjs:70:29) dialoqbase | at async VectorStoreRetriever._streamIterator (/app/node_modules/@langchain/core/dist/runnables/base.cjs:151:9) dialoqbase | at async VectorStoreRetriever.transform (/app/node_modules/@langchain/core/dist/runnables/base.cjs:344:9) dialoqbase | at async RunnableSequence._streamIterator (/app/node_modules/@langchain/core/dist/runnables/base.cjs:1084:30)

@n4ze3m
Copy link
Owner

n4ze3m commented May 3, 2024

hey, did you change the embedding model ?

@comeback01
Copy link
Author

No, actually I created two bots that I use on Telegram, and when it didn't work, I didn't have a PC.

I think before the outage, I made a third bot based on a YouTube video, but there was a problem and I deleted the bot.

If necessary, I don't mind deleting the server again, it's quick.

@n4ze3m
Copy link
Owner

n4ze3m commented May 3, 2024

That is strange. I will try to reproduce this issue, since it's caused by the embedding model. By the way, which embedding model are you currently using

@comeback01
Copy link
Author

I'm using text-embedding-3-large, but I have also tried text-embedding-3-small.

Since I'm using the program for two Telegram bots, I erased everything and started over again.

I don't want to touch it for now, and if the problem comes back, I'll give you full access and start over on another server.

Thank you for your help.

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