-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6623b13
commit bf23d73
Showing
2 changed files
with
55 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
Configuration | ||
============= | ||
|
||
### provide your API keys via environment variables: | ||
|
||
```shell | ||
export OPENAI_API_KEY=YOUR-REAL-API-KEY | ||
``` | ||
|
||
### choose a model name: | ||
|
||
```shell | ||
export OPENAI_MODEL_NAME=gpt-4o | ||
``` | ||
|
||
### specify a API base url (for non-OpenAI models): | ||
|
||
```shell | ||
export OPENAI_BASE_URL=https://api.deepseek.com | ||
``` | ||
|
||
### tell about the model supported feature to enable Compatibility Mode: | ||
|
||
```shell | ||
export OPENAI_MODEL_FEATURES=tools | ||
``` | ||
|
||
this tells `ai-powered` to use tools to get a strctured response. | ||
|
||
or just: | ||
|
||
```shell | ||
export OPENAI_MODEL_FEATURES= | ||
``` | ||
|
||
this tells `ai-powered` to use normal chat mode to get a structured response. | ||
|
||
All features definition can be found [here](/src/ai_powered/llm/definitions.py) |