IntelliNode v0.0.21
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);
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>');
Note that Gen function in beta, the output generated may not always meet your expectations.
For more code examples, check the sample.