Skip to content

Commit

Permalink
Telegram and updated endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
eob committed Jul 26, 2023
1 parent df1d011 commit 1bf5edf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 4 additions & 3 deletions companions/companions.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@
},
{
"name": "Rick",
"title": "I can generate voice and pictures.",
"title": "I can generate voice and pictures",
"imageUrl": "/rick.jpeg",
"llm": "steamship",
"generateEndpoint": "https://a16z.steamship.run/a16z/rick-b1578149038e664bacae7fc083683565/answer",
"phone": "OPTIONAL_COMPANION_PHONE_NUMBER"
"generateEndpoint": "https://a16z.steamship.run/rick/ai-companion-59f5d9816b627a45856239ae9f83525e/answer",
"phone": "OPTIONAL_COMPANION_PHONE_NUMBER",
"telegramLink": "https://t.me/rick_a16z_bot"
},
{
"name": "Sebastian",
Expand Down
7 changes: 6 additions & 1 deletion src/components/Examples.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export default function Examples() {
imageUrl: "",
llm: "",
phone: "",
telegramLink: null
},
]);

Expand All @@ -34,6 +35,7 @@ export default function Examples() {
imageUrl: entry.imageUrl,
llm: entry.llm,
phone: entry.phone,
telegramLink: entry.telegramLink
}));
setExamples(setme);
} catch (err) {
Expand Down Expand Up @@ -80,7 +82,10 @@ export default function Examples() {
<dl className="mt-1 flex flex-grow flex-col justify-between">
<dt className="sr-only"></dt>
<dd className="text-sm text-slate-400">
{example.title}. Running on <b>{example.llm}</b>
{example.title}. Running on <b>{example.llm}</b>.
{example.telegramLink && (
<span className="ml-1"><a onClick={(event) => {event?.stopPropagation(); event?.preventDefault}} href={example.telegramLink}>Chat on <b>Telegram</b></a>.</span>
)}
</dd>
</dl>
<dl className="mt-1 flex flex-grow flex-col justify-between">
Expand Down

0 comments on commit 1bf5edf

Please sign in to comment.