Skip to content

Releases: microsoft/genaiscript

v1.75.3

15 Nov 23:18
Compare
Choose a tag to compare

What's New in GenAIScript 1.75.3

🚀 New Features

  • Enhanced Chat Experience: We've added chat history rendering functionality. This means you can now see the conversation history in GitHub Copilot Chat, providing more context and improving your interaction flow.

  • Improved Error Handling: Introducing error handling for scenarios where a web search provider is missing. If a provider isn't configured, you'll receive a clear error message, ensuring smoother operations.

🔧 Bug Fixes

  • Web Search Provider Fix: Resolved an issue related to missing search providers, enhancing the reliability of web searches within the tool.

These updates are designed to make GenAIScript more intuitive and reliable, enhancing your overall experience. Enjoy the new features and improvements!

v1.75.2

15 Nov 17:02
Compare
Choose a tag to compare

New Features and Enhancements 🚀

  • Enhanced File Output Handling: We've improved the file generation process, offering more flexibility with new include options for script configuration. This enhancement ensures that file outputs are handled more efficiently and accurately, especially when dealing with multiple script files.

  • Persistent Links in Chat: Now, trace and output links in the chat participant window are persistent, making it easier to access and review past interactions without losing context.

Refactoring and Improvements 🛠️

  • Streamlined Template Selection: The logic for selecting templates has been refactored for better performance and usability. This change simplifies the process of choosing and running the right script, enhancing the overall user experience.

Documentation Updates 📚

  • Improved Documentation: We've updated our documentation to reflect the latest changes and improvements. This includes more detailed guides on file generation rules and enhanced script configuration options, ensuring you have all the information you need to make the most of GenAIScript.

Enjoy the new features and improvements in this release! Your feedback is invaluable, so keep it coming. 😊

v1.75.1

15 Nov 01:59
Compare
Choose a tag to compare

🚀 New Features

  • Enhanced Safety Checks: We've added new safety mechanisms to better protect against harmful content, ensuring a safer and more secure environment for users. 🛡️
  • Updated Python Packages: Our Python environment now includes updated versions of numpy, pandas, and scipy, along with the addition of matplotlib for enhanced data visualization capabilities. 📊

🛠️ Improvements

  • Logging Enhancements: Improved logging provides more detailed insights, especially for search operations, aiding in better traceability and debugging. 🔍
  • Data Analyst Examples: New examples have been added to assist data analysts in utilizing our tools more effectively. 📈

🔧 Refactoring

  • Codebase Cleanup: We've made several refinements to improve code readability and maintainability, including the removal of redundant code and better structuring. 🧹

These updates aim to enhance both the functionality and user experience of GenAIScript. Enjoy exploring the new features and improvements! 🎉

v1.75.0

14 Nov 20:18
Compare
Choose a tag to compare

🚀 New Features

  • Web Search Enhancement: Integrate the Tavily Search API alongside Bing Search for a more robust web search functionality. Now you can search the web using either Tavily or Bing, depending on your configuration. This provides more flexibility and options for retrieving information.

  • Configuration File Support: Introduced support for a configuration file, allowing users to define settings in a genaiscript.config.yaml or genaiscript.config.json file. This makes managing configurations more streamlined and organized.

  • Custom .env Locations: You can now specify custom locations for your .env files using CLI options or environment variables, providing more flexibility in managing environment configurations.

  • Improved Error Messages: Enhanced error messaging to provide more detailed and helpful information when tokens are missing, making debugging easier and more intuitive.

  • New CLI Options: Added new command-line options to show errors in environment information and handle file statistics with the new statFile method.

🛠️ Improvements

  • Refactoring and Clean-up: Removed the ignoreEmpty option in the CODE function and cleaned out unused specifications, resulting in cleaner and more efficient code.

  • Enhanced Chat Participant Experience: Added a preview button for chat participant responses and improved the sample scripts for better interaction and visualization.

📚 Documentation

  • Updated Documentation: The trapi.md file has been updated to reflect the latest changes and improvements, ensuring that users have access to the most current information.

These updates bring a wealth of new features and improvements to GenAIScript, enhancing both functionality and user experience. Enjoy the new capabilities and streamlined processes!

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!