- Ingest files into your SciPhi Cloud
- Search over the ingested files
- Request or stream a RAG (Retrieval-Augmented Generation) response
- Use the RAG Agent for more complex, interactive queries
Installing the R2R CLI &/or SDK
PyPi is currently the primary supported method for installing the R2R client. Similarly, the javascript client can be installed through npm, though this does not yet include a CLI.Set your environment variable
Start by clicking the copy icon next to your deployed pipeline URL (https://sciphi-9ab60cab-0ff5-4cea-9d41-80f6d7607c3e-qwpin2swwa-ue.a.run.app
in the image below) and then exporting this into your local environment variable:

Ingesting file(s)
The following command ingests a default sample filer2r/examples/data/aristotle.txt
:
Executing a search
Perform a search query:RAG Response
Generate a RAG response:Stream a RAG Response
Stream a RAG response:Using the RAG Agent
The RAG Agent provides a more interactive and intelligent way to query your knowledge base. Here’s an example of how to use it:$SCIPHI_CLOUD_URL
with your actual deployed pipeline URL in all examples.