File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -49,16 +49,17 @@ python3 -m models.examples.load "./data/"
49
49
python3 -m models.examples.rag "What is Accounting Based Valuation?"
50
50
```
51
51
52
- ## Requirements
52
+ ## Setup
53
53
54
- - OpenAI API key
55
- - Pinecone API key
54
+ Set the following credentials in .env located in the root of this repository.
56
55
57
56
``` 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
62
63
```
63
64
64
65
### Pinecone setup
Original file line number Diff line number Diff line change 1
1
# -*- coding: utf-8 -*-
2
- __version__ = "1.1.1 "
2
+ __version__ = "1.1.2 "
Original file line number Diff line number Diff line change 15
15
args = parser .parse_args ()
16
16
17
17
result = ssm .cached_chat_request (args .system_prompt , args .human_prompt )
18
- print (result . content , end = " \n " )
18
+ print (result )
You can’t perform that action at this time.
0 commit comments