{"id":21294606,"url":"https://github.com/trace2798/google_ai_hackathon","last_synced_at":"2025-03-15T17:12:37.123Z","repository":{"id":237792014,"uuid":"793460909","full_name":"trace2798/google_ai_hackathon","owner":"trace2798","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-02T20:52:22.000Z","size":2780,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-22T06:48:09.578Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://google-ai-hackathon.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trace2798.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-04-29T09:09:27.000Z","updated_at":"2024-05-02T21:19:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"8a3d7e95-c305-4c93-8de4-c73450d7ef05","html_url":"https://github.com/trace2798/google_ai_hackathon","commit_stats":null,"previous_names":["trace2798/google_ai_hackathon"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trace2798%2Fgoogle_ai_hackathon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trace2798%2Fgoogle_ai_hackathon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trace2798%2Fgoogle_ai_hackathon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trace2798%2Fgoogle_ai_hackathon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trace2798","download_url":"https://codeload.github.com/trace2798/google_ai_hackathon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243762269,"owners_count":20343979,"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":"2024-11-21T13:59:54.187Z","updated_at":"2025-03-15T17:12:37.103Z","avatar_url":"https://github.com/trace2798.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kenniscentrum: Where knowledge begins\n\nThis is a repository for my submission for Google AI Hackathon hosted on Devpost, which took place from March 18 until May 02, 2024.\n\nFeatures:\n\n- Implementation of Google Gemini API\n- Langchain integration with gemini api\n- Chat with your document\n- Langchain wiki tool to search wikipedia and then generate response back using LLM\n- Langchain agent integration with gemini AI to browser website and the internet.\n- Implementation of server actions.\n- Ability to soft/permanently delete thread and add custom prompt for thread.\n- Restore soft deleted threads and files.\n- Custom open source font.\n\n### Prerequisites\n\n**Node version 18.17.x** or higher. I am using v21.7.1 locally.\n**API keys mentioned below and in the .env.example file**\n\n### Cloning the repository\n\n```shell\ngit clone https://github.com/trace2798/google_ai_hackathon.git\n```\n\n### Install packages\n\n```shell\nnpm i\n```\n\n### Setup .env file\n\n```js\n# Using Clerk for authentication\nNEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=\nCLERK_SECRET_KEY=\n# For this application I am using a MySql database from aiven.\nDATABASE_URL=\n\nNEXT_PUBLIC_APP_URL=\"http://localhost:3000\"\n# Both of them will have the same API key, langchain excepts it in GOOGLE_API_KEY wording.\nGEMINI_API_KEY=\nGOOGLE_API_KEY=\n# using upstash vector as the vector database to store the embedded content of the document\nUPSTASH_VECTOR_REST_URL=\nUPSTASH_VECTOR_REST_TOKEN=\n\nBRAVE_SEARCH_API_KEY=\n```\n\n### Start the run the development server:\n\n```shell\nnpm run dev\n```\n\nOpen http://localhost:3000 with your browser to see the result.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrace2798%2Fgoogle_ai_hackathon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrace2798%2Fgoogle_ai_hackathon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrace2798%2Fgoogle_ai_hackathon/lists"}