From 3a206d4b38675abff1d69a505c41c963d4216311 Mon Sep 17 00:00:00 2001 From: Pavel Jbanov Date: Thu, 9 May 2024 14:59:22 -0400 Subject: [PATCH] format --- js/samples/dev-ui-gallery/src/index.ts | 2 +- js/samples/express/src/index.ts | 2 +- js/samples/langchain/src/index.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js/samples/dev-ui-gallery/src/index.ts b/js/samples/dev-ui-gallery/src/index.ts index 19c4a54ab..86aea503e 100644 --- a/js/samples/dev-ui-gallery/src/index.ts +++ b/js/samples/dev-ui-gallery/src/index.ts @@ -20,7 +20,6 @@ import { dotprompt } from '@genkit-ai/dotprompt'; import { genkitEval, GenkitMetric } from '@genkit-ai/evaluator'; import { firebase } from '@genkit-ai/firebase'; import { geminiPro, googleAI } from '@genkit-ai/googleai'; -import { ollama } from 'genkitx-ollama'; import { claude3Haiku, claude3Opus, @@ -30,6 +29,7 @@ import { VertexAIEvaluationMetricType, } from '@genkit-ai/vertexai'; import { chroma } from 'genkitx-chromadb'; +import { ollama } from 'genkitx-ollama'; import { pinecone } from 'genkitx-pinecone'; // Turn off safety checks for evaluation so that the LLM as an evaluator can diff --git a/js/samples/express/src/index.ts b/js/samples/express/src/index.ts index cf7626cb1..f5bbc87c2 100644 --- a/js/samples/express/src/index.ts +++ b/js/samples/express/src/index.ts @@ -19,9 +19,9 @@ import { configureGenkit } from '@genkit-ai/core'; import { firebase } from '@genkit-ai/firebase'; import { defineFlow, run, runFlow } from '@genkit-ai/flow'; import { googleAI } from '@genkit-ai/googleai'; -import { ollama } from 'genkitx-ollama'; import { vertexAI } from '@genkit-ai/vertexai'; import express, { Request, Response } from 'express'; +import { ollama } from 'genkitx-ollama'; import * as z from 'zod'; configureGenkit({ diff --git a/js/samples/langchain/src/index.ts b/js/samples/langchain/src/index.ts index 6f6ea1068..1366a7e2d 100644 --- a/js/samples/langchain/src/index.ts +++ b/js/samples/langchain/src/index.ts @@ -18,7 +18,6 @@ import { configureGenkit } from '@genkit-ai/core'; import { firebase } from '@genkit-ai/firebase'; import { defineFlow, run, startFlowsServer } from '@genkit-ai/flow'; import { googleAI } from '@genkit-ai/googleai'; -import { ollama } from 'genkitx-ollama'; import { vertexAI } from '@genkit-ai/vertexai'; import { GoogleVertexAIEmbeddings } from '@langchain/community/embeddings/googlevertexai'; import { GoogleVertexAI } from '@langchain/community/llms/googlevertexai'; @@ -29,6 +28,7 @@ import { RunnableSequence, } from '@langchain/core/runnables'; import { GenkitTracer } from 'genkitx-langchain'; +import { ollama } from 'genkitx-ollama'; import { PDFLoader } from 'langchain/document_loaders/fs/pdf'; import { formatDocumentsAsString } from 'langchain/util/document'; import { MemoryVectorStore } from 'langchain/vectorstores/memory';