feat: move quickstart to use inference.memgpt.ai (#1190)

This commit is contained in:
Sarah Wooders
2024-03-27 17:09:11 -07:00
committed by GitHub
parent 4b5666ac64
commit ef913a743b
15 changed files with 106 additions and 79 deletions

View File

@@ -59,6 +59,7 @@ def run_server():
embedding_endpoint_type="openai",
embedding_endpoint="https://api.openai.com/v1",
embedding_dim=1536,
embedding_model="text-embedding-ada-002",
),
# llms
default_llm_config=LLMConfig(
@@ -237,9 +238,10 @@ def test_config(client, agent):
models_response = client.list_models()
print("MODELS", models_response)
config_response = client.get_config()
# TODO: add back
# config_response = client.get_config()
# TODO: ensure config is the same as the one in the server
print("CONFIG", config_response)
# print("CONFIG", config_response)
def test_sources(client, agent):