https://github.com/spryker-community/aissist
Natural language shopping in your Spryker store
https://github.com/spryker-community/aissist
hackathon hackathon-september-2024 spryker
Last synced: about 1 year ago
JSON representation
Natural language shopping in your Spryker store
- Host: GitHub
- URL: https://github.com/spryker-community/aissist
- Owner: spryker-community
- License: other
- Created: 2024-09-11T08:52:02.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-13T18:40:26.000Z (over 1 year ago)
- Last Synced: 2025-02-16T03:18:02.304Z (over 1 year ago)
- Topics: hackathon, hackathon-september-2024, spryker
- Language: PHP
- Homepage:
- Size: 332 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AIssistant
Ever walked into a shop and started talking with the shop assistant to figure out what you wanted? With AIssistant, we aim to provide a seamless experience, helping you out with your shopping decisions.
## 📹 Team Demo
[To be updated]
## Pre-requisite
* OpenAI account with some credits
* Configured assistant, which can be created using the OpenAI Playground
* Upload existing products to the OpenAI Playground as a JSON file

Example of the file to upload: [products.json](data/import/common/DE/openai_product.json)
Set up the prompt as follows:
```
TBD
```
## Installation
1. Clone the repository
2. Install Spryker like a usual B2C demoshop
3. Provide the config
```
$config[AissistantConstants::OPENAI_API_KEY] = 'YOUR_OPENAI_API_KEY_HERE';
$config[AissistantConstants::ASSISTANT_ID] = 'ASSISTANT_ID_HERE';
```
4. Run the following command to install additional products
```
vendor/bin/console data:import --config=data/import/common/sports_setup.yml
```
## Caveats
* Currently the whole demoshop is commited to this repository, as an initial hackathon project. The extraction of the module is postponed to a later stage.
* There should be a special command / cronjob to update the products in the OpenAI Playground, as the products in the demoshop are updated.
* The response time is too long, and too many tokens are used. This should be optimized.