chore: migrate package name to letta (#1775)

Co-authored-by: Charles Packer <packercharles@gmail.com>
Co-authored-by: Shubham Naik <shubham.naik10@gmail.com>
Co-authored-by: Shubham Naik <shub@memgpt.ai>
This commit is contained in:
Sarah Wooders
2024-09-23 09:15:18 -07:00
committed by GitHub
parent 9ebbaacc1f
commit 8ae1e64987
337 changed files with 5528 additions and 6795 deletions

View File

@@ -2,14 +2,14 @@ import os
from sqlalchemy import DDL, MetaData, Table, create_engine, update
from memgpt.config import MemGPTConfig
from memgpt.constants import BASE_TOOLS
from memgpt.metadata import MetadataStore
from memgpt.presets.presets import add_default_tools
from memgpt.prompts import gpt_system
from letta.config import LettaConfig
from letta.constants import BASE_TOOLS
from letta.metadata import MetadataStore
from letta.presets.presets import add_default_tools
from letta.prompts import gpt_system
# Replace this with your actual database connection URL
config = MemGPTConfig.load()
config = LettaConfig.load()
if config.recall_storage_type == "sqlite":
DATABASE_URL = "sqlite:///" + os.path.join(config.recall_storage_path, "sqlite.db")
else:

View File

@@ -3,15 +3,15 @@ import uuid
from sqlalchemy import MetaData, Table, create_engine
from memgpt import create_client
from memgpt.config import MemGPTConfig
from memgpt.data_types import AgentState, EmbeddingConfig, LLMConfig
from memgpt.metadata import MetadataStore
from memgpt.presets.presets import add_default_tools
from memgpt.prompts import gpt_system
from letta import create_client
from letta.config import LettaConfig
from letta.data_types import AgentState, EmbeddingConfig, LLMConfig
from letta.metadata import MetadataStore
from letta.presets.presets import add_default_tools
from letta.prompts import gpt_system
# Replace this with your actual database connection URL
config = MemGPTConfig.load()
config = LettaConfig.load()
if config.recall_storage_type == "sqlite":
DATABASE_URL = "sqlite:///" + os.path.join(config.recall_storage_path, "sqlite.db")
else:

View File

@@ -1,3 +1,3 @@
export MEMGPT_VERSION=$(memgpt version)
docker buildx build --platform=linux/amd64,linux/arm64,linux/x86_64 --build-arg MEMGPT_ENVIRONMENT=RELEASE -t memgpt/memgpt-server:${MEMGPT_VERSION} .
docker push memgpt/memgpt-server:${MEMGPT_VERSION}
export MEMGPT_VERSION=$(letta version)
docker buildx build --platform=linux/amd64,linux/arm64,linux/x86_64 --build-arg MEMGPT_ENVIRONMENT=RELEASE -t letta/letta-server:${MEMGPT_VERSION} .
docker push letta/letta-server:${MEMGPT_VERSION}