Spaces:
Runtime error
Runtime error
Update openai_assistant_langchain_gradio.py
Browse files
openai_assistant_langchain_gradio.py
CHANGED
|
@@ -114,11 +114,11 @@ def openai_response(message,history):
|
|
| 114 |
new_output = output + "\n\n" + next_options
|
| 115 |
return new_output
|
| 116 |
|
| 117 |
-
problem_statement = """## Can Next-Gen Search
|
| 118 |
|
| 119 |
-
### 1. **Lack of Technical Knowledge
|
| 120 |
-
- I used ***Upwork*** for 5 different projects, and more than once I had trouble properly
|
| 121 |
-
- Approach?: Utilize Upwork's database of past projects and reviews. Implement **Next-gen neural search 🔎** in combination with generative AI to analyze this data and generate effective project breakdowns.
|
| 122 |
|
| 123 |
### 2. **Difficulty in Selecting the Right Technologies**
|
| 124 |
- Approach?: Employ **Next-gen search** to sift through previous project technologies, generating tailored technology recommendations that consider budget and timeframe constraints.
|
|
@@ -133,7 +133,7 @@ problem_statement = """## Can Next-Gen Search and Generative AI Solve My Top 5 U
|
|
| 133 |
- Approach?: Apply **Next-gen Search** to past interactions for insights into milestone and payment arrangements, and for comparing current progress with similar projects.
|
| 134 |
|
| 135 |
**Assumptions**:
|
| 136 |
-
- These insights are based on personal experiences and research on Upwork Forums.
|
| 137 |
- The focus is on technology projects, but the approach is applicable to other fields like graphics, content writing, admin, and marketing.
|
| 138 |
- This perspective is from a client's viewpoint, but a similar approach can benefit freelancers in job searches.
|
| 139 |
- Assumes no privacy constraints in leveraging aggregated platform data to assist clients.
|
|
@@ -142,4 +142,4 @@ problem_statement = """## Can Next-Gen Search and Generative AI Solve My Top 5 U
|
|
| 142 |
"""
|
| 143 |
|
| 144 |
theme='JohnSmith9982/small_and_pretty',
|
| 145 |
-
gr.ChatInterface(openai_response, examples=examples, textbox=gr.Textbox(placeholder="Enter a Project Description or ask a followup question on a project", container=False, scale=7), title="SkillBridge", description=problem_statement, retry_btn= None, undo_btn=None, clear_btn=None, theme=
|
|
|
|
| 114 |
new_output = output + "\n\n" + next_options
|
| 115 |
return new_output
|
| 116 |
|
| 117 |
+
problem_statement = """## Can Next-Gen Search Solve My Top 5 Upwork Client Challenges 😡?
|
| 118 |
|
| 119 |
+
### 1. **Lack of Technical Knowledge to do Project Breakdown**
|
| 120 |
+
- I used ***Upwork*** for 5 different projects, and more than once I had trouble properly creating a project plan and communicating requirements
|
| 121 |
+
- Approach?: Utilize Upwork's database of past projects and reviews. Implement **Next-gen neural search 🔎** in combination with generative AI to analyze this data and generate effective project breakdowns and requirements.
|
| 122 |
|
| 123 |
### 2. **Difficulty in Selecting the Right Technologies**
|
| 124 |
- Approach?: Employ **Next-gen search** to sift through previous project technologies, generating tailored technology recommendations that consider budget and timeframe constraints.
|
|
|
|
| 133 |
- Approach?: Apply **Next-gen Search** to past interactions for insights into milestone and payment arrangements, and for comparing current progress with similar projects.
|
| 134 |
|
| 135 |
**Assumptions**:
|
| 136 |
+
- These insights are ONLY based on personal experiences and research on Upwork Forums.
|
| 137 |
- The focus is on technology projects, but the approach is applicable to other fields like graphics, content writing, admin, and marketing.
|
| 138 |
- This perspective is from a client's viewpoint, but a similar approach can benefit freelancers in job searches.
|
| 139 |
- Assumes no privacy constraints in leveraging aggregated platform data to assist clients.
|
|
|
|
| 142 |
"""
|
| 143 |
|
| 144 |
theme='JohnSmith9982/small_and_pretty',
|
| 145 |
+
gr.ChatInterface(openai_response, examples=examples, textbox=gr.Textbox(placeholder="Enter a Project Description or ask a followup question on a project", container=False, scale=7), title="SkillBridge", description=problem_statement, retry_btn= None, undo_btn=None, clear_btn=None, theme=theme).launch(auth=("sree", "search"), share = True)
|