# prompttemplate-tag

> A TypeScript library that leverages OpenAI's GPT-3.5 Turbo for simple and efficient chat-based text completions.

Latest version **0.0.0** (published 2023-05-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install prompttemplate-tag
pnpm add prompttemplate-tag
yarn add prompttemplate-tag
bun add prompttemplate-tag
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.0 |
| Published | 2023-05-05 |
| First published | 2023-05-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 5.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Chantz Large |
| Maintainers | ch__tz |
| Keywords | nlp, prompt, optimization |

## Links

- npm: https://www.npmjs.com/package/prompttemplate-tag
- npm.io page: https://npm.io/package/prompttemplate-tag

## Dependencies (1)

- [openai](https://npm.io/package/openai.md) ^3.2.1

## Alternatives

- [localforage](https://npm.io/package/localforage.md) — 6.2M weekly downloads
- [localforage-observable](https://npm.io/package/localforage-observable.md) — 30.8K weekly downloads
- [@y/y](https://npm.io/package/@y/y.md) — 30.1K weekly downloads
- [@metaobjectsdev/render](https://npm.io/package/@metaobjectsdev/render.md) — 3.5K weekly downloads
- [@ledgerhq/coin-algorand](https://npm.io/package/@ledgerhq/coin-algorand.md) — 1.1K weekly downloads

## Recent versions

- 0.0.0 (latest) — 2023-05-05

## README

# completion-tag

A TypeScript library that leverages OpenAI's GPT-3.5 Turbo for simple and efficient chat-based text completions.

## Overview

`completion-tag` is a simple-to-use TypeScript library designed to interact with OpenAI's GPT-3.5 Turbo model. It streamlines the process of sending requests and receiving completions from the AI, making it easier for developers to integrate the model into their applications. By using a template literal tag, developers can quickly pass their text prompts to the AI and receive a response.

## Usage

Simple:

```typescript
import { completion } from 'completion-tag'

const got = await completion`Please echo the following to prove we can communicate: "hello"`
console.log(got)
// "hello"
```

See tests for more examples.

## Author

- [C. Large](https://github.com/chantzlarge)

---
_Source: https://npm.io/package/prompttemplate-tag · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
