Skip to main content

outline-ai converts text into structured summaries, proposals, or outlines, automating publication creation with clarity and ease.

Project description

outline-ai

PyPI version License: MIT Downloads LinkedIn

Transform user-provided text inputs into well-structured summaries, proposals, or content outlines with outline-ai.

Introduction

outline-ai is a new package designed to revolutionize the way you create content. By leveraging language models, it generates organized and clear outputs without the need for managing media or direct document uploads. This makes it an efficient and customizable alternative to traditional platforms like Substack.

Installation

pip install outline_ai

Usage

from outline_ai import outline_ai

user_input = "Create a summary of this article about AI and machine learning"
response = outline_ai(user_input)
print(response)

Parameters

  • user_input: str - The user input text to process
  • llm: Optional[BaseChatModel] - The langchain llm instance to use, if not provided the default ChatLLM7 will be used.
  • api_key: Optional[str] - The API key for LLM7, if not provided

By default, outline_ai uses the ChatLLM7 from langchain_llm7 (https://pypi.org/project/langchain-llm7/). If you want to use another LLM, you can safely pass your own llm instance by setting it like this:

from langchain_openai import ChatOpenAI
from outline_ai import outline_ai

llm = ChatOpenAI()
response = outline_ai(user_input, llm=llm)

For example, to use the openai (https://pypi.org/project/langchain-openai/):

from langchain_openai import ChatOpenAI
from outline_ai import outline_ai

llm = ChatOpenAI()
response = outline_ai(user_input, llm=llm)

Or, to use the anthropic (https://pypi.org/project/langchain-anthropic/):

from langchain_anthropic import ChatAnthropic
from outline_ai import outline_ai

llm = ChatAnthropic()
response = outline_ai(user_input, llm=llm)

Or, to use the google (https://pypi.org/project/langchain-google-genai/):

from langchain_google_genai import ChatGoogleGenerativeAI
from outline_ai import outline_ai

llm = ChatGoogleGenerativeAI()
response = outline_ai(user_input, llm=llm)

Rate Limits

The default rate limits for LLM7 free tier are sufficient for most use cases of this package. If you need higher rate limits, you can pass your own API key via environment variable LLM7_API_KEY or directly. Get a free API key by registering at https://token.llm7.io/.

GitHub

Check out the GitHub issues page for any further questions or issues: https://github.com/chigwell/outline-ai/issues

Author

This package was created by Eugene Evstafev, you can contact him at hi@euegne.plus.

Credits

Author: chigwell

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

outline_ai-2025.12.22110945.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

outline_ai-2025.12.22110945-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file outline_ai-2025.12.22110945.tar.gz.

File metadata

  • Download URL: outline_ai-2025.12.22110945.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for outline_ai-2025.12.22110945.tar.gz
Algorithm Hash digest
SHA256 1766b7dc87438bb4d6789c95cf0a0bef081980563016b8b2804ab243173f7f94
MD5 46b5ba7fc5d0675af152fd4451827764
BLAKE2b-256 fef18b8deaf8b9077b3ee0a1951b670e4f203bf099cb702e0c5d177bd22a30ab

See more details on using hashes here.

File details

Details for the file outline_ai-2025.12.22110945-py3-none-any.whl.

File metadata

File hashes

Hashes for outline_ai-2025.12.22110945-py3-none-any.whl
Algorithm Hash digest
SHA256 d857e060d20d250280c290a55fd0c45c56b2ce1971fc0e11b7f9df02651a3f35
MD5 8afe69fde36ea9bf19ccecbc64dc4573
BLAKE2b-256 e62828fc5d17cd299f47bc26b1fa7ab1b382ecf6583d0171efcc60fa5989d639

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page