Skip to content

feat: Adding support for Ollama local api embeddings #993

feat: Adding support for Ollama local api embeddings

feat: Adding support for Ollama local api embeddings #993

Triggered via pull request June 4, 2024 23:59
Status Success
Total duration 46s
Artifacts

pyright_types.yml

on: pull_request
Matrix: Pyright types check
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Pyright types check (3.11): examples/google_search.py#L6
Import "serpapi" could not be resolved (reportMissingImports)
Pyright types check (3.11): examples/google_search.py#L81
Operator "in" not supported for types "Literal['No relevant information found.']" and "str | None"   Operator "in" not supported for types "Literal['No relevant information found.']" and "None" (reportOperatorIssue)
Pyright types check (3.11): examples/google_search.py#L82
Expression of type "None" is incompatible with return type "str"   "None" is incompatible with "str" (reportReturnType)
Pyright types check (3.11): examples/google_search.py#L83
Expression of type "str | None" is incompatible with return type "str"   Type "str | None" is incompatible with type "str"     "None" is incompatible with "str" (reportReturnType)
Pyright types check (3.11): examples/memgpt_client.py#L43
Argument of type "UUID" cannot be assigned to parameter "agent_id" of type "str" in function "user_message"   "UUID" is incompatible with "str" (reportArgumentType)
Pyright types check (3.11): examples/memgpt_client.py#L44
Cannot access attribute "messages" for class "List[Dict[Unknown, Unknown]]"   Attribute "messages" is unknown (reportAttributeAccessIssue)
Pyright types check (3.11): examples/memgpt_client.py#L44
Cannot access attribute "messages" for class "Tuple[List[Dict[Unknown, Unknown]], int]"   Attribute "messages" is unknown (reportAttributeAccessIssue)
Pyright types check (3.11): examples/openai_client_assistants.py#L41
Cannot access attribute "messages" for class "SyncCursorPage[Message]"   Attribute "messages" is unknown (reportAttributeAccessIssue)
Pyright types check (3.11): examples/personal_assistant_demo/gmail_test_setup.py#L5
Import "google_auth_oauthlib.flow" could not be resolved (reportMissingImports)
Pyright types check (3.11): examples/personal_assistant_demo/gmail_test_setup.py#L6
Import "googleapiclient.discovery" could not be resolved (reportMissingImports)