AI development tools [Beta]

Beta

AI development tools in VS Code workspaces are in the beta phase of development and are only available on enrollments that have enabled AIP features. Functionality may change during active development.

AI development tools can be used in VS Code workspaces to assist with code generation, testing, debugging, and optimization.

Continue

Continue ↗ is an open source extension for VS Code. Continue provides features for AI code generation, including chat ↗, inline edits ↗, codebase indexing ↗, custom context selection ↗, and more.

In the Palantir platform, Continue is preconfigured to work with Palantir-provided language models, and has added knowledge about relevant Palantir SDKs and your Python transforms or OSDK repository. This contextual understanding of your data structures, Ontology, and organization allows Continue to generate more accurate and relevant code.

Get started

Below are some commands and actions you can use to get started with Continue:

  • Open the Continue extension from the VS Code sidebar, and use the model picker to select a Palantir-provided model.
  • Select a code snippet in the editor and use the command cmd/ctrl + L to add context to a new chat.
  • Select a code snippet in the editor and use the command cmd/ctrl + I to edit the selected code.
  • Enter @filename, @folder or @codebase to reference parts of your codebase.
  • Enter @problems to include linting errors in open files.

The continue extension in VS Code Workspaces

Python transforms

In Python transforms repositories, Continue is preconfigured to understand how to write Python transforms. This includes knowledge of the following topics:

  • The Python transforms SDK and related Palantir APIs.
  • Dataset schemas: Include a dataset RID in your message, or in added context to automatically include dataset schemas and metadata.
  • Foundry-specific conventions and best practices.

Ask How do I write a transform? to get started.

Creating a new Python transform using the Continue extension in VS Code workspaces.

OSDK

In TypeScript OSDK repositories, Continue is preconfigured to understand the OSDK included in your repository. This includes the following:

  • The TypeScript OSDK and its associated libraries.
  • Ontology objects and their metadata, links, Actions and imported functions.

Ask Tell me about my OSDK in your repository to get started.

Editing an OSDK app using the Continue extension in VS Code workspaces.

Pricing

Continue is included with VS Code workspaces at no additional charge. Usage of Palantir-provided models will incur compute costs according to Palantir's AIP compute pricing model.

Security

Continue in VS Code workspaces is preconfigured to use the Palantir-provided models available on your enrollment. To maintain the same level of security offered across the platform, we do not recommend adding additional models directly in the Continue extension. To add additional models use Control Panel.

Availability

Continue is automatically available in VS Code workspaces if AIP is enabled on your enrollment. No additional installation or configuration is required. Contact your Palantir administrator to enable AIP for your enrollment.


Note: AIP feature availability is subject to change and may differ between customers.

VS Code workspaces and the Palantir extension for Visual Studio Code are not affiliated with or endorsed by Microsoft.

The Continue extension is a product of Continue Dev, Inc. No affiliation or endorsement is implied.