aiagent.AiAgent¶
- class AiAgent(user, options)¶
The top level interface to interact with the AiAgent system.
- __init__(user, options)¶
Methods
__init__(user, options)add_content(base_name, content[, store_name])add_content_from_local_files(data_types[, ...])add_document_object(document[, store_name])direct_query(input[, should_print])Query underlying ai systems directly with user query only.
get_document(store_name, docid)prompt_query(prompt_id, prompt_input, store_name)Query aiAgent, using a specific prompt and matching document chunks as part of the ai interactions.
query(input[, store_name, should_print])Query aiAGent with matching document chunks used for ai interactions.