The work is inspired by JayZeeDesign researcher-gpt
- app.py is the original file
- app2.py is the file created by me based on langchain v0.2
- To test the FastAPI service
- run uvicorn app2:api --reload
- go to the swagger file under http://127.0.0.1/8000/docs
- To run as streamlit webapp
- uncomment the app function
- run streamlit run app2.py
- Import multiple versions of pydrantic
- Use StructuredTool to create custom tools for agent
- Create custom agent with custom tools and memory
- Use Apify because
- browserless costs too much
- Apify actors are easier to integrate
- But Apify webcrawler actor already summarizes the web content to some extent