TextCraft icon indicating copy to clipboard operation
TextCraft copied to clipboard

How to change the environment variables?

Open Parils opened this issue 10 months ago • 1 comments

Parils avatar Mar 19 '25 03:03 Parils

​To configure the TEXTCRAFT_OPENAI_ENDPOINT environment variable for the TextCraft add-in in Microsoft Word, follow these steps:​

Open the Environment Variables Window:

Press Win + R to open the Run dialog.​

Type sysdm.cpl and press Enter to open the System Properties window.​

Navigate to the Advanced tab and click on Environment Variables.​

Add the Environment Variable:

In the Environment Variables window, under User variables, click New.​

For the Variable name, enter TEXTCRAFT_OPENAI_ENDPOINT.​

For the Variable value, input the desired API endpoint URL (e.g., https://api.openai.com/v1).​

Click OK to save the new variable.​

Restart Microsoft Word:

Close any open instances of Microsoft Word.​

Reopen Word to apply the new environment variable settings.

ranlyticsBrad avatar Mar 30 '25 00:03 ranlyticsBrad