The PromptInput component allows a user to send a message with file attachments to a large language model. It includes a textarea, file upload capabilities, a submit button, and a dropdown for selecting the model.
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| === Upstream === | |
| num replicas | |
| [ | |
| { | |
| "c": 1 | |
| } | |
| ] | |
| num clients with mutations | |
| [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { CID } from "multiformats/cid"; | |
| import * as raw from "multiformats/codecs/raw"; | |
| import { sha256 } from "@noble/hashes/sha256"; | |
| import { create } from "multiformats/hashes/digest"; | |
| export const toCID = (txt: string) => { | |
| return CID.createV1(raw.code, create(0x12, sha256(txt))).toString(); | |
| }; |
Welcome to the very first Korean edition of JSConf!
JSConf Korea is a community conference that pushes the boundaries of what can be created using JavaScript, and an opportunity for people with diverse experiences to share their stories and positive energy with each other.
Our mission is to make the Korean technology community more daring, more diverse, and more human; in short, we just want to make things better.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <picture> | |
| <img | |
| src="/some/man-with-a-dog.jpg" | |
| alt="Man with a dog" | |
| style="object-fit: cover;" | |
| /> | |
| </picture> | |
| <!-- The new way --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div | |
| style="background-image: url('/some/man-with-a-dog.jpg'); | |
| background-size: cover;" | |
| ></div> | |
| <!-- The old way --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <picture> | |
| <source | |
| srcset=" | |
| /some/_1170x658_crop_center-center/man-with-a-dog.webp 1170w, | |
| /some/_970x545_crop_center-center/man-with-a-dog.webp 970w, | |
| /some/_750x562_crop_center-center/man-with-a-dog.webp 750w, | |
| /some/_320x240_crop_center-center/man-with-a-dog.webp 320w | |
| " | |
| sizes="100vw" | |
| type="image/webp" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <picture> | |
| <img | |
| src="/some/man-with-a-dog.jpg" | |
| alt="Man with a dog" | |
| style="object-fit: cover;" | |
| /> | |
| </picture> | |
| <!-- The new way --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <picture> | |
| <source | |
| srcset=" | |
| /some/_1170x658_crop_center-center/man-with-a-dog.webp 1170w, | |
| /some/_970x545_crop_center-center/man-with-a-dog.webp 970w, | |
| /some/_750x562_crop_center-center/man-with-a-dog.webp 750w, | |
| /some/_320x240_crop_center-center/man-with-a-dog.webp 320w | |
| " | |
| sizes="100vw" | |
| type="image/webp" |
NewerOlder