title | short_description | emoji | colorFrom | colorTo | sdk | sdk_version | app_file | pinned |
---|---|---|---|---|---|---|---|---|
ChatbotCV |
Ask questions about my resume. |
📝 |
yellow |
yellow |
gradio |
4.25.0 |
app.py |
true |
You can ask this chatbot questions about my resume. Use this link!
The chatbot is built using Cohere Chat, and the data comes from the prompt.md
file.
The chatbot uses Cohere's Command model and displays the results using Gradio interface.
The chatbot uses the prompt.md
file as a prompt. It contains the instructions to the model as well as the resume of the candidate.
The convert_history
function takes a prompt and adds it to history. It also converts Gradio's input message and chat history structure into the structure accepted by Cohere's model.
The reply
function takes the chat history and user's input as arguments, and streams the answer of the model.
Finally, the chatbot is launched.
gr.ChatInterface(reply,
title="Alfiya's Curriculum Vitae",
description=description
).launch()
To host the ChatbotCV HuggingFace Spaces were used.
If you would like to create a similar chatbot for your own CV, you will need to make an account on Cohere and HuggingFace, define the Key for your Cohere Client as a system variable on your own computer. Please, do not forget to mention the author Alfiya Khabibullina.
The author of the project is Alfiya Khabibullina.
To reach out for support or further information, ideas or suggestions, please contact me on github or find me on LinkedIn