Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit

Permalink
fix: move to Enjoin
Browse files Browse the repository at this point in the history
  • Loading branch information
0xcadams committed Jun 11, 2024
1 parent ffb71bf commit 604c7b2
Show file tree
Hide file tree
Showing 18 changed files with 66 additions and 70 deletions.
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": [
"@changesets/changelog-github",
{ "repo": "propology/hopfield" }
{ "repo": "EnjoinHQ/hopfield" }
],
"commit": false,
"access": "public",
Expand Down
10 changes: 5 additions & 5 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

Thanks for your interest in contributing to Hopfield! Please take a moment to review this document **before submitting a pull request.**

If you want to contribute, but aren't sure where to start, you can create a [new discussion](https://github.com/propology/hopfield/discussions).
If you want to contribute, but aren't sure where to start, you can create a [new discussion](https://github.com/EnjoinHQ/hopfield/discussions).

> **Note** **Please ask first before starting work on any significant new features.**
>
> It's never a fun experience to have your pull request declined after investing time and effort into a new feature. To avoid this from happening, we request that contributors create a [feature request](https://github.com/propology/hopfield/discussions/new?category=ideas) to first discuss any API changes or significant new ideas.
> It's never a fun experience to have your pull request declined after investing time and effort into a new feature. To avoid this from happening, we request that contributors create a [feature request](https://github.com/EnjoinHQ/hopfield/discussions/new?category=ideas) to first discuss any API changes or significant new ideas.
<br>

Expand Down Expand Up @@ -38,13 +38,13 @@ This guide covers more advanced topics. Pick the topics based on your needs.
To start contributing to the project, clone it to your local machine using git:

```bash
git clone https://github.com/propology/hopfield.git
git clone https://github.com/EnjoinHQ/hopfield.git
```

