rise_ai / app.py
markpeace's picture
testing
683f6dd
raw
history blame
306 Bytes
#import json
from flask import Flask,request
# Initializing flask app
app = Flask(__name__)
@app.route('/', methods=['GET','POST'])
def index():
llm = ChatOpenAI()
response=llm.invoke("how can langsmith help with testing?")
print(response)
return {"response":"just some junk response"}