Setup
Visit this page to register a Cogniswitch account.- Signup with your email and verify your registration
- You will get a mail with a platform token and oauth token for using the services.
Import necessary libraries
Cogniswitch platform token, OAuth token and OpenAI API key
Instantiate the cogniswitch toolkit with the credentials
Get the list of cogniswitch tools
Instantiate the LLM
Use the LLM with the Toolkit
Create an agent with the LLM and Toolkit
Invoke the agent to upload a URL
Invoke the agent to upload a File
Invoke the agent to get the status of a document
Invoke the agent with query and get the answer
Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.