Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nfcampos/test-project-abcde
https://github.com/nfcampos/test-project-abcde
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nfcampos/test-project-abcde
- Owner: nfcampos
- License: mit
- Created: 2023-09-28T11:13:20.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-28T11:23:10.000Z (about 1 year ago)
- Last Synced: 2024-10-28T19:21:39.308Z (about 2 months ago)
- Language: Python
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# `langchain-test-project-abcde`
## Customise
To customise this project, edit the following files:
- `langchain_test_project_abcde/chain.py` contains an example chain, which you can edit to suit your needs.
- `langchain_test_project_abcde/server.py` contains a FastAPI app that serves that chain using `langserve`. You can edit this to add more endpoints or customise your server.
- `tests/test_chain.py` contains tests for the chain. You can edit this to add more tests.
- `pyproject.toml` contains the project metadata, including the project name, version, and dependencies. You can edit this to add more dependencies or customise your project metadata.## Install dependencies
```bash
poetry install
```## Usage
To run the project locally, run
```
make start
```This will launch a webserver on port 8000.
## Deploy
To deploy the project, first build the docker image:
```
docker build . -t langchain_test_project_abcde:latest
```Then run the image:
```
docker run -p 8000:8000 langchain_test_project_abcde:latest
```## Contributing
For information on how to set up your dev environment and contribute, see [here](.github/CONTRIBUTING.md).