You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ai] Add GenerateTextStr convenience function, add examples, and support value types (#508)
## Summary
- Add GenerateTextStr function for simple string-based prompts
- Support both pointer and value types for all message types
(SystemMessage, UserMessage, AssistantMessage, ToolMessage) and
corresponding content blocks.
- Add comprehensive test coverage for value type messages
- Update README.md example to use new GenerateTextStr function
- Add examples directory with basic usage
## How was it tested?
Ran tests, ran example.
## Community Contribution License
All community contributions in this pull request are licensed to the
project maintainers under the terms of the [Apache 2
License](https://www.apache.org/licenses/LICENSE-2.0).
By creating this pull request I represent that I have the right to
license the contributions to the project maintainers under the Apache 2
License as stated in the [Community Contribution
License](https://github.com/jetify-com/opensource/blob/main/CONTRIBUTING.md#community-contribution-license).
0 commit comments