├── .gitignore ├── LICENSE ├── README.md ├── doc ├── .$FlowChart.drawio.bkp ├── FlowChart.drawio └── FlowChart.drawio.png ├── gundam_products.json ├── main.py ├── pyproject.toml ├── requirements.txt ├── src ├── __init__.py ├── core │ ├── __init__.py │ ├── bedrock_client.py │ ├── embedding.py │ ├── pgvector.py │ ├── test.py │ └── tools.py ├── utils │ ├── database │ │ ├── create_orders.sql │ │ ├── create_products.sql │ │ ├── orders_insert.py │ │ ├── products_insert.py │ │ └── setup_products_db.py │ └── faq │ │ ├── add_document_to_pgvector.py │ │ ├── enrich_faq.py │ │ ├── faq.json │ │ └── faq_enriched.json └── vectordb │ ├── docker-compose.yml │ └── init.sql ├── test.py ├── ui ├── __init__.py └── bot_ui.py └── uv.lock /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhvg/fsds-llm/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhvg/fsds-llm/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhvg/fsds-llm/HEAD/README.md -------------------------------------------------------------------------------- /doc/.$FlowChart.drawio.bkp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhvg/fsds-llm/HEAD/doc/.$FlowChart.drawio.bkp -------------------------------------------------------------------------------- /doc/FlowChart.drawio: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhvg/fsds-llm/HEAD/doc/FlowChart.drawio -------------------------------------------------------------------------------- /doc/FlowChart.drawio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhvg/fsds-llm/HEAD/doc/FlowChart.drawio.png -------------------------------------------------------------------------------- /gundam_products.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhvg/fsds-llm/HEAD/gundam_products.json -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhvg/fsds-llm/HEAD/main.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhvg/fsds-llm/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhvg/fsds-llm/HEAD/requirements.txt -------------------------------------------------------------------------------- /src/__init__.py: -------------------------------------------------------------------------------- 1 | # Empty file to make the directory a Python package 2 | -------------------------------------------------------------------------------- /src/core/__init__.py: -------------------------------------------------------------------------------- 1 | # Empty file to make the directory a Python package 2 | -------------------------------------------------------------------------------- /src/core/bedrock_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhvg/fsds-llm/HEAD/src/core/bedrock_client.py -------------------------------------------------------------------------------- /src/core/embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhvg/fsds-llm/HEAD/src/core/embedding.py -------------------------------------------------------------------------------- /src/core/pgvector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhvg/fsds-llm/HEAD/src/core/pgvector.py -------------------------------------------------------------------------------- /src/core/test.py: -------------------------------------------------------------------------------- 1 | print("Hello, World!") 2 | -------------------------------------------------------------------------------- /src/core/tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhvg/fsds-llm/HEAD/src/core/tools.py -------------------------------------------------------------------------------- /src/utils/database/create_orders.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhvg/fsds-llm/HEAD/src/utils/database/create_orders.sql -------------------------------------------------------------------------------- /src/utils/database/create_products.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhvg/fsds-llm/HEAD/src/utils/database/create_products.sql -------------------------------------------------------------------------------- /src/utils/database/orders_insert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhvg/fsds-llm/HEAD/src/utils/database/orders_insert.py -------------------------------------------------------------------------------- /src/utils/database/products_insert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhvg/fsds-llm/HEAD/src/utils/database/products_insert.py -------------------------------------------------------------------------------- /src/utils/database/setup_products_db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhvg/fsds-llm/HEAD/src/utils/database/setup_products_db.py -------------------------------------------------------------------------------- /src/utils/faq/add_document_to_pgvector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhvg/fsds-llm/HEAD/src/utils/faq/add_document_to_pgvector.py -------------------------------------------------------------------------------- /src/utils/faq/enrich_faq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhvg/fsds-llm/HEAD/src/utils/faq/enrich_faq.py -------------------------------------------------------------------------------- /src/utils/faq/faq.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhvg/fsds-llm/HEAD/src/utils/faq/faq.json -------------------------------------------------------------------------------- /src/utils/faq/faq_enriched.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhvg/fsds-llm/HEAD/src/utils/faq/faq_enriched.json -------------------------------------------------------------------------------- /src/vectordb/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhvg/fsds-llm/HEAD/src/vectordb/docker-compose.yml -------------------------------------------------------------------------------- /src/vectordb/init.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhvg/fsds-llm/HEAD/src/vectordb/init.sql -------------------------------------------------------------------------------- /test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhvg/fsds-llm/HEAD/test.py -------------------------------------------------------------------------------- /ui/__init__.py: -------------------------------------------------------------------------------- 1 | # Empty file to make the directory a Python package 2 | -------------------------------------------------------------------------------- /ui/bot_ui.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhvg/fsds-llm/HEAD/ui/bot_ui.py -------------------------------------------------------------------------------- /uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhvg/fsds-llm/HEAD/uv.lock --------------------------------------------------------------------------------