Langbase
langbaseLangbase is a serverless AI developer platform that enables developers to build, collaborate, and deploy AI agents and applications with composable AI infrastructure.
Acciones disponibles (10)
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.
Split Content into ChunksLANGBASE_CHUNKER_SPLIT_CONTENTAcciónTool to split content into smaller chunks. use when processing large text segments to fit downstream limits.
LANGBASE_CHUNKER_SPLIT_CONTENTAcciónTool to split content into smaller chunks. use when processing large text segments to fit downstream limits.
Parámetros de entrada
contentstringObligatorioThe input text content to be chunked.
overlapintegerNumber of characters to overlap between consecutive chunks. Must be ≥0.
chunk_sizeintegerDesired size of each chunk in characters. Must be ≥1 if provided.
chunker_typestringenumMode for chunking. Use 'semantic' to preserve sentence boundaries; 'basic' for fixed-size splits.
basicsemantic
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
Create ThreadLANGBASE_CREATE_THREADAcciónTool to create a new conversation thread. use when starting a fresh chat session or grouping messages into a distinct thread.
LANGBASE_CREATE_THREADAcciónTool to create a new conversation thread. use when starting a fresh chat session or grouping messages into a distinct thread.
Parámetros de entrada
messagesobject[]Optional initial messages for the thread
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
List Documents in MemoryLANGBASE_DOCUMENT_LISTAcciónTool to list documents in a specific memory. use when you need to fetch document metadata (and optionally vectors) from a memory after confirming its name. supports pagination via limit and startafter parameters.
LANGBASE_DOCUMENT_LISTAcciónTool to list documents in a specific memory. use when you need to fetch document metadata (and optionally vectors) from a memory after confirming its name. supports pagination via limit and startafter parameters.
Parámetros de entrada
limitintegerMaximum number of documents to return
memoryNamestringObligatorioName of the memory to list documents from
startAfterstringPagination token to start after a specific document
includeVectorsbooleanWhether to include vector embeddings in each document
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
Get Thread DetailsLANGBASE_GET_THREADAcciónTool to retrieve details of a specific conversation thread. use when you need the full thread details by its id after confirming its existence.
LANGBASE_GET_THREADAcciónTool to retrieve details of a specific conversation thread. use when you need the full thread details by its id after confirming its existence.
Parámetros de entrada
threadIdstringObligatorioThe unique identifier of the thread to retrieve
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
List Thread MessagesLANGBASE_LIST_THREAD_MESSAGESAcciónTool to list all messages in a conversation thread. use after obtaining the thread id to fetch its messages.
LANGBASE_LIST_THREAD_MESSAGESAcciónTool to list all messages in a conversation thread. use after obtaining the thread id to fetch its messages.
Parámetros de entrada
limitintegerNumber of messages to return per page.
beforestringReturn messages created before this message ID.
threadIdstringObligatorioUnique identifier of the conversation thread.
Parámetros de salida
dataobject[]ObligatorioArray of message objects.
errorstringError if any occurred during the execution of the action
objectstringObligatorioResponse object type, value is 'list'.
has_morebooleanObligatorioWhether there are more messages available.
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create MemoryLANGBASE_MEMORY_CREATEAcciónTool to create a new memory. use when storing a new memory record in langbase after confirming memory details.
LANGBASE_MEMORY_CREATEAcciónTool to create a new memory. use when storing a new memory record in langbase after confirming memory details.
Parámetros de entrada
namestringObligatorioThe name of the memory.
metadataobjectArbitrary metadata for the memory.
descriptionstringA description of the memory.
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
Delete MemoryLANGBASE_MEMORY_DELETEAcciónTool to delete a specific memory. use when you need to permanently remove a stored memory by its name.
LANGBASE_MEMORY_DELETEAcciónTool to delete a specific memory. use when you need to permanently remove a stored memory by its name.
Parámetros de entrada
memory_namestringObligatorioName of the memory to delete
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
List MemoriesLANGBASE_MEMORY_LISTAcciónTool to list all memory objects. use when you need to fetch stored memories for context retrieval.
LANGBASE_MEMORY_LISTAcciónTool to list all memory objects. use when you need to fetch stored memories for context retrieval.
Parámetros de entrada
limitintegerMaximum number of memory objects to return
offsetintegerNumber of memory objects to skip for pagination
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
Create a new pipeLANGBASE_PIPE_CREATEAcciónTool to create a new pipe. use after configuring pipe parameters. returns pipe details including api key and url.
LANGBASE_PIPE_CREATEAcciónTool to create a new pipe. use after configuring pipe parameters. returns pipe details including api key and url.
Parámetros de entrada
jsonbooleanEnforce the output to be in JSON format
namestringObligatorioName of the pipe
stopstring[]Up to 4 sequences where the API will stop generating further tokens
modelstringPipe LLM model in format 'provider:model_id'
storebooleanIf enabled, both prompt and completions will be stored
top_pnumberNucleus sampling parameter between 0.0 and 1.0
statusstringenumVisibility status of the pipe
publicprivatestreambooleanIf enabled, the output will be streamed in real-time
upsertbooleanUpsert pipe. If true, updates existing pipe with same name
moderatebooleanIf enabled, Langbase blocks flagged requests automatically
max_tokensintegerMaximum number of tokens in the response
descriptionstringShort description of the pipe
temperaturenumberSampling temperature between 0.0 and 2.0
tool_choicestringenumControls which (if any) tool is called by the model
autorequiredobjectpresence_penaltynumberPenalizes a word based on its occurrence in the input text
frequency_penaltynumberPenalizes a word based on how frequently it appears in the training data
parallel_tool_callsbooleanIf true, calls multiple tools in parallel
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
List all pipesLANGBASE_PIPE_LISTAcciónTool to list all pipes. use after authentication to retrieve the complete list of pipes.
LANGBASE_PIPE_LISTAcciónTool to list all pipes. use after authentication to retrieve the complete list of pipes.
Parámetros de entrada
Sin parámetros.
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