Closed raduwolf12 closed 7 months ago
Hello, I can use your assistant with the link you provide, but I can't find out your assistant by searching its name on huggingface ( https://huggingface.co/chat/assistants/ ),The search_assistant
function can only search assistants displayed on https://huggingface.co/chat/assistants/ currently. I will improve it to load personal assistant by given link.
you can try this way:
ASSISTANT_ID: str = YOUR_ASSISTANT_ID # such as 65fc7e89c0f4abe9abb9d304
bot.new_conversation(assistant=ASSISTANT_ID)
I've recently created an assistant, but despite I can chare the link and chat with it through that link, when I tried to do this:
you can try this way:
ASSISTANT_ID: str = YOUR_ASSISTANT_ID # such as 65fc7e89c0f4abe9abb9d304 bot.new_conversation(assistant=ASSISTANT_ID)
I always receive an error message, because my assistant is not found whether I use name or id.
I also tried to search directly from the API link, and I got this:
{
"code": 1,
"message": "Assistant id 668dddcf58b753e8ae141281 not found",
"data": {
}
}
If I repeat the same experiment with ChatGpt assistant (just an example), I got this another message:
{
"code": 0,
"message": "OK",
"data": {
"assistant_id": "65bd6d583140495b7e30f744",
"author": "Matros77",
"name": "ChatGpt",
"model_name": "CohereForAI/c4ai-command-r-plus",
"pre_prompt": "You will respond to user requests in the classic ChatGpt-3.5 style! Just answer the questions they ask you!",
"description": "This bot will tell you everything you ask!"
}
}
I don't know what else I can do to solve this, I've tried so hard to make my assistant visible, but It's useless
The API link I'm using on the browser is this one: https://api.soulter.top/hugchat/assistant?id={assistant_id}
Hi, I have been trying to call the assistant I made but can't find it. I have tried with both name and id.
This is the assistant(https://hf.co/chat/assistant/65fc7e89c0f4abe9abb9d304)
Can you please add support for the assistants we made?