Apply suggestions from code review

Co-authored-by: Salman Paracha <salman.paracha@gmail.com>
This commit is contained in:
Adil Hafeez 2025-01-24 17:03:08 -08:00 committed by GitHub
parent cc223f52fc
commit 376e63a8bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,10 +35,9 @@ make outbound LLM calls.
Adding custom LLM Provider
--------------------------
We support any OpenAI compliant LLM provider for example mistral, openai, ollama etc. Out of the box we provide support for openai and mistral. But if you want to add your custom provider you can follow the below steps:
1. Add the llm provider in the `llm_providers` section of the `arch_config.yaml` file. And supply details of how to reach to the provider using "endpoint" and specify `https` in `protocol`` if your endpoint is hosted on public cloud.
We support any OpenAI compliant LLM for example mistral, openai, ollama etc. We offer first class support for openai and ollama. You can easily configure an LLM that communicates over the OpenAI API interface, by following the below guide.
For example following code block shows you how to add an ollama-supported LLM in the `arch_config.yaml` file.
.. code-block:: yaml
- name: local-llama