Power Guard AI
  1. AI
Power Guard AI
  • Getting Started
    • hello-powerguard (starts here!)
    • ai-controller-guide
    • chat-controller-guide
    • health-controller-guide
    • models-controller-guide
    • usage-controller-guide
  • AI
    • Generate AI responses for form fields
      POST
    • Generate AI text completion
      POST
    • Generate embeddings for input text
      POST
  • Chat
    • Process chat completions
      POST
    • Process chat completions
      POST
  • Health
    • Check API health status
      GET
  • Models
    • List all available models
      GET
    • Get specific model information
      GET
  • Usage
    • Get API usage statistics
      GET
  • Esquemas
    • Schemas
      • CompletionRequest
      • ChatCompletionChoice
      • EmbeddingRequest
      • ChatCompletionFunction
      • FunctionParameters
      • ChatCompletionMessage
      • Message
      • ChatCompletionResponse
      • QuestionModel
      • ChatCompletionToolCall
      • ChatCompletionUsage
      • QuestionRequest
      • QuestionValidationRules
      • Choice
      • Tool
      • ChoiceMessage
      • ToolFunction
      • CompletionResponse
      • DataItem
      • EmbeddingResponse
      • HealthResponseModel
      • ModelCapabilities
      • ModelInfo
      • ResponseModel
      • Role
      • SingleReadOnlyMemory
      • SingleReadOnlySpan
      • Usage
      • UsageModel
  1. AI

Generate embeddings for input text

POST
/api/AI/Embedding
Converts input text into vector embeddings for semantic analysis

Requisição

Parâmetros Bodyapplication/json

Examples

Respostas

🟢200OK
text/plain
Returns embedding vectors
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://ai.thrust.com.br/api/AI/Embedding' \
--header 'Content-Type: application/json' \
--data-raw '{
    "Prompt": "string"
}'
Response Response Example
{
    "data": [
        {
            "embedding": {
                "Length": 0,
                "IsEmpty": true,
                "Span": {
                    "Length": 0,
                    "IsEmpty": true
                }
            }
        }
    ]
}
Modificado emĀ 2025-07-16 20:45:28
PƔgina anterior
Generate AI text completion
Próxima pÔgina
Process chat completions
Built with