[PR #604] [MERGED] CogniSwitch Connector #672

Closed
opened 2026-02-15 18:15:52 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/llama-hub/pull/604
Author: @CogniJT
Created: 10/25/2023
Status: Merged
Merged: 10/26/2023
Merged by: @anoopshrma

Base: mainHead: cogniswitch_llama


📝 Commits (5)

  • 569a9a4 CogniSwitch Connector
  • 83a03f0 Update test_cogniswitchtoolspec.py
  • 3b5960a Update README.md
  • 7a37e87 updated the urls and also conditions
  • b8c5099 used make format to format the changes accordingly

📊 Changes

8 files changed (+2568 additions, -1 deletions)

View changed files

llama_hub/tools/cogniswitch/README.md (+71 -0)
llama_hub/tools/cogniswitch/__init__.py (+5 -0)
llama_hub/tools/cogniswitch/base.py (+132 -0)
📝 llama_hub/tools/library.json (+12 -1)
llama_hub/tools/notebooks/cogniswitch.ipynb (+181 -0)
poetry.lock (+2106 -0)
tests/tests_cogniswitch/__init__.py (+0 -0)
tests/tests_cogniswitch/test_cogniswitchtoolspec.py (+61 -0)

📄 Description

A blocking dependency to https://github.com/run-llama/llama_index/pull/8466

Added Components

  • Tools
  • Tests
  • Notebook & Readme
  • Added to Library JSON

Description

This provides a connector to the CogniSwitch platform within LlamaIndex.

What is CogniSwitch?

CogniSwitch enhances the reliability of Generative AI applications for enterprises. It achieves this by leveraging AI to gather and organize knowledge from documented sources, eliminating biases and hallucinations in AI responses. The platform allows experts to curate and visualize this knowledge before it is published. The CogniSwitch API enables Gen AI applications to access this knowledge as needed, ensuring reliability. It seamlessly integrates with top Generative AI technologies and offers customized solutions for different business functions within an enterprise.

Why CogniSwitch?

Use CogniSwitch to build production ready applications that can consume, organize and retrieve knowledge flawlessly. Using the framework of your choice, in this case Llama-Index, CogniSwitch helps alleviate the stress of decision making when it comes to, choosing the right storage and retrieval formats. It also eradicates reliability issues and hallucinations when it comes to responses that are generated. Get started by interacting with your knowledge in just three simple steps

Type of Change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Added new unit/integration tests
  • Added new notebook (that tests end-to-end)
  • I stared at the code and made sure it makes sense

Suggested Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I ran make format; make lint to appease the lint gods

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/llama-hub/pull/604 **Author:** [@CogniJT](https://github.com/CogniJT) **Created:** 10/25/2023 **Status:** ✅ Merged **Merged:** 10/26/2023 **Merged by:** [@anoopshrma](https://github.com/anoopshrma) **Base:** `main` ← **Head:** `cogniswitch_llama` --- ### 📝 Commits (5) - [`569a9a4`](https://github.com/run-llama/llama-hub/commit/569a9a4fb7614df08dc481b3c893d29b3f615d94) CogniSwitch Connector - [`83a03f0`](https://github.com/run-llama/llama-hub/commit/83a03f0bd10cee0740f9c78e5eac6c637346656a) Update test_cogniswitchtoolspec.py - [`3b5960a`](https://github.com/run-llama/llama-hub/commit/3b5960ac8a8245a744493deebb10561468ae9126) Update README.md - [`7a37e87`](https://github.com/run-llama/llama-hub/commit/7a37e87bf6a8a609627c02f980aaf07f778e5945) updated the urls and also conditions - [`b8c5099`](https://github.com/run-llama/llama-hub/commit/b8c50994063b49fce8c5165e37c6e2cbbba914a7) used make format to format the changes accordingly ### 📊 Changes **8 files changed** (+2568 additions, -1 deletions) <details> <summary>View changed files</summary> ➕ `llama_hub/tools/cogniswitch/README.md` (+71 -0) ➕ `llama_hub/tools/cogniswitch/__init__.py` (+5 -0) ➕ `llama_hub/tools/cogniswitch/base.py` (+132 -0) 📝 `llama_hub/tools/library.json` (+12 -1) ➕ `llama_hub/tools/notebooks/cogniswitch.ipynb` (+181 -0) ➕ `poetry.lock` (+2106 -0) ➕ `tests/tests_cogniswitch/__init__.py` (+0 -0) ➕ `tests/tests_cogniswitch/test_cogniswitchtoolspec.py` (+61 -0) </details> ### 📄 Description A blocking dependency to https://github.com/run-llama/llama_index/pull/8466 # Added Components - Tools - Tests - Notebook & Readme - Added to Library JSON # Description This provides a connector to the CogniSwitch platform within LlamaIndex. ## What is CogniSwitch? CogniSwitch enhances the reliability of Generative AI applications for enterprises. It achieves this by leveraging AI to gather and organize knowledge from documented sources, eliminating biases and hallucinations in AI responses. The platform allows experts to curate and visualize this knowledge before it is published. The CogniSwitch API enables Gen AI applications to access this knowledge as needed, ensuring reliability. It seamlessly integrates with top Generative AI technologies and offers customized solutions for different business functions within an enterprise. ## Why CogniSwitch? Use CogniSwitch to build production ready applications that can consume, organize and retrieve knowledge flawlessly. Using the framework of your choice, in this case Llama-Index, CogniSwitch helps alleviate the stress of decision making when it comes to, choosing the right storage and retrieval formats. It also eradicates reliability issues and hallucinations when it comes to responses that are generated. Get started by interacting with your knowledge in just three simple steps ## Type of Change - New feature (non-breaking change which adds functionality) # How Has This Been Tested? Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration - [x] Added new unit/integration tests - [x] Added new notebook (that tests end-to-end) - [x] I stared at the code and made sure it makes sense # Suggested Checklist: - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [x] New and existing unit tests pass locally with my changes - [x] I ran `make format; make lint` to appease the lint gods --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 18:15:52 -05:00
yindo closed this issue 2026-02-15 18:15:52 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/llama-hub#672