π’ Notice:
All teams submitting their project must create a README.md file following this guideline.
Please make sure to replace all placeholder texts (e.g., [Project Title], [Describe feature]) with actual content.
This project was developed as part of the AGI Agent Application Hackathon. It aims to solve the common pain point of filling out complex forms and documents, especially when users are unsure of how to write them or what information is valid.
- β
Chatbot Service:
- Q&A on domain-related topics.
- Integrated web search.
- Conversation history storage.
- β
PDF Document Validation:
- Extract document information and compare with internal data.
- Real-time information retrieval (via web search).
- Other fixes.
- β
Domain Knowledge: Trade & Customs Assistant:
- Check for regulatory compliance.
- Inspection for hazardous substances/food additives.
- Provide analysis of all fields and what are missing.
- Frontend: Streamlit
- Backend: FastAPI
- Database:
- Others: Docker, LangChain, GPT-4o Search Preview, Solar Pro, Upstage Document Parsing API, Upstage Embeddings API, Upstage Information Extract API
π agi_hackathon-team_ODE/
βββ Chatbot/ # Chatbot backend server
β βββ main.py # FastAPI
β βββ requirements.txt
β βββ .env # Chatbot(fastapi) .env keys
β βββ vector_db/ # Vector DB storage
β βββ data/ # Data storage
β βββ base_knowledge_memory.json # Basic knowledge memory
β
βββ Streamlit/ # Frontend
β βββ main.py # Streamlit web interface
β βββ pdf_form.py
β βββ sidebar.py
β βββ utils.py
β βββ requirements.txt
β βββ .env # Frontend(streamlit-app) .env keys
β βββ data/ # Data storage
β βββ .streamlit/ # Streamlit configuration
β
βββ PDFValidator/ # PDF document validation backend
β βββ main.py # FastAPI
β βββ requirements.txt
β βββ .env # pdfvalidator .env keys
β βββ data/ # Data storage
β βββ memory.json # Memory storage
β
βββ Database/ # Main data storage
β βββ Merged/ # Merged data
β βββ Embedding/ # Embedding data
β βββ Connection/ # Database connection
β
βββ .devcontainer/
βββ docker-compose.yaml # Docker Compose configuration
βββ README.md # README
# Clone the repository
git clone https://github.com/bindingflare/agi_hackathon-team_ODE.git
cd agi_hackathon-team_ODE# Copy zip file to ./Database (Keep file structure intact!)# Set API Keys (.env)
./Chatbot/.env
UPSTAGE_API_KEY = "your_api_key"
UPSTAGE_EMBEDDING_KEY = "your_api_key"
./PDFValidator/.env
UPSTAGE_API_KEY = "your_api_key"
./Streamlit/.env
UPSTAGE_API_KEY = "your_api_key"
OPENAI_API_KEY = "your_api_key"# Run with Docker Compose
docker-compose up -d# Access Streamlit UI
http://localhost:8501- Dataset used: US Customs & Border Protection, FDA - Food & Drug Administration (USA), KITA - Korea International Trade Association, KATI Database (aT - Korea Agro-Fisheries & Food Trade Corporation)
- References / Resources:
-
https://www.cbp.gov/newsroom/publications/forms (Example: CBP Form 7533)
-
https://www.fda.gov/about-fda/reports-manuals-forms/forms (Example: FDA-2541d)
-
https://www.fda.gov/food/guidance-regulation-food-and-dietary-supplements
-
https://www.fda.gov/industry/fda-import-process/prior-notice-imported-foods
-
https://www.kita.net/board/format/formatList.do (Example: νλ―Έ FTA μμ°μ§μ¦λͺ μ)
-
| Name | Role | Github |
|---|---|---|
| λ°©μ€ν | Team Lead | @bindingflare |
| μμ¬ν | Backend, Chatbot | @wognsths |
| μ΄μ¬μ | Modelling | @sleepylee02 |
| μ€ν¬μ°¬ | Backend, Modelling | @quant-jason |
| κΉμ μΈ | Front-End | @jungin7612 |
- Last updated: 2025-04-04
This project is licensed under the MIT license.
See the LICENSE file for more details.
- Feel free to include any other relevant notes or links here.