Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
spikechroma committed Sep 11, 2024
1 parent f765f3c commit 9a31cd5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
5 changes: 1 addition & 4 deletions clients/js/src/ChromaClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ import type {
GetOrCreateCollectionParams,
ListCollectionsParams,
} from "./types";
import {
validateTenantDatabase,
wrapCollection,
} from "./utils";
import { validateTenantDatabase, wrapCollection } from "./utils";
const DEFAULT_TENANT = "default_tenant";
const DEFAULT_DATABASE = "default_database";

Expand Down
6 changes: 3 additions & 3 deletions clients/js/test/add.collections.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ describe("add collections", () => {
});

if (!process.env.OPENAI_API_KEY) {
test.skip("it should add OpenAI embeddings", async () => { });
test.skip("it should add OpenAI embeddings", async () => {});
} else {
test("it should add OpenAI embeddings", async () => {
const embedder = new OpenAIEmbeddingFunction({
Expand All @@ -80,7 +80,7 @@ describe("add collections", () => {
}

if (!process.env.COHERE_API_KEY) {
test.skip("it should add Cohere embeddings", async () => { });
test.skip("it should add Cohere embeddings", async () => {});
} else {
test("it should add Cohere embeddings", async () => {
const embedder = new CohereEmbeddingFunction({
Expand Down Expand Up @@ -150,7 +150,7 @@ describe("add collections", () => {
});

if (!process.env.OLLAMA_SERVER_URL) {
test.skip("it should use ollama EF, OLLAMA_SERVER_URL not defined", async () => { });
test.skip("it should use ollama EF, OLLAMA_SERVER_URL not defined", async () => {});
} else {
test("it should use ollama EF", async () => {
const embedder = new OllamaEmbeddingFunction({
Expand Down

0 comments on commit 9a31cd5

Please sign in to comment.