An open API service indexing awesome lists of open source software.

https://github.com/molnia1311/deep-thought

the ultimate answer to any text you feed it
https://github.com/molnia1311/deep-thought

argv container openai python stdin summary

Last synced: about 1 month ago
JSON representation

the ultimate answer to any text you feed it

Awesome Lists containing this project

README

          

# Deep Thought

Turn any text into a one-line summary using OpenAI.

---

## Quick start

```bash
docker run -i --rm \
-e OPENAI_API_KEY=sk-... \
ghcr.io/molnia1311/deep-thought "Long text to summarise"
```

Feed input via **args** or **stdin**; the summary prints to stdout.

### Config

| Env var | Default | Purpose |
| ---------------------- | ---------------- | ----------------------------- |
| `OPENAI_MODEL` | `gpt-4o-mini` | Model to call |
| `OPENAI_SYSTEM_PROMPT` | one-line summary | Customize the prompt |

### Build locally

```bash
docker build -t deep-thought .
```