ryanrwatkins commited on
Commit
6c5fa24
1 Parent(s): 8fa6e0b

Update notes.md

Browse files
Files changed (1) hide show
  1. notes.md +7 -17
notes.md CHANGED
@@ -1,23 +1,13 @@
1
 
2
 
3
 
4
- Templates for app from:
5
- https://huggingface.co/spaces/anzorq/chatgpt-demo
6
- https://blog.devgenius.io/chat-with-document-s-using-openai-chatgpt-api-and-text-embedding-6a0ce3dc8bc8
7
- https://github.com/hwchase17/chat-langchain-notion/blob/master/ingest_data.py
8
 
 
 
 
9
 
10
- IDEAS:
11
 
12
- with open("foo.pkl", 'rb') as f:
13
- new_docsearch = pickle.load(f)
14
-
15
- docsearch = FAISS.from_texts(texts, new_docsearch)
16
- query = "I am student and I want to know what statistical tests were used in the study, which results were statistically significant, and how could I use this when teaching biology"
17
- docs = docsearch.similarity_search(query)
18
- #print(docs[0].page_content)
19
- from langchain.chains.question_answering import load_qa_chain
20
- from langchain.llms import OpenAI
21
- chain = load_qa_chain(OpenAI(temperature=1.2), chain_type="stuff")
22
- resp = chain.run(input_documents=docs, question=query)
23
- print(resp)
 
1
 
2
 
3
 
4
+ # Templates for App:
5
+ https://huggingface.co/spaces/anzorq/chatgpt-demo
6
+ https://blog.devgenius.io/chat-with-document-s-using-openai-chatgpt-api-and-text-embedding-6a0ce3dc8bc8
7
+ https://github.com/hwchase17/chat-langchain-notion/blob/master/ingest_data.py
8
 
9
+ # On Using LangChain:
10
+ https://www.youtube.com/watch?v=2xxziIWmaSA&list=PLqZXAkvF1bPNQER9mLmDbntNfSpzdDIU5&index=3
11
+ https://github.com/gkamradt/langchain-tutorials/blob/main/LangChain%20Cookbook.ipynb
12
 
 
13