Introducing new features for an improved code experience in AIP Assist

Introducing new features for an improved code experience in AIP Assist

We are excited to introduce two new features in AIP Assist that improve the developer experience and increase efficiency. The new code tool helps answer complex coding questions, and a TypeScript compiler is now in use to improve TypeScript code and flag issues with initially proposed code. This is now available on all enrollments.

Get accurate, Palantir-specific code

With the new AIP Assist code tool, we are now able to return answers with accurate, Palantir-specific code for several applications and features. For example, you can ask an Ontology-focused question (“how can I write an Ontology edit function?”), or ask about a specific language (“how can I parse raw files in parallel in a Python transform?”). Previously, AIP Assist could provide answers using generic, non-Palantir code that presented general use cases. With these improvements, developers will be able to receive accurate, specific code that directly supports their workflow in Code Repositories.

On introduction, the code tool in AIP Assist supports the following languages:

The new code tool improves code responses in AIP Assist.

The new code tool will continue to improve the developer experience in AIP Assist as Palantir engineers update and expand our collections of code examples; the examples, now available in our documentation, will provide use case guidance and inspiration for solving complex problems and transformations.

Fix compiler errors in the moment

AIP Assist is now also integrated with the TypeScript compiler to flag issue with type mismatches, unhandled promises, and more. Once AIP Assist generates an initial code in response to questions, the code will pass through the compiler to find errors and allow users to commit changes directly in the Assist interface.

Compile Typescript errors directly in AIP Assist.

As the TypeScript compiler works, AIP Assist receives feedback that iteratively refines the generated code. The compiler adjusts types, adds missing type definitions, corrects promise handling, and ensures the code adheres to TypeScript’s strict typing. Each iteration is re-checked by the compiler until the code compiles without errors.

AIP Assist not only solves immediate problems with code, but also provides insight into developers on how to avoid similar issues in the future.

Learn more about the AIP features you can use to improve your developer experience.