Update customization.md
This commit is contained in:
parent
32c11ab7f3
commit
923995f784
1 changed files with 6 additions and 0 deletions
|
|
@ -25,6 +25,12 @@ If you have access, simply set `default_model` to the model you would like to us
|
|||
|
||||
See our [5 minute quickstart](https://github.com/continuedev/ggml-server-example) to run any model locally with ggml. While these models don't yet perform as well, they are free, entirely private, and run offline.
|
||||
|
||||
### Self-hosting an open-source model
|
||||
|
||||
If you want to self-host on Colab, RunPod, Replicate, HuggingFace, Haven, or another hosting provider you will need to wire up a new LLM class. It only needs to implement 3 methods: `stream_complete`, `complete`, and `stream_chat`, and you can see examples in `continuedev/src/continuedev/libs/llm`.
|
||||
|
||||
If by chance the provider has the exact same API interface as OpenAI, the `GGML` class will work for you out of the box, after changing the endpoint at the top of the file.
|
||||
|
||||
### Azure OpenAI Service
|
||||
|
||||
If you'd like to use OpenAI models but are concerned about privacy, you can use the Azure OpenAI service, which is GDPR and HIPAA compliant. After applying for access [here](https://azure.microsoft.com/en-us/products/ai-services/openai-service), you will typically hear back within only a few days. Once you have access, set `default_model` to "gpt-4", and then set the `azure_openai_info` property in the `ContinueConfig` like so:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue