Mistral AI
  1. Schemas
Mistral AI
  • Create Chat Completions
    POST
  • Create FIM Completions
    POST
  • Create Embeddings
    POST
  • List Available Models
    GET
  • Delete Model
    DELETE
  • Upload File
    POST
  • List Files
    GET
  • Retrieve File
    GET
  • Delete File
    DELETE
  • List Fine Tuning Jobs
    GET
  • Create Fine Tuning Job
    POST
  • Get Fine Tuning Job
    GET
  • Cancel Fine Tuning Job
    POST
  • Schemas
    • Schemas
      • Error
      • ErrorResponse
      • ModelList
      • Regular
      • JSON mode
      • Function calling
      • FIMCompletionRequest
      • Regular
      • JSON mode
      • Function calling
      • EmbeddingRequest
      • EmbeddingResponse
      • Model
      • UploadFileOut
      • ListFilesOut
      • RetrieveFileOut
      • DeleteFileOut
      • DeleteModelOut
      • FineTuneableModel
      • JobOut
      • JobsOut
      • TrainingParameters
      • WandbIntegrationOut
      • JobIn
      • WandbIntegration
      • CheckpointOut
      • DetailedJobOut
      • EventOut
      • MetricOut
      • UploadFileResponse
      • FileSchema
      • ListFilesResponse
      • RetrieveFileResponse
      • DeleteFileResponse
      • FIMCompletionResponse
      • JobMetadata
      • HTTPValidationError
      • ValidationError
  1. Schemas

FIMCompletionRequest

{
    "prompt": "def",
    "suffix": "return a+b",
    "model": "codestral-latest",
    "temperature": 0.7,
    "top_p": 1,
    "max_tokens": 1024,
    "min_tokens": 0,
    "stream": false,
    "random_seed": 1337,
    "stop": "string"
}
Built with