# Create an OpenAI client client = OpenAI( base_url='http://localhost:11434/v1/', api_key='ollama', )