-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix missing CSV object #560
Conversation
LGTM 🚀 The pull request only adds a declaration for the
|
Parsing and stringifying of CSV data. | ||
Parsing and stringifying of Comma Separated Values (CSV) data. | ||
|
||
The parsers map CSV data to an array of object with field names mapping the header. For example, the CSV data: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The introduction to parsing and stringifying CSV data has been expanded to provide a clearer example.
generated by pr-docs-review-commit
content_update
|
||
You can use [defData](/genaiscript/reference/scripts/context) | ||
to serialize the `rows` object to the prompt. `defData` also supports | ||
basic row filtering options like with `def`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Information on using defData
to serialize objects to the prompt has been added, along with a note on its similarity to def
in terms of row filtering.
generated by pr-docs-review-commit
content_addition
CSV
class in JavaScript. 🧮