File size: 1,132 Bytes
3c23139
f55b2b0
3c23139
 
 
 
 
 
 
f55b2b0
 
d8f6741
 
a832788
785055a
69759af
3c23139
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
title: Hackaton Mcp Agents
emoji: 💬
colorFrom: yellow
colorTo: purple
sdk: gradio
sdk_version: 5.0.1
app_file: app.py
pinned: false
license: mit
short_description: 'This is the code for the Gradio Agents & MCP Hackathon '
tags:
  - agent-demo-track
  - ai-agents
link: "jarguello76/hackaton_mcp_agents"
description: "This is an Agent that has some common tools like search web and aldo a tool where User writes the question (question1), LLM1 writes the answer, LLM2 gets only the answer from LLM1 and has to guess the question1 from the user and generates the question2, then the similarity model assigns a score of similarity between question1 and question2, if similarity score >0.6 then the output is: question1, question2, similarity score. If similarity score is < 0.6 then the answer is returned to LLM2 with the similarity score so LLM2 tries to increase the similarity score until >0.6."
---

An example chatbot using [Gradio](https://gradio.app), [`huggingface_hub`](https://huggingface.co/docs/huggingface_hub/v0.22.2/en/index), and the [Hugging Face Inference API](https://huggingface.co/docs/api-inference/index).