Skip to content

Commit

Permalink
docs: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Angular2Guy committed Dec 10, 2023
1 parent a6d9d10 commit f001327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The project shows howto use Spring AI to generate answers based on a provided se
In the runPostgresql.sh file are the commands to pull and run the Postgresql Docker image with vector extension locally.

## OpenAI Api key
To get the OpenAI api key you need to create a account at [https://platform.openai.com](https://platform.openai.com) and create a key in the user settings. That key has to be added in the [application.properties](https://platform.openai.com) at the key: 'spring.ai.openai.api-key'.
To get the OpenAI api key you need to create a account at [https://platform.openai.com](https://platform.openai.com) and create a key in the user settings. That key has to be added in the [application.properties](https://github.com/Angular2Guy/AIDocumentLibraryChat/blob/master/backend/src/main/resources/application.properties) at the key: 'spring.ai.openai.api-key'.
As alternative it can be provided as the environment variable 'OPEN-API-KEY'.

## Setup
Expand Down

0 comments on commit f001327

Please sign in to comment.