autogen/dotnet/website/articles/Function-call-with-ollama-and-litellm.md
Install LiteLLM and start the proxy server  You can install LiteLLM by following the instructions on the [LiteLLM website](https://docs.litellm.ai/docs/). ```bash pip install 'litellm[proxy]' ```  Then, start the proxy server by running the following command:  ```bash litellm --model ollama_chat/dolphincoder --port 4000 ```  This will start an openai-api compatible proxy server at `http://localhost:4000`. You can verify if the server is running by observing the following output in the terminal:  ```bash #------------------------------------------------------------# #                                                            # #         'The worst thing about this product is...'          # #        https://github.com/BerriAI/litellm/issues/new        # #                                                            # #------------------------------------------------------------#  INFO:     Application startup complete. INFO:     Uvicorn running on http://0.0.0.0:4000 (Press CTRL+C to quit) ``` 