Directory Structure
When adding a new provider, you need to create a directory for the provider that follows the following structure:
litellm/llms/
โโโ provider_name/
โโโ completion/ # use when endpoint is equivalent to openai's `/v1/completions`
โ โโโ handler.py
โ โโโ transformation.py
โโโ chat/ # use when endpoint is equivalent to openai's `/v1/chat/completions`
โ โโโ handler.py
โ โโโ transformation.py
โโโ embed/ # use when endpoint is equivalent to openai's `/v1/embeddings`
โ โโโ handler.py
โ โโโ transformation.py
โโโ audio_transcription/ # use when endpoint is equivalent to openai's `/v1/audio/transcriptions`
โ โโโ handler.py
โ โโโ transformation.py
โโโ rerank/ # use when endpoint is equivalent to cohere's `/rerank` endpoint.
โโโ handler.py
โโโ transformation.py