Needle
needleNeedle provides retrieval-augmented generation (RAG) tools that enable semantic search across your data, facilitating the development of AI agents and applications.
Acciones disponibles (5)
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.
Create CollectionNEEDLE_CREATE_COLLECTIONAcciónTool to create a new collection. use after confirming the collection name.
NEEDLE_CREATE_COLLECTIONAcciónTool to create a new collection. use after confirming the collection name.
Parámetros de entrada
namestringObligatorioName of the collection. Must be unique within your account.
metadataobjectOptional arbitrary JSON metadata associated with the collection.
descriptionstringOptional human-readable description of the collection.
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 files from a collectionNEEDLE_DELETE_FILES_FROM_COLLECTIONAcciónTool to delete files from a specific collection by providing file ids. use after confirming valid file ids to remove from the collection.
NEEDLE_DELETE_FILES_FROM_COLLECTIONAcciónTool to delete files from a specific collection by providing file ids. use after confirming valid file ids to remove from the collection.
Parámetros de entrada
file_idsstring[]ObligatorioList of file IDs to delete from the collection
collection_idstringObligatorioThe unique identifier of the collection from which to delete files
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 collection statsNEEDLE_GET_COLLECTION_STATSAcciónTool to retrieve statistics for a specific collection by its id. use when you need document count, index size, and timestamps after confirming the collection exists.
NEEDLE_GET_COLLECTION_STATSAcciónTool to retrieve statistics for a specific collection by its id. use when you need document count, index size, and timestamps after confirming the collection exists.
Parámetros de entrada
collection_idstringObligatorioThe unique identifier of the collection.
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 Collection FilesNEEDLE_LIST_COLLECTION_FILESAcciónTool to list all files within a specific collection by its id. use when you have a collection id and need to retrieve its files. supports pagination.
NEEDLE_LIST_COLLECTION_FILESAcciónTool to list all files within a specific collection by its id. use when you have a collection id and need to retrieve its files. supports pagination.
Parámetros de entrada
limitintegerNumber of files to return per page, must be >=1
offsetintegerNumber of items to skip for pagination, must be >=0
collection_idstringObligatorioUnique identifier of the collection
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 CollectionsNEEDLE_LIST_COLLECTIONSAcciónTool to list collections. use after authenticating with your api key to page through collections.
NEEDLE_LIST_COLLECTIONSAcciónTool to list collections. use after authenticating with your api key to page through collections.
Parámetros de entrada
limitintegerMaximum number of collections to return
offsetintegerNumber of collections to skip before collecting results
Parámetros de salida
dataobject[]ObligatorioList of collections returned by the API
errorstringError if any occurred during the execution of the action
paginationobjectObligatorioPagination information
successfulbooleanObligatorioWhether or not the action execution was successful or not