diff --git a/instructor-hub-proxy/src/router.ts b/instructor-hub-proxy/src/router.ts index 12e4fd8..34d832f 100644 --- a/instructor-hub-proxy/src/router.ts +++ b/instructor-hub-proxy/src/router.ts @@ -41,7 +41,7 @@ router.get('/api/:branch/items', async (request) => { .bind(params.branch) .all(); - const url = `https://raw.githubusercontent.com/jxnl/instructor/${params.branch}/mkdocs.yml?raw=true`; + const url = `https://raw.githubusercontent.com/instructor-ai/instructor/${params.branch}/mkdocs.yml?raw=true`; const mkdoc_yml = await fetch(url).then((res) => res.text()); const mkdocs = YAML.parse(mkdoc_yml); var cookbooks = mkdocs.nav @@ -77,7 +77,7 @@ router.get('/api/:branch/items', async (request) => { router.get('/api/:branch/items/:slug/md', async (request) => { const { params, env } = request; await trackAnalytics(request, env, 'CONTENT_MARKDOWN', params.slug, params.branch); - const raw_content = `https://raw.githubusercontent.com/jxnl/instructor/${params.branch}/docs/hub/${params.slug}.md?raw=true`; + const raw_content = `https://raw.githubusercontent.com/instructor-ai/instructor/${params.branch}/docs/hub/${params.slug}.md?raw=true`; const content = await fetch(raw_content).then((res) => res.text()); return new Response(content, { diff --git a/instructor/cli/hub.py b/instructor/cli/hub.py index abd804e..090a688 100644 --- a/instructor/cli/hub.py +++ b/instructor/cli/hub.py @@ -24,10 +24,10 @@ class HubPage(BaseModel): count: int = 0 def get_doc_url(self) -> str: - return f"https://jxnl.github.io/instructor/hub/{self.slug}/" + return f"https://python.useinstructor.com/hub/{self.slug}/" def get_md_url(self) -> str: - return f"https://raw.githubusercontent.com/jxnl/instructor/{self.branch}/docs/hub/{self.slug}.md?raw=true" + return f"https://raw.githubusercontent.com/instructor-ai/instructor/{self.branch}/docs/hub/{self.slug}.md?raw=true" def render_doc_link(self) -> str: return f"[link={self.get_doc_url()}](doc)[/link]" diff --git a/mkdocs.yml b/mkdocs.yml index 4c492f1..a300671 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -2,7 +2,7 @@ site_name: Instructor site_author: Jason Liu site_description: A lightweight library for structured outputs with LLMs. repo_name: instructor -repo_url: https://github.com/jxnl/instructor/ +repo_url: https://github.com/instructor-ai/instructor/ site_url: https://python.useinstructor.com/ edit_uri: edit/main/docs/ copyright: Copyright © 2024 Jason Liu diff --git a/pyproject.toml b/pyproject.toml index 50d4c75..7772f4b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ authors = ["Jason Liu "] license = "MIT" readme = "README.md" packages = [{include = "instructor"}] -repository = "https://github.com/jxnl/instructor" +repository = "https://github.com/instructor-ai/instructor" [tool.poetry.dependencies] python = "^3.10"