If you're looking to contribute, feel free to check out the issues section on Github. Alternatively a great way to start is by raising any issues that you may have encountered here!
-
Fork and clone the repository:
git clone https://github.com/<your_user>/nyx-sdk.git cd nyx-sdk
-
Install the package in development mode
cd nyx_extras make setup-poetry install
Notes:
- This will also install optional extras (such as
langchain-openai
). - If you only want to install
nyx-client
in development mode, use the equivalent targets in thenyx_client
directory instead.
or if building with NyxLangChain install with
- This will also install optional extras (such as
-
Create a .env file with
nyx-client init
, this will create your .env which will be picked up by nyx-sdk, containing user details associated with your nyx instance. This file should be in the directory you are running your scripts from. -
Start building! Running the examples, or creating your own script to test changes, and new features.
-
When you're happy with the work, raise a PR from your fork back into the nyx-sdk repo.
-
Start building! Run the examples, create your own script to test changes or add new features.
-
Run linter and tests
make fix tests
-
Test-build the package
make clean build
-
Test-build the docs
# Output entrypoint is docs/index.html make docs
Note: Documentation output is not tracked in the repo
-
When you're happy with the work, raise a PR from your fork back into the nyx-sdk repo. 🎉