0.0.32 • Published 8 months ago

plato-cli v0.0.32

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

Plato Client

Run evaluation dataset

import Plato from 'plato-cli';

const plato = await Plato.init('cool-agent-123');

const dataset = await plato.loadDataset({ name: 'webvoyager' })

const results = await plato.evaluate({
  dataset,
  run: async (testCase, simulationSession) => {
    const agent = await CoolAgent.init({ cdpUrl: simulationSession.cdpUrl })
    const output = await agent.start({
      startUrl: testCase.startUrl,
      prompt: testCase.prompt,
      outputSchema: testCase.outputSchema, // optional JSON Schema for output structure
    });
    return output;
  },
})
0.0.32

8 months ago

0.0.31

8 months ago

0.0.30

8 months ago

0.0.29

8 months ago

0.0.27

8 months ago

0.0.26

8 months ago

0.0.25

8 months ago

0.0.24

8 months ago

0.0.23

8 months ago

0.0.22

8 months ago

0.0.21

8 months ago

0.0.20

8 months ago

0.0.19

8 months ago

0.0.18

8 months ago

0.0.17

8 months ago

0.0.16

8 months ago

0.0.15

8 months ago

0.0.14

8 months ago

0.0.13

8 months ago

0.0.12

8 months ago

0.0.11

8 months ago

0.0.10

8 months ago

0.0.9

8 months ago

0.0.8

8 months ago

0.0.7

8 months ago

0.0.6

8 months ago

0.0.5

8 months ago

0.0.4

11 months ago

0.0.3

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago