Generate LangChain config quickly
Project description
doccano-mini
doccano-mini is a few-shot annotation tool to assist the development of applications with Large language models (LLMs). Once you annotate a few text, you can test your task (e.g. text classification) with LLMs, then download the LangChain's config.
Note: This is an experimental project.
Installation
pip install doccano-mini
Usage
For this example, we will be using OpenAI’s APIs, so we need to set the environment variable in the terminal.
export OPENAI_API_KEY="..."
Then, we can run the server.
doccano-mini
Now, we can open the browser and go to http://localhost:8501/
to see the interface.
Step1: Annotate a few text
In this step, we will annotate a few text. We can add a new text by clicking the +
button. Try it out by double-clicking on any cell. You'll notice you can edit all cell values.
Step2: Test your task
In this step, we will test your task. We can enter a new test to the text box and click the Predict
button. Then, we can see the result of the test.
Step3: Download the config
In this step, we will download the LangChain's config. We can click the Download
button to download it.
Development
poetry install
streamlit run doccano_mini/app.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for doccano_mini-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a35a4dc733b17d59442c206afbc4a014247cca461c27bb4d0980418556d28e3 |
|
MD5 | fec84e6a5c7ece5a97fb1625604060ab |
|
BLAKE2b-256 | 6a90c91588b0bed05209690b474e5d76efeca606b5330053dc71469ddeed062d |