Releases: microsoft/genaiscript
v1.74.1
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
New Features
-
β¨ Enhanced Log Probability Handling: Introducing the ability to handle
logprobs
andresponseTokens
more efficiently. This update includes the addition of thetopLogprobsToMarkdown
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
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
π 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
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
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
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
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
π 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 forOPENROUTER_SITE_URL
andOPENROUTER_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
π 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!