import { GraphyAiSdk } from '@graphysdk/agents-sdk';const ai = new GraphyAiSdk({ apiKey: process.env.GRAPHY_API_KEY, baseUrl: 'https://agents.graphy.dev',});
const result = await ai.generateGraph({ config, userPrompt: 'Change this to a line chart and add a trend line',});console.log(result.config); // Updated GraphConfigconsole.log(result.response.message); // "Changed chart type to line and added trend line"