Releases: microsoft/genaiscript
v1.84.2
π Exciting updates in GenAIScript 1.84.2!
We've enhanced your development environment by updating our devcontainer setup. Now, after creating your container, Playwright will be automatically installed, ensuring your testing tools are ready to go! π
Additionally, we've made a small but important upgrade to the Python feature, bumping it from version 1.6.3 to 1.6.5, keeping your environment fresh and secure. π
Enjoy the seamless setup and happy coding!
v1.84.0
π New Features
- Node.js API Enhancement: We've introduced a Node.js API that improves worker handling, providing better control and efficiency in managing tasks. This includes support for abort signals to terminate worker threads gracefully.
- Verbose Logging for Model Aliases: Now you can trace the resolution of model aliases with verbose logging, allowing for easier debugging and understanding of model selection paths.
π Updates
- Google Gemini Model Updates: Updated to the latest versions of Google Gemini models, ensuring you have access to the most recent capabilities and improvements.
π Bug Fixes
- Seed Value Validation: Fixed an issue where seeds were not checked for NaN before deletion, improving the robustness of the randomization features.
β»οΈ Refactoring
- Cache Control Implementation: Replaced the ephemeral option with a more robust cacheControl setting, streamlining cache management and improving performance consistency.
These updates bring enhanced functionality, improved performance, and better debugging capabilities to GenAIScript. Enjoy the new features and improvements!
v1.83.4
New Features and Enhancements
-
β¨ Enhanced System Message Handling: We've introduced logic to concatenate system messages at the start of a session into a single message, streamlining message processing and improving clarity.
-
β¨ Advanced Configuration Options: Added support for
seed
andlogit_bias
options. This allows users to customize and fine-tune model behavior more effectively. Note: Some providers may not support these options. -
β¨ Tool Support Expansion: We've expanded tool integration, allowing for more dynamic and context-aware responses. This includes the ability to define and use custom tools for specific tasks.
Improvements
- β»οΈ Cache Control in Message Parsing: Fixed issues related to cache control during message parsing, ensuring more efficient and reliable caching mechanisms.
Documentation
- πΎ Updated Configuration Docs: Documentation has been updated to reflect the new tool support and configuration options, providing clearer guidance on utilizing these new features.
Miscellaneous
- π€ Code Maintenance: Commented out the main function in
oai-tool.mjs
to streamline code management and focus on core functionalities.
v1.83.3
π What's New in GenAIScript 1.83.3
-
Improved Error Handling: We've enhanced the error messages for extra arguments in your scripts. Now, if extra input arguments are detected, you'll receive a more informative message detailing the expected parameters. This will make debugging much easier and efficient! βοΈ
-
Frontmatter Validation Fixes: We've addressed an issue where invalid whitespace in frontmatter could cause parsing errors. The system now correctly identifies and warns you about any unexpected whitespace before the frontmatter delimiter (
---
). This ensures smoother parsing and validation of your YAML frontmatter. π -
YAML Parsing Enhancement: Transitioned from
YAMLTryParse
to a more robustYAMLParse
for better accuracy and reliability in parsing YAML frontmatter. This change helps in reducing potential errors during YAML processing. π
These updates aim to enhance your development experience by providing clearer feedback and more reliable parsing. Enjoy the improvements! π
v1.83.2
π New Features and Enhancements
Get ready to explore the latest updates in GenAIScript, designed to enhance your scripting experience and streamline your workflow!
-
π Comprehensive Documentation: We've expanded our README to include detailed guides and new features, making it easier than ever to get started with GenAIScript. Dive into our online documentation for a deeper understanding.
-
π§ Installation Made Easy: You can now install GenAIScript quickly using npm. Simply run
npm install -g genaiscript
to get started. -
π Feature Highlights:
- JavaScript & TypeScript Support: Build prompts programmatically with ease.
- Fast Development Loop: Edit, debug, run, and test scripts seamlessly within Visual Studio Code or via the command line.
- Data Ingestion: Easily manipulate text from PDFs, DOCX, and tabular data from CSV, XLSX.
- LLM Tools and Agents: Register JavaScript functions as tools and combine them into powerful agents.
- Safety First: Built-in Responsible AI prompts and Azure Content Safety support ensure content safety.
-
π Enhanced Usability: From generating files to automating scripts via CLI or API, GenAIScript is now more user-friendly and powerful, catering to both novice and experienced developers.
Explore these exciting updates and more in the latest release of GenAIScript!
v1.83.1
π New in GenAIScript 1.83.1
We're excited to announce a new update to GenAIScript, making automation even more versatile!
β Enhanced Automation Capabilities
- API Integration: You can now automate tasks directly using our API! This new feature allows seamless integration of GenAIScript in your projects, alongside the existing CLI capabilities. Whether you're working on a CI/CD pipeline or need to run scripts programmatically, the API has you covered.
import { run } from "genaiscript/api"
const res = await run("tlaplus-linter", "*.tla")
Explore the API documentation to get started with this powerful new feature.
Happy scripting! π
v1.83.0
π New Features
-
Direct JavaScript Integration: You can now directly call GenAIScript from JavaScript, enhancing the flexibility and ease of integrating GenAIScript into your JavaScript projects. This update introduces a new API, allowing for more seamless script execution and integration into workflows.
-
Anthropic Prompt Caching: We've introduced support for Anthropic prompt caching, significantly improving performance for repeated prompt executions. This feature allows for more efficient token usage and quicker response times by caching prompts that are expected to change frequently.
π οΈ Improvements
-
Worker Threads for Script Execution: The CLI now utilizes worker threads for running scripts, improving the performance and reliability of script execution. This change ensures better resource management and faster processing times.
-
Enhanced TypeScript Configuration: The TypeScript configuration has been updated to skip library checks and emit declaration files only, streamlining the build process and improving developer experience.
π Fixes
- YAML Parsing Correction: Fixed a parsing issue where YAML frontmatter in markdown files was incorrectly parsed, ensuring more accurate data extraction.
π Model Updates
- Model Version Updates: Updated the default model candidates to include the latest versions of Anthropic models, ensuring you have access to the most advanced AI capabilities.
These updates make GenAIScript more powerful, efficient, and easier to integrate into your existing workflows. Enjoy the enhanced performance and new features!
v1.82.0
What's New in GenAIScript 1.82.0
π Enhanced XML Support: We've introduced a new XML tag format, allowing for more flexible and structured data representation. This update brings a streamlined approach to defining and managing XML tags within your scripts, enhancing readability and maintainability.
π¨ Pattern Support in JSON Schema: Our latest release adds pattern support to JSON schema typing. This means you can now define and enforce specific string patterns, ensuring data integrity and consistency across your applications.
π§ Refined JSON Schema Processing: We've refactored the JSON schema typing and processing mechanism, making it more robust and efficient. This improvement ensures that your data structures are handled with greater precision, reducing errors and enhancing performance.
π File Handling Improvements: We've refined our file handling, especially for markdown and text files. The new system ensures better file organization and management, making it easier to work with complex projects.
Enjoy the new features and enhancements, and as always, happy scripting with GenAIScript!
v1.81.1
- β¨ Enhanced Codebase: We've streamlined our VSCode integration by removing the LocalAI feature, resulting in a cleaner and more efficient extension. This refactor reduces complexity and improves overall performance. Enjoy a more seamless coding experience! π
v1.81.0
π New Features
-
Enhanced Documentation: We've updated the getting started docs and included an example to help you kickstart your journey with GenAIScript. Dive in and explore the improvements! π
-
HTML to Markdown Conversion: Introducing the
disableGfm
option, allowing you to toggle GitHub Flavored Markdown when converting HTML to Markdown. This provides more flexibility in how you format your markdown documents. π
π οΈ Improvements
- Model Aliases Refactor: Our model handling has been revamped to support aliases for large, small, and vision models. This change simplifies model configuration and improves code readability. Now, you can easily manage and switch between different model configurations with ease. π
π§ͺ Testing & Stability
- Markdown Conversion Tests: We've added tests to ensure the accuracy and reliability of HTML to Markdown conversions, especially focusing on the new
disableGfm
feature. This ensures that your markdown outputs are consistent and reliable. β
These updates aim to enhance your experience with GenAIScript, making it more powerful and easier to use. Thank you for your continued support and feedback! π