{"id":40968157,"url":"https://github.com/phdata/snowflake-cortex-rag-assistant-lab","last_synced_at":"2026-01-22T06:27:50.196Z","repository":{"id":250358388,"uuid":"833338775","full_name":"phdata/snowflake-cortex-rag-assistant-lab","owner":"phdata","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-05T19:52:24.000Z","size":490,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-05T20:30:49.942Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phdata.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-24T20:54:01.000Z","updated_at":"2024-12-05T19:52:27.000Z","dependencies_parsed_at":"2024-11-12T22:27:10.515Z","dependency_job_id":"520fccc9-a98a-4d20-9afa-1c0d0b746d26","html_url":"https://github.com/phdata/snowflake-cortex-rag-assistant-lab","commit_stats":null,"previous_names":["phdata/snowflake-cortex-rag-assistant-lab"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/phdata/snowflake-cortex-rag-assistant-lab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phdata%2Fsnowflake-cortex-rag-assistant-lab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phdata%2Fsnowflake-cortex-rag-assistant-lab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phdata%2Fsnowflake-cortex-rag-assistant-lab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phdata%2Fsnowflake-cortex-rag-assistant-lab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phdata","download_url":"https://codeload.github.com/phdata/snowflake-cortex-rag-assistant-lab/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phdata%2Fsnowflake-cortex-rag-assistant-lab/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28656838,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-22T06:27:49.442Z","updated_at":"2026-01-22T06:27:50.190Z","avatar_url":"https://github.com/phdata.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README for snowflake-cortex-rag-assistant-lab\n\n# Snowflake Cortex RAG Assistant Hands-On Lab \n\n## Prerequisites\n\n### Snowflake Trial Account \nA Snowflake account with a user created with ACCOUNTADMIN permissions. This user will be used to get things setup in Snowflake.\nWe recommend completing this lab in a free 30-day trial account, since it will allow full account administration to configure integrations.\n\nTo sign up for a trial account:\n1. Navigate to https://signup.snowflake.com/ in your browser\n2. Select \"Enterprise\" as your Snowflake Edition\n3. Select a cloud provider and region – we have validated this lab on AWS cloud in the `US East (Northern Virginia)` region.\n\nOnce you've registered, you'll get an email that will bring you to Snowflake so that you can sign in. Make sure to Activate your account and pick a username and password that you will remember. This will be important for logging in later on.\n\n### GitHub (optional)\n\nIf you'd like to commit changes to a fork of this repository, you will need a GitHub account.\nIf you don't already have a GitHub account you can create one for free.\nVisit the Join GitHub page to get started.\nIt is strongly recommended to use your personal GitHub profile, as you will need permissions to enable actions at a later step.\n\n### Snowflake Integration with GitHub\n\nConnecting GIT with Snowflake\n1. Sign into your Snowflake account\n2. Click + Create: `SQL Worksheet`\n3. Save the worksheet as: GITHUB_INTEGRATION\n4. Paste and run the following code:\n```\n // A user with the CREATE INTEGRATION privilege granted may run this query to create an API integration allowing users to connect to a git provider.\n // For more information, see: https://docs.snowflake.com/en/developer-guide/git/git-setting-up#create-an-api-integration-for-interacting-with-the-repository-api\ncreate or replace api integration GIT_INTEGRATION\n    api_provider = git_https_api\n    api_allowed_prefixes = ('https://github.com/')\n    enabled = true\n    allowed_authentication_secrets = all\n    -- comment='\u003ccomment\u003e';\n```\n### Clone the Git repository\n1. Return to the Snowflake homepage \u0026 refresh the page\n2. Click + Create: `Git Repository`\n3. Name your repository: `CORTEX_HOL_REPOSITORY`\n4. Paste the repository URL (https://github.com/phdata/snowflake-cortex-rag-assistant-lab/)\n5. Select the API Integration you created in Step 2.a  (`GIT_INTEGRATION`)\n6. Click + Database to create a database for this lab, with the name: `CORTEX_HOL_DB`\n7. Click Create\n\n### Create Notebook \n1. Click + Create: `Notebook`\n2. Select From Git Repository\n3. Select the file location in repository\n4. Select `CORTEX_HOL_DB`\n5. Select `CORTEX_HOL_REPOSITORY`\n6. Navigate to and select the Cortex_HOL.ipynb file\n7. Click Create\n\n## Complete the lab in the notebook!\nYou can now open the notebook you created in the prerequisites above.  \n\n### Using Snowflake to commit code to GIT (optional not required for this lab):\n\nCreate a Personal Access Token in your Github repository. Scroll down to \"Creating a fine-grained personal access token\" here: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphdata%2Fsnowflake-cortex-rag-assistant-lab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphdata%2Fsnowflake-cortex-rag-assistant-lab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphdata%2Fsnowflake-cortex-rag-assistant-lab/lists"}