YYug

Smarter work with Yug.

Chat, write and work with documents, faster. Build Yug into your apps with a simple API.

  • Summaries, answers and data from PDFs
  • Structured JSON with a schema
Developed by Anushka Techlab
YYug

Welcome back

Sign in to the Yug console.

YYug CONSOLE
Overview Chat API keys Docs Account
?
Signed in

Overview

Usage of your API keys, updated live.

–
Active keys
–
Requests · 24h
–
Tokens · 24h
–
Avg response · 24h

Requests

Last 14 days
Succeeded Failed

Get started

Three steps to your first request
  1. Create an API keyOne key per app makes revoking easy. Create key →
  2. Try Yug in the chatAsk anything, or attach a PDF. Open chat →
  3. Call the API from your appCopy a ready-made example. View docs →

Recent activity

Latest requests across your keys
WhenKeyStatusPagesTokensTime
Loading…

Chat

Y

How can I help you today?

I can chat, write, explain and work with PDFs you attach.

Enter to send · Shift+Enter for a new line · A PDF stays attached for follow-up questions

API keys

Keys let your apps call Yug. Each key is shown once, when you create it.

NameKeyCreatedLast usedRequestsTokensStatus
Loading…

API docs

Everything you need to call Yug from your own code.

Interactive docs

Base URL & authentication

Send your key in the Authorization header
Authorization: Bearer yug_…

Endpoints

POST/v1/extractSend a request and wait for the answer
POST/v1/jobsQueue a request, get a job_id back right away
GET/v1/jobs/{job_id}Status and result of a queued request
GET/v1/infoModel name and limits

Examples

Chat, or attach a PDF

          

Request body

JSON, for both POST endpoints
FieldTypeDescription
promptrequiredstringYour message, or what to do with the PDF.
pdf_base64stringA PDF, base64-encoded. Leave it out for a normal chat. Send it again with each follow-up question about the same document.
historyarrayEarlier turns, oldest first: [{"role":"user"|"assistant","content":"…"}]. Lets Yug remember the conversation.
json_schemaobjectA JSON schema. The answer is a JSON object that matches it.
options.ocrstringauto (read scanned pages with OCR), force or off.
options.temperaturenumber0 to 2. Higher is more creative. Default 0.

Account

Your profile and password.

?
Yug console user
Model
yug
PDF limit
–

Change password

At least 10 characters

Create an API key

Name it after the app or person that will use it.

Your new key

Copy it now. It's stored only as a hash and won't be shown again.

Revoke this key?