generative-ai-for-beginners
generative-ai-for-beginners copied to clipboard
feat: Lesson 8 - Building a Search Applications - TypeScript sample
This PR is a TypeScript version of Lesson 08: Building a Search Applications
How to run the example?
-
Create a
.envfile at the root of the application and include the information forAZURE_OPENAI_ENDPOINTandAZURE_OPENAI_KEY. There is a file named.env-sampleexplaining how to create the.envfile. -
To install dependencies, navigate to (under the lesson 08):
cd: `typescript/search-app
Then execute the command:
npm install
- After the necessary dependencies are installed in the application, open the terminal and run the command:
npm run build
- Finally, execute the command:
npm run start
- You will have the application running perfectly.
You can see in action in this gif below:
- Final result in dotnet sample:
- Final result in TypeScript sample:
👋 Thanks for contributing @glaucia86! We will review the pull request and get back to you soon.