# ASIMOV OpenAI Module
[](https://unlicense.org)
[](https://crates.io/crates/asimov-openai-module)
[](https://docs.rs/asimov-openai-module)
[ASIMOV] OpenAI module.
## ✨ Features
- To be determined!
## 🛠️ Prerequisites
- [Rust] 1.85+ (2024 edition) if building from source code
## ⬇️ Installation
### Installation with [ASIMOV CLI]
```bash
asimov module install openai -v
```
### Installation from Source Code
```bash
cargo install asimov-openai-module
```
## 👉 Examples
```bash
asimov-openai-prompter
```
## ⚙ Configuration
Provide an API key either by module configuration
```bash
asimov module config openai
```
Or through environment variables
```bash
export OPENAI_API_KEY="..."
```
### Optional configuration
| `endpoint` | `OPENAI_API_ENDPOINT` | `https://api.openai.com` |
| `model` | `OPENAI_MODEL` | `gpt-5-mini` |
### Use a custom endpoint such as [Exo](https://github.com/exo-explore/exo)
```console
$ # 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:
## 📚 Reference
### Prompt
```bash
## 👨💻 Development
```bash
git clone https://github.com/asimov-modules/asimov-openai-module.git
```
---
[](https://x.com/intent/post?url=https://github.com/asimov-modules/asimov-openai-module&text=asimov-openai-module)
[](https://reddit.com/submit?url=https://github.com/asimov-modules/asimov-openai-module&title=asimov-openai-module)
[](https://news.ycombinator.com/submitlink?u=https://github.com/asimov-modules/asimov-openai-module&t=asimov-openai-module)
[](https://www.facebook.com/sharer/sharer.php?u=https://github.com/asimov-modules/asimov-openai-module)
[](https://www.linkedin.com/sharing/share-offsite/?url=https://github.com/asimov-modules/asimov-openai-module)
[ASIMOV]: https://asimov.sh
[ASIMOV CLI]: https://cli.asimov.sh
[JSON-LD]: https://json-ld.org
[KNOW]: https://know.dev
[RDF]: https://www.w3.org/TR/rdf12-primer/
[Rust]: https://rust-lang.org