Skip to content

Basic integration

Tomasz Staniewski edited this page Jan 9, 2023 · 3 revisions

Basic integration

OpenAi integration

Getting api token

  1. To use pick-your-autocompletion with OpenAI backend, you first need to create new account in https://beta.openai.com/ page if you don't have one already.
  2. Visit https://beta.openai.com/account/api-keys and generate new api key.

image

Pasting api token

  1. Launch your IDE
  2. Go to the Setting -> Language & Frameworks -> Pick Your Autocompletion
  3. Pick OpenAi integration
  4. Paste your token
  5. Done!

HuggingFace integration

Getting api token

  1. To use pick-your-autocompletion with OpenAI backend, you first need to create new account in https://huggingface.co/ page if you don't have one already.
  2. Visit https://huggingface.co/settings/tokens and generate new api key.

image

Pasting api token

  1. Launch your IDE
  2. Go to the Setting -> Language & Frameworks -> Pick Your Autocompletion
  3. Pick HuggingFace integration
  4. Paste your token
  5. Done!