Easily and responsibly integrate AI into your applications!
Whether you're a beginner looking to dive into AI or an expert developer seeking a quick and clean way to incorporate AI into your projects, Suppress.js is the go-to library for seamless AI integration.
- Beginner-friendly: Get started with AI easily, no prior experience needed
- Responsible AI: Designed with ethics and responsibility in mind
- Extensible: Compatible with a wide range of AI models and platforms
- Lightweight: Small library size ensures minimal impact on your application's performance
- Install Suppress.js:
npm install ai.suppress.js
- Import the library:
const { SuppresServer, DataGenerator, OpenAILLM } = require("ai.suppress.js");
- Initialize and use AI models:
const server = new SuppresServer();
const llm = new OpenAILLM("OPENAI_API_KEY");
- Enjoy seamless AI integration!
server.createEndpoint(
"/hello/:name/:country",
"GET",
new DataGenerator(
"Write a greeting for {name}. Create a brief description of {country}, in which the user lives.",
JSON.stringify({"greeting":"string", "description":"string"}),
llm
)
);
For detailed usage instructions, examples, and customization options, visit our documentation.
We're always looking for collaborators! If you're interested in joining the team and contributing to the project, get in touch!
When building apps which rely on AI, it is important to consider many factors. Here are some tools to help you build responsibly.
- Prompt Security Testing
- Model Insight (coming soon)
- User Key Management [NEW RELEASE]
Suppress.js on it own supports OpenAI models for now. However, you can use any model that is supported by HuggingFace Transformers, if you also install mix.suppress.js
package.
- Gives structure to data produced by LLMs
- Allows for effortless integration of AI into existing projects
- You send the data, suppress handles it. You want the data? Suppress gets it.