{"id":27370158,"url":"https://github.com/datastaxdevs/nodejs-vector-shakespeare","last_synced_at":"2025-04-13T08:48:09.763Z","repository":{"id":194808807,"uuid":"691333429","full_name":"datastaxdevs/nodejs-vector-shakespeare","owner":"datastaxdevs","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-14T17:32:01.000Z","size":3268,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2023-09-15T07:13:24.190Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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-14T01:10:35.000Z","updated_at":"2023-09-15T07:13:26.541Z","dependencies_parsed_at":"2023-09-15T07:23:35.907Z","dependency_job_id":null,"html_url":"https://github.com/datastaxdevs/nodejs-vector-shakespeare","commit_stats":null,"previous_names":["datastaxdevs/nodes-vector-shakespeare"],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datastaxdevs%2Fnodejs-vector-shakespeare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datastaxdevs%2Fnodejs-vector-shakespeare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datastaxdevs%2Fnodejs-vector-shakespeare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datastaxdevs%2Fnodejs-vector-shakespeare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datastaxdevs","download_url":"https://codeload.github.com/datastaxdevs/nodejs-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:09.273Z","updated_at":"2025-04-13T08:48:09.756Z","avatar_url":"https://github.com/datastaxdevs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shakespeare sample vector application for DataStax NodeJS 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. `npm install`\n4. Run the population command with `python populate.js` - this will take a while\n5. Run the query with `python query.js \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%2Fnodejs-vector-shakespeare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatastaxdevs%2Fnodejs-vector-shakespeare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatastaxdevs%2Fnodejs-vector-shakespeare/lists"}