Skip to content

Commit

Permalink
Fix docstring formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
chadj2 committed Feb 20, 2024
1 parent 20ac18c commit a372671
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
1 change: 1 addition & 0 deletions libs/community/langchain_community/chat_models/kinetica.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ class KineticaChatLLM(BaseChatModel):
"""Kinetica LLM Chat Model API.
Prerequisites for using this API:
* The ``gpudb`` and ``typeguard`` packages installed.
* A Kinetica DB instance.
* Kinetica host specified in ``KINETICA_URL``
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,17 @@ class TestKineticaChatLLM:
For more information see https://docs.kinetica.com/7.1/sql-gpt/concepts/.
These integration tests follow a workflow: 1. The `test_setup()` will create a table
with fake user profiles and and a related LLM context for the table. 2. The LLM
context is retrieved from the DB and used to create a chat prompt template. 3. A
chain is constructed from the chat prompt template. 4. The chain is executed to
generate the SQL and execute the query.
These integration tests follow a workflow:
1. The `test_setup()` will create a table with fake user profiles and and a related
LLM context for the table.
2. The LLM context is retrieved from the DB and used to create a chat prompt
template.
3. A chain is constructed from the chat prompt template.
4. The chain is executed to generate the SQL and execute the query.
"""

table_name = "demo.test_profiles"
Expand Down

0 comments on commit a372671

Please sign in to comment.