Releases: felixarntz/ai-services
Releases · felixarntz/ai-services
0.4.0
Features:
- Add AI Playground screen which allows to explore services and models with their configurations and behaviors. (1495994)
- Add REST route and expand
ai-services/ai
store to provide general plugin data and user capabilities for JavaScript consumption. (83d770c)
Enhancements:
- Ensure AI playground message data can be stored in session storage by avoiding to include inline data for attachments. (b667611, 7d346a2)
- Implement store infrastructure to manage panel state and persist open/closed AI playground panels. (89572e8)
- Implement AI playground panel to allow customizing most commonly supported AI model config parameters. (27ea03f)
- Support providing message history alongside new prompt in AI playground. (33c54cc)
- Allow to reset the list of messages in the AI playground. (9537986)
- Persist messages from AI playground in session storage. (60c45d9)
- Expand interface package with store for easier abstraction and a new
Modal
component. (5ee0e20) - Implement playground UI to select an attachment from the media library to provide as multimodal input. (dbad8d3)
- Enhance playground input by allowing arrow navigation to access previous messages and automatically focusing on it. (f44efa5)
- Implement keyboard shortcut to toggle system instruction. (66f990d)
- Automatically scroll to latest messages as new messages arrive. (c8f3746)
- Implement
getServiceName
andgetServiceCredentialsUrl
selectors inai-services/ai
store for parity with PHP API. (d9ca118) - Implement store
ai-services/ai-playground
for new AI playground screen. (96f5b45) - Use newer
ai.languageModel
property for Chrome built-in AI, continuing to supportai.assistant
for backward compatibility. (0f52227) - Remove unused option. (28a864a)
- Ensure service options are set to (temporarily) not autoload when plugin gets deactivated. (4841d5b)
Bug Fixes:
- Fix AI playground automatic message scrolling to correctly function with multiple quick subsequent updates. (50f40fe)
- Fix sidebar toggle button being hidden on mobile. (9d44650)
- Fix bugs with sidebar handling and support keyboard shortcut in interface abstraction. (cf7b926)
Documentation:
0.3.0
Features:
- Add text streaming support to generative models in JavaScript. (9967db5, #3)
- Introduce REST route to stream generate text, using an event stream. (071a664, #3)
- Add text streaming support to all built-in services Anthropic, Google, OpenAI. (e27697a, #3)
- Introduce API foundation for streaming text responses. (9476333)
Enhancements:
- Polish and complete implementation of Chrome browser built-in AI integration. (1beb2c5, #6)
- Support text streaming in chat implementations in both PHP and JavaScript. (9e11c03, #3)
- Use streaming by default for the built-in chatbot. (3f6266b)
- Use streaming by default for WP-CLI text generation, customizable via filter. (f9be4ad)
- Remove unnecessary
console.log
call for chatbot. (7637632) - Persist chatbot messages history in session storage. (a349274, #4)
- Persist chatbot visibility across page loads. (81a0511, #4)
- Include chatbot input label for screen reader users for better accessibility. (94026e5, #4)
- Improve chatbot accessibility by focusing on input when the chatbot is opened. (7b5c6f4, #4)
- Improve chatbot error handling by displaying technical errors as a chatbot response. (e57d716)
- Show loading ellipsis in chatbot while generating text response. (db79515, #4)
- Handle errors during browser AI session creation more gracefully. (0edd56f)
- Consistently handle AI temperature parameter between services, expecting a value between 0.0 and 1.0. (e7ae611)
- Improve error handling in chat store and built-in chatbot. (06b2340)
- Expand AI capabilities with
CHAT_HISTORY
capability to differentiate between whether text generation models support history. (4c2feb4) - Provide helper function in PHP and JS to aggregate chunks from candidates stream into final candidates response. (a27bdf6, #3)
- Ensure third-party production libraries are always backward compatible with minimum supported PHP version by separating tooling. (e4fe291)
- Enhance JavaScript API with model instances for better parity with PHP API, while continuing to allow previous approach as short-hand syntax. (7992d6d)
- Restructure JavaScript code into separate files per class. (cd8d90d)
- Remove specific API client interface methods that should not be required for the interface. (140d7c1)
- Allow candidates to have no content. (c072689)
Bug Fixes:
- Remove prefix from base64 inline image data for Anthropic AI integration. Props mslinnea. (#19)
- Fix bug in
CandidatesStreamProcessor
in JS, leading to stream responses to not being aggregated correctly. (969b554) - Fix OpenAI model definitions by restricting to
gpt-4o
models for multimodal support. Props mslinnea. (#18) - Split components package into distinct components and interface packages to better separate responsibilities and avoid JS warning outside of AI Services admin screen. Props westonruter. (056461c, #13)
- Fix chatbot bug where unexpected AI response could lead to link button to contain unexpected label and overflow its container. (66f3578)
- Fix UI warnings in WordPress 6.7 due to JS component updates. (6e8d231)
- Fix failing Anthropic API requests when no generation config was provided. (33db20b)
Documentation:
0.2.0
Features:
- Introduce
ai_services_model_params
filter to centrally customize AI service model parameters. (f36f35d) - Add enums to the public APIs in PHP and JavaScript, for now covering AI capabilities and content roles. (48dedc5)
- Add WP-CLI support under
ai-services
namespace with commandslist
,get
,list-models
, andgenerate-text
. (415edbc, #7) - Introduce helpers as object with useful functions in both PHP and JavaScript APIs. (98ae179, 7cf8a4d)
- Introduce
Generation_Config
type class for safer and more consistent handling of model generation config data. (4e6925a)
Enhancements:
- Add Settings link to plugin row actions. Props westonruter. (#12)
- Remove unnecessary
With_API_Client
interface and related method. (f3dc6b4) - Move
Felix_Arntz\AI_Services\Services\Types
namespace toFelix_Arntz\AI_Services\Services\API\Types
to indicate it is part of the public API. (5e34f7a) - Enhance content part classes by providing dedicated getter functions. (89ae723)
- Move internal
Service_Entity
andService_Entity_Query
classes to their own namespace, since they are not only relevant for the REST API. (4ce7026) - Change built-in assistant chatbot feature to be opt-in rather than opt-out. (9279850, #15)
- Rename
ai-store
asset toai
andsettings-store
asset tosettings
and adjust JS globals accordingly, keeping oldai-store
asset and JS global available for backward compatibility. (fbe4916) - Strengthen prompt content validation and add support for OpenAI audio input. (350c85d)
- Allow passing through arbitrary parameters to built-in service APIs. (81254f6)
- Enhance generation config transformation to support equivalent arguments across the built-in service APIs for Anthropic, Google, and OpenAI. (69a99bf)
- Validate feature model param in REST API and mark relevant parameters as required. (2032690)
- Enhance chatbot to rely on feature identifier instead of custom property to inject model params. (962750b)
- Consistently handle the Google-specific
safetySettings
model parameter, expecting an array ofSafety_Setting
instances. (a74e51c) - Allow passing system instruction as data array to REST endpoint. (7b4916a)
- Use camelCase arguments for model params for more consistency with underlying APIs. (946c448)
Bug Fixes:
- Fix conflict between REST content schemas. Props westonruter. (e087602, #14)
- Fix early component return in example plugin. (e7ce054)
Documentation:
0.1.1
Bug Fixes:
- Update Prompt API to latest shape. Props tomayac. (#11)
- Fix bug preventing inline data to be processed by Google AI API. (cf57baf)
- Fix OpenAI model configuration to only provide multimodal capabilities for GPT-4 models. (42ba79b)
- Fix bug where REST endpoint to generate content did not accept content in its complex shape. (2e0687f)
0.1.0
- Initial early access release. See announcement post.