Skip to content

Commit

Permalink
Java & Python: Add FM Playground example applications in Amazon Bedro…
Browse files Browse the repository at this point in the history
…ck (awsdocs#5652)

* Add cross content configuration for Java Foundation Model (FM) Playground


---------

Co-authored-by: Dennis Traub <[email protected]>
  • Loading branch information
2 people authored and max-webster committed Mar 15, 2024
1 parent 974bf61 commit f2f13bd
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
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

0 comments on commit f2f13bd

Please sign in to comment.