Skip to content

Releases: microsoft/genaiscript

v1.74.1

12 Nov 23:24
Compare
Choose a tag to compare

What's New in GenAIScript 1.74.1

  • ✨ Enhanced Retry Logic: We've improved the resilience of our HTTP requests by adding support for retrying on HTTP 504 status codes. This ensures smoother and more reliable network operations.

  • πŸ”§ Azure Custom Scopes: Introducing the ability to utilize custom scopes for Azure tokens. Now, you can define scopes via environment variables, providing more flexibility in token management.

  • πŸ› οΈ Improved Git Log Filtering: Our Git tool now supports filtering commits by author and date, allowing for more precise and targeted log retrieval.

  • πŸš€ New Teams Integration: A fresh addition to our capabilities, you can now post messages directly to Microsoft Teams channels using Managed Identity for authentication. Say hello to seamless communication!

  • πŸ“ˆ Refactoring & Dependency Updates: We've refactored parts of the codebase and updated dependencies to ensure GenAIScript runs smoothly and efficiently.

These updates bring enhanced functionality and improved performance to GenAIScript. Enjoy the new features and optimizations!

v1.74.0

12 Nov 15:33
Compare
Choose a tag to compare

New Features

  • ✨ Enhanced Log Probability Handling: Introducing the ability to handle logprobs and responseTokens more efficiently. This update includes the addition of the topLogprobsToMarkdown function, allowing users to visualize token probabilities in a more informative way.

  • πŸŽ‰ Entropy and Perplexity Calculations: We've added robust entropy and perplexity computations to provide deeper insights into token generation confidence and model performance.

Improvements

  • πŸ› οΈ CLI Enhancements: The CLI now supports a --top-logprobs option, enabling users to specify the number of top log probabilities to report, enhancing the granularity of token probability analysis.

Refactoring

  • ♻️ Entropy Logic Update: The entropy calculation logic has been refined for better accuracy and performance, ensuring users get the most precise data.

Visual Updates

  • 🎨 Color Tuning: Minor color adjustments have been made to improve the readability and visual appeal of probability gradients.

This release empowers users with more detailed insights into model predictions, offering advanced tools for analyzing token probabilities and model confidence. Enjoy exploring these new capabilities!

v1.73.0

09 Nov 14:44
Compare
Choose a tag to compare

New Features and Improvements

  • Logprobs Support: We've added support for logprobs in the chat completion API. This allows users to get token probabilities, enhancing transparency and understanding of model outputs. You can enable this with the --logprobs option in the CLI. πŸ“Š

  • Choices and Logit Bias: Introducing a new feature that allows specifying preferred choices with logit bias support. This helps guide the model towards specific outputs, making it more adaptable to your needs. 🎯

  • Content Safety Enhancements: Improved content safety mechanisms with the integration of Azure Content Safety Client. This includes detecting harmful content and prompt injection, ensuring safer interactions with the AI. πŸ›‘οΈ

Refactoring and Bug Fixes

  • Token Handling: We've refactored the token truncation logic, reducing the threshold to enhance performance and efficiency. πŸ› οΈ

  • Encoder Model Import Logic: Updated the encoder model import logic for better compatibility and performance. πŸš€

  • Bug Fixes: Addressed an issue where the FILES definition could be empty, ensuring smoother script execution. πŸ›

Documentation and Samples

  • New Samples: Added new sample scripts to demonstrate the use of logprobs and choices features, providing clear examples for users to get started. πŸ“š

  • Blog Post: A new blog post has been added to discuss fallback tools, offering insights into how to handle scenarios where primary tools might not be available. πŸ“

These updates aim to enhance the flexibility, safety, and usability of GenAIScript, empowering developers to create more robust AI-driven solutions. Enjoy exploring the new features! 🌟

v1.72.0

08 Nov 04:53
Compare
Choose a tag to compare

πŸš€ Enhanced Tool Support

In this release, we've significantly improved the tool support in GenAIScript. You can now register JavaScript functions as tools with a fallback mechanism for models that don't inherently support tool calls. This enhancement allows for greater flexibility and robustness in script execution.

πŸ”§ New CLI Options

The CLI now includes additional options for specifying models and enabling fallback tools. This provides users with more control over their script execution environment, allowing for customized and optimized runs.

πŸ› οΈ Ad Hoc Tool Call System

We've introduced a new ad hoc tool call system message support. This feature allows external tools to be called dynamically to assist in generating user responses. The system injects a list of tools, and you can request calls to these tools to enrich your output.

πŸ§ͺ Improved Testing

New tests have been added to ensure the robustness and reliability of parameter handling, enhancing the overall stability of the system.

πŸ“š Documentation Updates

The README has been updated to include links to the tools documentation, ensuring users have access to the latest information on how to leverage the new tool functionalities effectively.

Enjoy the new capabilities and enhancements in GenAIScript 1.72.0!

v1.71.5

07 Nov 03:23
Compare
Choose a tag to compare

What's New in GenAIScript 1.71.5

πŸš€ Enhanced Connection Handling: We've revamped how the host variables for the Ollama API are parsed and managed. The function ollamaParseHostVariable now ensures more robust and flexible handling of environment variables, supporting both IP addresses and URLs with or without specified ports. This change improves the reliability of connections across different environments.

πŸ”§ Code Cleanup: Removed redundant code and streamlined the implementation, which enhances maintainability and reduces potential errors. This update is part of our ongoing effort to optimize and refine the codebase for better performance.

This release focuses on enhancing the core functionality and reliability of GenAIScript, ensuring a smoother experience for developers. Enjoy the improvements!

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!