Find answers from the community

Home
Members
keychron
k
keychron
Offline, last seen 2 months ago
Joined September 25, 2024
k
keychron
·

```

Plain Text
vector_store = SupabaseVectorStore(
    postgres_connection_string=connectionString,
    collection_name="llama_demo",
)


storage_context = StorageContext.from_defaults(vector_store=vector_store)


index = VectorStoreIndex.from_documents(documents, storage_context=storage_context)


filters = MetadataFilters(filters=[ExactMatchFilter(key="workspaceId", value="25juldeplo482af4cd83")])


retriever = index.as_retriever(filters=filters)
ans = retriever.retrieve("query?")


issue = i dont have access to index after intial creation of documents
11 comments
k
W
Trying to use sub query question engine : I can see internally llamaindex is still using davinci. how can i change this to gpt3.5turbo?

Plain Text
\nGiven the new context, refine the original answer to better answer the question. If the context isn\'t useful, return the original answer.", "stream": false, "model": "text-davinci-003", "temperature": 0.0, "max_tokens": 1740}' message='Post details'
15 comments
k
W
L
this example is not working. can anyone advise?
90 comments
L
k