2.1 KiB
2.1 KiB
import ClassPropertyRef from '@site/src/components/ClassPropertyRef.tsx';
OpenAI
The OpenAI class can be used to access OpenAI models like gpt-4 and gpt-3.5-turbo.
If you are running a local model with an OpenAI-compatible API, you can also use the OpenAI class by changing the api_base argument.