Ax Chat GPT directly from the terminal
ax how to open a file in python
- Each terminal window has it's own context
Create or edit the file $HOME/.config/ax_gpt.json
{
"openai_api_key": "OPENAI API KEY",
"system_prompt": "You are a programmers assistant",
"model": "gpt-3.5-turbo",
"sessions_depth": 4
}
openai_api_key
- get it from https://platform.openai.comsystem_prompt
- change the personality of the AImodel
- change the used models. More details heresessions_depth
- how many past messages should the answer take into account. Note: the larger the context, the more tokens you spend for each request