ASIMOV OpenAI module.
- To be determined!
- Rust 1.85+ (2024 edition) if building from source code
Installation with ASIMOV CLI
asimov module install openai -vcargo install asimov-openai-moduleecho "Why is the sky blue?" | asimov-openai-prompterProvide an API key either by module configuration
asimov module config openaiOr through environment variables
export ASIMOV_OPENAI_API_KEY="..."| Name | Environment Variable | Default |
|---|---|---|
endpoint |
ASIMOV_OPENAI_API_ENDPOINT |
https://api.openai.com |
model |
ASIMOV_OPENAI_MODEL |
gpt-5-mini |
Use a custom endpoint such as Exo
$ # either:
$ asimov module config openai endpoint http://localhost:52415
$ asimov module config openai model llama-3.2-3b
$ # or:
$ export ASIMOV_OPENAI_API_ENDPOINT="http://localhost:52415"
$ export ASIMOV_OPENAI_MODEL="llama-3.2-3b"
$ # then:
$ echo "Why is the sky blue?" | asimov-openai-prompterecho "Why is the sky blue?" | asimov-openai-promptergit clone https://github.com/asimov-modules/asimov-openai-module.git