Skip to content

Commit 230b709

Browse files
committed
fix: syntax error in examples.prompt
1 parent e892381 commit 230b709

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,17 @@ python3 -m models.examples.load "./data/"
4949
python3 -m models.examples.rag "What is Accounting Based Valuation?"
5050
```
5151

52-
## Requirements
52+
## Setup
5353

54-
- OpenAI API key
55-
- Pinecone API key
54+
Set the following credentials in .env located in the root of this repository.
5655

5756
```console
58-
export OPENAI_API_ORGANIZATION=SET-ME-PLEASE
59-
export OPENAI_API_KEY=SET-ME-PLEASE
60-
export PINECONE_API_KEY=SET-ME-PLEASE
61-
export PINECONE_ENVIRONMENT=SET-ME-PLEASE
57+
OPENAI_API_ORGANIZATION=SET-ME-PLEASE
58+
OPENAI_API_KEY=SET-ME-PLEASE
59+
PINECONE_API_KEY=SET-ME-PLEASE
60+
PINECONE_ENVIRONMENT=SET-ME-PLEASE
61+
PINECONE_INDEX_NAME=SET-ME-PLEASE
62+
DEBUG_MODE=False
6263
```
6364

6465
### Pinecone setup

models/examples/prompt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
args = parser.parse_args()
1616

1717
result = ssm.cached_chat_request(args.system_prompt, args.human_prompt)
18-
print(result.content, end="\n")
18+
print(result)

0 commit comments

Comments
 (0)