Skip to content

Releases: microsoft/genaiscript

v1.71.4

07 Nov 03:09
Compare
Choose a tag to compare

What's New in 1.71.4

  • ✨ Enhanced File Reading: We've added support for line numbers when reading files. This allows you to specify exact lines or a range, making file operations more precise and efficient.

  • πŸ”§ Improved Logging: Logging has been refined with the introduction of logInfo and enhanced context logging, providing clearer insights into operations and aiding in debugging.

  • βž• Script Initialization: New script initialization has been added to the tool file, setting the groundwork for more robust tool interactions.

  • πŸ› οΈ New Tools and Agents: We've introduced new tools and agents in the getting-started guide, streamlining the process of summarizing files and enhancing user experience.

These updates aim to improve usability and provide a more powerful scripting environment. Enjoy the new features!

v1.71.3

06 Nov 16:38
Compare
Choose a tag to compare

New Features and Enhancements

  • Canary Word Leak Protection: Introduced a canary word system to monitor and protect against prompt leaks, ensuring higher security and trustworthiness. πŸ›‘οΈ
  • Random Number Generator: Added a new tool to generate random numbers, enhancing the utility of GenAIScript. 🎲
  • Content Safety Measures: Implemented additional content safety protocols, including a protected content safety type, to safeguard against harmful content. πŸ”’
  • Markdown Rendering: Improved markdown rendering with support for user and assistant roles, providing a richer user experience. ✨

Documentation and Refactoring

  • Updated Transparency Note: Revised the transparency note and sample guidelines to better inform users about GenAIScript's functionalities. πŸ“š
  • Refactored Constants: Updated constant names for consistency, improving code readability and maintainability. ♻️

Bug Fixes

  • Typo Corrections: Fixed various spelling errors across the documentation and scripts, ensuring clarity and professionalism. πŸ“

v1.71.2

04 Nov 23:18
Compare
Choose a tag to compare

What's New in GenAIScript 1.71.2

  • ✨ Hugging Face Model Support: We've added support for Hugging Face models, enabling new possibilities for AI-driven tasks. Easily integrate Hugging Face models like microsoft/Phi-3-mini-4k-instruct into your scripts to enhance your AI capabilities.

  • πŸ” Enhanced Prompt Injection Detection: Strengthen your AI's security with improved prompt injection detection. This update includes a new method to automatically detect and handle prompt injection attempts, ensuring safer interactions with AI models.

  • πŸ”§ Improved Error Handling: We've refined our error handling processes, including better serialization and support for different error types. This ensures smoother operations and easier debugging for developers.

These updates aim to enhance the flexibility, security, and reliability of GenAIScript, empowering developers to build more robust AI-driven applications. Enjoy exploring the new features!

v1.71.1

04 Nov 19:59
Compare
Choose a tag to compare

πŸš€ Exciting Enhancements in GenAIScript 1.71.1!

  • 🌐 OpenRouter Integration: We've added support for OpenRouter API! This integration allows seamless chat completions via the OPENROUTER_API_CHAT_URL. Headers for OPENROUTER_SITE_URL and OPENROUTER_SITE_NAME are now automatically set, enhancing connectivity and customization.

  • πŸ”— New Constants: Introducing TOOL_URL for easy access to the GenAIScript documentation and resources. This addition aids developers in quickly finding the necessary tools and information.

  • πŸ› οΈ Improved Error Handling: Enhanced the chat completion handler to ensure a default finishReason of "stop" if not provided by some providers, making the system more robust against incomplete responses.

Upgrade to GenAIScript 1.71.1 to enjoy these new features and improvements!

v1.71.0

04 Nov 15:44
Compare
Choose a tag to compare

πŸš€ New Features

  • OLLAMA_HOST Support: Introducing support for the OLLAMA_HOST environment variable, allowing more flexibility in configuring your host settings.
  • System Assistant Setup: Added a new system assistant setup script to streamline your tasks.
  • Content Safety Enhancements: Implemented Azure Content Safety services to detect harmful content and prompt injection, ensuring a safer scripting environment.
  • Image Description Generation: A new script is available for generating image descriptions, enhancing accessibility and content management.

πŸ›  Improvements

  • Custom Azure Credentials: Added support for custom Azure credentials and workload identity, providing more options for authentication and authorization.
  • Caching for Content Safety: Enhanced content safety detection with caching, improving performance and efficiency.
  • Tree-Sitter Queries Update: Automated updates for Tree-Sitter queries, ensuring your environment is always up-to-date with the latest parsing capabilities.

πŸ› Bug Fixes

  • Concurrency Handling: Fixed an issue with NaN concurrency in PLimitPromiseQueue, ensuring stable and predictable task execution.
  • File Existence Checks: Improved fork logic to verify file existence, preventing errors and enhancing reliability.

πŸ“š Documentation

  • README Overhaul: Updated the README to better reflect the capabilities and usage of GenAIScript, making it easier for new users to get started.
  • Safety Script Descriptions: Clarified safety script descriptions and provided updated links for more detailed information.

These updates bring significant improvements to GenAIScript, enhancing both functionality and user experience. Enjoy the new features and improvements!

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! πŸš€