Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Show child attributes
from rapida import ( ConnectionConfig, GetAssistantToolRequest, get_assistant_tool, ) from pprint import pprint connection_config = ConnectionConfig.default_connection_config( ConnectionConfig.with_sdk("{rapida-api-key}") ) response = get_assistant_tool( client_cfg=connection_config, request=GetAssistantToolRequest( id="{assistant_tool_id}", assistantId="{assistant_id}" ), ) pprint(response)
import ( "context" "fmt" "os" clients "github.com/rapidaai/rapida-go/rapida/clients" rapida_proto "github.com/rapidaai/rapida-go/rapida/clients/protos" connections "github.com/rapidaai/rapida-go/rapida/connections" ) func main() { // Configure client connection using RAPIDA_PROJECT_CREDENTIAL environment variable connectionConfig := connections. DefaultconnectionConfig(connections.WithSDK(os.Getenv("RAPIDA_PROJECT_CREDENTIAL"))) // Retrieve assistant tool information response, err := clients.GetAssistantTool(context.Background(), connectionConfig, &rapida_proto.GetAssistantToolRequest{ AssistantId: 3456789876541212, Id: 567898765456788765, }) if err != nil { fmt.Printf("Error while making call using rapida: %+v\n", err) return } // Print the response fmt.Printf("Rapida calling response: %+v\n", response) }
import { ConnectionConfig, GetAssistantTool, GetAssistantToolRequest, } from "@rapidaai/nodejs"; (async () => { const connectionCfg = ConnectionConfig.DefaultConnectionConfig( ConnectionConfig.WithSDK({ ApiKey: process.env.RAPIDA_PROJECT_CREDENTIAL, }) ); getAssistantTool(connectionCfg, 45678903456789); })(); async function getAssistantTool(connectionCfg, assistantId, toolId) { const request = new GetAssistantToolRequest(); request.setAssistantId(assistantId); request.setId(toolId); try { const response = await GetAssistantTool(connectionCfg, request); console.log("Assistant Tool Response:", response.toObject()); } catch (error) { console.error("Error with GetAssistantTool call:", error); } }