Find answers from the community

F
Fatum
Offline, last seen 2 days ago
Joined December 6, 2024
1) how should i think about the distinction between an agent and a workflow?

2) i built a system that querys a simple json file for 1 single CSV (short content). i want to expand on it by adding another JSON file that contains content from a blog (longer). in this case is QueryEngineTool necessary?

main reason for confusion is when I look at the workflow documentation they never use a QueryEngineTool https://docs.llamaindex.ai/en/stable/examples/workflow/rag/
but in the agent cookbooks a bunch of imports are used: https://github.com/run-llama/python-agents-tutorial/blob/main/5_memory.py

right now i handle it like this without using that import:
Plain Text
        try:
            # Load appropriate data based on query type
            json_data = load_marketing_data() if is_logo_query else load_json_data()
            
            result = await w.run(
                query=user_message.content,
                list_of_dict=json_data,
                llm=llm,
                table_name=DEFAULT_TABLE_NAME,
                timeout=10
            )
4 comments
L
F
perhaps a basic question but suppose i want my app to be only accessible to employees or users with a certain email address. How should I deploy this app? want to make it easy for non-technical users too.

Cloud Run + Google IAP?
10 comments
F
L
hi. in this article it says everytime you re-run the ingestion pipeline.... Is there any way / any articles/tools to automate the process of re-running ingestion pipelines?

https://docs.llamaindex.ai/en/v0.10.17/examples/ingestion/ingestion_gdrive.html
4 comments
L
F
G