Or the [GitHub CLI](https://cli.github.com):

```bash
gh repo clone propology/hopfield
gh repo clone EnjoinHQ/hopfield
```

<div align="right">
Expand Down Expand Up @@ -154,7 +154,7 @@ The first time a PR with a changeset is merged after a release, a new PR will au

### Creating a snapshot release

If a PR has changesets, you can create a [snapshot release](https://github.com/changesets/changesets/blob/main/docs/snapshot-releases.md) by [manually dispatching](https://github.com/propology/hopfield/actions/workflows/snapshot.yml) the Snapshot workflow. This publishes a tagged version to npm with the PR branch name and timestamp.
If a PR has changesets, you can create a [snapshot release](https://github.com/changesets/changesets/blob/main/docs/snapshot-releases.md) by [manually dispatching](https://github.com/EnjoinHQ/hopfield/actions/workflows/snapshot.yml) the Snapshot workflow. This publishes a tagged version to npm with the PR branch name and timestamp.

<div align="right">
<a href="#advanced-guide">&uarr; back to top</a></b>
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ body:
label: Validations
description: Before submitting this issue, please make sure you do the following.
options:
- label: Checked there isn't [already an issue](https://github.com/propology/hopfield/issues) that exists for the bug you encountered.
- label: Checked there isn't [already an issue](https://github.com/EnjoinHQ/hopfield/issues) that exists for the bug you encountered.
required: true
- label: Read the [Contributing Guide](https://github.com/propology/hopfield/blob/main/.github/CONTRIBUTING.md).
- label: Read the [Contributing Guide](https://github.com/EnjoinHQ/hopfield/blob/main/.github/CONTRIBUTING.md).
required: true
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Question
url: https://github.com/propology/hopfield/discussions/new?category=q-a
url: https://github.com/EnjoinHQ/hopfield/discussions/new?category=q-a
about: Ask questions and discuss with other community members.
- name: Feature Request
url: https://github.com/propology/hopfield/discussions/new?category=ideas
url: https://github.com/EnjoinHQ/hopfield/discussions/new?category=ideas
about: Requests features or brainstorm ideas for new functionality.
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ What changes are made in this PR? Is it a feature or a bug fix?

## Additional Information

- [ ] I read the [contributing guide](https://github.com/propology/hopfield/blob/main/.github/CONTRIBUTING.md)
- [ ] I read the [contributing guide](https://github.com/EnjoinHQ/hopfield/blob/main/.github/CONTRIBUTING.md)
- [ ] I added documentation related to the changes made.
- [ ] I added or updated tests related to the changes made.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023-present Propology
Copyright (c) 2023-present Enjoin

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<p align="center">
<a href="https://hopfield.ai">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/propology/hopfield/main/.github/hopfield-w-text.png">
<img alt="Hopfield logo" src="https://raw.githubusercontent.com/propology/hopfield/main/.github/hopfield-white-w-text.png" width="auto" height="120">
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/EnjoinHQ/hopfield/main/.github/hopfield-w-text.png">
<img alt="Hopfield logo" src="https://raw.githubusercontent.com/EnjoinHQ/hopfield/main/.github/hopfield-white-w-text.png" width="auto" height="120">
</picture>
</a>
</p>
Expand All @@ -22,7 +22,7 @@
<img src="https://img.shields.io/npm/dm/hopfield?colorA=f6f8fa&colorB=f6f8fa&style=flat" alt="Downloads per month">
</picture>
</a>
<a href="https://github.com/propology/hopfield/blob/main/LICENSE">
<a href="https://github.com/EnjoinHQ/hopfield/blob/main/LICENSE">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/l/hopfield?colorA=21262d&colorB=21262d&style=flat">
<img src="https://img.shields.io/npm/l/hopfield?colorA=f6f8fa&colorB=f6f8fa&style=flat" alt="MIT License">
Expand Down Expand Up @@ -125,8 +125,7 @@ For full documentation, visit [hopfield.ai](https://hopfield.ai).

## Community

If you have questions or need help, reach out to the community at the [Hopfield GitHub Discussions](https://github.com/propology/hopfield/discussions)
or join the [Propology Discord](https://discord.gg/2hag5fc6) and check out the `🐇-hopfield` channel.
If you have questions or need help, reach out to the community in the [Hopfield GitHub Discussions](https://github.com/EnjoinHQ/hopfield/discussions).

## Inspiration

Expand All @@ -144,4 +143,4 @@ If you like Hopfield, go star them on Github too.

## Contributing

If you're interested in contributing to Hopfield, please read our [contributing docs](https://github.com/propology/hopfield/blob/main/.github/CONTRIBUTING.md) **before submitting a pull request**.
If you're interested in contributing to Hopfield, please read our [contributing docs](https://github.com/EnjoinHQ/hopfield/blob/main/.github/CONTRIBUTING.md) **before submitting a pull request**.
11 changes: 5 additions & 6 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default withTwoslash(
provider: 'local',
},
editLink: {
pattern: 'https://github.com/propology/hopfield/edit/main/docs/:path',
pattern: 'https://github.com/EnjoinHQ/hopfield/edit/main/docs/:path',
text: 'Suggest changes to this page',
},
footer: {
Expand All @@ -89,11 +89,11 @@ export default withTwoslash(
items: [
{
text: 'Release Notes ',
link: 'https://github.com/propology/hopfield/releases',
link: 'https://github.com/EnjoinHQ/hopfield/releases',
},
{
text: 'Contributing ',
link: 'https://github.com/propology/hopfield/blob/main/.github/CONTRIBUTING.md',
link: 'https://github.com/EnjoinHQ/hopfield/blob/main/.github/CONTRIBUTING.md',
},
],
},
Expand Down Expand Up @@ -173,9 +173,8 @@ export default withTwoslash(
},
siteTitle: false,
socialLinks: [
{ icon: 'twitter', link: 'https://twitter.com/propology_' },
{ icon: 'discord', link: 'https://discord.gg/2hag5fc6' },
{ icon: 'github', link: 'https://github.com/propology/hopfield' },
{ icon: 'twitter', link: 'https://twitter.com/EnjoinHQ' },
{ icon: 'github', link: 'https://github.com/EnjoinHQ/hopfield' },
],
},
title:
Expand Down
4 changes: 2 additions & 2 deletions docs/chat/functions-streaming.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ const response = await chat.get(

::: info Feedback

To influence these features, reach out on [Discord](https://discord.gg/2hag5fc6) or
[Github Discussions](https://github.com/propology/hopfield/discussions).
To influence these features, reach out on
[Github Discussions](https://github.com/EnjoinHQ/hopfield/discussions).
We want your feedback!

:::
4 changes: 2 additions & 2 deletions docs/chat/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ guarantees with Zod.
::: info API Providers

We currently only support OpenAI, but are
working on adding further providers. Reach out on [Discord](https://discord.gg/2hag5fc6) or
[Github Discussions](https://github.com/propology/hopfield/discussions) if you have any suggestions!
working on adding further providers. Reach out on
[Github Discussions](https://github.com/EnjoinHQ/hopfield/discussions) if you have any suggestions!

:::

Expand Down
4 changes: 2 additions & 2 deletions docs/embeddings/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ guarantees with Zod, and composability across providers.
::: info API Providers

We currently only support OpenAI, but are
working on adding further providers. Reach out on [Discord](https://discord.gg/2hag5fc6) or
[Github Discussions](https://github.com/propology/hopfield/discussions) if you have any suggestions!
working on adding further providers. Reach out on
[Github Discussions](https://github.com/EnjoinHQ/hopfield/discussions) if you have any suggestions!

:::

Expand Down
2 changes: 1 addition & 1 deletion docs/frameworks/next-13.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ include any custom code for streaming token by token.

### Backpressure

The readable stream handles backpressure with a pull-based approach. See our [tests](https://github.com/propology/hopfield/blob/main/src/utils.test.ts) for how Hopfield handles backpressure. For a more detailed explanation on "backpressure" and how it factors into streaming LLM responses, please see the
The readable stream handles backpressure with a pull-based approach. See our [tests](https://github.com/EnjoinHQ/hopfield/blob/main/src/utils.test.ts) for how Hopfield handles backpressure. For a more detailed explanation on "backpressure" and how it factors into streaming LLM responses, please see the
[`vercel/ai` docs](https://sdk.vercel.ai/docs/concepts/backpressure-and-cancellation).

## Usage
Expand Down
11 changes: 5 additions & 6 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,16 @@ const members = [
<img img-light src="https://img.shields.io/npm/dm/hopfield?colorA=fafafa&colorB=fafafa&style=flat" alt="Downloads per month">
</picture>
</a>
<a href="https://github.com/propology/hopfield/blob/main/LICENSE">
<a href="https://github.com/EnjoinHQ/hopfield/blob/main/LICENSE">
<picture>
<img img-dark src="https://img.shields.io/npm/l/hopfield?colorA=2e2e33&colorB=2e2e33&style=flat" alt="MIT License">
<img img-light src="https://img.shields.io/npm/l/hopfield?colorA=fafafa&colorB=fafafa&style=flat" alt="MIT License">
</picture>
</a>
<a href="https://github.com/propology/hopfield">
<a href="https://github.com/EnjoinHQ/hopfield">
<picture>
<img img-dark src="https://img.shields.io/github/stars/propology/hopfield?colorA=2e2e33&colorB=2e2e33&style=flat" alt="GitHub Repo stars">
<img img-light src="https://img.shields.io/github/stars/propology/hopfield?colorA=fafafa&colorB=fafafa&style=flat" alt="GitHub Repo stars">
<img img-dark src="https://img.shields.io/github/stars/EnjoinHQ/hopfield?colorA=2e2e33&colorB=2e2e33&style=flat" alt="GitHub Repo stars">
<img img-light src="https://img.shields.io/github/stars/EnjoinHQ/hopfield?colorA=fafafa&colorB=fafafa&style=flat" alt="GitHub Repo stars">
</picture>
</a>
</div>
Expand Down Expand Up @@ -262,8 +262,7 @@ Oh, and liking Typescript is a nice-to-have.

## Community

If you have questions or need help, reach out to the community at the [Hopfield GitHub Discussions](https://github.com/propology/hopfield/discussions)
or join the [Propology Discord](https://discord.gg/2hag5fc6) and check out the `🐇-hopfield` channel.
If you have questions or need help, reach out to the community in the [Hopfield GitHub Discussions](https://github.com/EnjoinHQ/hopfield/discussions).

<div align="center" style="width:100%;">
<VPTeamMembers :members="members" />
Expand Down
25 changes: 12 additions & 13 deletions examples/next-13/src/app/docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ guarantees with Zod, and composability across providers.
::: info API Providers
We currently only support OpenAI, but are
working on adding further providers. Reach out on [Discord](https://discord.gg/2hag5fc6) or
[Github Discussions](https://github.com/propology/hopfield/discussions) if you have any suggestions!
working on adding further providers. Reach out on
[Github Discussions](https://github.com/EnjoinHQ/hopfield/discussions) if you have any suggestions!
:::
Expand Down Expand Up @@ -359,8 +359,8 @@ guarantees with Zod.
::: info API Providers
We currently only support OpenAI, but are
working on adding further providers. Reach out on [Discord](https://discord.gg/2hag5fc6) or
[Github Discussions](https://github.com/propology/hopfield/discussions) if you have any suggestions!
working on adding further providers. Reach out on
[Github Discussions](https://github.com/EnjoinHQ/hopfield/discussions) if you have any suggestions!
:::
Expand Down Expand Up @@ -538,8 +538,8 @@ const response = await chat.get(
::: info Feedback
To influence these features, reach out on [Discord](https://discord.gg/2hag5fc6) or
[Github Discussions](https://github.com/propology/hopfield/discussions).
To influence these features, reach out on
[Github Discussions](https://github.com/EnjoinHQ/hopfield/discussions).
We want your feedback!
:::
Expand Down Expand Up @@ -936,16 +936,16 @@ const members = [
<img img-light src="https://img.shields.io/npm/dm/hopfield?colorA=fafafa&colorB=fafafa&style=flat" alt="Downloads per month">
</picture>
</a>
<a href="https://github.com/propology/hopfield/blob/main/LICENSE">
<a href="https://github.com/EnjoinHQ/hopfield/blob/main/LICENSE">
<picture>
<img img-dark src="https://img.shields.io/npm/l/hopfield?colorA=2e2e33&colorB=2e2e33&style=flat" alt="MIT License">
<img img-light src="https://img.shields.io/npm/l/hopfield?colorA=fafafa&colorB=fafafa&style=flat" alt="MIT License">
</picture>
</a>
<a href="https://github.com/propology/hopfield">
<a href="https://github.com/EnjoinHQ/hopfield">
<picture>
<img img-dark src="https://img.shields.io/github/stars/propology/hopfield?colorA=2e2e33&colorB=2e2e33&style=flat" alt="GitHub Repo stars">
<img img-light src="https://img.shields.io/github/stars/propology/hopfield?colorA=fafafa&colorB=fafafa&style=flat" alt="GitHub Repo stars">
<img img-dark src="https://img.shields.io/github/stars/EnjoinHQ/hopfield?colorA=2e2e33&colorB=2e2e33&style=flat" alt="GitHub Repo stars">
<img img-light src="https://img.shields.io/github/stars/EnjoinHQ/hopfield?colorA=fafafa&colorB=fafafa&style=flat" alt="GitHub Repo stars">
</picture>
</a>
</div>
Expand Down Expand Up @@ -1156,8 +1156,7 @@ Oh, and liking Typescript is a nice-to-have.
## Community
If you have questions or need help, reach out to the community at the [Hopfield GitHub Discussions](https://github.com/propology/hopfield/discussions)
or join the [Propology Discord](https://discord.gg/2hag5fc6) and check out the 🐇-hopfield channel.
If you have questions or need help, reach out to the community in the [Hopfield GitHub Discussions](https://github.com/EnjoinHQ/hopfield/discussions).
<div align="center" style="width:100%;">
<VPTeamMembers :members="members" />
Expand Down Expand Up @@ -1207,7 +1206,7 @@ include any custom code for streaming token by token.
### Backpressure
The readable stream handles backpressure with a pull-based approach. See our [tests](https://github.com/propology/hopfield/blob/main/src/utils.test.ts) for how Hopfield handles backpressure. For a more detailed explanation on "backpressure" and how it factors into streaming LLM responses, please see the
The readable stream handles backpressure with a pull-based approach. See our [tests](https://github.com/EnjoinHQ/hopfield/blob/main/src/utils.test.ts) for how Hopfield handles backpressure. For a more detailed explanation on "backpressure" and how it factors into streaming LLM responses, please see the
[vercel/ai docs](https://sdk.vercel.ai/docs/concepts/backpressure-and-cancellation).
## Usage
Expand Down
2 changes: 1 addition & 1 deletion examples/next-13/src/app/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function Footer() {
<a
target="_blank"
rel="noopener noreferrer"
href="https://github.com/propology/hopfield/tree/main/examples/next-13"
href="https://github.com/EnjoinHQ/hopfield/tree/main/examples/next-13"
className="relative w-8 h-8"
>
<Image src={gh} alt="github logo" fill />
Expand Down
2 changes: 1 addition & 1 deletion examples/next-13/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const metadata = {
card: 'summary_large_image',
title: 'Hopfield with Server Components',
description: 'Hopfield with React Server Components streaming on the Edge',
creator: '@propology_',
creator: '@EnjoinHQ',
},
openGraph: {
type: 'website',
Expand Down
Loading

0 comments on commit 604c7b2

Please sign in to comment.