Skip to main content

CogniSwitch

CogniSwitch is an API based data platform that enhances enterprise data by extracting entities, concepts and their relationships thereby converting this data into a multidimensional format and storing it in a database that can accommodate these enhancements. In our case the data is stored in a knowledge graph. This enhanced data is now ready for consumption by LLMs and other GenAI applications ensuring the data is consumable and context can be maintained. Thereby eliminating hallucinations and delivering accuracy.

Toolkit

See installation instructions and usage example.

from langchain_community.agent_toolkits import CogniswitchToolkit
API Reference:CogniswitchToolkit

Tools

CogniswitchKnowledgeRequest

Tool that uses the CogniSwitch service to answer questions.

from langchain_community.tools.cogniswitch.tool import CogniswitchKnowledgeRequest

CogniswitchKnowledgeSourceFile

Tool that uses the CogniSwitch services to store data from file.

from langchain_community.tools.cogniswitch.tool import CogniswitchKnowledgeSourceFile

CogniswitchKnowledgeSourceURL

Tool that uses the CogniSwitch services to store data from a URL.

from langchain_community.tools.cogniswitch.tool import CogniswitchKnowledgeSourceURL

CogniswitchKnowledgeStatus

Tool that uses the CogniSwitch services to get the status of the document or url uploaded.

from langchain_community.tools.cogniswitch.tool import CogniswitchKnowledgeStatus

Was this page helpful?


You can also leave detailed feedback on GitHub.