lm-sys / lm-sys/FastChat

Query Regarding API for Vicuna Model

Open
#1,596 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
39.5k
Forks
4.8k
PR merge metrics
No merged PRs in 30d

Description

Hello LMSYS Team,

I am reaching out to inquire about the functionality of the Vicuna model.

I would like to know if there is an available API for Vicuna that allows me to input a string prompt to a function and get a string response as the return value, which would be the model's response.

In more specific terms, what I am looking for is something similar to:

```python
def vicuna_prompt(prompt):
# some API functionality here
response = vicuna_model.reply(prompt)
return response
```

This way, the given string prompt would be processed and the function would yield the response generated by the Vicuna model.

If supported, is there any example code?

If this functionality is not currently supported, do you have plans to implement it in the future? Or are there any workarounds to achieve this?

Looking forward to your feedback.

Thank you and best regards,
Yilei

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by checking the project's existing Vicuna serving and API documentation, then determine whether a prompt-to-response interface and example are already documented; done would mean a clear supported usage or documented limitation and workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai, api
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.