open-index/open-npm huggingface dataset:
npm package: @ninembs-studio/prompt-facade
Description: A simple prompt facade for interacting with different AI providers
Author: NineMBS Studio
Latest version: 1.0.6

# Prompt Facade

A TypeScript library that provides a facade pattern for interacting with various AI providers.

## Installation

```sh
npm install @ninembs-studio/prompt-facade
```

## Usage

```ts
import { PromptFacade } from "@ninembs-studio/prompt-facade";

// Configure the facade with your providers
const facade = new PromptFacade({
  providers: {
    "my-ai-provider": {
      url: "https://api.example.com/chat",
      headers: {
        Authorization: "Bearer your-api-key",
        "Content-Type": "application/json",
      },
    },
  },
  defaultProvider: "my-ai-provider",
});

// Use the facade
await facade.prompt("Hello, AI!", "model-name");

// Get conversation history
const history = facade.getHistory();
```

## Features

- Support for multiple AI providers
- Conversation history management
- Type-safe configuration
- Provider switching
- System message support
npm package: @ninepie/ali-sls
Description: Warning: This is a work-in-progress and not the finished product.
Author: xuerzong
Latest version: 0.0.3

# ali-sls

Warning: This is a work-in-progress and not the finished product.

## How to use

```bash
yarn add @ninepie/ali-sls
```

```typescript
import { createClient } from '@ninepie/ali-sls'

const client = createClient({
  endpoint: <your-endpoint>
  project: <your-project>
  accessKeyId: process.env.ALI_ACCESS_KEY_ID
  accessKeySecret: process.enve.ALI_ACCESS_KEY_SECRET
})

client.get('/path/to/', {
  params: {},
  data: {}
})
```