Show HN: Python package for interfacing with ChatGPT with minimized complexity

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • simpleaichat

    Python package for easily interfacing with chat apps, with robust features and minimal code complexity.

  • Ah, I see I've been ninja'd by about 17 hours: https://github.com/minimaxir/simpleaichat/releases/tag/v0.2.... :-D

  • langchainjs

    🦜🔗 Build context-aware reasoning applications 🦜🔗

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • instructor

    structured outputs for llms

  • There was another post today about using Pydantic for function enabled completions: https://github.com/jxnl/openai_function_call

    I whipped up an example doing something similar last Friday using a decorator, inspect, ast and __doc__ usage: https://gist.github.com/kordless/7d306b0646bf0b56c44ebca2b8e.... The example pulls top results from Algoia's HN search and then chains them into another prompt for GPT-X. The blog post is here: https://www.featurebase.com/blog/function-integration-in-ope...

    Currently integrating this approach into PythonGPT[1], which will build a function on the fly, extract the method info, then call the code in exec(). I would label it "very dangerous"...

    [1] https://github.com/FeatureBaseDB/PythonGPT

  • PythonGPT

    PythonGPT writes and indexes code to implement dynamic code execution using generative models. Younger sibling of DoctorGPT.

  • There was another post today about using Pydantic for function enabled completions: https://github.com/jxnl/openai_function_call

    I whipped up an example doing something similar last Friday using a decorator, inspect, ast and __doc__ usage: https://gist.github.com/kordless/7d306b0646bf0b56c44ebca2b8e.... The example pulls top results from Algoia's HN search and then chains them into another prompt for GPT-X. The blog post is here: https://www.featurebase.com/blog/function-integration-in-ope...

    Currently integrating this approach into PythonGPT[1], which will build a function on the fly, extract the method info, then call the code in exec(). I would label it "very dangerous"...

    [1] https://github.com/FeatureBaseDB/PythonGPT

  • httpx

    A next generation HTTP client for Python. 🦋

  • The underlying library for both sync and async is httpx (https://www.python-httpx.org/) which may be limited from the HTTP Client perspective but it may be possible to add rate limiting at a Session level.

  • chatgpt-localfiles

    Make local files accessible to ChatGPT

  • I wrote a simple ChatGPT plugin that exposes files within a local directory on my computer to ChatGPT [0]. It's been quite helpful for me, both for working with code as well as other material (supports docx and pdf as well). It does require plugin developer access to run, though.

    [0] https://github.com/samrawal/chatgpt-localfiles

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts