ajaynagotha commited on
Commit
6c61576
1 Parent(s): 611d487

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +60 -0
README.md CHANGED
@@ -10,4 +10,64 @@ pinned: false
10
  license: mit
11
  ---
12
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
10
  license: mit
11
  ---
12
 
13
+ # Bhagavad Gita AI Chatbot
14
+
15
+ Welcome to the Bhagavad Gita AI Chatbot! This Space hosts an AI-powered assistant specializing in the wisdom and teachings of the Bhagavad Gita, one of the most revered texts in Hindu philosophy.
16
+
17
+ ## Overview
18
+
19
+ The Bhagavad Gita AI Chatbot is designed to answer questions, provide insights, and offer explanations based on the teachings of the Bhagavad Gita. Whether you're a student of philosophy, a spiritual seeker, or simply curious about the Gita's wisdom, this chatbot aims to assist you in your exploration.
20
+
21
+ ## Features
22
+
23
+ - Answers questions about the Bhagavad Gita's teachings and philosophy
24
+ - Provides explanations of key concepts such as dharma, karma, bhakti, and yoga
25
+ - Offers spiritual guidance based on the wisdom of the Gita
26
+ - Supports contextual understanding by referencing specific chapters and verses when relevant
27
+ ## How It Works
28
+
29
+ 1. The chatbot utilizes the "ajaynagotha/bhagvad-gita-llm-v2" model, which is specifically fine-tuned for Bhagavad Gita related queries.
30
+ 2. When a question is asked, the model generates a response based on its training on the Bhagavad Gita's text and related philosophical concepts.
31
+ 3. The response is then returned to the user, providing insights and explanations rooted in the Gita's teachings.
32
+
33
+ ## Usage
34
+
35
+ To interact with the chatbot, send a POST request to the API endpoint with your question. The API expects a JSON payload with a `messages` array containing message objects. Each message object should have a `role` (either "user" or "assistant") and a `content` field.
36
+
37
+ ### Example Request:
38
+
39
+ ```json
40
+ {
41
+ "messages": [
42
+ {"role": "user", "content": "What does the Bhagavad Gita say about karma?"}
43
+ ]
44
+ }
45
+ Example Response:
46
+ {
47
+ "response": "The Bhagavad Gita teaches that karma refers to the actions we perform and their consequences. According to the Gita, every action (karma) has a reaction, and this creates a cycle of cause and effect. The text emphasizes the importance of performing one's duties (karma) without attachment to the results. In Chapter 2, Verse 47, Lord Krishna says: 'You have a right to perform your prescribed duty, but you are not entitled to the fruits of action.' This teaching encourages individuals to act with detachment, focusing on the action itself rather than its outcomes. The Gita also discusses the concept of karma yoga, which is the path of selfless action performed as a form of spiritual practice.",
48
+ "isTruncated": false
49
+ }
50
+ API Endpoint
51
+ The API endpoint for this chatbot is:
52
+
53
+ https://ajaynagotha-bhagvad-gita-llm-v2.hf.space/run/predict
54
+ Limitations
55
+ While the chatbot is trained on the Bhagavad Gita, it may not cover every nuance or interpretation of the text.
56
+ The responses are generated by an AI model and should not be considered as authoritative as those from a human scholar or spiritual leader.
57
+ The chatbot's knowledge is based on its training data and may not include the most recent scholarship or interpretations.
58
+ Ethical Considerations
59
+ This chatbot is intended as an educational tool and should not be used as a substitute for personal spiritual guidance or professional advice. Users are encouraged to approach the Bhagavad Gita and its teachings with respect and to seek guidance from qualified teachers for deeper understanding.
60
+
61
+ Privacy
62
+ This chatbot does not store any personal information or conversation history. Each interaction is processed independently.
63
+
64
+ Feedback and Contributions
65
+ We welcome feedback and contributions to improve this chatbot. If you notice any inaccuracies or have suggestions for improvement, please feel free to reach out.
66
+
67
+ Thank you for using the Bhagavad Gita AI Chatbot. May it assist you in your exploration of this profound spiritual text and its timeless wisdom.
68
+
69
+
70
+ You can directly copy this content and paste it into your README.md file in your Hugging Face Space. This README provides a comprehensive overview of your chatbot, including how to use it, its limitations, and ethical considerations.
71
+
72
+
73
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference