{"id":32894304,"url":"https://github.com/delitamakanda/faq-worker","last_synced_at":"2026-05-16T06:35:56.530Z","repository":{"id":321480803,"uuid":"1084317021","full_name":"delitamakanda/faq-worker","owner":"delitamakanda","description":"Agent IA de foire aux questions pour mon portfolio pro","archived":false,"fork":false,"pushed_at":"2025-10-31T20:14:27.000Z","size":65,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-10T08:02:37.507Z","etag":null,"topics":["agentic-ai","deno","typescript"],"latest_commit_sha":null,"homepage":"https://dlitamakand-faq-worker-18.deno.dev/","language":"TypeScript","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/delitamakanda.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-27T14:18:00.000Z","updated_at":"2025-10-31T20:14:30.000Z","dependencies_parsed_at":"2025-10-29T22:28:54.894Z","dependency_job_id":null,"html_url":"https://github.com/delitamakanda/faq-worker","commit_stats":null,"previous_names":["delitamakanda/faq-worker"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/delitamakanda/faq-worker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delitamakanda%2Ffaq-worker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delitamakanda%2Ffaq-worker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delitamakanda%2Ffaq-worker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delitamakanda%2Ffaq-worker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/delitamakanda","download_url":"https://codeload.github.com/delitamakanda/faq-worker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delitamakanda%2Ffaq-worker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33092712,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["agentic-ai","deno","typescript"],"created_at":"2025-11-10T08:00:42.120Z","updated_at":"2026-05-16T06:35:56.525Z","avatar_url":"https://github.com/delitamakanda.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# faq-worker (API)\n\nEndpoint JSON pour FAQ IA.  \nCherche `faq_index.json` dans le repo portftolio avec cache ETag.\n\n## Déploiement\n\n1. Crée un nouveau projet sur https://dash.deno.com\n2. \"New Project\" → \"Import from GitHub\" → sélectionne ce repo\n3. Dans **Settings → Environment Variables**, ajoute :\n   - `OPENAI_API_KEY` = sk-xxxx\n   - `RAW_INDEX_URL`  = https://raw.githubusercontent.com/delitamakanda/portftolio/main/static/faq_index.json\n   - `ALLOW_ORIGIN`   = https://delitamakanda.github.io (ou \"*\" pour tester)\n4. Deploy → récupère l’URL : `https://dlitamakand-faq-worker-18.deno.dev/`\n\n## Appel\n\nPOST `https://dlitamakand-faq-worker-18.deno.dev/` avec JSON `{ \"question\": \"...\" }`.\n\nRéponse : `{ \"answer\": \"...\" }`.\n\n## Notes\n- L’index est refresh toutes les 15 minutes et à chaque cold start (If-None-Match ETag).\n- Modèle embeddings: `text-embedding-3-small`\n- Modèle LLM: `gpt-4o-mini`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelitamakanda%2Ffaq-worker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdelitamakanda%2Ffaq-worker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelitamakanda%2Ffaq-worker/lists"}