This page shows you how to use the Vertex AI SDK to run Vertex AI Knowledge Engine tasks.
Prepare your Google Cloud console
To use Vertex AI Knowledge Engine, do the following:
Run this command in the Google Cloud console to set up your project.
gcloud config set {project}
Run this command to authorize your login.
gcloud auth application-default login
Run Vertex AI Knowledge Engine
Copy and paste this sample code into the Google Cloud console to run Vertex AI Knowledge Engine.
Python
To learn how to install or update the Vertex AI SDK for Python, see Install the Vertex AI SDK for Python. For more information, see the Python API reference documentation.
What's next
- To learn more about the RAG API, see Vertex AI Knowledge Engine API.
- To learn more about grounding, see Grounding overview.
- To learn more about Vertex AI Knowledge Engine, see Use Vertex AI Knowledge Engine.
- To learn more about grounding and RAG, see Ground responses using RAG.