This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
version: "2.0" | |
services: | |
service-1: | |
image: winglian/axolotl:main-py3.11-cu121-2.2.1 | |
expose: | |
- port: 80 | |
as: 80 | |
to: | |
- global: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Anthropic from '@anthropic-ai/sdk'; | |
const anthropic = new Anthropic(); | |
const system_prompt = ` | |
You are using a Mac running MacOS 15.1.1 with internet access. | |
You are a helpful assistant that can help with tasks on a computer. | |
` | |
async function takeKindleScreenshot(anthropic: Anthropic, pageNum: number) { |
OlderNewer