-
-
Notifications
You must be signed in to change notification settings - Fork 165
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
embedding doesn't work #387
Comments
Please update to 3.19.0 and let us know. Many thanks! |
I tried 3.19.0, and it seems that this issue does exist. I haven't looked at the code in detail yet, but I suspect it might be related to the fileContents that was removed in a710b6b. |
in version 3.19.0, the embedding process does not start processing (I waited a long time without recording): 2024-11-13.14-39-52.mp4 |
Thanks for the detailed report. It seems related to this issue: #386 Will be investigating soon, since we removed some default ignored file list (in favour of user defined) we have some crashes. Are there any errors in the console? In vscode you can go to Help > Toggle Developer Tools and see the console logs from twinny. Many thanks! |
I'll take a look now. There is only one moment at once - all the files in the folder (from the video) are less than 100 lines. |
At the moment of clicking the "Embed workspace documents" button:
PS. It so happens that the latest messages are related to a different issue (and version). Could we move them to a separate thread so as not to confuse them with the current discussion? |
It seems that it now only passes the file path to the model instead of the file content, but the model cannot read the file content just by the path, so it's not working. |
Please provide API details of embedding provider API for ollama. Please make sure it's |
Thanks, it helped. The problem with the embedding process is coming to an end, but the initial problem still remains. However, as far as I understand, this problem will be solved with #389 |
I just found out that from version 3.18.5 embedding doesn't work well.
Let's take this as an example of the "twinny" repository.
In version 3.18.4, if I run the
explain @extension.global.d.ts
, I'm getting a file analysis:But in versions 3.18.5 and later, I just get "reflections on the topic":
So I had to roll back to 3.18.4...
The text was updated successfully, but these errors were encountered: