PythonGPT
chatgpt-localfiles
PythonGPT | chatgpt-localfiles | |
---|---|---|
1 | 3 | |
5 | 39 | |
- | - | |
6.1 | 5.9 | |
12 months ago | 11 months ago | |
Python | Python | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PythonGPT
-
Show HN: Python package for interfacing with ChatGPT with minimized complexity
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
chatgpt-localfiles
-
Show HN: OpenAI dev assistant GUI with local code interpreter
I built a local developer-mode plugin that gives ChatGPT access to a local directory [0] -- it's pretty basic in terms of functionality (just simple bridge to access/read files) but I've found a surprising amount of value from it [1]!
[0] https://github.com/samrawal/chatgpt-localfiles
[1] https://samrawal.substack.com/p/example-driven-development
-
Show HN: Python package for interfacing with ChatGPT with minimized complexity
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
- Show HN: Access Local Files from ChatGPT
What are some alternatives?
instructor - structured outputs for llms
langchainjs - 🦜🔗 Build context-aware reasoning applications 🦜🔗
simpleaichat - Python package for easily interfacing with chat apps, with robust features and minimal code complexity.