Skip to content

Releases: microsoft/genaiscript

v1.70.1

31 Oct 03:17
Compare
Choose a tag to compare

What's New in GenAIScript 1.70.1 πŸŽ‰

  • Enhanced Script Creation: The script creation process now forks prompts by default, ensuring a more robust and isolated environment for each script. This change improves script management and reduces potential conflicts. πŸ› οΈ

  • Improved File Handling: We've refined the file existence checks and reading processes. Now, functions return undefined when files are not found, enhancing error handling and performance. πŸ“‚

  • Better Data Parsing: Added safeguards to our parsing functions for both XLSX and ZIP files. If data is missing, these functions will return empty arrays, preventing unnecessary errors. πŸ“ŠπŸ“¦

  • Testing Enhancements: Our test suite now includes additional coverage for script creation with new tests ensuring that scripts like "foobar" are created and logged correctly. This boosts confidence in our script management capabilities. βœ…

Enjoy the new improvements and keep scripting with GenAIScript! πŸš€

v1.70.0

31 Oct 02:39
Compare
Choose a tag to compare

What's New in GenAIScript 1.70.0

πŸš€ New Features & Enhancements

  • Expanded Model Support: Added new OpenAI model types to the ModelType for more flexibility in your AI workflows.
  • Improved Model Handling: Enhanced the PromptHost interface with model resolution capabilities, allowing seamless integration and management of different models.
  • Streamlined Stream Options: Optimized stream handling logic to enhance performance and prevent crashes in specific scenarios.

πŸ› οΈ Fixes & Improvements

  • Corrected a spelling error in the documentation to improve clarity and professionalism.
  • Fixed an issue with the system message handling to ensure accurate message processing.

This release focuses on expanding model capabilities and improving the robustness of stream processing, making it easier and more efficient to work with diverse AI models. Enjoy the new enhancements and fixes!

v1.69.4

29 Oct 15:45
Compare
Choose a tag to compare

What's New in GenAIScript 1.69.4

πŸš€ Enhanced Features and Performance

  • CSV Repair Option: We've added a new feature to automatically repair common CSV formatting errors, making data handling more robust and reliable.

  • Unfencing Functionality: A new unfence function is introduced to handle code blocks more efficiently, supporting nested and unbalanced cases.

  • Improved Error Handling: Enhanced error logging and handling across the board ensures better troubleshooting and more informative logs.

πŸ”§ Refinements and Optimizations

  • Header Configuration Optimization: The header configuration function has been optimized for better performance and clarity.

  • Dependency Updates: We've updated dependencies to the latest versions, ensuring improved security and performance.

πŸ›  Testing and Reliability

  • Expanded Test Coverage: Added tests for unfencing and handling unbalanced cases, ensuring the robustness of new features.

This release focuses on making GenAIScript more reliable and efficient, with significant improvements in data handling and error management. Enjoy the enhanced experience!

v1.69.3

25 Oct 21:53
Compare
Choose a tag to compare

What's New in GenAIScript 1.69.3

πŸš€ New Features

  • Filename Validation in parsePromptScript: We’ve added a new check for filenames in the parsePromptScript function to improve script validation and error handling.

  • Azure Serverless Pricing: Introduced pricing details for the new azure_serverless:gpt-4o-2024-05-13 model. Now you can estimate costs more accurately with the latest model.

πŸ›  Improvements

  • Cost Estimation Enhancements: Refactored the cost estimation logic to provide better clarity when pricing information is missing. This includes a new isCosteable function to determine if a model is eligible for cost estimation and improved logging for missing pricing data.

Stay tuned for more updates and happy coding with GenAIScript!

v1.69.2

25 Oct 18:20
Compare
Choose a tag to compare

What's New in GenAIScript 1.69.2

πŸš€ New Features

  • Expanded Pricing Models: We've added new pricing models and improved cost logging to give you more accurate and detailed insights into your usage costs.
  • CLI Enhancements: You can now specify --model and --small-model options directly in the CLI, making it easier to customize your runs.

πŸ› οΈ Improvements

  • Azure Serverless Models Support: We're excited to announce support for Azure serverless models. This includes both OpenAI and non-OpenAI models, providing more flexibility and options for your deployments.
  • Refactoring for Clarity: The MODEL_PROVIDER_AZURE constant has been renamed to MODEL_PROVIDER_AZURE_OPENAI to better reflect its purpose. Additionally, serverless models have been categorized under MODEL_PROVIDER_AZURE_SERVERLESS_MODELS and MODEL_PROVIDER_AZURE_SERVERLESS_OPENAI.

πŸ”§ Under the Hood

  • Improved Token Handling: Enhanced token management for Azure services, ensuring smoother and more reliable operations.
  • Configuration Updates: Streamlined configuration options for Azure AI services, making it easier to set up and manage your endpoints.

Enjoy the new features and improvements! πŸš€

v1.69.1

25 Oct 15:43
Compare
Choose a tag to compare

What's New in GenAIScript 1.69.1 πŸŽ‰

Enhanced Logging πŸ› οΈ

  • Custom Inspect Options: We've revamped our logging system to use object-inspect for better object representation. This change ensures that logs are more readable and informative, especially for complex objects.

Improved CSV Parsing πŸ“Š

  • Quotes Handling: The CSVParse function now better handles values with quotes, making your CSV data parsing more robust and reliable.
  • Additional Options: We've added more flexibility to the CSV parser with options like relaxQuotes, relaxColumnCount, and trim. This makes parsing CSV data more forgiving and accurate.

Robust Error Logging 🚨

  • Detailed Error Logs: Enhanced error logging to capture and display error stacks and detailed information, helping you to debug issues more efficiently.

Testing Enhancements βœ…

  • New Tests Added: We've added tests specifically for parsing CSV values with quotes, ensuring our parsing logic is solid and reliable.

Upgrade to GenAIScript 1.69.1 to take advantage of these improvements and make your development experience smoother and more efficient! πŸš€

v1.69.0

24 Oct 22:31
Compare
Choose a tag to compare

What's New in GenAIScript 1.69.0

πŸš€ Enhanced Input and Parameter Handling
We've significantly improved the way inputs and parameters are managed. This includes adding default value handling and introducing support for list types in both inputs and outputs. Expect a smoother and more intuitive experience when defining and using parameters.

🎨 Updated Templates and Prompts
We've refreshed our templates and prompts, including the addition of hints and a new parameter n to provide more context and customization options. This will help you generate more accurate and relevant responses.

✨ New Features and Improvements

  • New Reader-LM Model: Introducing the reader-lm model, optimized for reading and understanding HTML content.
  • Bespoke Minicheck Script: A new script to support fact-checking calls, ensuring your claims are grounded in reality.
  • Chunking for Large Diffs: Handling large diffs has never been easier with our new chunking feature, ensuring efficient processing and summarization.

πŸ“ Documentation and Logging Enhancements

  • Updated model documentation and added support for GGUF.
  • Improved trace logging to differentiate between warnings and errors, making it easier to diagnose issues.

πŸ”§ Refinements and Fixes

  • Fixed a typo in the README from 'weahter' to 'weather'.
  • Refined the naming conventions for Azure Serverless models and added a new investigation script.
  • Updated the script for generating git release notes to include log and exclude paths.

This release is packed with enhancements that make GenAIScript more powerful and user-friendly. Enjoy the new features and improvements!

v1.68.0

23 Oct 20:17
Compare
Choose a tag to compare

What's New in GenAIScript 1.68.0

πŸš€ New Features

  • Introduced the Head component to astro.config.mjs for enhanced configuration capabilities.

πŸ“š Documentation Enhancements

  • Added an LLM-friendly section in the README, providing a documentation map for LLM crawlers. Access raw markdown content by appending .md to documentation URLs.

πŸ”„ Refactoring and Improvements

  • Updated llms.txt path and imports for improved SEO and LLM optimization.
  • Transitioned import extensions to .mjs for consistency.
  • Enhanced token encoding by exposing the encoder's encode method.

🧹 Code Cleanup

  • Removed outdated references to GPT-4, aligning with the latest model updates.

Enjoy the latest improvements and features in GenAIScript!

v1.67.1

22 Oct 22:39
Compare
Choose a tag to compare

πŸš€ Release 1.67.1 Highlights

πŸ”’ Crypto Enhancements

We've improved the cryptographic functions by refactoring to use a synchronous getRandomValues method. This change enhances performance and ensures more efficient random value generation across different environments.

πŸ“ New Blog Post

Check out our latest blog post introducing support for the Anthropic model. Dive into the details and learn how to leverage this new capability in your projects.

v1.67.0

22 Oct 22:10
Compare
Choose a tag to compare

What's New in 1.67.0

πŸš€ New Features and Enhancements:

  • Introduced a versatile hash function, replacing specific SHA functions, to streamline cryptographic operations.
  • Added HTML escaping and markdown prettification for cleaner agent logs.
  • Implemented XML parsing and enhanced output detection for better data handling.
  • Introduced a version option for hash function calls, providing more flexibility.
  • Adopted conventional commit spec guidelines to improve commit message consistency.

πŸ› οΈ Fixes and Improvements:

  • Updated hash algorithm names to include hyphens for better clarity.
  • Added null checks for file handling in AIRequestTree to prevent errors.
  • Improved error handling for buffer conversion in hash functions.
  • Refactored to use buffers for hex conversion, enhancing performance and reliability.

πŸ“š Documentation:

  • Added documentation for the new hash utility function, aiding developers in understanding its usage.

πŸ”„ Dependencies:

  • Refreshed dependencies to ensure compatibility and leverage the latest improvements.