fix typo
This commit is contained in:
@@ -15,7 +15,7 @@ import sqlite3
|
|||||||
import fitz
|
import fitz
|
||||||
from tqdm import tqdm
|
from tqdm import tqdm
|
||||||
from memgpt.openai_tools import async_get_embedding_with_backoff
|
from memgpt.openai_tools import async_get_embedding_with_backoff
|
||||||
from memgpt.configs import memgpt_dir
|
from memgpt.config import memgpt_dir
|
||||||
|
|
||||||
def count_tokens(s: str, model: str = "gpt-4") -> int:
|
def count_tokens(s: str, model: str = "gpt-4") -> int:
|
||||||
encoding = tiktoken.encoding_for_model(model)
|
encoding = tiktoken.encoding_for_model(model)
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "memgpt"
|
name = "pymemgpt"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
packages = [
|
||||||
|
{include = "memgpt"}
|
||||||
|
]
|
||||||
description = "Teaching LLMs memory management for unbounded context"
|
description = "Teaching LLMs memory management for unbounded context"
|
||||||
authors = [
|
authors = [
|
||||||
"Charles Packer <contact@charlespacker.com>",
|
"Charles Packer <contact@charlespacker.com>",
|
||||||
|
|||||||
Reference in New Issue
Block a user