Releases: microsoft/genaiscript
v1.70.1
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
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
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
What's New in GenAIScript 1.69.3
π New Features
-
Filename Validation in
parsePromptScript
: Weβve added a new check for filenames in theparsePromptScript
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
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 toMODEL_PROVIDER_AZURE_OPENAI
to better reflect its purpose. Additionally, serverless models have been categorized underMODEL_PROVIDER_AZURE_SERVERLESS_MODELS
andMODEL_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
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
, andtrim
. 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
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
What's New in GenAIScript 1.68.0
π New Features
- Introduced the
Head
component toastro.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
π 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
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.