8000 Problem with using Namespaces · Issue #84 · upstash/rag-chat · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Problem with using Namespaces #84
Open
@kaanguneyli

Description

@kaanguneyli

I am trying to create a chatbot using Next.js and Javascript. I firstly upload some context to a namespace in my Vector database. Then, when I try to ask questions, I receive an answer which indicates that I have provided no previous context. the program work correctly when I remove the namespace property.
Below is the code snippets I use for adding context and chatting.

await ragChat.context.add({
type: 'text',
data: chunk,
options: { namespace: namespace },
});

const reply = await ragChat.chat(
query, {
options: {namespace: namespace}
,},);

Metadata

Metadata

Assignees

No one assigned

    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

      0