Results 71 comments of Luo Peng

Hi @maheshchandrra28, the first parameter of `VectorIndexAutoRetriever` should be of type VectorStoreIndex instead of VectorStore. ```diff vector_store = PineconeVectorStore( pinecone_index=pc, embedding=embed_model ) ... + storage_context = StorageContext.from_defaults(vector_store=vector_store) + index =...

> In a Mac environment, when the OS system proxy is set, using llamaIndex to access the local Ollama environment LLM , It will results in an access error. If...

Hi @babs207, have you installed the corresponding package? If not, try: ``` pip install llama-index-tools-brave-search ```

This feature has been implemented in a standalone repo [protogodev/validate](https://github.com/protogodev/validate). For runnable examples, see [helloworld](https://github.com/protogodev/validate/tree/main/examples/helloworld) and [usersvc](https://github.com/protogodev/validate/tree/main/examples/usersvc).

我这几天研究了下,已经成功将 RocketQA 模型转换成了 Paddle Inference 模型(参考 [转换代码](https://github.com/RussellLuo/go-rocketqa/blob/main/cli/cli.py#L108-L173))。 在此基础上,得益于 Paddle Inference 提供的 Go API,我创建了一个项目 [go-rocketqa](https://github.com/RussellLuo/go-rocketqa),目前已经可以通过 Go 进行模型推理 😄

Hi @gfoxlin, as for Question 2, [65535 is the hard limit of a string](https://milvus.io/docs/limitations.md#Length-of-a-string) in Milvus. Therefore, we should ensure that the length of each TextNode does not exceed this...

To make `node_parser.get_nodes_from_documents()` work properly, you need to pass a list of [Document](https://github.com/run-llama/llama_index/blob/038d5105b684e5286b5771e7722ad3a9e3e8ec75/llama-index-core/llama_index/core/schema.py#L631) (other than a list of str) for the first parameter. For convenience, you can leverage [SimpleDirectoryReader](https://docs.llamaindex.ai/en/stable/module_guides/loading/simpledirectoryreader/#usage): ```python...

@gfoxlin Try this instead: ```python node_parser = SentenceWindowNodeParser.from_defaults( ... # 1. This parameter only accepts a function whose signature is `(str) -> list[str]` # 2. Try a smaller `chunk_size` since...

@qingmuhy744 This should be relatively easy to implement, PRs are welcome :)

@alitariq4589 It seems that `github.com/mholt/caddy-l4 v0.0.0-20220125094439-07bd718906ce` is not compatible with the version of caddy you used (i.e. `github.com/caddyserver/caddy/v2 v2.8.4`). We probably need to update [layer4/go.mod](https://github.com/RussellLuo/caddy-ext/blob/master/layer4/go.mod). PRs are welcome if you're...