Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java & Python: Add FM Playground example applications in Amazon Bedrock #5652

Merged
merged 2 commits into from
Nov 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .doc_gen/cross-content/cross_FMPlayground_Java_block.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "file://zonbook/docbookx.dtd" [
<!ENTITY % phrases-shared SYSTEM "file://AWSShared/common/phrases-shared.ent">
%phrases-shared;
]>
<block>
<para>
The Java Foundation Model (FM) Playground is a Spring Boot sample application that showcases how to use &BRlong; with Java. This example shows how Java developers can use &BR; to build generative AI-enabled applications. You can test and interact with &BR; foundation models by using the following three playgrounds:
</para>
<itemizedlist>
<listitem>
<para>A text playground.</para>
</listitem>
<listitem>
<para>A chat playground.</para>
</listitem>
<listitem>
<para>An image playground.</para>
</listitem>
</itemizedlist>
<para>The example also lists and displays the foundation models you have access to, along with their characteristics. For source code and deployment instructions, see the project in <ulink url="https://github.com/build-on-aws/java-fm-playground">GitHub</ulink>.
</para>
</block>
23 changes: 23 additions & 0 deletions .doc_gen/cross-content/cross_FMPlayground_Python_block.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "file://zonbook/docbookx.dtd" [
<!ENTITY % phrases-shared SYSTEM "file://AWSShared/common/phrases-shared.ent">
%phrases-shared;
]>
<block>
<para>
The Python Foundation Model (FM) Playground is a Python/FastAPI sample application that showcases how to use &BRlong; with Python. This example shows how Python developers can use &BR; to build generative AI-enabled applications. You can test and interact with &BR; foundation models by using the following three playgrounds:
</para>
<itemizedlist>
<listitem>
<para>A text playground.</para>
</listitem>
<listitem>
<para>A chat playground.</para>
</listitem>
<listitem>
<para>An image playground.</para>
</listitem>
</itemizedlist>
<para>The example also lists and displays the foundation models you have access to, along with their characteristics. For source code and deployment instructions, see the project in <ulink url="https://github.com/build-on-aws/python-fm-playground">GitHub</ulink>.
</para>
</block>
8 changes: 8 additions & 0 deletions .doc_gen/metadata/cross_metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,14 @@ cross_FMPlayground:
versions:
- sdk_version: 3
block_content: cross_FMPlayground_NetV3_block.xml
Java:
versions:
- sdk_version: 2
block_content: cross_FMPlayground_Java_block.xml
Python:
versions:
- sdk_version: 3
block_content: cross_FMPlayground_Python_block.xml
service_main: bedrock-runtime
services:
bedrock-runtime:
Expand Down
Loading