<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Vertex AI &#8211; My Shitty Code</title>
	<atom:link href="https://myshittycode.com/tag/vertex-ai/feed/" rel="self" type="application/rss+xml" />
	<link>https://myshittycode.com</link>
	<description>Embracing the Messiness in Search of Epic Solutions</description>
	<lastBuildDate>Wed, 02 Aug 2023 13:05:13 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>

<image>
	<url>https://myshittycode.com/wp-content/uploads/2022/04/cropped-icon-32x32.png</url>
	<title>Vertex AI &#8211; My Shitty Code</title>
	<link>https://myshittycode.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">205304208</site>	<item>
		<title>Vertex AI PaLM: Intro to text-bison</title>
		<link>https://myshittycode.com/2023/08/01/vertex-ai-palm-intro-to-text-bison/</link>
					<comments>https://myshittycode.com/2023/08/01/vertex-ai-palm-intro-to-text-bison/#respond</comments>
		
		<dc:creator><![CDATA[Shitty Author]]></dc:creator>
		<pubDate>Tue, 01 Aug 2023 17:58:06 +0000</pubDate>
				<category><![CDATA[AI]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Generative AI Studio]]></category>
		<category><![CDATA[Google Cloud Platform]]></category>
		<category><![CDATA[PaLM 2]]></category>
		<category><![CDATA[Vertex AI]]></category>
		<guid isPermaLink="false">https://myshittycode.com/?p=2314</guid>

					<description><![CDATA[<p>What is text-bison Google&#8217;s PaLM 2 for text (text-bison) is recently GA&#8217;d. This foundation model is optimized for natural language tasks and it comes in 4 sizes (gecko, otter, bison, and unicorn). To date, unicorn doesn&#8217;t exist yet, no pun intended&#8230; unless one decides to stick an ice cream cone on a pony&#8217;s forehead at [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://myshittycode.com/2023/08/01/vertex-ai-palm-intro-to-text-bison/">Vertex AI PaLM: Intro to text-bison</a> appeared first on <a rel="nofollow" href="https://myshittycode.com">My Shitty Code</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<div class="wp-block-rank-math-toc-block" id="rank-math-toc"><h2>Table of Contents</h2><nav><ul><li><a href="#what-is-text-bison">What is text-bison</a></li><li><a href="#getting-started">Getting Started</a><ul><li><a href="#freeform-form">Freeform Form</a></li><li><a href="#structured-form">Structured Form</a></li><li><a href="#export-code">Export Code</a></li></ul></li></ul></nav></div>



<h2 class="wp-block-heading" id="what-is-text-bison">What is text-bison</h2>



<p>Google&#8217;s PaLM 2 for text (<a href="https://cloud.google.com/vertex-ai/docs/generative-ai/model-reference/text" target="_blank" rel="noopener">text-bison</a>) is recently GA&#8217;d. This foundation model is optimized for natural language tasks and it comes in 4 sizes (gecko, otter, bison, and unicorn). To date, unicorn doesn&#8217;t exist yet, no pun intended&#8230; unless one decides to stick an ice cream cone on a pony&#8217;s forehead at a county fair right now. If you know how to use OpenAI&#8217;s ChatGPT or Google Bard, you already know how to use text-bison.</p>



<h2 class="wp-block-heading" id="getting-started">Getting Started</h2>



<p>The fastest way to explore text-bison is to leverage <a href="https://cloud.google.com/vertex-ai/docs/generative-ai/learn/generative-ai-studio" target="_blank" rel="noopener">Generative AI Studio</a>, select the model to use, and get going with prompt design with absolutely no code. The pricing is listed <a href="https://cloud.google.com/vertex-ai/pricing" target="_blank" rel="noopener">here</a>. For text-bison, you can either use freeform or structured form.</p>



<h3 class="wp-block-heading" id="freeform-form">Freeform Form</h3>



<p>The freeform form is basically a giant text area for you to write anything you want. In this example, I want to put AI to good use&#8230; by analyzing one of Bruno Mars&#8217; lyrics.</p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="Bruno Mars - When I Was Your Man (Official Music Video)" width="500" height="281" src="https://www.youtube.com/embed/ekzHIouo8Q4?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<p>By providing concise instructions and the lyric snippet, the AI model accurately describes what Bruno&#8217;s trying to tell us, how he feels, and ways for him to improve his personal relationship.</p>



<figure class="wp-block-image aligncenter size-large is-resized"><img fetchpriority="high" decoding="async" src="https://myshittycode.com/wp-content/uploads/2023/08/text-bison-freeform-1024x586.png?x45560" alt="" class="wp-image-2316" width="1024" height="586" srcset="https://myshittycode.com/wp-content/uploads/2023/08/text-bison-freeform-1024x586.png 1024w, https://myshittycode.com/wp-content/uploads/2023/08/text-bison-freeform-300x172.png 300w, https://myshittycode.com/wp-content/uploads/2023/08/text-bison-freeform-768x440.png 768w, https://myshittycode.com/wp-content/uploads/2023/08/text-bison-freeform-1536x879.png 1536w, https://myshittycode.com/wp-content/uploads/2023/08/text-bison-freeform-2048x1172.png 2048w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading" id="structured-form">Structured Form</h3>



<p>The structured form leverages the few-shot prompt technique to assist the model to provide a more specific response. In this case, you provide some context and a few examples of how the model should respond. Then, you test it by providing an input for the model to generate an output.</p>



<figure class="wp-block-image aligncenter size-large is-resized"><img decoding="async" src="https://myshittycode.com/wp-content/uploads/2023/08/text-bison-structured-1024x629.png?x45560" alt="" class="wp-image-2317" width="1024" height="629" srcset="https://myshittycode.com/wp-content/uploads/2023/08/text-bison-structured-1024x629.png 1024w, https://myshittycode.com/wp-content/uploads/2023/08/text-bison-structured-300x184.png 300w, https://myshittycode.com/wp-content/uploads/2023/08/text-bison-structured-768x471.png 768w, https://myshittycode.com/wp-content/uploads/2023/08/text-bison-structured-1536x943.png 1536w, https://myshittycode.com/wp-content/uploads/2023/08/text-bison-structured-2048x1257.png 2048w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading" id="export-code">Export Code</h3>



<p>In either freeform or structured form, once you are pleased with your designed prompt, you can export it to code by clicking on the <strong>&lt;&gt; VIEW CODE</strong> link on the top right. </p>



<figure class="wp-block-image aligncenter size-large is-resized"><img loading="lazy" decoding="async" src="https://myshittycode.com/wp-content/uploads/2023/08/text-bison-code-1-1024x970.png?x45560" alt="" class="wp-image-2327" width="768" height="728" srcset="https://myshittycode.com/wp-content/uploads/2023/08/text-bison-code-1-1024x970.png 1024w, https://myshittycode.com/wp-content/uploads/2023/08/text-bison-code-1-300x284.png 300w, https://myshittycode.com/wp-content/uploads/2023/08/text-bison-code-1-768x728.png 768w, https://myshittycode.com/wp-content/uploads/2023/08/text-bison-code-1-1536x1456.png 1536w, https://myshittycode.com/wp-content/uploads/2023/08/text-bison-code-1.png 1566w" sizes="auto, (max-width: 768px) 100vw, 768px" /></figure>
<p>The post <a rel="nofollow" href="https://myshittycode.com/2023/08/01/vertex-ai-palm-intro-to-text-bison/">Vertex AI PaLM: Intro to text-bison</a> appeared first on <a rel="nofollow" href="https://myshittycode.com">My Shitty Code</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://myshittycode.com/2023/08/01/vertex-ai-palm-intro-to-text-bison/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2314</post-id>	</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Lazy Loading (feed)
Database Caching 60/74 queries in 0.062 seconds using Disk

Served from: myshittycode.com @ 2026-02-19 00:29:51 by W3 Total Cache
-->