| Crates.io | asimov-openai-module |
| lib.rs | asimov-openai-module |
| version | 0.0.3 |
| created_at | 2025-05-20 11:49:49.679573+00 |
| updated_at | 2025-11-06 06:13:53.019434+00 |
| description | ASIMOV OpenAI module. |
| homepage | https://github.com/asimov-modules |
| repository | https://github.com/asimov-modules/asimov-openai-module |
| max_upload_size | |
| id | 1681185 |
| size | 59,832 |
ASIMOV OpenAI module.
asimov module install openai -v
cargo install asimov-openai-module
asimov-openai-prompter
Provide an API key either by module configuration
asimov module config openai
Or through environment variables
export OPENAI_API_KEY="..."
| Name | Environment Variable | Default |
|---|---|---|
endpoint |
OPENAI_API_ENDPOINT |
https://api.openai.com |
model |
OPENAI_MODEL |
gpt-5-mini |
$ # either:
$ asimov module config openai
Enter value for `api-key`
> doesntmatter
Enter value for `endpoint` (optional, default: `https://api.openai.com`)
> http://localhost:52415
Enter value for `model` (optional, default: `gpt-5-mini`)
> llama-3.2-3b
$ # or:
$ export OPENAI_API_ENDPOINT="http://localhost:52415"
$ export OPENAI_MODEL="llama-3.2-3b"
$ # then:
$ echo "Why is the sky blue?" | asimov-openai-prompter
echo "Why is the sky blue?" | asimov-openai-prompter
git clone https://github.com/asimov-modules/asimov-openai-module.git