mirror of
https://github.com/danielmiessler/fabric
synced 2024-11-08 07:11:06 +00:00
Update README.md for #324
Closes #324 , showing how to connect to another server
This commit is contained in:
parent
24f44b41f2
commit
17fce1bea5
@ -203,6 +203,15 @@ fabric --help
|
||||
|
||||
### Using the `fabric` client
|
||||
|
||||
If you want to use it with OpenAI API compatible inference servers, such as [FastChat](https://github.com/lm-sys/FastChat) or [Helmholtz Blablador](http://helmholtz-blablador.fz-juelich.de), simply export the following environment variables:
|
||||
|
||||
- `export OPENAI_BASE_URL=https://YOUR-SERVER:8000/v1/`
|
||||
- `export DEFAULT_MODEL="YOUR_MODEL"`
|
||||
|
||||
And if your server needs authentication tokens, like Blablador does, you export the token the same way you would with OpenAI:
|
||||
|
||||
- `export OPENAI_API_KEY="YOUR TOKEN"`
|
||||
|
||||
Once you have it all set up, here's how to use it.
|
||||
|
||||
1. Check out the options
|
||||
|
Loading…
Reference in New Issue
Block a user