Skip to content

Releases: microsoft/genaiscript

v1.83.3

10 Dec 02:20
Compare
Choose a tag to compare

🚀 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 robust YAMLParse 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

09 Dec 23:54
Compare
Choose a tag to compare

🚀 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

09 Dec 23:46
Compare
Choose a tag to compare

🚀 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

09 Dec 23:34
Compare
Choose a tag to compare

🚀 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

06 Dec 21:29
Compare
Choose a tag to compare
v1.82.0 Pre-release
Pre-release

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

05 Dec 20:22
Compare
Choose a tag to compare
  • 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

05 Dec 19:04
Compare
Choose a tag to compare

🚀 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! 🙌

v1.80.10

05 Dec 07:07
Compare
Choose a tag to compare

Exciting Updates in GenAIScript 1.80.10 🚀

  • Enhanced User Input Handling: We've revamped how the system interacts with users by updating the tool calls for user input, confirmation, and selection. This change ensures a more intuitive and seamless experience, leveraging the best tools for user interactions.

  • Improved Memory Management: The system now efficiently loads and utilizes memory, enhancing performance and reliability. This ensures quicker access to relevant information while maintaining accuracy.

  • Tool Call Refinements: Refactored the tool call mechanism for better traceability and debugging. This update provides more granular control and insights during tool execution, making it easier to diagnose and resolve issues.

  • Refined Model Usage: Adjustments have been made to model selections for various tasks, optimizing performance and resource usage. This includes a shift towards smaller models for specific operations, ensuring efficiency without compromising on quality.

  • Debugging and Logging Enhancements: We've added more verbose logging options to aid in debugging and provide better insights into the system's operations. This will help developers trace and resolve issues more effectively.

Enjoy these improvements and the enhanced capabilities they bring to your projects! 🎉

v1.80.9

05 Dec 01:25
Compare
Choose a tag to compare

What's New in GenAIScript 1.80.9 🎉

In this release, we've refined the way you orchestrate your LLMs, tools, and data. The README now clarifies that you can seamlessly integrate these elements "in code," providing a more precise description of your scripting capabilities. This subtle yet impactful change enhances the understanding of how you can programmatically assemble prompts for LLMs using JavaScript. Enjoy a more intuitive experience with GenAIScript! 🚀

v1.80.5

04 Dec 20:31
Compare
Choose a tag to compare

🚀 New Features

  • GitHub Helper: Introduced a new feature to create comments on GitHub issues directly from the GenAIScript environment. This enhancement simplifies the process of interacting with GitHub issues, making it more seamless and efficient.

🔧 Refactoring

  • Script Reusability: Extracted the findScript function to improve code reusability and maintainability. This refactor helps streamline the process of locating scripts within the project.

🛠️ Enhancements

  • Skia Upgrade: Upgraded Skia to version 2.0, bringing performance improvements and new capabilities to the rendering engine.

🐛 Fixes and Improvements

  • GitHub Connection: Enhanced the GitHub client to better handle connections, ensuring that issue numbers are correctly parsed and used.
  • Transformer Tokens: Improved token tracking in the Transformers module, ensuring accurate counts of tokens processed during text generation.

These updates enhance the overall functionality, performance, and user experience of GenAIScript, making it a more powerful tool for developers. Enjoy the new features and improvements! 🎉