Perplexity AI
perplexityaiPerplexity AI provides conversational AI models for generating human-like text responses
Acciones disponibles (1)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
PerplexityAISearchPERPLEXITYAI_PERPLEXITY_AI_SEARCHAcciónPerplexity ai search interfaces with perplexity ai to perform search queries and return responses from a range of models. this action manages requests to perplexity ai and processes the resulting completions, which may include text, citations, and images based on selected models and settings. key features include: autoprompting to enhance and refine queries, choice of ai models for various content and performance requirements, temperature settings to manage response randomness, top k and top p filters to fine-tune response generation. beta features include citations and images in results, and response streaming for dynamic interaction. note: the parameters 'presence penalty' and 'frequency penalty' are mutually exclusive and cannot be used simultaneously.
PERPLEXITYAI_PERPLEXITY_AI_SEARCHAcciónPerplexity ai search interfaces with perplexity ai to perform search queries and return responses from a range of models. this action manages requests to perplexity ai and processes the resulting completions, which may include text, citations, and images based on selected models and settings. key features include: autoprompting to enhance and refine queries, choice of ai models for various content and performance requirements, temperature settings to manage response randomness, top k and top p filters to fine-tune response generation. beta features include citations and images in results, and response streaming for dynamic interaction. note: the parameters 'presence penalty' and 'frequency penalty' are mutually exclusive and cannot be used simultaneously.
Parámetros de entrada
modelstringenumThe name of the model to use for generating completions. Choose a model based on the desired balance between performance and resource usage. For more information check https://docs.perplexity.ai/guides/model-cards
sonarsonar-reasoning-prosonar-reasoningsonar-protop_kintegerLimits the number of high-probability tokens to consider for generation. Set to 0 to disable. For e.g 0, 40, 80
top_pnumberNucleus sampling threshold, controlling the token selection pool based on cumulative probability. For e.g 0.1, 0.9, 1.0
streambooleanWhether to stream the response incrementally using server-sent events. For e.g True, False
max_tokensintegerThe maximum number of tokens to generate. Sum of max_tokens and prompt tokens should not exceed the model's context window limit. Unspecified leads to generation until stop token or context window end. For e.g 100, 150, 200
temperaturenumberControls generation randomness, with 0 being deterministic and values approaching 2 being more random. For e.g 0.0, 0.7, 1.5
userContentstringObligatorioThe user's Content for asking questions or providing input. For e.g How many stars are there in our galaxy?
return_imagesbooleanWhether to include images in the model's response. Image generation feature is in closed beta. For e.g True, False
systemContentstringObligatorioThe system's Content for specifying instructions. For e.g Be precise and concise., Be elaborate and descriptive
presence_penaltynumberPenalty for new tokens based on their current presence in the text, encouraging topic variety. Mutually exclusive with the 'frequency_penalty' parameter. For example: -2.0, 0.0, 2.0.
return_citationsbooleanWhether to include citations in the model's response. Citations feature is in closed beta. For e.g True, False
frequency_penaltynumberMultiplicative penalty for new tokens based on their frequency in the text to avoid repetition. Mutually exclusive with the 'presence_penalty' parameter. For example: 0.5, 1.0, 1.5.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not