---
title: undefined
---

# OAI\_token =

# oauth\_token =

````
### Instantiate the Query Engine




```python
query_engine = CogniswitchQueryEngine(
    cs_token=cs_token, OAI_token=OAI_token, apiKey=oauth_token
)
````

### Use the query\_engine to chat with your knowledge

```
answer_response = query_engine.query_knowledge("tell me about cogniswitch")
print(answer_response)
```

```
CogniSwitch is a platform that offers a range of features to users. It helps users organize, explore, and manage data in an intuitive way. The platform visualizes complex ideas, simplifies them, and fine-tunes knowledge. Users can also consume knowledge on-demand through the CogniSwitch API. Furthermore, CogniSwitch provides data storage management capabilities.
```
