huggingface/llm-vscode

Is it possible to run "Code attribution" against a selfhosted API?

LLukas22 opened this issue · 2 comments

I was just thinking about using the "Code attribution" feature to run a search against a company internal code database instead of "TheStack". That way i could simply mark some code lines im currently writing and look up if something similar was already written in a different projekt/repo.

I don't know how complicated it would be to make the endpoint configurable that gets hit if i request a "Code attribution" but i guess just beeing able to define a different endpoint there should be enought. 🤔

I see no reason why it's not doable. I'll let @mishig25 give more details as I believe he was the one that contributed that feature to the plugin :)

This issue is stale because it has been open for 30 days with no activity.