Skip to content
 
 

Latest commit

 

History

27 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Annotation project pipeline

Code style: black

Api Documentation

localhost:8080/pipeline/docs

Settings

Caching

  • If you want to develop using the pipeline as api endpoint, we recommend caching the results, to reduce the OpenAI requests.
  • You can toggle caching in the environment file
    • Note: It is required to restart the service to enable the change

The caching is simply based on the provided document_id. Multiple requests with the same document_id will then return the same result, independent of the actual content.

You can delete all cached results by deleting the uploads folder.

Development setup

You can choose between Pycharm (Professional Edition) and VsCode as a development environment.

Run Project

Clone the setup project and follow the instructions

Git hooks

Update git hooks settings

git config core.hooksPath ./.githooks
chmod 744 ./.githooks/pre-commit
chmod 744 ./.githooks/commit-msg

Select Interpreter

Same setup as in the api project, but with different image/container

Code Formatting

See api project

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages