parquet-converter commited on
Commit
b610a15
·
1 Parent(s): b7d3231

Update parquet files

Browse files
osanseviero--langchain_hub_test/json-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab716e8dd40f02ceeaf0f8abed805972a8d8fba969c20e06cde1deb604aa8d86
3
+ size 6787
prompts/LLM_Bash_Prompt/README.md DELETED
@@ -1,31 +0,0 @@
1
-
2
- ---
3
- tags:
4
- - langchain
5
- - prompt
6
- ---
7
-
8
- # Description of LLM Bash Prompt
9
-
10
- Prompt designed to convert natural language to bash command.
11
-
12
- ## Inputs
13
-
14
- This is a description of the inputs that the prompt expects.
15
-
16
- question: User question to be answered by writing a bash command.
17
-
18
-
19
- ## Usage
20
-
21
- Below is a code snippet for how to use the prompt.
22
-
23
- ```
24
- from langchain.prompts import load_prompt
25
- from langchain.chains import LLMBashChain
26
-
27
- llm = ...
28
- prompt = load_prompt('lc://prompts/llm_bash/<file-name>')
29
- chain = LLMBashChain(llm=llm, prompt=prompt)
30
- ```
31
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
prompts/LLM_Bash_Prompt/prompt.json DELETED
@@ -1 +0,0 @@
1
- {"input_variables": ["question"], "output_parser": null, "template": "If someone asks you to perform a task, your job is to come up with a series of bash commands that will perform the task. There is no need to put \\\"#!/bin/bash\\\" in your answer. Make sure to reason step by step, using this format:\\n\\nQuestion: \\\"copy the files in the directory named 'target' into a new directory at the same level as target called 'myNewDirectory'\\\"\\n\\nI need to take the following actions:\\n- List all files in the directory\\n- Create a new directory\\n- Copy the files from the first directory into the second directory\\n```bash\\nls\\nmkdir myNewDirectory\\ncp -r target/* myNewDirectory\\n```\\n\\nThat is the format. Begin!\\n\\nQuestion: {question}", "template_format": "f-string"}