{"id":27370142,"url":"https://github.com/datastaxdevs/python_vector_shakespeare","last_synced_at":"2025-04-13T08:48:07.276Z","repository":{"id":194859405,"uuid":"691655625","full_name":"datastaxdevs/python_vector_shakespeare","owner":"datastaxdevs","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-27T02:35:05.000Z","size":6541,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2023-12-27T03:23:35.299Z","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/datastaxdevs.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}},"created_at":"2023-09-14T15:59:18.000Z","updated_at":"2023-12-27T02:04:45.000Z","dependencies_parsed_at":"2023-09-15T12:52:57.057Z","dependency_job_id":null,"html_url":"https://github.com/datastaxdevs/python_vector_shakespeare","commit_stats":null,"previous_names":["datastaxdevs/python_vector_shakespeare"],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datastaxdevs%2Fpython_vector_shakespeare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datastaxdevs%2Fpython_vector_shakespeare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datastaxdevs%2Fpython_vector_shakespeare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datastaxdevs%2Fpython_vector_shakespeare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datastaxdevs","download_url":"https://codeload.github.com/datastaxdevs/python_vector_shakespeare/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248688190,"owners_count":21145762,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2025-04-13T08:48:06.709Z","updated_at":"2025-04-13T08:48:07.252Z","avatar_url":"https://github.com/datastaxdevs.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shakespeare sample application for DataStax Python driver\n\n1. Using astra cli or manually grabbing from the Astra UI, populate a .env file with the following items:\n   ```\n   OPENAI_API_KEY=\u003ckey\u003e\n   ASTRA_DB_APPLICATION_TOKEN=\u003ctoken\u003e\n   ASTRA_DB_ID=\u003cid\u003e\n   ASTRA_DB_KEYSPACE=\"vector\"\n   ASTRA_DB_REGION=\"us-east1\"\n   ASTRA_DB_SECURE_BUNDLE_PATH=\u003cpath on your system\u003e\n   ```\n2. Create a \"vector\" keyspace in your database using the Astra UI\n3. `python -m pip -i requirements.txt`\n4. Run the population command with `python populate.py` - this will take a while\n5. Run the query with `python query.py \u003cword_count\u003e \"\u003cquery\u003e\"\n     Example: python query.py 50 \"How did Juliet die?\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatastaxdevs%2Fpython_vector_shakespeare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatastaxdevs%2Fpython_vector_shakespeare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatastaxdevs%2Fpython_vector_shakespeare/lists"}