Skip to content

Commit 08d9144

Browse files
authored
Merge pull request #13 from lpm0073/next
fix: syntax error in examples.prompt
2 parents e892381 + f89435d commit 08d9144

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
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/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# -*- coding: utf-8 -*-
2-
__version__ = "1.1.1"
2+
__version__ = "1.1.2"

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)