IncognitoPilot
IncognitoPilot copied to clipboard
Use Custom Python Packages with IncognitoPilot
I want to use a Custom python package with the Copilot. Aim is to integrate a python package with the Copilot for code generation purposes. This would enable us to leverage the capabilities of the private package within our code-writing workflows. I am able to install the package in the docker But the Copilot/ LLM is not able to pick it and use it. I want the package to be used in a way like openai functions.
For example, I have a package named foretell that does time series forecasting. When I ask a prompt like " Use foretell and build a time series model", the Copilot shall be able to understand the foretell package and use it as needed.
Is this doable?
Sry for the late reply, I have a hard time catching up with my stuff lately.
In general it's not an easy thing to do. You have to provide the documentation or examples of the custom package to the model, e.g. in the chat interface. Or you can try to change the source code to add it to the system prompt directly.