Skip to content

Helton-AI/AI21-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

AI21-demo

Code Description
completion.py Composing content
embed.py Getting embeddings of any texts
gec.py Correcting text errors
improvements.py Improving writing
paraphrase.py Conveying the same meaning using different words
rag.py Getting contextual answers with the RAG engine
search.py Semantic Search
summarize.py Getting summary of the text
segmentation_summarize.py Summary in paragraphs

Usage

  1. Set environment variables:
export AI21_API_KEY=
  1. Install and run the code:
pip3 install -r requirements.txt 
python3 src/completion.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages