0.0.32 • Published 10 months ago

plato-cli v0.0.32

Weekly downloads
-
License
MIT
Repository
-
Last release
10 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

10 months ago

0.0.31

10 months ago

0.0.30

10 months ago

0.0.29

10 months ago

0.0.27

10 months ago

0.0.26

10 months ago

0.0.25

10 months ago

0.0.24

10 months ago

0.0.23

10 months ago

0.0.22

10 months ago

0.0.21

10 months ago

0.0.20

10 months ago

0.0.19

10 months ago

0.0.18

10 months ago

0.0.17

10 months ago

0.0.16

10 months ago

0.0.15

10 months ago

0.0.14

10 months ago

0.0.13

10 months ago

0.0.12

10 months ago

0.0.11

10 months ago

0.0.10

10 months ago

0.0.9

10 months ago

0.0.8

10 months ago

0.0.7

10 months ago

0.0.6

10 months ago

0.0.5

10 months ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago