arbs-io / vscode-openai

vscode-openai seamlessly incorporates OpenAI features into VSCode, providing integration with SCM, Code Editor and Chat.
https://marketplace.visualstudio.com/items?itemName=AndrewButson.vscode-openai
MIT License
84 stars 19 forks source link

I couldn't find the answer to that question in your files. #287

Open codeitlikemiley opened 1 month ago

codeitlikemiley commented 1 month ago

I tried using the Query Resources I uploaded a pdf file

this is the log on output:

2024-09-09 05:29:24.139 [info]      file_information - event properties
{
  "path": "/Users/uriah/Downloads/StrengthsFinder.pdf",
  "extension": "pdf",
  "mimetype": "application/pdf",
  "length": "142128"
}
Screenshot 2024-09-09 at 1 32 39 PM

I already have created the necessary deployment on azure for both chat completion and embeddings.

Screenshot 2024-09-09 at 1 33 22 PM

The chat completions works

Screenshot 2024-09-09 at 1 34 21 PM

Im pretty sure that we are really making request to the embeddings model as i get request log on dashboard

Screenshot 2024-09-09 at 1 38 03 PM

I dont know what is causing this issue

Do you guys have any idea?

Or if possible share your set up on azure , add that documentation as well on the repository so others might read it

codeitlikemiley commented 1 month ago

i can also add a folder and have it indexed

see

Screenshot 2024-09-09 at 1 40 58 PM

I can verify it is being upload as the dashboard metrics on deployment for embeddings is going up

Screenshot 2024-09-09 at 1 43 46 PM

How do you even query your own file anyway lol?

codeitlikemiley commented 1 month ago

Note it is very clear here that we are making request and tokens are updated but no response as the completion token count is 0

So yeah I dont know if the Plugin has issue or my azure set up is missing something

RickoNoNo3 commented 1 month ago

Same issue

XCOD33 commented 1 month ago

same issue

MackeyK24 commented 1 week ago

Same here, I get that error trying to use the 3rd generation embeddings. As workaround, I just use text-embedding-ada-002 works great.