chore: run autoflake + isort (#1279)
This commit is contained in:
@@ -1,17 +1,15 @@
|
||||
import random
|
||||
import os
|
||||
import time
|
||||
from concurrent.futures import ThreadPoolExecutor
|
||||
import os
|
||||
from typing import List, Tuple
|
||||
from openai import OpenAI
|
||||
|
||||
import serpapi
|
||||
from openai import OpenAI
|
||||
|
||||
from memgpt.data_sources.connectors import WebConnector
|
||||
from memgpt.data_types import Document, Passage
|
||||
from memgpt.credentials import MemGPTCredentials
|
||||
from memgpt.data_sources.connectors import WebConnector
|
||||
from memgpt.utils import printd
|
||||
|
||||
|
||||
"""
|
||||
This example show how you can add a google search custom function to your MemGPT agent.
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import json
|
||||
from memgpt import create_client, Admin
|
||||
from memgpt.constants import DEFAULT_PRESET, DEFAULT_HUMAN, DEFAULT_PERSONA
|
||||
from memgpt.utils import get_human_text, get_persona_text
|
||||
|
||||
from memgpt import Admin, create_client
|
||||
from memgpt.constants import DEFAULT_HUMAN, DEFAULT_PERSONA, DEFAULT_PRESET
|
||||
from memgpt.utils import get_human_text, get_persona_text
|
||||
|
||||
"""
|
||||
Make sure you run the MemGPT server before running this example.
|
||||
|
||||
Reference in New Issue
Block a user