SYMBOL INDEX (128 symbols across 20 files) FILE: agent.py function get_ada_embedding (line 39) | def get_ada_embedding(text): FILE: api.py class Payload (line 38) | class Payload(BaseModel): class ImageResponse (line 40) | class ImageResponse(BaseModel): function str_to_bool (line 46) | def str_to_bool(s): function root (line 55) | async def root(): function health_check (line 62) | def health_check(): function clear_cache (line 93) | async def clear_cache(request_data: Payload) -> dict: function prompt_to_correct_grammar (line 113) | async def prompt_to_correct_grammar(request_data: Payload) -> dict: function prompt_to_choose_meal_tree (line 145) | async def prompt_to_choose_meal_tree(request_data: Payload) -> dict: function create_endpoint (line 181) | def create_endpoint(category: str, solution_type: str, prompt: str, json... function prompt_to_decompose_meal_tree_categories (line 270) | async def prompt_to_decompose_meal_tree_categories(request_data: Payload... function prompt_to_correct_grammar (line 296) | async def prompt_to_correct_grammar(request_data: Payload) -> dict: function fetch_user_summary (line 308) | async def fetch_user_summary(request_data: Payload) -> dict: function recipe_request (line 318) | async def recipe_request(request_data: Payload) -> dict: function solution_name_request (line 336) | async def solution_name_request(request_data: Payload) -> dict: function start_api_server (line 372) | def start_api_server(host: str = "0.0.0.0", port: int = 8000): FILE: auth/auth.py function get_current_user (line 29) | async def get_current_user( FILE: auth/auth_utils.py function authenticate_and_get_token (line 43) | def authenticate_and_get_token(username: str, password: str, FILE: auth/cognito/JWTBearer.py class JWKS (line 14) | class JWKS(BaseModel): class JWTAuthorizationCredentials (line 18) | class JWTAuthorizationCredentials(BaseModel): class JWTBearer (line 26) | class JWTBearer(HTTPBearer): method __init__ (line 27) | def __init__(self, jwks: JWKS, auto_error: bool = True): method verify_jwk_token (line 32) | def verify_jwk_token(self, jwt_credentials: JWTAuthorizationCredential... method __call__ (line 45) | async def __call__(self, request: Request) -> Optional[JWTAuthorizatio... FILE: bots/bot_extension.py class AppAgent (line 10) | class AppAgent(App, Agent): method __init__ (line 11) | def __init__(self, db=None, ef=None, table_name=None, user_id: Optiona... FILE: bots/bot_loading_util.py function _load_extension (line 8) | def _load_extension( object_type:str, object_value:str): FILE: examples/level_1/level_1_pdf_vectorstore_dlt_etl.py function _convert_pdf_to_document (line 31) | def _convert_pdf_to_document(path: str = None): function _init_weaviate (line 68) | def _init_weaviate(): function load_to_weaviate (line 89) | def load_to_weaviate(document_path=None): function get_from_weaviate (line 98) | def get_from_weaviate(query=None, path=None, operator=None, valueText=No... function delete_from_weaviate (line 138) | def delete_from_weaviate(query=None, filters=None): function infer_schema_from_text (line 175) | def infer_schema_from_text(text: str): function set_data_contract (line 194) | def set_data_contract(data, version, date, agreement_id=None, privacy_po... function create_id_dict (line 217) | def create_id_dict(memory_id=None, st_memory_id=None, buffer_id=None): function init_buffer (line 238) | def init_buffer(data, version, date, memory_id=None, st_memory_id=None, ... function infer_properties_from_text (line 260) | def infer_properties_from_text(text: str): function load_json_or_infer_schema (line 281) | def load_json_or_infer_schema(file_path, document_path): function ai_function (line 297) | def ai_function(prompt=None, json_schema=None): function higher_level_thinking (line 321) | def higher_level_thinking(): function process_higher_level_thinking (line 333) | def process_higher_level_thinking(result=None): function main (line 346) | def main(raw_loading, processed_loading,document_paths): FILE: examples/level_2/api.py class Payload (line 39) | class Payload(BaseModel): class ImageResponse (line 41) | class ImageResponse(BaseModel): function root (line 49) | async def root(): function health_check (line 56) | def health_check(): function upload_pdf_and_payload (line 70) | async def upload_pdf_and_payload( function start_api_server (line 157) | def start_api_server(host: str = "0.0.0.0", port: int = 8000): FILE: examples/level_2/level_2_pdf_vectorstore__dlt_contracts.py class VectorDB (line 49) | class VectorDB: method __init__ (line 50) | def __init__(self, user_id: str, index_name: str, memory_id:str, ltm_m... method init_pinecone (line 66) | def init_pinecone(self, index_name): method init_weaviate (line 80) | def init_weaviate(self, namespace:str): method add_memories (line 101) | def add_memories(self, observation: str, page: str = "", source: str ... method fetch_memories (line 151) | def fetch_memories(self, observation: str, params = None): method delete_memories (line 183) | def delete_memories(self, params: None): method update_memories (line 199) | def update_memories(self): class SemanticMemory (line 204) | class SemanticMemory: method __init__ (line 205) | def __init__(self, user_id: str, memory_id:str, ltm_memory_id:str, ind... method _update_memories (line 218) | def _update_memories(self ,memory_id:str="None", semantic_memory: str=... method _fetch_memories (line 228) | def _fetch_memories(self, observation: str,params) -> dict[str, str] |... class LongTermMemory (line 240) | class LongTermMemory: method __init__ (line 241) | def __init__(self, user_id: str = "676", memory_id:str=None, index_nam... class ShortTermMemory (line 251) | class ShortTermMemory: method __init__ (line 252) | def __init__(self, user_id: str = "676", memory_id:str=None, index_nam... class EpisodicBuffer (line 264) | class EpisodicBuffer: method __init__ (line 265) | def __init__(self, user_id: str = "676", memory_id:str=None, index_nam... method infer_schema_from_text (line 300) | async def infer_schema_from_text(self, text: str): method main_buffer (line 318) | def main_buffer(self, user_input=None): class Memory (line 452) | class Memory: method __init__ (line 455) | def __init__(self, user_id: str = "676", index_name: str = None, knowl... method _update_semantic_memory (line 468) | def _update_semantic_memory(self, semantic_memory:str): method _fetch_semantic_memory (line 475) | def _fetch_semantic_memory(self, observation, params): method _run_buffer (line 483) | def _run_buffer(self, user_input:str): FILE: examples/simple_ETLs.py function ai_function (line 26) | def ai_function(): FILE: extensions/argparseext.py function parse_dotenv_extensions (line 8) | def parse_dotenv_extensions(argv): function parse_arguments (line 33) | def parse_arguments(): FILE: extensions/dotenvext.py function load_dotenv_extensions (line 4) | def load_dotenv_extensions(dotenv_files): FILE: fetch_secret.py function fetch_secret (line 12) | def fetch_secret(secret_name, region_name, env_file_path): FILE: food_scrapers/wolt_tool.py function find_and_click_by_attributes (line 4) | async def find_and_click_by_attributes(page, attributes): function enter_zipcode_and_press_enter (line 12) | async def enter_zipcode_and_press_enter(page, zipcode): function run (line 19) | async def run(playwright, zipcode: str, prompt: str): function main (line 53) | async def main(prompt: str, zipcode: str): FILE: heuristic_experience_orchestrator/task_identification.py class TaskIdentificationChain (line 5) | class TaskIdentificationChain(LLMChain): method from_llm (line 9) | def from_llm( FILE: initdb/init.sql type pinecone_id (line 1) | CREATE TABLE pinecone_id ( FILE: llm_chains/chains.py class Agent (line 81) | class Agent: method __init__ (line 94) | def __init__( method clear_cache (line 147) | def clear_cache(self): method set_user_session (line 150) | def set_user_session(self, user_id: str, session_id: str) -> None: method get_ada_embedding (line 154) | def get_ada_embedding(self, text): method init_pinecone (line 160) | def init_pinecone(self, index_name): method _simple_test (line 167) | def _simple_test(self): method tiktoken_len (line 180) | def tiktoken_len(self, text): method _update_memories (line 207) | def _update_memories(self, observation: str, namespace: str, page: str... class FetchMemories (line 234) | class FetchMemories(BaseModel): method _fetch_memories (line 239) | def _fetch_memories(self, observation: str, namespace: str) -> dict[st... method _compute_agent_summary (line 264) | def _compute_agent_summary(self, model_speed: str): method update_agent_preferences (line 301) | def update_agent_preferences(self, preferences: str): method update_agent_taboos (line 327) | def update_agent_taboos(self, dislikes: str): method update_agent_traits (line 350) | def update_agent_traits(self, traits: str): method update_agent_summary (line 370) | def update_agent_summary(self, model_speed): method prompt_correction (line 375) | def prompt_correction(self, prompt_source: str, model_speed: str): method solution_generation (line 390) | async def solution_generation(self, prompt: str, prompt_template: str ... method solution_name_generation (line 447) | async def solution_name_generation(self, prompt: str, prompt_template:... method extract_json (line 487) | def extract_json(self, data): method async_generate (line 496) | async def async_generate( method generate_concurrently (line 576) | async def generate_concurrently(self, base_prompt, assistant_category,... method _loader (line 657) | def _loader(self, path: str, namespace: str): method _process_pref (line 669) | def _process_pref(self, data): method prompt_to_choose_tree (line 697) | def prompt_to_choose_tree(self, prompt: str, model_speed: str, assista... method prompt_decompose_to_tree_categories (line 945) | async def prompt_decompose_to_tree_categories( method prompt_to_update_meal_tree (line 964) | def prompt_to_update_meal_tree( method extract_info (line 1017) | def extract_info(self, s: str): method restaurant_generation (line 1030) | async def restaurant_generation(self, prompt: str, prompt_template: st... method delivery_generation (line 1061) | async def delivery_generation(self, prompt: str, zipcode: str, model_s... method add_zapier_calendar_action (line 1083) | def add_zapier_calendar_action(self, prompt_base, token, model_speed: ... method voice_text_input (line 1113) | def voice_text_input(self, query: str, model_speed: str): method fetch_user_summary (line 1175) | def fetch_user_summary(self, model_speed: str): method _retrieve_summary (line 1181) | def _retrieve_summary(self): FILE: test_api.py function agent (line 10) | def agent(): class TestRoutes (line 14) | class TestRoutes: method test_root (line 15) | def test_root(self): class TestRoutes (line 20) | class TestRoutes: method test_root (line 21) | def test_root(self): method test_health_check (line 26) | def test_health_check(self): method test_prompt_to_choose_meal_tree (line 31) | def test_prompt_to_choose_meal_tree(self): method test_prompt_to_decompose_meal_tree_categories (line 48) | def test_prompt_to_decompose_meal_tree_categories(self): FILE: utils/utils.py function openai_call (line 6) | def openai_call(