File tree Expand file tree Collapse file tree 3 files changed +124
-99
lines changed
examples/gemini/javascript/langchain_quickstart_node
site/en/gemini-api/docs/get-started Expand file tree Collapse file tree 3 files changed +124
-99
lines changed Original file line number Diff line number Diff line change @@ -39,10 +39,10 @@ async function invokeGeminiPro() {
3939}
4040
4141/**
42- * Creates a Gemini Pro Vision multimodal chat model, invokes the model with an
42+ * Creates a Gemini Flash multimodal chat model, invokes the model with an
4343 * input containing text and image data, and logs the result.
4444 */
45- async function invokeGeminiProVision ( ) {
45+ async function invokeGeminiFlash ( ) {
4646 const model = new ChatGoogleGenerativeAI ( {
4747 modelName : 'gemini-1.5-flash' ,
4848 maxOutputTokens : 1024 ,
@@ -87,7 +87,7 @@ async function embedText() {
8787 */
8888async function run ( ) {
8989 invokeGeminiPro ( ) ;
90- invokeGeminiProVision ( ) ;
90+ invokeGeminiFlash ( ) ;
9191 embedText ( ) ;
9292}
9393
You can’t perform that action at this time.
0 commit comments