testing
Browse files- __pycache__/app.cpython-39.pyc +0 -0
- app.py +4 -0
- requirements.txt +5 -1
__pycache__/app.cpython-39.pyc
CHANGED
Binary files a/__pycache__/app.cpython-39.pyc and b/__pycache__/app.cpython-39.pyc differ
|
|
app.py
CHANGED
@@ -8,4 +8,8 @@ app = Flask(__name__)
|
|
8 |
|
9 |
@app.route('/', methods=['GET','POST'])
|
10 |
def index():
|
|
|
|
|
|
|
|
|
11 |
return {"response":"just some junk response"}
|
|
|
8 |
|
9 |
@app.route('/', methods=['GET','POST'])
|
10 |
def index():
|
11 |
+
llm = ChatOpenAI()
|
12 |
+
response=llm.invoke("how can langsmith help with testing?")
|
13 |
+
print(response)
|
14 |
+
|
15 |
return {"response":"just some junk response"}
|
requirements.txt
CHANGED
@@ -1,4 +1,8 @@
|
|
1 |
#SERVER
|
2 |
Flask
|
3 |
Flask-cors
|
4 |
-
gunicorn
|
|
|
|
|
|
|
|
|
|
1 |
#SERVER
|
2 |
Flask
|
3 |
Flask-cors
|
4 |
+
gunicorn
|
5 |
+
|
6 |
+
#LLM
|
7 |
+
langchain
|
8 |
+
langchain-openai
|