Prompt-Engineering-Guide
openai-python
Prompt-Engineering-Guide | openai-python | |
---|---|---|
83 | 61 | |
43,924 | 19,930 | |
2.3% | 3.2% | |
9.7 | 9.6 | |
8 days ago | 6 days ago | |
MDX | Python | |
MIT License | Apache License 2.0 |
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.
Prompt-Engineering-Guide
-
Top Open Source Prompt Engineering Guides & Toolsπ§ποΈπ
Prompt Engineering Guide is the holy grail of all guides, aiming to make it easier to stay up-to-date with prompt engineering guides, techniques, applications, and papers. If you are getting started, this is an excellent place to start.
- FLaNK AI - 15 April 2024
- Prompt Engineering Guide
-
24 GitHub repos with 372M views that you can't miss out as a software engineer
Guides, papers, lecture, notebooks and resources for prompt engineering: https://github.com/dair-ai/Prompt-Engineering-Guide
-
Resources to deepen LLMs understanding for software engineers
this has been a great resource. approachable and great for practitioners. it's frequently updated with new papers and techniques https://www.promptingguide.ai/
-
Step-by-Step Guide to building an Anomaly Detector using a LLM
The idea behind prompt engineering is to construct the queries given to the language models to optimise their performance. This helps to guide them to generate the desired output by fine-tuning their response. There is a plethora of research papers out there on different forms of prompt engineering. DAIR.AI published a guide on prompt engineering that you might find useful to get started.
-
The Essential Guide to Prompt Engineering for Creators and Innovators
Prompt Engineering Guide
-
Getting Started with Prompt Engineering
Let's try to understand what is Prompt Engineering is all about. Here's the quote from Prompt Engineering Guide. DAIR-AI
-
Microsoft/promptbase: All things prompt engineering
I found this resource [0] handy for getting a grasp on all the different terms people use (zero/one-shot, tree of thoughts, RAG, etc). It's not super detailed, but was enough for me (a professional developer) to get started on some side projects with Mistral.
[0] https://www.promptingguide.ai/
-
OpenAI: Prompt Engineering
There are better guides out there too
- https://www.promptingguide.ai/readings
- https://github.com/dair-ai/Prompt-Engineering-Guide/tree/mai...
- https://github.com/microsoft/promptbase (this one is less of a guide, but is likely the current SoTA)
openai-python
- The Stainless SDK Generator
-
GPT-4 Turbo with Vision is a step backwards for coding
The ongoing model anchoring/grounding issue likely affects all GPT-4 checkpoints/variants, but is most prominent with the latest "gpt-4-turbo-2024-04-09" variant due to its most recent cutoff date, might imply deeper issues with the current model architecture, or at least how it's been updated:
https://github.com/openai/openai-python/issues/1310
See also the original thread on OpenAI's developer forums (linked on the GitHub issue) with confirmations from others.
A test code snippet is included in the GitHub issue to A/B test the problem yourself with your own questions if need be.
-
Show HN: GritQL, a Rust CLI for rewriting source code
- Iterate on large codebases quickly: we use Rust for maximum performance
GritQL has already been used on thousands of repositories for complex migrations[1] but we're excited to collaborate more with the open source community.
[1] Ex. https://github.com/openai/openai-python/discussions/742
-
Integrating AI chatbotπ© into your application in 2024 π§π»ββοΈπ is how easy? π€
Explore OpenAI and learn how to easily integrate it into your existing application with the OpenAI Python module.
-
Need Help with OpenAI Upgrade: Seeking Guidance on 'openai.Completion' Deprecation Error
You tried to access openai.Completion, but this is no longer supported in openai>=1.0.0 - see the README at https://github.com/openai/openai-python for the API. You can run `openai migrate` to automatically upgrade your codebase to use the 1.0.0 interface. Alternatively, you can pin your installation to the old version, e.g. `pip install openai==0.28` A detailed migration guide is available here: https://github.com/openai/openai-python/discussions/742
-
Anthropic announces Claude 2.1 β 200k context, less refusals
Relatedly, I checked and OpenAI deleted all references to their ChatML spec from their GitHub repo.
This is what it said in an earlier commit: https://github.com/openai/openai-python/blob/2942bf4bb635b1e...
-
Web scraping experiment with AI (Parsing HTML with GPT-4)
Make sure to install the OpenAI library first. Since I'm using Python, I need
-
OpenAI: "We are dealing with periodic outages due to an abnormal traffic pattern reflective of a DDoS attack"
Source: https://github.com/openai/openai-python/discussions/742
- GitHub - openai/openai-python: The official Python library for the OpenAI API
- OpenAI Python v1 Released
What are some alternatives?
langchain - β‘ Building applications with LLMs through composability β‘ [Moved to: https://github.com/langchain-ai/langchain]
whisper.cpp - Port of OpenAI's Whisper model in C/C++
openai-cookbook - Examples and guides for using the OpenAI API
BetterChatGPT - An amazing UI for OpenAI's ChatGPT (Website + Windows + MacOS + Linux)
langchain - π¦π Build context-aware reasoning applications
prompt-engineering - Tips and tricks for working with Large Language Models like OpenAI's GPT-4.
openai-node - The official Node.js / Typescript library for the OpenAI API
Learn_Prompting - Prompt Engineering, Generative AI, and LLM Guide by Learn Prompting | Join our discord for the largest Prompt Engineering learning community
ChatGPT-AutoExpert - ππ§ π¬ Supercharged Custom Instructions for ChatGPT (non-coding) and ChatGPT Advanced Data Analysis (coding).
awesome-chatgpt-prompts - This repo includes ChatGPT prompt curation to use ChatGPT better.
sharegpt - Easily share permanent links to ChatGPT conversations with your friends