Make a semantic search with 4D Write Pro documents and 4D AIKit component (4D 20 R10)
Find more information on the blog post.
-
OpenAI API Key: This demo requires an OpenAI API key.
- You can generate one by creating an account at: https://platform.openai.com/account/api-keys
- Best practices for API key usage:
- Never share your key publicly (e.g., in GitHub repositories).
- Store the key securely (use environment variables or a config file not under version control).
- Monitor your usage on the OpenAI dashboard to avoid unexpected charges.
- Consider setting usage limits or alerts on your OpenAI account.
-
Download the latest Release version of 4D from: https://us.4d.com/product-download
Or the latest Beta version from: https://discuss.4d.com -
Follow the activation steps for 4D here: https://developer.4d.com/docs/GettingStarted/installation
- Clone or download the GitHub repository containing the 4D project to your local machine. Need help? Check out this blog post.
- Open the 4D project in 4D by navigating to File > Open Project. More details here: Open a project
- Add your OpenAI API key by clicking on the "API Key" button at the top right.
- Play with this HDI.
- Navigate to the Mode > Return to Design Mode menu to view the code.
By following these steps, you will be able to successfully install and run the 4D project.