From b86dc1eb2270f873a7e601629b4de1c92c983e38 Mon Sep 17 00:00:00 2001 From: tedspare Date: Thu, 10 Oct 2024 16:08:16 -0400 Subject: [PATCH] Use relative import --- CHANGELOG.md | 1 + package.json | 2 +- src/index.ts | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 14731f5..884d82e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ +- [2024-10-10] [Use relative import](https://github.com/RubricLab/memory/commit/2161e8cc919ac63da4b092b61ff811566417bc08) - [2024-10-10] [Fix post-insert return](https://github.com/RubricLab/memory/commit/a79a936cff2baadbd5411caec354579b47d8c846) - [2024-10-10] [Support more DBs. Simplify types.](https://github.com/RubricLab/memory/commit/c9500b038646adac4a4250b9956914bafbb53bea) - [2024-10-10] [Add main to pkg](https://github.com/RubricLab/memory/commit/ef8082790fbd93c6ae2b4b47112bc1986dd8f0ab) diff --git a/package.json b/package.json index a3e45b2..f11a6a6 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@rubriclab/memory", "module": "src/index.ts", "main": "src/index.ts", - "version": "0.0.16", + "version": "0.0.17", "private": false, "type": "module", "devDependencies": { diff --git a/src/index.ts b/src/index.ts index 2e4e746..3730f9a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,8 +1,8 @@ -import { clean } from '@/utils/string' import { openai } from '@ai-sdk/openai' import { generateObject } from 'ai' import { z } from 'zod' import type { Database, Fact, LLM } from './types' +import { clean } from './utils/string' export class Memory { model: LLM