{"id":21170207,"url":"https://github.com/dcarpintero/create-cohere-connector","last_synced_at":"2026-03-19T19:08:44.985Z","repository":{"id":220011193,"uuid":"749898722","full_name":"dcarpintero/create-cohere-connector","owner":"dcarpintero","description":"Bootstrap a custom Cohere Connector to enhance Cohere's LLMs with dynamic, up-to-date data.","archived":false,"fork":false,"pushed_at":"2024-02-02T17:58:01.000Z","size":77,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-07T03:52:08.727Z","etag":null,"topics":["cohere-ai","cohere-connectors","generative-ai","large-language-models","retrieval-augmented-generation"],"latest_commit_sha":null,"homepage":"https://docs.cohere.com/docs/connectors","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dcarpintero.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-01-29T16:07:08.000Z","updated_at":"2024-02-01T23:41:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"57e4a0ce-b764-4dca-bb3b-8c08b504ed57","html_url":"https://github.com/dcarpintero/create-cohere-connector","commit_stats":null,"previous_names":["dcarpintero/create-cohere-connector"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/dcarpintero/create-cohere-connector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcarpintero%2Fcreate-cohere-connector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcarpintero%2Fcreate-cohere-connector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcarpintero%2Fcreate-cohere-connector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcarpintero%2Fcreate-cohere-connector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcarpintero","download_url":"https://codeload.github.com/dcarpintero/create-cohere-connector/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcarpintero%2Fcreate-cohere-connector/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29561783,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T21:50:49.831Z","status":"ssl_error","status_checked_at":"2026-02-17T21:46:15.313Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["cohere-ai","cohere-connectors","generative-ai","large-language-models","retrieval-augmented-generation"],"created_at":"2024-11-20T15:57:08.588Z","updated_at":"2026-02-17T23:02:14.940Z","avatar_url":"https://github.com/dcarpintero.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Create Cohere Connector [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-green.svg)](https://github.com/dcarpintero/create-cohere-connector/) [![PyPi](https://img.shields.io/pypi/v/create-cohere-connector)](https://pypi.org/project/create-cohere-connector/)\n\nGenerates a custom Cohere Connector with one command. [Cohere Connectors](https://docs.cohere.com/docs/connectors) enable to combine Cohere's large language models (LLMs), which power the [Chat API](https://docs.cohere.com/docs/cochat-beta), with up-to-date factual information. They enhance Cohere's retrieval augmented generation (RAG) offering, and can respond to user questions and prompts with substantive, grounded generations that contain citations to external public or private knowledge bases.\n\nNote that this is an experimental project. If something doesn’t work, please [file an issue](https://github.com/dcarpintero/create-cohere-connector/issues/new).\n\n**You might also refer to the official Cohere repo for Connectors: https://github.com/cohere-ai/quick-start-connectors**\n\n## 🧮 What is included?\n\nYour environment will have everything you need to quickly prototype and deploy a custom Cohere Connector:\n\n- ``API service`` implementing the required ``search`` endpoint using [FastAPI](https://fastapi.tiangolo.com/) (support for [Flask](https://flask.palletsprojects.com/) is planned). \n- ``Bearer Token Authentication`` using the Authorization header in HTTP requests. \n- ``Pydantic models`` for data validation and serialization.\n- ``Client class`` to retrieve data from a custom data source.\n- ``Deploy script`` to register your connector with Cohere.\n\n## 🚀 Quickstart\n\n1. Install ``create-cohere-connector`` package:\n\nYou might install this package globall:\n\n```sh\npoetry self add poetry-scaffold\n```\n\nor within a virtual environment:\n\n```sh\n# Windows\npy -m venv .venv\n.venv\\scripts\\activate\n```\n\n```sh\n# macOS/Linux\npython3 -m venv .venv\nsource .venv/bin/activate\n```\n\n```sh\npip3 install create-cohere-connector\n```\n\n2. Bootstrap your project:\n\n```sh\npoetry run create-cohere-connector\n```\n\nThis will prompt for a project name:\n\n```sh\nProject name [myconnector]: hello-connector\nApi framework [FastAPI]: FastAPI\nAuthentication [Bearer]: Bearer\nCaching [None]: None\n```\n\ngenerate the initial project structure:\n\n```\nmyconnector\n├── README.md\n├── deploy.py\n├── Dockerfile\n├── pyproject.toml\n├── poetry.lock\n├── .gitignore\n└── provider\n    ├── __init__.py\n    ├── app.py\n    ├── config.py\n    ├── client.py\n    ├── provider.py\n    ├── exceptions.py\n    └── datamodels.py\n```\n\nand install dependencies:\n\n```sh\n✅ Project created successfully!\n```\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./static/create-connector-01.png\" width=\"700\"\u003e\n\u003c/p\u003e\n\n3. Set environment variables\n\nYou might rename ``.env_template`` to ``.env``, and complete it.\n\n4. Span a shell within the virtual environment\n\n```sh\npoetry shell\n```\n\n5. Install dependencies\n\n```sh\npoetry config virtualenvs.in-project true\npoetry install --no-root\n```\n\n6. Start API service\n\n```sh\npoetry run uvicorn app:app --app-dir provider --port 5000 --reload\n```\n\n7. Deploy Cohere Connector\n\n```sh\npython deploy.py\n```\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./static/create-connector-02.png\" width=\"700\"\u003e\n\u003c/p\u003e\n\n## 👩‍💻 Contributions\n\nIf you would like to contribute, here are some features that we are planning to add:\n\n- Improve Poetry virtual environment creation\n- Flask support\n- Semantic caching\n- OAuth 2.0\n- Data models scaffolding\n\n## ⚖️ License\n\nCreate Cohere Connector is open source software licensed as Apache 2.0. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcarpintero%2Fcreate-cohere-connector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcarpintero%2Fcreate-cohere-connector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcarpintero%2Fcreate-cohere-connector/lists"}