Skip to content

Latest commit

 

History

History
94 lines (82 loc) · 1.62 KB

gen-ai-provider-llm-and-embedding.md

File metadata and controls

94 lines (82 loc) · 1.62 KB

Fournisseurs de l'IA pris en compte par Tock.

Fournisseur de l'IA

Configuration du LLM

Configuration de l'Embedding

OpenAI
Docs

{
  "provider": "OpenAI",
  "api_key": {
    "type": "Raw",
    "value": "aebb4b****************7b25e3371"
  },
  "temperature": "1.0",
  "prompt": "Customized prompt for the use case",
  "model": "gpt-3.5-turbo"
}
{
  "provider": "OpenAI",
  "api_key": {
    "type": "Raw",
    "value": "aebb4b****************7b25e3371"
  },
  "model": "text-embedding-ada-002"
}

AzureOpenAIService
Docs

{
  "provider": "AzureOpenAIService",
  "api_key": {
    "type": "Raw",
    "value": "aebb4b****************7b25e3371"
  },
  "temperature": "1.0",
  "prompt": "Customized prompt for the use case",
  "api_base": "https://custom-api-name.azure-api.net",
  "deployment_name": "custom-deployment-name",
  "api_version": "2024-03-01-preview"
}
{
  "provider": "AzureOpenAIService",
  "api_key": {
    "type": "Raw",
    "value": "aebb4b****************7b25e3371"
  },
  "api_base": "https://custom-api-name.azure-api.net",
  "deployment_name": "custom-deployment-name",
  "api_version": "2024-03-01-preview"
}