EverFaith_AI / README.md
Territhia's picture
Update README.md
e829c12 verified
|
Raw History Blame Contribute Delete
469 Bytes
metadata
license: mit

import openai

def biblical_chatbot(prompt): response = openai.ChatCompletion.create( model="gpt-4-turbo", messages=[{"role": "system", "content": "You are a Biblical AI assistant. Base all responses on the Bible and sound Christian teachings."}, {"role": "user", "content": prompt}] ) return response["choices"][0]["message"]["content"]

print(biblical_chatbot("What does the Bible say about faith?"))