Skip to content

Commit

Permalink
Add Python version
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisTraub authored and DavidSouther committed Nov 13, 2023
1 parent 62ea8e9 commit c6e0542
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
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>
4 changes: 4 additions & 0 deletions .doc_gen/metadata/cross_metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,10 @@ cross_FMPlayground:
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 c6e0542

Please sign in to comment.