0.0.32 • Published 5 months ago

plato-cli v0.0.32

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

5 months ago

0.0.31

5 months ago

0.0.30

5 months ago

0.0.29

5 months ago

0.0.27

5 months ago

0.0.26

5 months ago

0.0.25

5 months ago

0.0.24

5 months ago

0.0.23

5 months ago

0.0.22

5 months ago

0.0.21

5 months ago

0.0.20

5 months ago

0.0.19

5 months ago

0.0.18

5 months ago

0.0.17

5 months ago

0.0.16

5 months ago

0.0.15

5 months ago

0.0.14

5 months ago

0.0.13

5 months ago

0.0.12

5 months ago

0.0.11

5 months ago

0.0.10

5 months ago

0.0.9

5 months ago

0.0.8

5 months ago

0.0.7

5 months ago

0.0.6

5 months ago

0.0.5

5 months ago

0.0.4

8 months ago

0.0.3

8 months ago

0.0.2

8 months ago

0.0.1

8 months ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago