Home/LLM Frameworks/llm-python
llm-python logo

llm-python

onlyphantom/llm-python

LLM tutorials and scripts covering langchain, openai, llamaindex, GPT, ChromaDB, Pinecone

GraphCanon updated 1mo · GitHub synced 1mo

926 stars317 forksLast push 6mo Jupyter Notebook MIT

Decision brief

Jupyter Notebook tutorials and scripts for working with LangChain, OpenAI API, llamaindex, GPT models, ChromaDB, and Pinecone.

Good fit when

  • When you want comprehensive Jupyter-based tutorials on integrating multiple LLM tools including OpenAI and LangChain.
  • If you seek hands-on practice with advanced concepts like tool-use agents that interact with real-world financial data APIs.

Avoid when

  • Avoid if you require a purely code-library without tutorial-like content in Jupyter Notebooks.
  • Not suitable if your project strictly demands proprietary or closed-access LLM tools not covered in the repo, like those beyond OpenAI and LangChain.

Observed Jul 14, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Slowing (151d since push)
As of 1mo
Provenance
Not a fork · Personal account
As of 1mo
Security (OSV)
159 low (159 low)
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

git clone https://github.com/onlyphantom/llm-python

How it fits your stack(10)

Typed graph edges - alternatives, integrations, successors, and dependencies. Ranked by relationship type, not raw GitHub stars.

Integrates

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

Similar tools

Same-category neighbours not already linked as typed edges.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

A repository featuring Jupyter Notebook-based tutorials and sample scripts for working with Large Language Models (LLMs) incorporating tools like LangChain, OpenAI API, llamaindex, ChatGPT models, ChromaDB, and Pinecone.

Capability facts

Languages
jupyter notebook

Source: github.language · Jul 21, 2026

Categories

Graph entities

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

OpenAI APIOpenAI API

Source: README excerpt (regex_v1, Jul 21, 2026)

4. Create a `.env` file which contains your OpenAI API key. You can get one from [here](https://beta.openai.com/). `HUGGINGFACEHUB_API
Source link
Python runtimePython

Source: README excerpt (regex_v1, Jul 21, 2026)

d Generative AI 5-course series](https://docs.sectors.app/recipes/generative-ai-python/01-background) to learn how to use the API to build sophisticated LLM applicati
Source link

Tags

README

Quick Start

  1. Clone this repo
  2. Install requirements: pip install -r requirements.txt
  3. Some sample data are provided to you in the news foldeer, but you can use your own data by replacing the content (or adding to it) with your own text files.
  4. Create a .env file which contains your OpenAI API key. You can get one from here. HUGGINGFACEHUB_API_TOKEN and PINECONE_API_KEY are optional, but they are used in some of the lessons.
    • Lesson 10 uses Cohere and Stability AI, both of which offers a free tier (no credit card required). You can add the respective keys as COHERE_API_KEY and STABILITY_API_KEY in the .env file.
    • Some of the most advanced examples that feature tool-use, function-calling Agents will require you working with a real-world financial data API. My team at Supertype and I built a LLM-first financial API platform called Sectors. You can register for a free account, read our API documentation and Generative AI 5-course series to learn how to use the API to build sophisticated LLM application. Examples of these applications are all in the repo.

Your .env file should look like this:


---

### License

MIT © [Supertype](https://supertype.ai) 2024

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.