diff --git a/.stats.yml b/.stats.yml index 6299151..f7faadc 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 50 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/julep-ai-inc-dash%2Fjulep-095d6bc09a92bb5642dbd3901d9bf2394fb50d31b75246b76150e47a8bb23e56.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/julep-ai-inc-dash%2Fjulep-e7223bbf611296aa0eb0571a50c53f395cebd27ac2206db235b0b88c0b42a037.yml diff --git a/src/resources/agents/docs.ts b/src/resources/agents/docs.ts index d73dfcc..c6d73cf 100644 --- a/src/resources/agents/docs.ts +++ b/src/resources/agents/docs.ts @@ -52,7 +52,15 @@ export class Docs extends APIResource { } /** - * Search Agent Docs + * Searches for documents associated with a specific agent. + * + * Parameters: x_developer_id (UUID): The unique identifier of the developer + * associated with the agent. search_params (TextOnlyDocSearchRequest | + * VectorDocSearchRequest | HybridDocSearchRequest): The parameters for the search. + * agent_id (UUID): The unique identifier of the agent associated with the + * documents. + * + * Returns: DocSearchResponse: The search results. */ search( agentId: string, diff --git a/src/resources/sessions.ts b/src/resources/sessions.ts index 6e50410..b04f397 100644 --- a/src/resources/sessions.ts +++ b/src/resources/sessions.ts @@ -52,7 +52,15 @@ export class Sessions extends APIResource { } /** - * Chat + * Initiates a chat session. + * + * Parameters: developer (Developer): The developer associated with the chat + * session. session_id (UUID): The unique identifier of the chat session. + * chat_input (ChatInput): The chat input data. background_tasks (BackgroundTasks): + * The background tasks to run. x_custom_api_key (Optional[str]): The custom API + * key. + * + * Returns: ChatResponse: The chat response. */ chat( sessionId: string, diff --git a/src/resources/users/docs.ts b/src/resources/users/docs.ts index 76f6636..f8aa756 100644 --- a/src/resources/users/docs.ts +++ b/src/resources/users/docs.ts @@ -10,7 +10,14 @@ import { type OffsetPaginationParams } from '../../pagination'; export class Docs extends APIResource { /** - * Create User Doc + * Creates a new document for a user. + * + * Parameters: user_id (UUID): The unique identifier of the user associated with + * the document. data (CreateDocRequest): The data to create the document with. + * x_developer_id (UUID): The unique identifier of the developer associated with + * the document. background_tasks (BackgroundTasks): The background tasks to run. + * + * Returns: ResourceCreatedResponse: The created document. */ create( userId: string, @@ -52,7 +59,14 @@ export class Docs extends APIResource { } /** - * Search User Docs + * Searches for documents associated with a specific user. + * + * Parameters: x_developer_id (UUID): The unique identifier of the developer + * associated with the user. search_params (TextOnlyDocSearchRequest | + * VectorDocSearchRequest | HybridDocSearchRequest): The parameters for the search. + * user_id (UUID): The unique identifier of the user associated with the documents. + * + * Returns: DocSearchResponse: The search results. */ search( userId: string,