Spaces:
Runtime error
Runtime error
Update openai_assistant_langchain_gradio.py
Browse files
openai_assistant_langchain_gradio.py
CHANGED
|
@@ -114,4 +114,31 @@ def openai_response(message,history):
|
|
| 114 |
new_output = output + "\n\n" + next_options
|
| 115 |
return new_output
|
| 116 |
|
| 117 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 114 |
new_output = output + "\n\n" + next_options
|
| 115 |
return new_output
|
| 116 |
|
| 117 |
+
problem_statement = """## Can Next-Gen Search and Generative AI Solve My Top 5 Upwork Client Challenges?
|
| 118 |
+
|
| 119 |
+
### 1. **Lack of Technical Knowledge for Project Breakdown**
|
| 120 |
+
- I used ***Upwork*** for 5 different projects, and more than once I had trouble properly breaking the project
|
| 121 |
+
- **Possibilities**: 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 |
+
- **Possibilities**: Employ **Next-gen search** to sift through previous project technologies, generating tailored technology recommendations that consider budget and timeframe constraints.
|
| 125 |
+
|
| 126 |
+
### 3. **Time and Skill Constraints in Searching for Freelancers**
|
| 127 |
+
- **Possibilities**: Go **beyond basic keyword search** to analyze freelancers' galleries, GitHub, etc., for a nuanced understanding of their skills. Offer a few high-confidence recommendations instead of overwhelming search results.
|
| 128 |
+
|
| 129 |
+
### 4. **Inadequate Skills to Interview and Evaluate Freelancers**
|
| 130 |
+
- **Possibilities**: Use **Next-gen Search** to access past client-freelancer interactions. Input this into an LLM to create interview questions and guide the evaluation process.
|
| 131 |
+
|
| 132 |
+
### 5. **Challenges in Creating Milestone Plans, Payment Breakdowns and Evaluating Progress**
|
| 133 |
+
- **Possibilities**: 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.
|
| 140 |
+
|
| 141 |
+
***The following demo illustrates these capabilities using synthetic data, due to lack of access to actual Upwork data.ote that the data used is synthetic given no access to Upwork data.***
|
| 142 |
+
"""
|
| 143 |
+
|
| 144 |
+
gr.ChatInterface(openai_response, examples=examples, theme='JohnSmith9982/small_and_pretty', title="SkillBridge", description=problem_statement, retry_btn= None, undo_btn=None, clear_btn=None).launch(auth=("sree", "search"), share = True)
|