This notebook demonstrates the usage of QdrantRetrieveUserProxyAgent for RAG.
AssistantAgent
and
RetrieveUserProxyAgent
, which is similar to the usage of
AssistantAgent
and UserProxyAgent
in other notebooks (e.g.,
Automated Task Solving with Code Generation, Execution &
Debugging).
We’ll demonstrate usage of RetrieveChat with Qdrant for code generation
and question answering w/ human feedback.
config_list_from_json
function loads a list of configurations from an environment variable or
a json file.
AssistantAgent
and
RetrieveUserProxyAgent
. The system message needs to be set to “You are
a helpful assistant.” for AssistantAgent. The detailed instructions are
given in the user message. Later we will use the
RetrieveUserProxyAgent.generate_init_prompt
to combine the
instructions and a retrieval augmented generation task for an initial
prompt to be sent to the LLM assistant.
tune_automl
in FLAML?