Skip to content

IntelliNode v0.0.21

Compare
Choose a tag to compare
@Barqawiz Barqawiz released this 01 Jun 21:36
· 408 commits to main since this release

v0.0.21

New Changes 🌟

  • Introducing a new Gen function: Generate charts directly from CSV data.
  • Enhanced the HTML generation: we have further enhanced the Gen function to generate HTML pages based on user prompts.

Code Examples 💻

  • import:
const { Gen } = require('intellinode');

Generate charts

const csv_str_data = '<your csv as string>'
const topic = "<the csv topic>";

const htmlCode = await Gen.generate_dashboard(csv_str_data, topic, openaiKey, num_graphs=2);

Output example:

Generate html files

text = 'a registration page with flat modern theme.'
await Gen.save_html_page(text, folder='tempFolder', file_name='register_page', openaiKey='<key>');

Output example:

Note that Gen function in beta, the output generated may not always meet your expectations.

For more code examples, check the sample.