Skip to content

Commit

Permalink
new file: GPT-Prompt-Examples/user-role/UR-2.md
Browse files Browse the repository at this point in the history
	modified:   README.md
  • Loading branch information
Daethyra committed Oct 7, 2023
1 parent 4b21e48 commit 57ff22f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 10 deletions.
16 changes: 16 additions & 0 deletions GPT-Prompt-Examples/user-role/UR-2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## Function Generation With LLMs

This prompt was found [here](https://github.com/sammi-turner/Python-To-Mojo/tree/main#function-generation-with-llms "Direct link"), so thanks to @sammi-turner!

"""

This prompt template is good for generating Python functions.

```
Write a [name] function in Python3 that takes
[name the parameters and their types] and returns
a [type] such that [describe what the function does].
Then show me the code.
```

"""
11 changes: 1 addition & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ This module offers a set of functionalities for conversational agents in LangCha
**Usage:**
To use this module, simply import the functionalities you need and configure them accordingly.

```python
from langchain_conv_agent import YOUR_FUNCTION
```

---

`query_local_docs.py`
Expand All @@ -60,14 +56,9 @@ This module focuses on querying local documents and employs the following featur
**Usage:**
Similar to `langchain_conv_agent.py`, you can import the functionalities you require.

```python
from query_local_docs import YOUR_FUNCTION
```

These modules are designed to be extensible and can be easily integrated into your LangChain projects.


<!--
<!-- PLACEHOLDER FOR FUTURE MINDMAPPING IMAGE
<div align="center">
<img src=".github/mindmap.png" alt="Mindmap from 8-30-23" width="500"/>
</div>
Expand Down

0 comments on commit 57ff22f

Please sign in to comment.