Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spryker-community/aissist
https://github.com/spryker-community/aissist
hackathon hackathon-september-2024 spryker
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/spryker-community/aissist
- Owner: spryker-community
- License: other
- Created: 2024-09-11T08:52:02.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-09-13T18:45:22.000Z (5 months ago)
- Last Synced: 2024-11-06T02:32:54.631Z (3 months ago)
- Topics: hackathon, hackathon-september-2024, spryker
- Language: PHP
- Homepage:
- Size: 331 MB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
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![Upload JSON information](docs/vector_store.png)
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.