Skip to content

UpstageAI/cookbook

Repository files navigation

Upstage Cookbook

This cookbook aims to highlight innovative use cases and outputs created by leveraging Upstage Solar and Document AI’s capabilities. We aim to inspire others by showcasing the versatility and excellence of Upstage features across various domains. The Upstage cookbook is open to the community. If you have an interesting idea for using APIs, spot a typo, or want to add or improve a guide, feel free to contribute!

How to use?

Get an API key from Upstage console to try examples in the cookbook. Set the environment variable UPSTAGE_API_KEY with your key, or create an .env file with the key.

Submission Guidelines

Content:

  • Source code for apps, programs, or computational projects assisted by the Upstage APIs.
  • Tutorials, educational materials, or lesson plans developed with the Upstage APIs.
  • Any other interesting applications that showcase the Upstage API's potential!

Requirements:

  • Code/text entries should be in .md, .ipynb or other common formats.
  • Include an overview describing the project/output and its purpose. Provide step-by-step instructions in a logical order and Include any relevant tips, notes, or variations.
  • Projects should be original creations or properly credited if adapted from another source.
  • Submissions should not contain explicit violating content.

Rights:

  • You maintain ownership and rights over your submitted project.
  • By submitting, you grant us permission to showcase and distribute the entry.
  • Entries cannot infringe on any third-party copyrights or intellectual property.

Let us know if you need any other guidelines or have additional criteria to include! We’re happy to continue iterating on these submission rules.

Disclaimer: The views and opinions expressed in community and partner examples do not reflect those of Upstage.

API List

API Description Example usage
Chat Build assistants using Solar Mini Chat. Link
Document Parse Serialize documents with tables and figures. Link
Document OCR Extract all text from any document. Link
Information Extraction Extract key information from target documents. Link
Embedding Embed strings to vectors. Link
Groundedness Check Verify groundedness of assistant's response. Link

For more information, visit https://console.upstage.ai

Cookbook List

Recipes

Individual notebooks demonstrating core Upstage API usage.

Notebook Description
Upstage features Experiment with all Upstage APIs (Chat, Embedding, Document OCR, Layout Analysis, etc.) using HTTP, LangChain, and LlamaIndex.
Function calling Basic function calling example with the Chat API.
LlamaIndex RAG Build a Retrieval-Augmented-Generation pipeline using the llama-index Upstage integration package.
Financial analysis Extract and analyze financial insights from 10-K documents using Layout Analysis, LangChain, and Chroma.
How to count tokens Count tokens using the Solar tokenizer.

Courses & Handbooks

Resource Description
Solar Fullstack LLM 101 A comprehensive 29-notebook course covering LLM fundamentals, RAG, document AI, and web app development with Gradio.
Solar Pro2 Prompting Handbook Prompt engineering guide for Solar Pro 2 (Korean & English).
Hands-on Practical hands-on exercises for Document OCR, Layout Analysis, and Key Information Extraction.

AWS

Deployment guides for running Upstage models on AWS infrastructure.

Resource Description
JumpStart SageMaker JumpStart notebooks for deploying Solar Chat, Embedding, Document OCR, and Document Parse models.
Document Parse + API Gateway Serverless REST API for document parsing (API Gateway → Lambda → SageMaker).
Solar + SageMaker Lambda Serverless LLM inference with OpenAI-compatible API and streaming support.
Document Parse S3 Connector Event-driven document processing pipeline (S3 → Lambda → SageMaker).

Community

Projects contributed by the community. See Submission Guidelines to add yours.

Project Description
MAGIC AI health checkup analyzer with OCR-based data extraction and hospital recommendations.
Crypto Trading AI Agent Autonomous cryptocurrency trading agent with market analysis and RAG-based strategy.
RADRAG Radiology report standardization system mapping free-text to SNOMED CT concepts.
UpDocs (Bremen) AI-powered document writing feedback assistant.

About

Upstage api examples and guides

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors