The Airlock SDK for Java is an API client for Airlock. Airlock is an AI policy layer to prevent the disclosure of sensitive information, such as PII and PHI, in your AI applications.
Refer to the Airlock API documentation for details on the methods available.
To apply a policy to text:
AirlockClient client = new AirlockClient.AirlockClientBuilder().withEndpoint("https://127.0.0.1:8080").build();
ApplyResponse applyResponse = client.apply(text);
Release dependencies are available in Maven Central.
<dependency>
<groupId>ai.philterd</groupId>
<artifactId>airlock-sdk-java</artifactId>
<version>1.0.0</version>
</dependency>
Snapshot dependencies are available in the Maven Central Snapshot Repository by adding the repository to your pom.xml
:
<repository>
<id>snapshots</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
- 1.0.0:
- Initial release.
This project is licensed under the Apache License, version 2.0.
Copyright 2023 Philterd, LLC. Philter is a registered trademark of Philterd, LLC.