This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: Published other packages as nlip-sdk and nlip-server
NLIP Server
This is a simple implementation of a NLIP Server written using fastapi in python
A sample chatbot solution is provided in soln directory
Installation
To set up this python project, create a virtual environment for python using the following commands (You can use your own environment name instead of using the provided name of env_server:
$ python -m venv env_server
$ source env_server/bin/activate
Next, install the required packages:
$ pip install -r requirements.txt
Now the python environment is setup and you can run the server
Running the chatbot server
Change to the directory soln/chat and invoke the following commands:
$ ./run_llama.sh
or
$ ./run_mistral.sh
This will start the fast api server with chat on one of the two LLM models.
Note: this solution assumes that you have an Ollama Server running at a server which needs to be configured. See the README.md in soln directory for more details.
Defining a new Solution
To define a new solution, you need to provide a subclass of NLIPApplicaiton which needs to define its specialized version of NLIPSession. Both NLIPApplication and NLIPSession are defined in module nlip.
The main routine of the solution should call the start_server routine in module server to create an instance of the solution server-side application.
Metadata
Release files for nlip 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nlip-0.1.0.tar.gz | 11.4 kB | Without provenance | Details for nlip-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nlip-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for nlip-0.1.0-py3-none-any.whl |
Total release size: 24.5 kB
Release files / nlip-0.1.0.tar.gz
| Download URL | nlip-0.1.0.tar.gz |
|---|---|
| Size | 11.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1c6d01c585d2a0ecdb8e6fa5906951567bd068fdd03c39ab3afce59fa9b6524b
|
|
BLAKE2b-256 checksum How to use checksums |
9dd7a3c255334340319c81b69cbe41728d971e49985d64faba4e32f5aed67331
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.2 Darwin/23.3.0
|
Release files / nlip-0.1.0-py3-none-any.whl
| Download URL | nlip-0.1.0-py3-none-any.whl |
|---|---|
| Size | 13.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
70816b3902b9d5753278e69b1dd722c98d169fb82ab80d155bd7f020ca30d7d1
|
|
BLAKE2b-256 checksum How to use checksums |
8c4ffeca860c29afa57511778afaf13f93c7e1c116a619bd797ac7dbc4f31f95
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.2 Darwin/23.3.0
|
Security for nlip 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.