Skip to content

OpenAI API support - Langchain passes prompt as a list instead of str #1690

@yanivshimoni89

Description

@yanivshimoni89

System Info

Ubuntu 22.04
A100
TGI docker version 1.4.3

Information

  • Docker
  • The CLI directly

Tasks

  • An officially supported command
  • My own modifications

Reproduction

Using langchain and create QA Retrieval Chain.
The chain passes prompt as a list instead of str and the api should accept it.

Expected behavior

As mentioned in vllm-project/vllm#186

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions