pieces-app / support

16 stars 3 forks source link

Add support for .razor files #86

Open rosie-at-pieces opened 7 months ago

rosie-at-pieces commented 7 months ago

Original ticket:

When adding a folder as context, it is not including .razor files (in both destop app and jetbrains plugin). In the desktop app .razor files can also not be included as File-Context. In the jetbrains plugin .razor files can be included and they are accessed as context for my questions - so it's not a problem of the algorithms not being able to use them.

Note: this issue was created automatically from an offline service ticket.

rosie-at-pieces commented 7 months ago

https://github.com/pieces-app/pieces_for_x/issues/474

BewaAutomatisierung-RD commented 7 months ago

To clarify: What's missing is

What's working is:

mack-at-pieces commented 7 months ago

Connected to https://github.com/pieces-app/pieces_for_x/pull/499

mack-at-pieces commented 7 months ago

@BewaAutomatisierung-RD We released an update to the Pieces Desktop app today that should include support for .razor files. Can you please update and test your use case to confirm we addressed what you're looking for?

We can take a look at the Jetbrains plugin support next.

BewaAutomatisierung-RD commented 7 months ago

Hello @mack-at-pieces With the new release I can select .razor files for context but it looks like they are not used as context by the LLMs.

If I provide a file "Drag_Drop.razor" with the content of this .txt file (I cannot upload .razor files here)

Drag_Drop.txt

And then use the following prompt: "Using only the provided context, give an example of a TelerikTreeList with Drag&Drop"

Gemini Answer: "The provided context lacks information on TelerikTreeList and Drag&Drop. Therefore, I cannot provide an example."

GPT 3.5 Turbo 16K answer: "I apologize, but the provided context does not contain an example of a TelerikTreeList with Drag&Drop."

If I provide the folder containing the file mentioned above plus several other .razor files with Blazor TreeList examples and ask the same question GPT 4 Turbo provides me with an example using AspNetCore.Mvc which is not in the context at all.

BewaAutomatisierung-RD commented 7 months ago

A couple of questions concerning the context:

BewaAutomatisierung-RD commented 7 months ago

If I provide a folder containing 38 .razor files to the context and then ask "How many files are in the context" I get the answer "1".