Add 'apps/core/' from commit 'ea2a7395f4023f5b9fab03e6273db3b64a1181d5'
git-subtree-dir: apps/core git-subtree-mainline: a8963e11e7a5a0059acbc849ce768e1eee80df61 git-subtree-split: ea2a7395f4023f5b9fab03e6273db3b64a1181d5
This commit is contained in:
16
tests/data/functions/dump_json.py
Normal file
16
tests/data/functions/dump_json.py
Normal file
@@ -0,0 +1,16 @@
|
||||
import json
|
||||
|
||||
from letta.agent import Agent
|
||||
|
||||
|
||||
def dump_json(self: Agent, input: str) -> str:
|
||||
"""
|
||||
Dumps the content to JSON.
|
||||
|
||||
Args:
|
||||
input (dict): dictionary object to convert to a string
|
||||
|
||||
Returns:
|
||||
str: returns string version of the input
|
||||
"""
|
||||
return json.dumps(input)
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
20
tests/data/memgpt-0.2.11/agents/agent_test/config.json
Normal file
20
tests/data/memgpt-0.2.11/agents/agent_test/config.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"name": "agent_test",
|
||||
"persona": "sam_pov",
|
||||
"human": "basic",
|
||||
"preset": "memgpt_chat",
|
||||
"context_window": 8192,
|
||||
"model": "gpt-4",
|
||||
"model_endpoint_type": "openai",
|
||||
"model_endpoint": "https://api.openai.com/v1",
|
||||
"model_wrapper": null,
|
||||
"embedding_endpoint_type": "openai",
|
||||
"embedding_endpoint": "https://api.openai.com/v1",
|
||||
"embedding_model": "text-embedding-ada-002",
|
||||
"embedding_dim": 1536,
|
||||
"embedding_chunk_size": 300,
|
||||
"data_sources": [],
|
||||
"create_time": "2024-01-11 12:42:25 PM",
|
||||
"letta_version": "0.2.11",
|
||||
"agent_config_path": "/Users/sarahwooders/.letta/agents/agent_test/config.json"
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"name": "agent_test_attach",
|
||||
"persona": "sam_pov",
|
||||
"human": "basic",
|
||||
"preset": "memgpt_chat",
|
||||
"context_window": 8192,
|
||||
"model": "gpt-4",
|
||||
"model_endpoint_type": "openai",
|
||||
"model_endpoint": "https://api.openai.com/v1",
|
||||
"model_wrapper": null,
|
||||
"embedding_endpoint_type": "openai",
|
||||
"embedding_endpoint": "https://api.openai.com/v1",
|
||||
"embedding_model": "text-embedding-ada-002",
|
||||
"embedding_dim": 1536,
|
||||
"embedding_chunk_size": 300,
|
||||
"data_sources": [
|
||||
"test"
|
||||
],
|
||||
"create_time": "2024-01-11 12:41:37 PM",
|
||||
"letta_version": "0.2.11",
|
||||
"agent_config_path": "/Users/sarahwooders/.letta/agents/agent_test_attach/config.json"
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"name": "agent_test_empty_archival",
|
||||
"persona": "sam_pov",
|
||||
"human": "basic",
|
||||
"preset": "memgpt_chat",
|
||||
"context_window": 8192,
|
||||
"model": "gpt-4",
|
||||
"model_endpoint_type": "openai",
|
||||
"model_endpoint": "https://api.openai.com/v1",
|
||||
"model_wrapper": null,
|
||||
"embedding_endpoint_type": "openai",
|
||||
"embedding_endpoint": "https://api.openai.com/v1",
|
||||
"embedding_model": "text-embedding-ada-002",
|
||||
"embedding_dim": 1536,
|
||||
"embedding_chunk_size": 300,
|
||||
"data_sources": [],
|
||||
"create_time": "2024-01-11 12:44:07 PM",
|
||||
"letta_version": "0.2.11",
|
||||
"agent_config_path": "/Users/sarahwooders/.letta/agents/agent_test_empty_archival/config.json"
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
<EFBFBD>]<5D>.
|
||||
BIN
tests/data/memgpt-0.2.11/archival/test/nodes.pkl
Normal file
BIN
tests/data/memgpt-0.2.11/archival/test/nodes.pkl
Normal file
Binary file not shown.
36
tests/data/memgpt-0.2.11/config
Normal file
36
tests/data/memgpt-0.2.11/config
Normal file
@@ -0,0 +1,36 @@
|
||||
[defaults]
|
||||
preset = memgpt_chat
|
||||
persona = sam_pov
|
||||
human = basic
|
||||
|
||||
[model]
|
||||
model = gpt-4
|
||||
model_endpoint = https://api.openai.com/v1
|
||||
model_endpoint_type = openai
|
||||
context_window = 8192
|
||||
|
||||
[embedding]
|
||||
embedding_endpoint_type = openai
|
||||
embedding_endpoint = https://api.openai.com/v1
|
||||
embedding_model = text-embedding-ada-002
|
||||
embedding_dim = 1536
|
||||
embedding_chunk_size = 300
|
||||
|
||||
[archival_storage]
|
||||
type = chroma
|
||||
path = /Users/sarahwooders/.letta/chroma
|
||||
|
||||
[recall_storage]
|
||||
type = sqlite
|
||||
path = /Users/sarahwooders/.letta
|
||||
|
||||
[metadata_storage]
|
||||
type = sqlite
|
||||
path = /Users/sarahwooders/.letta
|
||||
|
||||
[version]
|
||||
letta_version = 0.2.12
|
||||
|
||||
[client]
|
||||
anon_clientid = 00000000000000000000d67f40108c5c
|
||||
|
||||
BIN
tests/data/memgpt-0.3.17/sqlite.db
Normal file
BIN
tests/data/memgpt-0.3.17/sqlite.db
Normal file
Binary file not shown.
BIN
tests/data/memgpt_paper.pdf
Normal file
BIN
tests/data/memgpt_paper.pdf
Normal file
Binary file not shown.
1
tests/data/test.txt
Normal file
1
tests/data/test.txt
Normal file
@@ -0,0 +1 @@
|
||||
test
|
||||
Reference in New Issue
Block a user