Skip to content
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

Use Custom Python Packages with IncognitoPilot #41

Open
saurabhgssingh opened this issue Sep 9, 2023 · 1 comment
Open

Use Custom Python Packages with IncognitoPilot #41

saurabhgssingh opened this issue Sep 9, 2023 · 1 comment
Labels
question Further information is requested

Comments

@saurabhgssingh
Copy link

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?

@saurabhgssingh saurabhgssingh changed the title Use Custom Python Packages with CognitoPilot Use Custom Python Packages with IncognitoPilot Sep 9, 2023
@silvanmelchior silvanmelchior added the question Further information is requested label Sep 14, 2023
@silvanmelchior
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants