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/"
4949python3 -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
Original file line number Diff line number Diff line change 11# -*- coding: utf-8 -*-
2- __version__ = "1.1.1 "
2+ __version__ = "1.1.2 "
Original file line number Diff line number Diff line change 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 )
You can’t perform that action at this time.
0 commit comments