Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "type": "function",
- "function": {
- "name": "LLM_Tool_RAG",
- "description": "The DATABASE topic relates to court rulings issued by various French tribunals. The function perform a hybrid search query (text + vector) in JSON format for querying Orama database.",
- "parameters": {
- "type": "object",
- "properties": {
- "query": {
- "type": "object",
- "description": "A JSON-formatted hybrid search query compatible with Orama.",
- "properties": {
- "term": {
- "type": "string",
- "description": "MANDATORY. Keyword(s) for full-text search. Use short and focused terms."
- },
- "vector": {
- "type": "object",
- "properties": {
- "value": {
- "type": "string",
- "description": "MANDATORY. A semantics sentence of the user query. Used for semantic search."
- }
- },
- "required": [
- "value"
- ],
- "description": "Parameters for semantic (vector) search."
- }
- },
- "required": [
- "term",
- "vector"
- ]
- }
- },
- "required": [
- "query"
- ]
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement